scrollbars.css
ASCII text
1
::-webkit-scrollbar,
2
::-webkit-scrollbar-corner {
3
width: 17px;
4
height: 17px;
5
border: 0 solid rgba(0, 0, 0, 0.12);
6
background-color: rgba(255, 255, 255, 0.9);
7
}
8
9
::-webkit-scrollbar:horizontal,
10
::-webkit-scrollbar-corner {
11
border-top-width: 1px;
12
}
13
14
::-webkit-scrollbar:vertical,
15
::-webkit-scrollbar-corner {
16
border-left-width: 1px;
17
}
18
19
::-webkit-scrollbar {
20
background-clip: padding-box;
21
}
22
23
::-webkit-scrollbar-thumb {
24
width: 32px;
25
height: 32px;
26
border: 4px solid transparent;
27
border-radius: 8px;
28
background-color: rgba(0, 0, 0, 0.38);
29
background-clip: padding-box;
30
}
31
::-webkit-scrollbar-thumb:horizontal {
32
border-top-width: 5px;
33
border-top-left-radius: 8px 9px;
34
border-top-right-radius: 8px 9px;
35
}
36
::-webkit-scrollbar-thumb:vertical {
37
border-left-width: 5px;
38
border-top-left-radius: 9px 8px;
39
border-bottom-left-radius: 9px 8px;
40
}
41
::-webkit-scrollbar-thumb:hover {
42
background-color: rgba(0, 0, 0, 0.48);
43
}
44
::-webkit-scrollbar-thumb:active {
45
background-color: rgba(0, 0, 0, 0.6);
46
}
47
::-webkit-scrollbar-thumb:disabled {
48
background-color: rgba(0, 0, 0, 0.26);
49
}
50
51
::selection {
52
background-color: rgba(25, 103, 210, 0.24);
53
}
54