File tree 1 file changed +29
-17
lines changed
1 file changed +29
-17
lines changed Original file line number Diff line number Diff line change 1
1
.sidebar {
2
2
color : $text-color ;
3
- overflow-x : hidden !important ;
4
3
position : relative ;
5
-
6
- & ::-webkit-scrollbar-thumb {
7
- border-radius : 4px ;
8
- }
9
- & :hover {
10
- & ::-webkit-scrollbar-thumb {
11
- background-color : lighten ($bg-color , 15 );
12
- }
13
- }
14
- & ::-webkit-scrollbar {
15
- width : 6px ;
16
- background-color : $bg-color ;
17
- }
4
+ height : 100% ;
5
+ max-height : 100% ;
6
+ overflow : hidden !important ;
18
7
19
8
.image-wrapper {
20
9
overflow : hidden ;
32
21
object-position : center ;
33
22
}
34
23
}
35
- & .has-bg-image .image-wrapper {
36
- display : block ;
24
+ & .has-bg-image {
25
+ .sidebar-layout {
26
+ background-color : rgba ($bg-color , 0.85 );
27
+ }
28
+ .image-wrapper {
29
+ display : block ;
30
+ // filter: blur(3px);
31
+ }
37
32
}
38
33
39
34
.sidebar-layout {
40
- height : auto ;
35
+ height : 100% ;
36
+ max-height : 100% ;
41
37
min-height : 100% ;
38
+ overflow-y : auto ;
42
39
display : flex ;
43
40
flex-direction : column ;
44
41
position : relative ;
45
42
background-color : $bg-color ;
46
43
z-index : 2 ;
47
44
45
+ & ::-webkit-scrollbar-thumb {
46
+ border-radius : 4px ;
47
+ }
48
+
49
+ & :hover {
50
+ & ::-webkit-scrollbar-thumb {
51
+ background-color : lighten ($bg-color , 15 );
52
+ }
53
+ }
54
+
55
+ & ::-webkit-scrollbar {
56
+ width : 6px ;
57
+ background-color : $bg-color ;
58
+ }
59
+
48
60
.sidebar-header {
49
61
height : $sidebar-header-height ;
50
62
min-height : $sidebar-header-height ;
You can’t perform that action at this time.
0 commit comments