File tree 3 files changed +41
-13
lines changed
src/librustdoc/html/static
3 files changed +41
-13
lines changed Original file line number Diff line number Diff line change @@ -182,17 +182,24 @@ nav.sub {
182
182
top : 0 ;
183
183
bottom : 0 ;
184
184
overflow : auto;
185
- /* Improve the sidebar display on firefox */
185
+ }
186
+
187
+ /* Improve the scrollbar display on firefox */
188
+ * {
189
+ scrollbar-width : initial;
190
+ }
191
+ .sidebar {
186
192
scrollbar-width : thin;
187
193
}
188
194
189
- /* Improve the sidebar display on webkit-based browsers */
195
+ /* Improve the scrollbar display on webkit-based browsers */
196
+ ::-webkit-scrollbar {
197
+ width : 12px ;
198
+ }
190
199
.sidebar ::-webkit-scrollbar {
191
200
width : 8px ;
192
201
}
193
-
194
- /* Improve the sidebar display on webkit-based browsers */
195
- .sidebar ::-webkit-scrollbar-track {
202
+ ::-webkit-scrollbar-track {
196
203
-webkit-box-shadow : inset 0 ;
197
204
}
198
205
Original file line number Diff line number Diff line change @@ -30,16 +30,26 @@ pre {
30
30
31
31
.sidebar {
32
32
background-color : # 505050 ;
33
- /* Improve the sidebar display on firefox */
33
+ }
34
+
35
+ /* Improve the scrollbar display on firefox */
36
+ * {
37
+ scrollbar-color : rgb (64 , 65 , 67 ) # 717171 ;
38
+ }
39
+ .sidebar {
34
40
scrollbar-color : rgba (32 , 34 , 37 , .6 ) transparent;
35
41
}
36
42
37
- /* Improve the sidebar display on webkit-based browsers */
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
+ }
38
50
.sidebar ::-webkit-scrollbar-track {
39
51
background-color : # 717171 ;
40
52
}
41
-
42
- /* Improve the sidebar display on webkit-based browsers */
43
53
.sidebar ::-webkit-scrollbar-thumb {
44
54
background-color : rgba (32 , 34 , 37 , .6 );
45
55
}
Original file line number Diff line number Diff line change @@ -32,16 +32,27 @@ pre {
32
32
33
33
.sidebar {
34
34
background-color : # F1F1F1 ;
35
- /* Improve the sidebar display on firefox */
35
+ }
36
+
37
+ /* Improve the scrollbar display on firefox */
38
+ * {
39
+ scrollbar-color : rgba (36 , 37 , 39 , 0.6 ) # e6e6e6 ;
40
+ }
41
+
42
+ .sidebar {
36
43
scrollbar-color : rgba (36 , 37 , 39 , 0.6 ) # d9d9d9 ;
37
44
}
38
45
39
- /* Improve the sidebar display on webkit-based browsers */
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
+ }
40
53
.sidebar ::-webkit-scrollbar-track {
41
54
background-color : # dcdcdc ;
42
55
}
43
-
44
- /* Improve the sidebar display on webkit-based browsers */
45
56
.sidebar ::-webkit-scrollbar-thumb {
46
57
background-color : rgba (36 , 37 , 39 , 0.6 );
47
58
}
You can’t perform that action at this time.
0 commit comments