File tree Expand file tree Collapse file tree 3 files changed +64
-0
lines changed
src/librustdoc/html/static Expand file tree Collapse file tree 3 files changed +64
-0
lines changed Original file line number Diff line number Diff line change @@ -184,6 +184,25 @@ nav.sub {
184184 overflow : auto;
185185}
186186
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+
187206.sidebar .block > ul > li {
188207 margin-right : -10px ;
189208}
Original file line number Diff line number Diff line change 3232 background-color : # 505050 ;
3333}
3434
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+
3557.sidebar .current {
3658 background-color : # 333 ;
3759}
Original file line number Diff line number Diff line change 3434 background-color : # F1F1F1 ;
3535}
3636
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+
3760.sidebar .current {
3861 background-color : # fff ;
3962}
You can’t perform that action at this time.
0 commit comments