A fork of the Materia GTK theme.

Important information: Google announced that, from September 2026, Android devices will require ALL apps to be signed by Google, effectively leading to an iOS situation. Value your right to a computer that does what you want; do not tolerate this monopolistic practice! Contact me if you don't understand why it is bad. Click to learn more.

 _scrollbars.scss

View raw Download
text/plain • 1.13 kiB
ASCII text, with CRLF line terminators
        
            
1
::-webkit-scrollbar,
2
::-webkit-scrollbar-corner {
3
width: 17px;
4
height: 17px;
5
border: 0 solid $divider;
6
background-color: rgba($surface, 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: $text-disabled;
29
background-clip: padding-box;
30
31
&:horizontal {
32
border-top-width: 5px;
33
border-top-left-radius: 8px 9px;
34
border-top-right-radius: 8px 9px;
35
}
36
37
&:vertical {
38
border-left-width: 5px;
39
border-top-left-radius: 9px 8px;
40
border-bottom-left-radius: 9px 8px;
41
}
42
43
&:hover { background-color: $text2; }
44
45
&:active { background-color: $text; }
46
47
&:disabled { background-color: $text2-disabled; }
48
}
49
50
//
51
// Workaround: Chrome does not properly load selection style of GTK theme.
52
//
53
54
::selection {
55
background-color: rgba(on(light, primary), 0.24);
56
}
57