File tree 3 files changed +64
-0
lines changed
src/librustdoc/html/static
3 files changed +64
-0
lines changed Original file line number Diff line number Diff line change @@ -184,6 +184,25 @@ nav.sub {
184
184
overflow : auto;
185
185
}
186
186
187
+ /* Improve the scrollbar display on firefox */
188
+ * {
189
+ scrollbar-width : initial;
190
+ }
191
+ .sidebar {
192
+ scrollbar-width : thin;
193
+ }
194
+
195
+ /* Improve the scrollbar display on webkit-based browsers */
196
+ ::-webkit-scrollbar {
197
+ width : 12px ;
198
+ }
199
+ .sidebar ::-webkit-scrollbar {
200
+ width : 8px ;
201
+ }
202
+ ::-webkit-scrollbar-track {
203
+ -webkit-box-shadow : inset 0 ;
204
+ }
205
+
187
206
.sidebar .block > ul > li {
188
207
margin-right : -10px ;
189
208
}
Original file line number Diff line number Diff line change 32
32
background-color : # 505050 ;
33
33
}
34
34
35
+ /* Improve the scrollbar display on firefox */
36
+ * {
37
+ scrollbar-color : rgb (64 , 65 , 67 ) # 717171 ;
38
+ }
39
+ .sidebar {
40
+ scrollbar-color : rgba (32 , 34 , 37 , .6 ) transparent;
41
+ }
42
+
43
+ /* Improve the scrollbar display on webkit-based browsers */
44
+ ::-webkit-scrollbar-track {
45
+ background-color : # 717171 ;
46
+ }
47
+ ::-webkit-scrollbar-thumb {
48
+ background-color : rgba (32 , 34 , 37 , .6 );
49
+ }
50
+ .sidebar ::-webkit-scrollbar-track {
51
+ background-color : # 717171 ;
52
+ }
53
+ .sidebar ::-webkit-scrollbar-thumb {
54
+ background-color : rgba (32 , 34 , 37 , .6 );
55
+ }
56
+
35
57
.sidebar .current {
36
58
background-color : # 333 ;
37
59
}
Original file line number Diff line number Diff line change 34
34
background-color : # F1F1F1 ;
35
35
}
36
36
37
+ /* Improve the scrollbar display on firefox */
38
+ * {
39
+ scrollbar-color : rgba (36 , 37 , 39 , 0.6 ) # e6e6e6 ;
40
+ }
41
+
42
+ .sidebar {
43
+ scrollbar-color : rgba (36 , 37 , 39 , 0.6 ) # d9d9d9 ;
44
+ }
45
+
46
+ /* Improve the scrollbar display on webkit-based browsers */
47
+ ::-webkit-scrollbar-track {
48
+ background-color : # ecebeb ;
49
+ }
50
+ ::-webkit-scrollbar-thumb {
51
+ background-color : rgba (36 , 37 , 39 , 0.6 );
52
+ }
53
+ .sidebar ::-webkit-scrollbar-track {
54
+ background-color : # dcdcdc ;
55
+ }
56
+ .sidebar ::-webkit-scrollbar-thumb {
57
+ background-color : rgba (36 , 37 , 39 , 0.6 );
58
+ }
59
+
37
60
.sidebar .current {
38
61
background-color : # fff ;
39
62
}
You can’t perform that action at this time.
0 commit comments