_scrollbars.scss
ASCII text, with CRLF line terminators
1
::-webkit-scrollbar,
2
::-webkit-scrollbar-corner {
3
width: 17px;
4
height: 17px;
5
border: 0 solid $border_color;
6
background-color: rgba($base_color, 0.9);
7
background-clip: $extra_background_clip;
8
}
9
10
::-webkit-scrollbar:horizontal,
11
::-webkit-scrollbar-corner {
12
border-top-width: 1px;
13
}
14
15
::-webkit-scrollbar:vertical,
16
::-webkit-scrollbar-corner {
17
border-left-width: 1px;
18
}
19
20
::-webkit-scrollbar-thumb {
21
width: 32px;
22
height: 32px;
23
border: 4px solid transparent;
24
border-radius: 8px;
25
background-color: $hint_fg_color;
26
background-clip: padding-box;
27
28
&:horizontal {
29
border-top-width: 5px;
30
border-top-left-radius: 8px 9px;
31
border-top-right-radius: 8px 9px;
32
}
33
34
&:vertical {
35
border-left-width: 5px;
36
border-top-left-radius: 9px 8px;
37
border-bottom-left-radius: 9px 8px;
38
}
39
40
&:hover { background-color: $secondary_fg_color; }
41
42
&:active { background-color: $fg_color; }
43
44
&:disabled { background-color: $disabled_secondary_fg_color; }
45
}
46