289 lines
5.8 KiB
CSS
289 lines
5.8 KiB
CSS
.vc-github-repos-container {
|
|
margin-top: 16px;
|
|
padding: 16px;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--background-modifier-accent);
|
|
background-color: transparent;
|
|
max-height: 500px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.vc-github-repos-header {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
margin-bottom: 12px;
|
|
color: var(--header-primary);
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.vc-github-repos-count {
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
color: var(--text-muted);
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.vc-github-repos-list {
|
|
gap: 8px;
|
|
overflow-y: auto;
|
|
max-height: 400px;
|
|
padding-right: 8px;
|
|
margin-right: -8px;
|
|
scrollbar-width: thin;
|
|
flex: 1;
|
|
}
|
|
|
|
.vc-github-repos-list::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
.vc-github-repos-list::-webkit-scrollbar-track {
|
|
background: var(--scrollbar-thin-track);
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.vc-github-repos-list::-webkit-scrollbar-thumb {
|
|
background: var(--scrollbar-thin-thumb);
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.vc-github-repos-list::-webkit-scrollbar-thumb:hover {
|
|
background: var(--scrollbar-thin-thumb-hover);
|
|
}
|
|
|
|
.vc-github-repos-footer {
|
|
margin-top: 12px;
|
|
text-align: center;
|
|
padding-top: 8px;
|
|
border-top: 1px solid var(--background-modifier-accent);
|
|
}
|
|
|
|
.vc-github-repos-view-all {
|
|
color: var(--text-link);
|
|
font-size: 14px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.vc-github-repos-view-all:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.vc-github-button,
|
|
.vc-github-repos-show-more {
|
|
background-color: transparent;
|
|
color: var(--text-normal);
|
|
border: 1px solid var(--background-modifier-accent);
|
|
border-radius: 3px;
|
|
padding: 6px 12px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s ease, border-color 0.2s ease;
|
|
}
|
|
|
|
.vc-github-button:hover,
|
|
.vc-github-repos-show-more:hover {
|
|
background-color: var(--background-modifier-hover);
|
|
border-color: var(--background-modifier-selected);
|
|
}
|
|
|
|
.vc-github-repos-loading,
|
|
.vc-github-repos-error {
|
|
color: var(--text-normal);
|
|
font-size: 14px;
|
|
margin: 8px 0;
|
|
}
|
|
|
|
.vc-github-repos-error {
|
|
color: var(--text-danger);
|
|
}
|
|
|
|
.vc-github-repo-card {
|
|
padding: 12px;
|
|
border-radius: 6px;
|
|
border: 1px solid var(--background-modifier-accent);
|
|
background-color: transparent;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s ease, border-color 0.2s ease;
|
|
}
|
|
|
|
.vc-github-repo-card:hover {
|
|
background-color: var(--background-modifier-hover);
|
|
border-color: var(--background-modifier-selected);
|
|
}
|
|
|
|
.vc-github-repo-header {
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.vc-github-repo-name {
|
|
font-weight: 600;
|
|
color: var(--header-primary);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.vc-github-repo-fork-icon {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.vc-github-repo-stars {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
color: var(--text-muted);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.vc-github-repo-star-icon {
|
|
color: var(--text-warning);
|
|
}
|
|
|
|
.vc-github-repo-description {
|
|
color: var(--text-normal);
|
|
font-size: 14px;
|
|
margin-bottom: 8px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
}
|
|
|
|
.vc-github-repo-language {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
color: var(--text-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.vc-github-repo-language-color {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
}
|
|
|
|
.vc-github-repos-modal {
|
|
width: 90%;
|
|
max-width: 900px;
|
|
}
|
|
|
|
.vc-github-repos-modal-title {
|
|
color: var(--header-primary);
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
margin: 0;
|
|
}
|
|
|
|
.vc-github-repos-modal-content {
|
|
padding: 16px 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.vc-github-repos-table-container {
|
|
width: 100%;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.vc-github-repos-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
color: var(--text-normal);
|
|
font-size: 14px;
|
|
table-layout: fixed;
|
|
}
|
|
|
|
.vc-github-repos-table colgroup {
|
|
display: table-column-group;
|
|
}
|
|
|
|
.vc-github-repos-table col {
|
|
display: table-column;
|
|
}
|
|
|
|
.vc-github-repos-table thead {
|
|
border-bottom: 2px solid var(--background-modifier-accent);
|
|
}
|
|
|
|
.vc-github-repos-table th {
|
|
text-align: left;
|
|
padding: 10px 16px;
|
|
font-weight: 600;
|
|
color: var(--header-primary);
|
|
border-bottom: 2px solid var(--background-modifier-accent);
|
|
}
|
|
|
|
.vc-github-repos-table th:last-child {
|
|
text-align: center;
|
|
}
|
|
|
|
.vc-github-repos-table tbody tr {
|
|
border-bottom: 1px solid var(--background-modifier-accent);
|
|
cursor: pointer;
|
|
transition: background-color 0.2s ease;
|
|
}
|
|
|
|
.vc-github-repos-table tbody tr:hover {
|
|
background-color: var(--background-modifier-hover);
|
|
}
|
|
|
|
.vc-github-repos-table td {
|
|
padding: 12px 16px;
|
|
vertical-align: middle;
|
|
border-bottom: 1px solid var(--background-modifier-accent);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.vc-github-repos-table-name {
|
|
font-weight: 500;
|
|
color: var(--header-primary);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.vc-github-repos-table-fork-icon {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.vc-github-repos-table-description {
|
|
color: var(--text-normal);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.vc-github-repos-table-language {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.vc-github-repos-table-language-color {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.vc-github-repos-table-stars {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
white-space: nowrap;
|
|
text-align: center;
|
|
}
|
|
|
|
.vc-github-repos-table-star-icon {
|
|
color: var(--text-warning);
|
|
}
|