File tree Expand file tree Collapse file tree 2 files changed +31
-8
lines changed Expand file tree Collapse file tree 2 files changed +31
-8
lines changed Original file line number Diff line number Diff line change @@ -108,18 +108,40 @@ object[type="image/svg+xml"]:not([width]) {
108
108
opacity : 0.5 ;
109
109
}
110
110
111
- @supports (scrollbar-width : thin) {
111
+ @media (pointer : fine) {
112
+ html {
113
+ scrollbar-color : var (--scrollbar-thumb-color ) var (--panel-background );
114
+ }
115
+
112
116
body * {
113
117
scrollbar-width : thin;
114
118
scrollbar-color : var (--scrollbar-thumb-color ) transparent;
115
119
}
116
- }
117
120
118
- body ::-webkit-scrollbar {
119
- height : 0.25rem ;
120
- width : 0.25rem ;
121
- }
121
+ html ::-webkit-scrollbar {
122
+ background-color : var (--panel-background );
123
+ height : 12px ;
124
+ width : 12px ;
125
+ }
122
126
123
- body ::-webkit-scrollbar-thumb {
124
- background-color : var (--scrollbar-thumb-color );
127
+ body ::-webkit-scrollbar {
128
+ height : 6px ;
129
+ width : 6px ;
130
+ }
131
+
132
+ ::-webkit-scrollbar-thumb {
133
+ background-clip : padding-box;
134
+ background-color : var (--scrollbar-thumb-color );
135
+ border : 3px solid transparent;
136
+ border-radius : 12px ;
137
+ }
138
+
139
+ body ::-webkit-scrollbar-thumb {
140
+ border-width : 1.75px ;
141
+ border-radius : 6px ;
142
+ }
143
+
144
+ ::-webkit-scrollbar-thumb : hover {
145
+ background-color : var (--scrollbar_hover-thumb-color );
146
+ }
125
147
}
Original file line number Diff line number Diff line change 36
36
--panel-background : var (--color-smoke-30 );
37
37
--panel-border-color : var (--color-smoke-90 );
38
38
--scrollbar-thumb-color : var (--color-gray-10 );
39
+ --scrollbar_hover-thumb-color : # 9c9c9c ;
39
40
/* navbar */
40
41
--navbar-background : var (--color-jet-80 );
41
42
--navbar-font-color : var (--color-white );
You can’t perform that action at this time.
0 commit comments