Anki/sass/scrollbar.scss
Matthias Metelka f2d5abb95d Improve categorization of global colors
by renaming almost all of them and sorting them into separate maps.
2022-08-29 15:43:02 +02:00

36 lines
718 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(--canvas-default);
&: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(--canvas-default);
}
}