This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree 1 file changed +14
-26
lines changed
1 file changed +14
-26
lines changed Original file line number Diff line number Diff line change @@ -36,49 +36,37 @@ $activeBorderColor: $primary-content;
36
36
flex-direction : column ;
37
37
38
38
.mx_SpacePanel_toggleCollapse {
39
- position : relative ;
40
- height : 32px ;
41
- width : 32px ;
39
+ position : absolute ;
40
+ width : 18px ;
41
+ height : 18px ;
42
+ border-radius : 50% ;
43
+ background-color : $tertiary-content ;
44
+ top : 19px ; // v-align with avatar
45
+ right : -8px ;
42
46
43
47
& ::before {
44
48
content : " " ;
45
49
position : absolute ;
46
- width : 32px ;
47
- height : 32px ;
48
- left : 0 ;
50
+ width : inherit ;
51
+ height : inherit ;
49
52
mask-position : center ;
50
- mask-size : 24 px ;
53
+ mask-size : contain ;
51
54
mask-repeat : no-repeat ;
52
- background-color : $secondary-content ;
55
+ background-color : $background ;
53
56
mask-image : url (' $(res)/img/feather-customised/chevron-down.svg' );
54
57
transform : rotate (270deg );
55
58
}
56
59
57
60
& :not (.expanded ) {
58
- position : absolute ;
59
- left : 68px ;
60
- top : 12px ;
61
- border-radius : 0 8px 8px 0 ;
62
- background-color : $primary-content ;
63
61
opacity : 0 ;
64
62
65
63
& ::before {
66
- background-color : $background ;
64
+ mask-position : center 1 px ;
67
65
}
68
66
}
69
67
70
- & .expanded {
71
- margin-left : auto ;
72
- margin-right : -8px ; // overflow into .mx_UserMenu's margin without butchering its bottom stroke
73
- border-radius : 8px ;
74
-
75
- & ::before {
76
- transform : rotate (90deg );
77
- }
78
-
79
- & :hover {
80
- background-color : $panel-actions ;
81
- }
68
+ & .expanded ::before {
69
+ transform : rotate (90deg );
82
70
}
83
71
}
84
72
You can’t perform that action at this time.
0 commit comments