anki/ts/sass/scrollbar.scss
Damien Elmes 7b2b4528b3
Merge pull request #1125 from hgiesel/scrollbarcorner
Color Scrollbar bottom right corner
2021-04-14 12:43:34 +10:00

37 lines
711 B
SCSS

/* Copyright: Ankitects Pty Ltd and contributors
* License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */
@use 'vars';
@use 'fusion_vars';
@mixin night-mode {
&::-webkit-scrollbar {
background-color: var(--window-bg);
&:horizontal {
height: 12px;
}
&:vertical {
width: 12px;
}
}
&::-webkit-scrollbar-thumb {
background: fusion_vars.$button-hover-bg;
border-radius: 8px;
&:horizontal {
min-width: 50px;
}
&:vertical {
min-height: 50px;
}
}
&::-webkit-scrollbar-corner {
background-color: var(--window-bg);
}
}