4
4
}
5
5
6
6
.CodeMirror-linenumbers {
7
- padding-right : #{10 / $base-font-size } rem;
8
-
7
+ padding-right : #{10 / $base-font-size } rem;
9
8
}
10
9
11
10
.CodeMirror-linenumber {
12
- width : #{32 / $base-font-size } rem;
11
+ width : #{32 / $base-font-size } rem;
13
12
left : #{-3 / $base-font-size } rem !important ;
14
13
@include themify () {
15
- color : getThemifyVariable (' inactive-text-color' );
14
+ color : getThemifyVariable (" inactive-text-color" );
16
15
}
17
16
}
18
17
21
20
}
22
21
23
22
pre .CodeMirror-line {
24
- padding-left : #{5 / $base-font-size } rem;
23
+ padding-left : #{5 / $base-font-size } rem;
25
24
}
26
25
27
26
.CodeMirror-gutter-wrapper {
@@ -30,15 +29,18 @@ pre.CodeMirror-line {
30
29
bottom : 0 ;
31
30
}
32
31
33
- .CodeMirror-lint-marker-warning , .CodeMirror-lint-marker-error , .CodeMirror-lint-marker-multiple {
32
+ .CodeMirror-lint-marker-warning ,
33
+ .CodeMirror-lint-marker-error ,
34
+ .CodeMirror-lint-marker-multiple {
34
35
background-image : none ;
35
36
width : #{49 / $base-font-size } rem;
36
37
position : absolute ;
37
38
height : 100% ;
38
39
right : 100% ;
39
40
}
40
41
41
- .CodeMirror-lint-message-error , .CodeMirror-lint-message-warning {
42
+ .CodeMirror-lint-message-error ,
43
+ .CodeMirror-lint-message-warning {
42
44
background-image : none ;
43
45
padding-left : inherit ;
44
46
}
@@ -61,19 +63,19 @@ pre.CodeMirror-line {
61
63
62
64
.CodeMirror-lint-tooltip {
63
65
@include themify () {
64
- background-color : getThemifyVariable (' modal-background-color' );
65
- border : 1px solid getThemifyVariable (' modal-border-color' );
66
- box-shadow : 0 12px 12px getThemifyVariable (' shadow-color' );
67
- color : getThemifyVariable (' primary-text-color' );
66
+ background-color : getThemifyVariable (" modal-background-color" );
67
+ border : 1px solid getThemifyVariable (" modal-border-color" );
68
+ box-shadow : 0 12px 12px getThemifyVariable (" shadow-color" );
69
+ color : getThemifyVariable (" primary-text-color" );
68
70
}
69
71
border-radius : 2px ;
70
72
font-family : Montserrat, sans-serif ;
71
73
}
72
74
73
75
.CodeMirror-gutters {
74
76
@include themify () {
75
- background-color : getThemifyVariable (' editor-gutter-color' );
76
- border-color : getThemifyVariable (' ide-border-color' );
77
+ background-color : getThemifyVariable (" editor-gutter-color" );
78
+ border-color : getThemifyVariable (" ide-border-color" );
77
79
}
78
80
// left: 0 !important;
79
81
width : #{48 / $base-font-size } rem;
@@ -87,9 +89,9 @@ pre.CodeMirror-line {
87
89
position : fixed ;
88
90
top : 0 ;
89
91
left : 50% ;
90
- margin-left : - #{552 / 2 / $base-font-size } rem;
92
+ margin-left : - #{552 / 2 / $base-font-size } rem;
91
93
92
- z-index : 10 ;
94
+ // z-index: 20 ;
93
95
94
96
width : 580px ;
95
97
font-family : Montserrat, sans-serif ;
@@ -99,9 +101,9 @@ pre.CodeMirror-line {
99
101
border-radius : 2px ;
100
102
101
103
@include themify () {
102
- background-color : getThemifyVariable (' modal-background-color' );
103
- box-shadow : 0 12px 12px 0 getThemifyVariable (' shadow-color' );
104
- border : solid 0.5px getThemifyVariable (' modal-border-color' );
104
+ background-color : getThemifyVariable (" modal-background-color" );
105
+ box-shadow : 0 12px 12px 0 getThemifyVariable (" shadow-color" );
106
+ border : solid 0.5px getThemifyVariable (" modal-border-color" );
105
107
}
106
108
}
107
109
@@ -128,7 +130,7 @@ pre.CodeMirror-line {
128
130
.CodeMirror-search-results {
129
131
margin : 0 #{20 / $base-font-size } rem;
130
132
width : #{75 / $base-font-size } rem;
131
- font-size : #{12 / $base-font-size } rem;
133
+ font-size : #{12 / $base-font-size } rem;
132
134
}
133
135
134
136
.CodeMirror-find-controls {
@@ -177,14 +179,14 @@ pre.CodeMirror-line {
177
179
.CodeMirror-search-field {
178
180
display : block ;
179
181
width : 100% ;
180
- max-width : #{166 / $base-font-size } rem;
182
+ max-width : #{166 / $base-font-size } rem;
181
183
margin-bottom : #{4 / $base-font-size } rem;
182
184
@include themify () {
183
- color : getThemifyVariable (' input-text-color' );
184
- background-color : getThemifyVariable (' input-secondary-background-color' );
185
- border : solid 0.5px getThemifyVariable (' button-border-color' );
185
+ color : getThemifyVariable (" input-text-color" );
186
+ background-color : getThemifyVariable (" input-secondary-background-color" );
187
+ border : solid 0.5px getThemifyVariable (" button-border-color" );
186
188
& ::placeholder {
187
- color : getThemifyVariable (' inactive-text-color' );
189
+ color : getThemifyVariable (" inactive-text-color" );
188
190
}
189
191
}
190
192
}
@@ -221,7 +223,6 @@ pre.CodeMirror-line {
221
223
& :hover {
222
224
border-color : getThemifyVariable (" button-border-color" );
223
225
}
224
-
225
226
}
226
227
width : #{35 / $base-font-size } rem;
227
228
height : #{35 / $base-font-size } rem;
@@ -266,26 +267,30 @@ pre.CodeMirror-line {
266
267
border-top : #{1 / $base-font-size } rem solid orange ;
267
268
border-bottom : #{1 / $base-font-size } rem solid orange ;
268
269
box-sizing : border-box ;
269
- opacity : .5 ;
270
+ opacity : 0 .5 ;
270
271
}
271
272
272
273
/*
273
274
Close button
274
275
*/
275
- .CodeMirror-close-button-container {
276
+ .CodeMirror-close-button-container {
276
277
display : flex ;
277
278
align-items : center ;
278
279
}
279
280
280
281
// foldgutter
281
282
.CodeMirror-foldmarker {
282
- text-shadow : -1px 0 #ed225d , 0 1px #ed225d , 1px 0 #ed225d , 0 -1px #ed225d ;
283
- color : #FFF ;
283
+ text-shadow :
284
+ -1px 0 #ed225d ,
285
+ 0 1px #ed225d ,
286
+ 1px 0 #ed225d ,
287
+ 0 -1px #ed225d ;
288
+ color : #fff ;
284
289
/* background-color: rgba(237, 34, 93, 0.42); */
285
290
/* border-radius: 3px; */
286
291
font-weight : bold ;
287
292
font-family : arial ;
288
- line-height : .3 ;
293
+ line-height : 0 .3 ;
289
294
cursor : pointer ;
290
295
opacity : 0.75 ;
291
296
}
@@ -297,7 +302,7 @@ pre.CodeMirror-line {
297
302
cursor : pointer ;
298
303
padding-bottom : 0.4em ;
299
304
text-align : right ;
300
- line-height : 1.0 ;
305
+ line-height : 1 ;
301
306
}
302
307
.CodeMirror-foldgutter-open :after {
303
308
content : " \25BE " ;
@@ -306,20 +311,21 @@ pre.CodeMirror-line {
306
311
content : " \25B8 " ;
307
312
}
308
313
309
- .CodeMirror-foldgutter-open , .CodeMirror-foldgutter-folded {
314
+ .CodeMirror-foldgutter-open ,
315
+ .CodeMirror-foldgutter-folded {
310
316
position : absolute ;
311
317
right : 100% ;
312
318
}
313
319
314
320
.CodeMirror-foldgutter-open :after {
315
321
@include themify () {
316
- background-image : getThemifyVariable (' codefold-icon-open' );
322
+ background-image : getThemifyVariable (" codefold-icon-open" );
317
323
}
318
324
}
319
325
320
326
.CodeMirror-foldgutter-folded :after {
321
327
@include themify () {
322
- background-image : getThemifyVariable (' codefold-icon-closed' );
328
+ background-image : getThemifyVariable (" codefold-icon-closed" );
323
329
}
324
330
}
325
331
@@ -345,7 +351,6 @@ pre.CodeMirror-line {
345
351
font-family : serif ;
346
352
}
347
353
348
-
349
354
.line-runtime-error + .CodeMirror-activeline-gutter {
350
355
background-color : rgb (255 , 95 , 82 );
351
356
opacity : 0.3 ;
@@ -361,7 +366,7 @@ pre.CodeMirror-line {
361
366
width : 100% ;
362
367
position : absolute ;
363
368
@include themify () {
364
- border : 1px solid getThemifyVariable (' ide-border-color' );
369
+ border : 1px solid getThemifyVariable (" ide-border-color" );
365
370
}
366
371
& .editor-holder--hidden .CodeMirror {
367
372
display : none ;
@@ -374,7 +379,7 @@ pre.CodeMirror-line {
374
379
375
380
.editor__file-name {
376
381
@include themify () {
377
- color : getThemifyVariable (' primary-text-color' );
382
+ color : getThemifyVariable (" primary-text-color" );
378
383
}
379
384
height : #{29 / $base-font-size } rem;
380
385
padding-top : #{7 / $base-font-size } rem;
@@ -394,7 +399,7 @@ pre.CodeMirror-line {
394
399
@extend %modal ;
395
400
position : absolute ;
396
401
@include themify () {
397
- background : getThemifyVariable (' background-color' );
402
+ background : getThemifyVariable (" background-color" );
398
403
}
399
404
& .CodeMirror-lines {
400
405
padding : 0 ;
@@ -408,21 +413,22 @@ pre.CodeMirror-line {
408
413
}
409
414
410
415
.emmet-abbreviation-preview :not (.has-error ) .emmet-abbreviation-preview-error {
411
- display : none ;
416
+ display : none ;
412
417
}
413
418
414
419
.emmet-abbreviation-preview.has-error .CodeMirror {
415
- display : none ;
420
+ display : none ;
416
421
}
417
422
418
423
.emmet-abbreviation-preview .CodeMirror-cursors {
419
- visibility : hidden !important ;
424
+ visibility : hidden !important ;
420
425
}
421
426
422
427
.emmet-abbreviation-preview .emmet-error-snippet-message {
423
- padding : 5px ;
428
+ padding : 5px ;
424
429
}
425
430
426
- .emmet-open-tag , .emmet-close-tag {
427
- text-decoration : underline ;
431
+ .emmet-open-tag ,
432
+ .emmet-close-tag {
433
+ text-decoration : underline ;
428
434
}
0 commit comments