mirror of
https://github.com/github/awesome-copilot.git
synced 2026-08-25 18:25:01 +00:00
style(website): soften catalog filter list scrollbars
The filter option lists only set scrollbar-width: thin, so they rendered the platform default scrollbar. They now use the same muted, transparent track treatment as the article sidebar, which resolves through --brand-color-border-muted in both colour modes. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 80686fef-efe3-4cdd-8cd6-bfa61a5d0af6
This commit is contained in:
@@ -686,7 +686,23 @@
|
||||
max-block-size: 480px;
|
||||
overflow-y: auto;
|
||||
padding-inline-end: var(--base-size-4);
|
||||
/* Matches the muted, low-contrast scrollbar used by the article sidebar so
|
||||
the filter list does not read as a heavy chrome element. */
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: var(--brand-color-border-muted) transparent;
|
||||
}
|
||||
|
||||
.filterOptions::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
}
|
||||
|
||||
.filterOptions::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.filterOptions::-webkit-scrollbar-thumb {
|
||||
background-color: var(--brand-color-border-muted);
|
||||
border-radius: var(--brand-borderRadius-medium, 6px);
|
||||
}
|
||||
|
||||
.showMoreButton {
|
||||
|
||||
@@ -749,7 +749,23 @@
|
||||
max-block-size: 480px;
|
||||
overflow-y: auto;
|
||||
padding-inline-end: var(--base-size-4);
|
||||
/* Matches the muted, low-contrast scrollbar used by the article sidebar so
|
||||
the filter list does not read as a heavy chrome element. */
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: var(--brand-color-border-muted) transparent;
|
||||
}
|
||||
|
||||
.filterOptions::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
}
|
||||
|
||||
.filterOptions::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.filterOptions::-webkit-scrollbar-thumb {
|
||||
background-color: var(--brand-color-border-muted);
|
||||
border-radius: var(--brand-borderRadius-medium, 6px);
|
||||
}
|
||||
|
||||
.showMoreButton {
|
||||
|
||||
@@ -672,7 +672,23 @@
|
||||
max-block-size: 480px;
|
||||
overflow-y: auto;
|
||||
padding-inline-end: var(--base-size-4);
|
||||
/* Matches the muted, low-contrast scrollbar used by the article sidebar so
|
||||
the filter list does not read as a heavy chrome element. */
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: var(--brand-color-border-muted) transparent;
|
||||
}
|
||||
|
||||
.filterOptions::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
}
|
||||
|
||||
.filterOptions::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.filterOptions::-webkit-scrollbar-thumb {
|
||||
background-color: var(--brand-color-border-muted);
|
||||
border-radius: var(--brand-borderRadius-medium, 6px);
|
||||
}
|
||||
|
||||
.showMoreButton {
|
||||
|
||||
@@ -770,7 +770,23 @@
|
||||
max-block-size: 480px;
|
||||
overflow-y: auto;
|
||||
padding-inline-end: var(--base-size-4);
|
||||
/* Matches the muted, low-contrast scrollbar used by the article sidebar so
|
||||
the filter list does not read as a heavy chrome element. */
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: var(--brand-color-border-muted) transparent;
|
||||
}
|
||||
|
||||
.filterOptions::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
}
|
||||
|
||||
.filterOptions::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.filterOptions::-webkit-scrollbar-thumb {
|
||||
background-color: var(--brand-color-border-muted);
|
||||
border-radius: var(--brand-borderRadius-medium, 6px);
|
||||
}
|
||||
|
||||
.showMoreButton {
|
||||
|
||||
@@ -679,7 +679,23 @@
|
||||
max-block-size: 480px;
|
||||
overflow-y: auto;
|
||||
padding-inline-end: var(--base-size-4);
|
||||
/* Matches the muted, low-contrast scrollbar used by the article sidebar so
|
||||
the filter list does not read as a heavy chrome element. */
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: var(--brand-color-border-muted) transparent;
|
||||
}
|
||||
|
||||
.filterOptions::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
}
|
||||
|
||||
.filterOptions::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.filterOptions::-webkit-scrollbar-thumb {
|
||||
background-color: var(--brand-color-border-muted);
|
||||
border-radius: var(--brand-borderRadius-medium, 6px);
|
||||
}
|
||||
|
||||
.showMoreButton {
|
||||
|
||||
Reference in New Issue
Block a user