@gooddata/sdk-ui-kit 10.27.0-alpha.43 → 10.27.0-alpha.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,516 +1,15 @@
1
- /* BASICS */
2
- .CodeMirror {
3
- /* Set height, width, borders, and global font properties here */
4
- font-family: monospace;
5
- height: 300px;
6
- color: black;
7
- direction: ltr;
8
- }
9
-
10
- /* PADDING */
11
- .CodeMirror-lines {
12
- padding: 4px 0; /* Vertical padding around content */
13
- }
14
-
15
- .CodeMirror pre.CodeMirror-line,
16
- .CodeMirror pre.CodeMirror-line-like {
17
- padding: 0 4px; /* Horizontal padding of content */
18
- }
19
-
20
- .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
21
- background-color: white; /* The little square between H and V scrollbars */
22
- }
23
-
24
- /* GUTTER */
25
- .CodeMirror-gutters {
26
- border-right: 1px solid #ddd;
27
- background-color: #f7f7f7;
28
- white-space: nowrap;
29
- }
30
-
31
- .CodeMirror-linenumber {
32
- padding: 0 3px 0 5px;
33
- min-width: 20px;
34
- text-align: right;
35
- color: #999;
36
- white-space: nowrap;
37
- }
38
-
39
- .CodeMirror-guttermarker {
40
- color: black;
41
- }
42
-
43
- .CodeMirror-guttermarker-subtle {
44
- color: #999;
45
- }
46
-
47
- /* CURSOR */
48
- .CodeMirror-cursor {
49
- border-left: 1px solid black;
50
- border-right: none;
51
- width: 0;
52
- }
53
-
54
- /* Shown when moving in bi-directional text */
55
- .CodeMirror div.CodeMirror-secondarycursor {
56
- border-left: 1px solid silver;
57
- }
58
-
59
- .cm-fat-cursor .CodeMirror-cursor {
60
- width: auto;
61
- border: 0 !important;
62
- background: #7e7;
63
- }
64
-
65
- .cm-fat-cursor div.CodeMirror-cursors {
66
- z-index: 1;
67
- }
68
-
69
- .cm-fat-cursor .CodeMirror-line::selection,
70
- .cm-fat-cursor .CodeMirror-line > span::selection,
71
- .cm-fat-cursor .CodeMirror-line > span > span::selection {
72
- background: transparent;
73
- }
74
-
75
- .cm-fat-cursor .CodeMirror-line::-moz-selection,
76
- .cm-fat-cursor .CodeMirror-line > span::-moz-selection,
77
- .cm-fat-cursor .CodeMirror-line > span > span::-moz-selection {
78
- background: transparent;
79
- }
80
-
81
- .cm-fat-cursor {
82
- caret-color: transparent;
83
- }
84
-
85
- @-moz-keyframes blink {
86
- 50% {
87
- background-color: transparent;
88
- }
89
- }
90
- @-webkit-keyframes blink {
91
- 50% {
92
- background-color: transparent;
93
- }
94
- }
95
- @keyframes blink {
96
- 50% {
97
- background-color: transparent;
98
- }
99
- }
100
- /* Can style cursor different in overwrite (non-insert) mode */
101
- .cm-tab {
102
- display: inline-block;
103
- text-decoration: inherit;
104
- }
105
-
106
- .CodeMirror-rulers {
107
- position: absolute;
108
- left: 0;
109
- right: 0;
110
- top: -50px;
111
- bottom: 0;
112
- overflow: hidden;
113
- }
114
-
115
- .CodeMirror-ruler {
116
- border-left: 1px solid #ccc;
117
- top: 0;
118
- bottom: 0;
119
- position: absolute;
120
- }
121
-
122
- /* DEFAULT THEME */
123
- .cm-s-default .cm-header {
124
- color: blue;
125
- }
126
-
127
- .cm-s-default .cm-quote {
128
- color: #090;
129
- }
130
-
131
- .cm-negative {
132
- color: #d44;
133
- }
134
-
135
- .cm-positive {
136
- color: #292;
137
- }
138
-
139
- .cm-header, .cm-strong {
140
- font-weight: bold;
141
- }
142
-
143
- .cm-em {
144
- font-style: italic;
145
- }
146
-
147
- .cm-link {
148
- text-decoration: underline;
149
- }
150
-
151
- .cm-strikethrough {
152
- text-decoration: line-through;
153
- }
154
-
155
- .cm-s-default .cm-keyword {
156
- color: #708;
157
- }
158
-
159
- .cm-s-default .cm-atom {
160
- color: #219;
161
- }
162
-
163
- .cm-s-default .cm-number {
164
- color: #164;
165
- }
166
-
167
- .cm-s-default .cm-def {
168
- color: #00f;
169
- }
170
-
171
- .cm-s-default .cm-variable-2 {
172
- color: #05a;
173
- }
174
-
175
- .cm-s-default .cm-variable-3, .cm-s-default .cm-type {
176
- color: #085;
177
- }
178
-
179
- .cm-s-default .cm-comment {
180
- color: #a50;
181
- }
182
-
183
- .cm-s-default .cm-string {
184
- color: #a11;
185
- }
186
-
187
- .cm-s-default .cm-string-2 {
188
- color: #f50;
189
- }
190
-
191
- .cm-s-default .cm-meta {
192
- color: #555;
193
- }
194
-
195
- .cm-s-default .cm-qualifier {
196
- color: #555;
197
- }
198
-
199
- .cm-s-default .cm-builtin {
200
- color: #30a;
201
- }
202
-
203
- .cm-s-default .cm-bracket {
204
- color: #997;
205
- }
206
-
207
- .cm-s-default .cm-tag {
208
- color: #170;
209
- }
210
-
211
- .cm-s-default .cm-attribute {
212
- color: #00c;
213
- }
214
-
215
- .cm-s-default .cm-hr {
216
- color: #999;
217
- }
218
-
219
- .cm-s-default .cm-link {
220
- color: #00c;
221
- }
222
-
223
- .cm-s-default .cm-error {
224
- color: #f00;
225
- }
226
-
227
- .cm-invalidchar {
228
- color: #f00;
229
- }
230
-
231
- .CodeMirror-composing {
232
- border-bottom: 2px solid;
233
- }
234
-
235
- /* Default styles for common addons */
236
- div.CodeMirror span.CodeMirror-matchingbracket {
237
- color: #0b0;
238
- }
239
-
240
- div.CodeMirror span.CodeMirror-nonmatchingbracket {
241
- color: #a22;
242
- }
243
-
244
- .CodeMirror-matchingtag {
245
- background: rgba(255, 150, 0, 0.3);
246
- }
247
-
248
- .CodeMirror-activeline-background {
249
- background: #e8f2ff;
250
- }
251
-
252
- /* STOP */
253
- /* The rest of this file contains styles related to the mechanics of
254
- the editor. You probably shouldn't touch them. */
255
- .CodeMirror {
256
- position: relative;
257
- overflow: hidden;
258
- background: white;
259
- }
260
-
261
- .CodeMirror-scroll {
262
- overflow: scroll !important; /* Things will break if this is overridden */
263
- /* 50px is the magic margin used to hide the element's real scrollbars */
264
- /* See overflow: hidden in .CodeMirror */
265
- margin-bottom: -50px;
266
- margin-right: -50px;
267
- padding-bottom: 50px;
268
- height: 100%;
269
- outline: none; /* Prevent dragging from highlighting the element */
270
- position: relative;
271
- z-index: 0;
272
- }
273
-
274
- .CodeMirror-sizer {
275
- position: relative;
276
- border-right: 50px solid transparent;
277
- }
278
-
279
- /* The fake, visible scrollbars. Used to force redraw during scrolling
280
- before actual scrolling happens, thus preventing shaking and
281
- flickering artifacts. */
282
- .CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
283
- position: absolute;
284
- z-index: 6;
285
- display: none;
286
- outline: none;
287
- }
288
-
289
- .CodeMirror-vscrollbar {
290
- right: 0;
291
- top: 0;
292
- overflow-x: hidden;
293
- overflow-y: scroll;
294
- }
295
-
296
- .CodeMirror-hscrollbar {
297
- bottom: 0;
298
- left: 0;
299
- overflow-y: hidden;
300
- overflow-x: scroll;
301
- }
302
-
303
- .CodeMirror-scrollbar-filler {
304
- right: 0;
305
- bottom: 0;
306
- }
307
-
308
- .CodeMirror-gutter-filler {
309
- left: 0;
310
- bottom: 0;
311
- }
312
-
313
- .CodeMirror-gutters {
314
- position: absolute;
315
- left: 0;
316
- top: 0;
317
- min-height: 100%;
318
- z-index: 3;
319
- }
320
-
321
- .CodeMirror-gutter {
322
- white-space: normal;
323
- height: 100%;
324
- display: inline-block;
325
- vertical-align: top;
326
- margin-bottom: -50px;
327
- }
328
-
329
- .CodeMirror-gutter-wrapper {
330
- position: absolute;
331
- z-index: 4;
332
- background: none !important;
333
- border: none !important;
334
- }
335
-
336
- .CodeMirror-gutter-background {
337
- position: absolute;
338
- top: 0;
339
- bottom: 0;
340
- z-index: 4;
341
- }
342
-
343
- .CodeMirror-gutter-elt {
344
- position: absolute;
345
- cursor: default;
346
- z-index: 4;
347
- }
348
-
349
- .CodeMirror-gutter-wrapper ::selection {
350
- background-color: transparent;
351
- }
352
-
353
- .CodeMirror-gutter-wrapper ::-moz-selection {
354
- background-color: transparent;
355
- }
356
-
357
- .CodeMirror-lines {
358
- cursor: text;
359
- min-height: 1px; /* prevents collapsing before first draw */
360
- }
361
-
362
- .CodeMirror pre.CodeMirror-line,
363
- .CodeMirror pre.CodeMirror-line-like {
364
- /* Reset some styles that the rest of the page might have set */
365
- -moz-border-radius: 0;
366
- -webkit-border-radius: 0;
367
- border-radius: 0;
368
- border-width: 0;
369
- background: transparent;
370
- font-family: inherit;
371
- font-size: inherit;
372
- margin: 0;
373
- white-space: pre;
374
- word-wrap: normal;
375
- line-height: inherit;
376
- color: inherit;
377
- z-index: 2;
378
- position: relative;
379
- overflow: visible;
380
- -webkit-tap-highlight-color: transparent;
381
- -webkit-font-variant-ligatures: contextual;
382
- font-variant-ligatures: contextual;
383
- }
384
-
385
- .CodeMirror-wrap pre.CodeMirror-line,
386
- .CodeMirror-wrap pre.CodeMirror-line-like {
387
- word-wrap: break-word;
388
- white-space: pre-wrap;
389
- word-break: normal;
390
- }
391
-
392
- .CodeMirror-linebackground {
393
- position: absolute;
394
- left: 0;
395
- right: 0;
396
- top: 0;
397
- bottom: 0;
398
- z-index: 0;
399
- }
400
-
401
- .CodeMirror-linewidget {
402
- position: relative;
403
- z-index: 2;
404
- padding: 0.1px; /* Force widget margins to stay inside of the container */
405
- }
406
-
407
- .CodeMirror-rtl pre {
408
- direction: rtl;
409
- }
410
-
411
- .CodeMirror-code {
412
- outline: none;
413
- }
414
-
415
- /* Force content-box sizing for the elements where we expect it */
416
- .CodeMirror-scroll,
417
- .CodeMirror-sizer,
418
- .CodeMirror-gutter,
419
- .CodeMirror-gutters,
420
- .CodeMirror-linenumber {
421
- -moz-box-sizing: content-box;
422
- box-sizing: content-box;
423
- }
424
-
425
- .CodeMirror-measure {
426
- position: absolute;
427
- width: 100%;
428
- height: 0;
429
- overflow: hidden;
430
- visibility: hidden;
431
- }
432
-
433
- .CodeMirror-cursor {
434
- position: absolute;
435
- pointer-events: none;
436
- }
437
-
438
- .CodeMirror-measure pre {
439
- position: static;
440
- }
441
-
442
- div.CodeMirror-cursors {
443
- visibility: hidden;
444
- position: relative;
445
- z-index: 3;
446
- }
447
-
448
- div.CodeMirror-dragcursors {
449
- visibility: visible;
450
- }
451
-
452
- .CodeMirror-focused div.CodeMirror-cursors {
453
- visibility: visible;
454
- }
455
-
456
- .CodeMirror-selected {
457
- background: #d9d9d9;
458
- }
459
-
460
- .CodeMirror-focused .CodeMirror-selected {
461
- background: #d7d4f0;
462
- }
463
-
464
- .CodeMirror-crosshair {
465
- cursor: crosshair;
466
- }
467
-
468
- .CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection {
469
- background: #d7d4f0;
470
- }
471
-
472
- .CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection {
473
- background: #d7d4f0;
474
- }
475
-
476
- .cm-searching {
477
- background-color: #ffa;
478
- background-color: rgba(255, 255, 0, 0.4);
479
- }
480
-
481
- /* Used to force a border model for a node */
482
- .cm-force-border {
483
- padding-right: 0.1px;
484
- }
485
-
486
- @media print {
487
- /* Hide the cursor when printing */
488
- .CodeMirror div.CodeMirror-cursors {
489
- visibility: hidden;
490
- }
491
- }
492
- /* See issue #2901 */
493
- .cm-tab-wrap-hack:after {
494
- content: "";
495
- }
496
-
497
- /* Help users use markselection to safely style text background */
498
- span.CodeMirror-selectedtext {
499
- background: none;
500
- }
501
-
502
1
  /* allow vendor prefixes and disable max length */
503
2
  /* allow vendor prefixes and disable max length */
504
- .gd-input-syntax-highlighting-input .CodeMirror {
3
+ .gd-input-syntax-highlighting-input .cm-editor {
505
4
  box-sizing: border-box;
506
5
  height: 100px;
507
6
  margin: 0;
508
- padding: 2px 2px 0 3px;
7
+ padding: 0;
509
8
  border: 1px solid var(--gd-palette-complementary-4, #ccd8e2);
510
9
  line-height: normal;
511
10
  vertical-align: middle;
512
11
  color: #464e56;
513
- background: #fff;
12
+ background: var(--gd-palette-complementary-0, #fff);
514
13
  font-size: 14px;
515
14
  font-family: monospace;
516
15
  font-weight: 200;
@@ -526,7 +25,7 @@ span.CodeMirror-selectedtext {
526
25
  border-radius: 3px;
527
26
  box-shadow: inset 0 1px 1px 0 rgba(31, 53, 74, 0.15);
528
27
  }
529
- .gd-input-syntax-highlighting-input .CodeMirror::-webkit-input-placeholder {
28
+ .gd-input-syntax-highlighting-input .cm-editor::-webkit-input-placeholder {
530
29
  color: rgba(109, 118, 128, 0.75);
531
30
  -moz-transition-property: color;
532
31
  -webkit-transition-property: color;
@@ -538,7 +37,7 @@ span.CodeMirror-selectedtext {
538
37
  -webkit-transition-timing-function: ease-in-out;
539
38
  transition-timing-function: ease-in-out;
540
39
  }
541
- .gd-input-syntax-highlighting-input .CodeMirror:-moz-placeholder {
40
+ .gd-input-syntax-highlighting-input .cm-editor:-moz-placeholder {
542
41
  color: rgba(109, 118, 128, 0.75);
543
42
  -moz-transition-property: color;
544
43
  -webkit-transition-property: color;
@@ -550,7 +49,7 @@ span.CodeMirror-selectedtext {
550
49
  -webkit-transition-timing-function: ease-in-out;
551
50
  transition-timing-function: ease-in-out;
552
51
  }
553
- .gd-input-syntax-highlighting-input .CodeMirror::-moz-placeholder {
52
+ .gd-input-syntax-highlighting-input .cm-editor::-moz-placeholder {
554
53
  color: rgba(109, 118, 128, 0.75);
555
54
  -moz-transition-property: color;
556
55
  -webkit-transition-property: color;
@@ -562,7 +61,7 @@ span.CodeMirror-selectedtext {
562
61
  -webkit-transition-timing-function: ease-in-out;
563
62
  transition-timing-function: ease-in-out;
564
63
  }
565
- .gd-input-syntax-highlighting-input .CodeMirror:-ms-input-placeholder {
64
+ .gd-input-syntax-highlighting-input .cm-editor:-ms-input-placeholder {
566
65
  color: rgba(109, 118, 128, 0.75);
567
66
  -moz-transition-property: color;
568
67
  -webkit-transition-property: color;
@@ -574,50 +73,33 @@ span.CodeMirror-selectedtext {
574
73
  -webkit-transition-timing-function: ease-in-out;
575
74
  transition-timing-function: ease-in-out;
576
75
  }
577
- .gd-input-syntax-highlighting-input .CodeMirror:hover {
76
+ .gd-input-syntax-highlighting-input .cm-editor:hover {
578
77
  border-color: var(--gd-palette-complementary-5-from-theme, #b1c1d1);
579
78
  }
580
- .gd-input-syntax-highlighting-input .CodeMirror:hover::-webkit-input-placeholder {
79
+ .gd-input-syntax-highlighting-input .cm-editor:hover::-webkit-input-placeholder {
581
80
  color: var(--gd-palette-complementary-7, #6d7680);
582
81
  }
583
- .gd-input-syntax-highlighting-input .CodeMirror:hover:-moz-placeholder {
82
+ .gd-input-syntax-highlighting-input .cm-editor:hover:-moz-placeholder {
584
83
  color: var(--gd-palette-complementary-7, #6d7680);
585
84
  }
586
- .gd-input-syntax-highlighting-input .CodeMirror:hover::-moz-placeholder {
85
+ .gd-input-syntax-highlighting-input .cm-editor:hover::-moz-placeholder {
587
86
  color: var(--gd-palette-complementary-7, #6d7680);
588
87
  }
589
- .gd-input-syntax-highlighting-input .CodeMirror:hover:-ms-input-placeholder {
88
+ .gd-input-syntax-highlighting-input .cm-editor:hover:-ms-input-placeholder {
590
89
  color: var(--gd-palette-complementary-7, #6d7680);
591
90
  }
592
- .gd-input-syntax-highlighting-input .CodeMirror.CodeMirror-focused {
91
+ .gd-input-syntax-highlighting-input .cm-editor.cm-focused {
593
92
  border-color: var(--gd-palette-primary-base, #14b2e2);
93
+ outline: none;
594
94
  box-shadow: inset 0 1px 1px 0 rgba(31, 53, 74, 0.15);
595
95
  }
596
- .gd-input-syntax-highlighting-input .CodeMirror-empty {
597
- color: var(--gd-palette-complementary-5, #b0beca);
598
- }
599
- .gd-input-syntax-highlighting-input .CodeMirror-code .CodeMirror-matchingbracket {
600
- font-weight: bold;
601
- color: #000;
602
- background-color: #fef9d3;
603
- }
604
- .gd-input-syntax-highlighting-input .CodeMirror-code .CodeMirror-nonmatchingbracket {
605
- color: #e54d42;
606
- }
607
- .gd-input-syntax-highlighting-input .CodeMirror-code .cm-variable-brackets {
608
- color: #94a1ad;
609
- }
610
- .gd-input-syntax-highlighting-input .CodeMirror-code .cm-variable-4 {
96
+ .gd-input-syntax-highlighting-input .cm-editor .cm-matchingBracket {
611
97
  font-weight: bold;
612
- color: #13b1e2;
98
+ color: var(--gd-palette-complementary-9, #000);
99
+ background-color: var(--gd-palette-warning-dimmed, #fef8d3);
613
100
  }
614
- .gd-input-syntax-highlighting-input .CodeMirror-code .cm-variable-5 {
615
- font-weight: bold;
616
- color: #00c18e;
617
- }
618
- .gd-input-syntax-highlighting-input .CodeMirror-code .cm-keyword {
619
- font-weight: bold;
620
- color: #ab55a3;
101
+ .gd-input-syntax-highlighting-input .cm-editor .cm-nonmatchingBracket {
102
+ color: var(--gd-palette-error-base, #e54d42);
621
103
  }
622
104
 
623
105
  /*# sourceMappingURL=syntaxHighlightingInput.css.map */
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../../node_modules/codemirror/lib/codemirror.css","../scss/mixins.scss","../scss/syntaxHighlightingInput.scss","../scss/variables.scss"],"names":[],"mappings":"AAAA;AAEA;AACE;EACA;EACA;EACA;EACA;;;AAGF;AAEA;EACE;;;AAEF;AAAA;EAEE;;;AAGF;EACE;;;AAGF;AAEA;EACE;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;;;AAGF;EAA2B;;;AAC3B;EAAkC;;;AAElC;AAEA;EACE;EACA;EACA;;;AAEF;AACA;EACE;;;AAEF;EACE;EACA;EACA;;;AAEF;EACE;;;AAEF;AAAA;AAAA;EAE2D;;;AAC3D;AAAA;AAAA;EAEgE;;;AAChE;EAAiB;;;AACjB;EAEE;IAAM;;;AAGR;EAEE;IAAM;;;AAGR;EAEE;IAAM;;;AAIR;AAGA;EAAU;EAAuB;;;AAEjC;EACE;EACA;EAAS;EAAU;EAAY;EAC/B;;;AAEF;EACE;EACA;EAAQ;EACR;;;AAGF;AAEA;EAA0B;;;AAC1B;EAAyB;;;AACzB;EAAc;;;AACd;EAAc;;;AACd;EAAwB;;;AACxB;EAAQ;;;AACR;EAAU;;;AACV;EAAmB;;;AAEnB;EAA2B;;;AAC3B;EAAwB;;;AACxB;EAA0B;;;AAC1B;EAAuB;;;AAKvB;EAA8B;;;A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,OCtBA;;AD0BR;EACI,cCZc;EFnBlB;;ACsCJ;EACI,OCxCY;;AD4CZ;EACI;EACA,OA7DgB;EA8DhB,kBA7DmB;;AAgEvB;EACI,OAhEoB;;AAmExB;EACI,OAnEiB;;AAsErB;EACI;EACA,OAvEU;;AA0Ed;EACI;EACA,OA3EU;;AA8Ed;EACI;EACA,OA/EO","file":"syntaxHighlightingInput.css"}
1
+ {"version":3,"sourceRoot":"","sources":["../scss/mixins.scss","../scss/syntaxHighlightingInput.scss","../scss/variables.scss"],"names":[],"mappings":"AA0HA;AA4DA;AChLI;EAEI;EACA;EACA;EACA;EACA;EACA;EACA;EACA,OCcgB;EDbhB,YCCS;EDAT;EACA;EACA;EDgDJ,0BC9C+B;ED+C/B,6BC/C+B;EDgD/B,qBChD+B;EDoD/B,0BCpDoC;EDqDpC,6BCrDoC;EDsDpC,qBCtDoC;ED0DpC,iCC1D2C;ED2D3C,oCC3D2C;ED4D3C,4BC5D2C;EDP3C,eCUkC;EDF9B;;AA8HJ;ECtHQ;EDqCR,0BCnCmC;EDoCnC,6BCpCmC;EDqCnC,qBCrCmC;EDyCnC,0BCzC0C;ED0C1C,6BC1C0C;ED2C1C,qBC3C0C;ED+C1C,iCC/CiD;EDgDjD,oCChDiD;EDiDjD,4BCjDiD;;ADwHjD;EC1HQ;EDqCR,0BCnCmC;EDoCnC,6BCpCmC;EDqCnC,qBCrCmC;EDyCnC,0BCzC0C;ED0C1C,6BC1C0C;ED2C1C,qBC3C0C;ED+C1C,iCC/CiD;EDgDjD,oCChDiD;EDiDjD,4BCjDiD;;AD4HjD;EC9HQ;EDqCR,0BCnCmC;EDoCnC,6BCpCmC;EDqCnC,qBCrCmC;EDyCnC,0BCzC0C;ED0C1C,6BC1C0C;ED2C1C,qBC3C0C;ED+C1C,iCC/CiD;EDgDjD,oCChDiD;EDiDjD,4BCjDiD;;ADgIjD;EClIQ;EDqCR,0BCnCmC;EDoCnC,6BCpCmC;EDqCnC,qBCrCmC;EDyCnC,0BCzC0C;ED0C1C,6BC1C0C;ED2C1C,qBC3C0C;ED+C1C,iCC/CiD;EDgDjD,oCChDiD;EDiDjD,4BCjDiD;;AAG7C;EACI,cCqGiB;;AFWzB;EC7GY,OCbA;;AF8HZ;ECjHY,OCbA;;AFkIZ;ECrHY,OCbA;;AFsIZ;ECzHY,OCbA;;ADiBR;EACI,cCHc;EDId;EDvBJ;;AC6BA;EACI;EACA,OCjBI;EDkBJ,kBCsBgB;;ADnBpB;EACI","file":"syntaxHighlightingInput.css"}
@@ -1,29 +1,20 @@
1
1
  // (C) 2020-2025 GoodData Corporation
2
- @use "codemirror/lib/codemirror.css";
3
2
  @use "sass:color";
4
3
  @use "mixins";
5
4
  @use "variables";
6
5
 
7
- $cm-color-matching-bracket: #000;
8
- $cm-color-matching-bracket-bg: #fef9d3;
9
- $cm-color-non-matching-bracket: #e54d42;
10
- $cm-color-variable-brackets: #94a1ad;
11
- $cm-color-variable-4: #13b1e2;
12
- $cm-color-variable-5: #00c18e;
13
- $cm-color-keyword: #ab55a3;
14
-
15
6
  .gd-input-syntax-highlighting-input {
16
- .CodeMirror {
7
+ .cm-editor {
17
8
  // start of gd-input-base mixin body
18
9
  box-sizing: border-box;
19
10
  height: 100px;
20
11
  margin: 0;
21
- padding: 2px 2px 0 3px;
12
+ padding: 0;
22
13
  border: 1px solid variables.$gd-input-text-border;
23
14
  line-height: normal;
24
15
  vertical-align: middle;
25
16
  color: variables.$default-gd-color-text;
26
- background: #fff;
17
+ background: variables.$gd-color-white;
27
18
  font-size: 14px;
28
19
  font-family: monospace;
29
20
  font-weight: 200;
@@ -50,46 +41,22 @@ $cm-color-keyword: #ab55a3;
50
41
  }
51
42
  }
52
43
 
53
- &.CodeMirror-focused {
44
+ &.cm-focused {
54
45
  border-color: variables.$gd-palette-primary-base;
46
+ outline: none;
55
47
  @include mixins.box-shadow(
56
48
  inset 0 1px 1px 0 color.adjust(variables.$gd-input-text-box-shadow-color, $alpha: -0.85)
57
49
  );
58
50
  }
59
- }
60
-
61
- .CodeMirror-empty {
62
- color: variables.$gd-color-disabled;
63
- }
64
51
 
65
- .CodeMirror-code {
66
- .CodeMirror-matchingbracket {
52
+ .cm-matchingBracket {
67
53
  font-weight: bold;
68
- color: $cm-color-matching-bracket;
69
- background-color: $cm-color-matching-bracket-bg;
70
- }
71
-
72
- .CodeMirror-nonmatchingbracket {
73
- color: $cm-color-non-matching-bracket;
74
- }
75
-
76
- .cm-variable-brackets {
77
- color: $cm-color-variable-brackets;
54
+ color: variables.$gd-color-dark;
55
+ background-color: variables.$gd-palette-warning-dimmed;
78
56
  }
79
57
 
80
- .cm-variable-4 {
81
- font-weight: bold;
82
- color: $cm-color-variable-4;
83
- }
84
-
85
- .cm-variable-5 {
86
- font-weight: bold;
87
- color: $cm-color-variable-5;
88
- }
89
-
90
- .cm-keyword {
91
- font-weight: bold;
92
- color: $cm-color-keyword;
58
+ .cm-nonmatchingBracket {
59
+ color: variables.$gd-palette-error-base;
93
60
  }
94
61
  }
95
62
  }