Harmonize persistent scrollbar styles (#31445)
This commit is contained in:
parent
98bf2fc27c
commit
2f01f5f4ea
3 changed files with 24 additions and 14 deletions
|
@ -1,10 +1,6 @@
|
|||
// Notes!
|
||||
// Sass color functions, "darken" and "lighten" are automatically replaced.
|
||||
|
||||
html {
|
||||
scrollbar-color: $ui-base-color rgba($ui-base-color, 0.25);
|
||||
}
|
||||
|
||||
.simple_form .button.button-tertiary {
|
||||
color: $highlight-text-color;
|
||||
}
|
||||
|
@ -561,3 +557,14 @@ a.sparkline {
|
|||
color: $dark-text-color;
|
||||
}
|
||||
}
|
||||
|
||||
@supports not selector(::-webkit-scrollbar) {
|
||||
html {
|
||||
scrollbar-color: rgba($action-button-color, 0.25)
|
||||
var(--background-border-color);
|
||||
}
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
opacity: 0.25;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue