File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 11
11
overflow-y : auto ;
12
12
list-style : none ;
13
13
14
+ // Firefox scrollbars
15
+ @-moz-document url-prefix () {
16
+ scrollbar-width : thin ;
17
+ }
18
+
19
+ // Chrome, Edge scrollbars
20
+
21
+ /* total width */
22
+ & ::-webkit-scrollbar {
23
+ width : 8px ;
24
+ background-color : transparent ;
25
+ }
26
+
27
+ /* background of the scrollbar except button or resizer */
28
+ & ::-webkit-scrollbar-track {
29
+ background-color : transparent ;
30
+ }
31
+
32
+ /* scrollbar itself */
33
+ & ::-webkit-scrollbar-thumb {
34
+ background-color : rgba (0 , 0 , 0 , .375 );
35
+ @include border-radius (8px );
36
+ }
37
+
38
+ /* set button(top and bottom of the scrollbar) */
39
+ & ::-webkit-scrollbar-button {
40
+ display : none ;
41
+ }
42
+
14
43
.nav-title {
15
44
padding : $sidebar-nav-title-padding-y $sidebar-nav-title-padding-x ;
16
45
margin-top : $sidebar-nav-title-margin-top ;
You can’t perform that action at this time.
0 commit comments