File tree Expand file tree Collapse file tree 1 file changed +20
-12
lines changed
packages/repl/src/lib/Editor Expand file tree Collapse file tree 1 file changed +20
-12
lines changed Original file line number Diff line number Diff line change 57
57
.cm-gutterElement {
58
58
position : relative;
59
59
60
- & : where (: has ([title = 'Fold line' ]), : has ([title = 'Unfold line' ]))::after {
61
- content : '' ;
62
- position : absolute;
63
- width : 100% ;
64
- right : 0 ;
65
- top : 0 ;
66
- height : 2.4rem ;
67
- background : url($lib/ icons/chevron.svg) no-repeat 50% 50% ;
68
- background-size : contain;
69
- transition : transform 0.2s ;
70
- cursor : pointer;
60
+ & : where (: has ([title = 'Fold line' ]), : has ([title = 'Unfold line' ])) {
61
+ & ::after {
62
+ content : '' ;
63
+ position : absolute;
64
+ width : 100% ;
65
+ right : 0 ;
66
+ top : 0 ;
67
+ height : 2.4rem ;
68
+ background : # 666 ;
69
+ mask : url (icons/chevron) no-repeat 50% 50% ;
70
+ mask-size : contain;
71
+ transition : transform 0.2s ;
72
+ cursor : pointer;
73
+ rotate : 180deg ;
74
+ }
75
+
76
+ : root .dark & ::after {
77
+ background : # d4d4d4 ;
78
+ }
71
79
}
72
80
73
81
& : has ([title = 'Unfold line' ])::after {
74
- transform : rotate (- 90deg );
82
+ transform : rotate (90deg );
75
83
}
76
84
77
85
span {
You can’t perform that action at this time.
0 commit comments