-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
scrollbar.css
48 lines (40 loc) · 1.45 KB
/
scrollbar.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
@supports not (scrollbar-color: currentColor transparent) {
::-webkit-scrollbar {
display: block;
}
::-webkit-scrollbar-thumb {
background-color: var(--scrollbar-color, var(--accent-color, #7a7b7d));
}
::-webkit-scrollbar-track {
background-color: var(--scrollbar-track, var(--primary-color, #c0c6c2));
}
/* Disabled config for scrollbar buttons */
/* ::-webkit-scrollbar-button:single-button { */
/* background-color: var(--scrollbar-track, #c0c6c2); */
/* color: var(--scrollbar-color, #7a7b7d); */
/* border-width: 8px; */
/* display: block; */
/* border-style: solid; */
/* border-color: currentColor; */
/* } */
/* Up */
/* ::-webkit-scrollbar-button:single-button:vertical:decrement { */
/* border-color: transparent transparent currentColor transparent; */
/* } */
/* Down */
/* ::-webkit-scrollbar-button:single-button:vertical:increment { */
/* border-color: currentColor transparent transparent transparent; */
/* } */
/* Left */
/* ::-webkit-scrollbar-button:single-button:horizontal:increment { */
/* border-color: transparent transparent transparent currentColor; */
/* } */
/* Right */
/* ::-webkit-scrollbar-button:single-button:horizontal:decrement { */
/* border-color: transparent currentColor transparent transparent; */
/* } */
}
:root {
scrollbar-color: var(--scrollbar-color, var(--accent-color, #7a7b7d)) var(--scrollbar-track, var(--primary-color, #c0c6c2));
scrollbar-width: var(--scrollbar-width, auto);
}