@vuetify/vue-repl 1.4.0
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.
- package/README.md +61 -0
- package/dist/ssr-stub.js +1 -0
- package/dist/style.css +765 -0
- package/dist/vue-repl.d.ts +167 -0
- package/dist/vue-repl.js +29204 -0
- package/package.json +62 -0
package/dist/style.css
ADDED
|
@@ -0,0 +1,765 @@
|
|
|
1
|
+
|
|
2
|
+
.split-pane[data-v-85bdcf2d] {
|
|
3
|
+
display: flex;
|
|
4
|
+
height: 100%;
|
|
5
|
+
position: relative;
|
|
6
|
+
}
|
|
7
|
+
.split-pane.dragging[data-v-85bdcf2d] {
|
|
8
|
+
cursor: ew-resize;
|
|
9
|
+
}
|
|
10
|
+
.dragging .left[data-v-85bdcf2d],
|
|
11
|
+
.dragging .right[data-v-85bdcf2d] {
|
|
12
|
+
pointer-events: none;
|
|
13
|
+
}
|
|
14
|
+
.left[data-v-85bdcf2d],
|
|
15
|
+
.right[data-v-85bdcf2d] {
|
|
16
|
+
position: relative;
|
|
17
|
+
height: 100%;
|
|
18
|
+
}
|
|
19
|
+
.left[data-v-85bdcf2d] {
|
|
20
|
+
border-right: 1px solid var(--border);
|
|
21
|
+
}
|
|
22
|
+
.dragger[data-v-85bdcf2d] {
|
|
23
|
+
position: absolute;
|
|
24
|
+
z-index: 3;
|
|
25
|
+
top: 0;
|
|
26
|
+
bottom: 0;
|
|
27
|
+
right: -5px;
|
|
28
|
+
width: 10px;
|
|
29
|
+
cursor: ew-resize;
|
|
30
|
+
}
|
|
31
|
+
.toggler[data-v-85bdcf2d] {
|
|
32
|
+
display: none;
|
|
33
|
+
z-index: 3;
|
|
34
|
+
font-family: var(--font-code);
|
|
35
|
+
color: var(--text-light);
|
|
36
|
+
position: absolute;
|
|
37
|
+
left: 50%;
|
|
38
|
+
bottom: 20px;
|
|
39
|
+
background-color: var(--bg);
|
|
40
|
+
padding: 8px 12px;
|
|
41
|
+
border-radius: 8px;
|
|
42
|
+
transform: translateX(-50%);
|
|
43
|
+
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* vertical */
|
|
47
|
+
@media (min-width: 721px) {
|
|
48
|
+
.split-pane.vertical[data-v-85bdcf2d] {
|
|
49
|
+
display: block;
|
|
50
|
+
}
|
|
51
|
+
.split-pane.vertical.dragging[data-v-85bdcf2d] {
|
|
52
|
+
cursor: ns-resize;
|
|
53
|
+
}
|
|
54
|
+
.vertical .dragger[data-v-85bdcf2d] {
|
|
55
|
+
top: auto;
|
|
56
|
+
height: 10px;
|
|
57
|
+
width: 100%;
|
|
58
|
+
left: 0;
|
|
59
|
+
right: 0;
|
|
60
|
+
bottom: -5px;
|
|
61
|
+
cursor: ns-resize;
|
|
62
|
+
}
|
|
63
|
+
.vertical .left[data-v-85bdcf2d],
|
|
64
|
+
.vertical .right[data-v-85bdcf2d] {
|
|
65
|
+
width: 100%;
|
|
66
|
+
}
|
|
67
|
+
.vertical .left[data-v-85bdcf2d] {
|
|
68
|
+
border-right: none;
|
|
69
|
+
border-bottom: 1px solid var(--border);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/* mobile */
|
|
74
|
+
@media (max-width: 720px) {
|
|
75
|
+
.left[data-v-85bdcf2d],
|
|
76
|
+
.right[data-v-85bdcf2d] {
|
|
77
|
+
width: 100% !important;
|
|
78
|
+
height: 100% !important;
|
|
79
|
+
}
|
|
80
|
+
.dragger[data-v-85bdcf2d] {
|
|
81
|
+
display: none;
|
|
82
|
+
}
|
|
83
|
+
.split-pane .toggler[data-v-85bdcf2d] {
|
|
84
|
+
display: block;
|
|
85
|
+
}
|
|
86
|
+
.split-pane .right[data-v-85bdcf2d] {
|
|
87
|
+
display: none;
|
|
88
|
+
}
|
|
89
|
+
.split-pane.show-output .right[data-v-85bdcf2d] {
|
|
90
|
+
display: block;
|
|
91
|
+
}
|
|
92
|
+
.split-pane.show-output .left[data-v-85bdcf2d] {
|
|
93
|
+
display: none;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.file-selector[data-v-505aa4e7] {
|
|
98
|
+
/*border-bottom: 1px solid var(--border);*/
|
|
99
|
+
}
|
|
100
|
+
.file.import-map[data-v-505aa4e7] {
|
|
101
|
+
/*position: sticky;*/
|
|
102
|
+
/*right: 0;*/
|
|
103
|
+
margin-left: auto;
|
|
104
|
+
background: rgb(var(--v-theme-background)) !important;
|
|
105
|
+
}
|
|
106
|
+
.file.pending input[data-v-505aa4e7] {
|
|
107
|
+
width: 90px;
|
|
108
|
+
height: 30px;
|
|
109
|
+
line-height: 30px;
|
|
110
|
+
outline: none;
|
|
111
|
+
border: 1px solid var(--border);
|
|
112
|
+
border-radius: 4px;
|
|
113
|
+
padding: 0 0 0 10px;
|
|
114
|
+
margin-top: 2px;
|
|
115
|
+
margin-left: 6px;
|
|
116
|
+
font-family: var(--font-code);
|
|
117
|
+
font-size: 12px;
|
|
118
|
+
}
|
|
119
|
+
/* BASICS */
|
|
120
|
+
|
|
121
|
+
.CodeMirror {
|
|
122
|
+
color: var(--symbols);
|
|
123
|
+
--function: #c25205;
|
|
124
|
+
--qualifier: #ff6032;
|
|
125
|
+
--important: var(--string);
|
|
126
|
+
|
|
127
|
+
--symbols: #89ddff;
|
|
128
|
+
--base: #a6accd;
|
|
129
|
+
--comment: #6d6d6d;
|
|
130
|
+
--keyword: #89ddff;
|
|
131
|
+
--string: #c3e88d;
|
|
132
|
+
--variable: #82aaff;
|
|
133
|
+
--number: #f78c6c;
|
|
134
|
+
--tags: #f07178;
|
|
135
|
+
--brackets: var(--symbols);
|
|
136
|
+
--property: #f07178;
|
|
137
|
+
--attribute: #c792ea;
|
|
138
|
+
--cursor: #fff;
|
|
139
|
+
|
|
140
|
+
--selected-bg: rgba(255, 255, 255, 0.1);
|
|
141
|
+
--selected-bg-non-focus: rgba(255, 255, 255, 0.15);
|
|
142
|
+
|
|
143
|
+
direction: ltr;
|
|
144
|
+
font-family: var(--font-code);
|
|
145
|
+
height: auto;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/* PADDING */
|
|
149
|
+
|
|
150
|
+
.CodeMirror-lines {
|
|
151
|
+
padding: 4px 0; /* Vertical padding around content */
|
|
152
|
+
}
|
|
153
|
+
.CodeMirror pre {
|
|
154
|
+
padding: 0 4px; /* Horizontal padding of content */
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.CodeMirror-scrollbar-filler,
|
|
158
|
+
.CodeMirror-gutter-filler {
|
|
159
|
+
background-color: white; /* The little square between H and V scrollbars */
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/* GUTTER */
|
|
163
|
+
|
|
164
|
+
.CodeMirror-gutters {
|
|
165
|
+
border-right: 1px solid var(--border);
|
|
166
|
+
background-color: transparent;
|
|
167
|
+
white-space: nowrap;
|
|
168
|
+
}
|
|
169
|
+
.CodeMirror-linenumber {
|
|
170
|
+
padding: 0 3px 0 5px;
|
|
171
|
+
min-width: 20px;
|
|
172
|
+
text-align: right;
|
|
173
|
+
color: var(--comment);
|
|
174
|
+
white-space: nowrap;
|
|
175
|
+
opacity: 0.6;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.CodeMirror-guttermarker {
|
|
179
|
+
color: black;
|
|
180
|
+
}
|
|
181
|
+
.CodeMirror-guttermarker-subtle {
|
|
182
|
+
color: #999;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/* FOLD GUTTER */
|
|
186
|
+
|
|
187
|
+
.CodeMirror-foldmarker {
|
|
188
|
+
color: #414141;
|
|
189
|
+
text-shadow: #ff9966 1px 1px 2px, #ff9966 -1px -1px 2px, #ff9966 1px -1px 2px,
|
|
190
|
+
#ff9966 -1px 1px 2px;
|
|
191
|
+
font-family: arial;
|
|
192
|
+
line-height: 0.3;
|
|
193
|
+
cursor: pointer;
|
|
194
|
+
}
|
|
195
|
+
.CodeMirror-foldgutter {
|
|
196
|
+
width: 0.7em;
|
|
197
|
+
}
|
|
198
|
+
.CodeMirror-foldgutter-open,
|
|
199
|
+
.CodeMirror-foldgutter-folded {
|
|
200
|
+
cursor: pointer;
|
|
201
|
+
}
|
|
202
|
+
.CodeMirror-foldgutter-open:after,
|
|
203
|
+
.CodeMirror-foldgutter-folded:after {
|
|
204
|
+
content: '>';
|
|
205
|
+
font-size: 0.8em;
|
|
206
|
+
opacity: 0.8;
|
|
207
|
+
transition: transform 0.2s;
|
|
208
|
+
display: inline-block;
|
|
209
|
+
top: -0.1em;
|
|
210
|
+
position: relative;
|
|
211
|
+
transform: rotate(90deg);
|
|
212
|
+
}
|
|
213
|
+
.CodeMirror-foldgutter-folded:after {
|
|
214
|
+
transform: none;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
/* CURSOR */
|
|
218
|
+
|
|
219
|
+
.CodeMirror-cursor {
|
|
220
|
+
border-left: 1px solid var(--cursor);
|
|
221
|
+
border-right: none;
|
|
222
|
+
width: 0;
|
|
223
|
+
}
|
|
224
|
+
/* Shown when moving in bi-directional text */
|
|
225
|
+
.CodeMirror div.CodeMirror-secondarycursor {
|
|
226
|
+
border-left: 1px solid silver;
|
|
227
|
+
}
|
|
228
|
+
.cm-fat-cursor .CodeMirror-cursor {
|
|
229
|
+
width: auto;
|
|
230
|
+
border: 0 !important;
|
|
231
|
+
background: #7e7;
|
|
232
|
+
}
|
|
233
|
+
.cm-fat-cursor div.CodeMirror-cursors {
|
|
234
|
+
z-index: 1;
|
|
235
|
+
}
|
|
236
|
+
.cm-fat-cursor-mark {
|
|
237
|
+
background-color: rgba(20, 255, 20, 0.5);
|
|
238
|
+
-webkit-animation: blink 1.06s steps(1) infinite;
|
|
239
|
+
-moz-animation: blink 1.06s steps(1) infinite;
|
|
240
|
+
animation: blink 1.06s steps(1) infinite;
|
|
241
|
+
}
|
|
242
|
+
.cm-animate-fat-cursor {
|
|
243
|
+
width: auto;
|
|
244
|
+
border: 0;
|
|
245
|
+
-webkit-animation: blink 1.06s steps(1) infinite;
|
|
246
|
+
-moz-animation: blink 1.06s steps(1) infinite;
|
|
247
|
+
animation: blink 1.06s steps(1) infinite;
|
|
248
|
+
background-color: #7e7;
|
|
249
|
+
}
|
|
250
|
+
@-moz-keyframes blink {
|
|
251
|
+
0% {
|
|
252
|
+
}
|
|
253
|
+
50% {
|
|
254
|
+
background-color: transparent;
|
|
255
|
+
}
|
|
256
|
+
100% {
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
@-webkit-keyframes blink {
|
|
260
|
+
0% {
|
|
261
|
+
}
|
|
262
|
+
50% {
|
|
263
|
+
background-color: transparent;
|
|
264
|
+
}
|
|
265
|
+
100% {
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
@keyframes blink {
|
|
269
|
+
0% {
|
|
270
|
+
}
|
|
271
|
+
50% {
|
|
272
|
+
background-color: transparent;
|
|
273
|
+
}
|
|
274
|
+
100% {
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.cm-tab {
|
|
279
|
+
display: inline-block;
|
|
280
|
+
text-decoration: inherit;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.CodeMirror-rulers {
|
|
284
|
+
position: absolute;
|
|
285
|
+
left: 0;
|
|
286
|
+
right: 0;
|
|
287
|
+
top: -50px;
|
|
288
|
+
bottom: -20px;
|
|
289
|
+
overflow: hidden;
|
|
290
|
+
}
|
|
291
|
+
.CodeMirror-ruler {
|
|
292
|
+
border-left: 1px solid #ccc;
|
|
293
|
+
top: 0;
|
|
294
|
+
bottom: 0;
|
|
295
|
+
position: absolute;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
/* DEFAULT THEME */
|
|
299
|
+
.cm-s-default.CodeMirror {
|
|
300
|
+
background-color: transparent;
|
|
301
|
+
}
|
|
302
|
+
.cm-s-default .cm-header {
|
|
303
|
+
color: blue;
|
|
304
|
+
}
|
|
305
|
+
.cm-s-default .cm-quote {
|
|
306
|
+
color: #090;
|
|
307
|
+
}
|
|
308
|
+
.cm-negative {
|
|
309
|
+
color: #d44;
|
|
310
|
+
}
|
|
311
|
+
.cm-positive {
|
|
312
|
+
color: #292;
|
|
313
|
+
}
|
|
314
|
+
.cm-header,
|
|
315
|
+
.cm-strong {
|
|
316
|
+
font-weight: bold;
|
|
317
|
+
}
|
|
318
|
+
.cm-em {
|
|
319
|
+
font-style: italic;
|
|
320
|
+
}
|
|
321
|
+
.cm-link {
|
|
322
|
+
text-decoration: underline;
|
|
323
|
+
}
|
|
324
|
+
.cm-strikethrough {
|
|
325
|
+
text-decoration: line-through;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.cm-s-default .cm-atom,
|
|
329
|
+
.cm-s-default .cm-def,
|
|
330
|
+
.cm-s-default .cm-variable-2,
|
|
331
|
+
.cm-s-default .cm-variable-3,
|
|
332
|
+
.cm-s-default .cm-punctuation {
|
|
333
|
+
color: var(--base);
|
|
334
|
+
}
|
|
335
|
+
.cm-s-default .cm-property {
|
|
336
|
+
color: var(--property);
|
|
337
|
+
}
|
|
338
|
+
.cm-s-default .cm-hr,
|
|
339
|
+
.cm-s-default .cm-comment {
|
|
340
|
+
color: var(--comment);
|
|
341
|
+
}
|
|
342
|
+
.cm-s-default .cm-attribute {
|
|
343
|
+
color: var(--attribute);
|
|
344
|
+
}
|
|
345
|
+
.cm-s-default .cm-keyword {
|
|
346
|
+
color: var(--keyword);
|
|
347
|
+
}
|
|
348
|
+
.cm-s-default .cm-variable {
|
|
349
|
+
color: var(--variable);
|
|
350
|
+
}
|
|
351
|
+
.cm-s-default .cm-tag {
|
|
352
|
+
color: var(--tags);
|
|
353
|
+
}
|
|
354
|
+
.cm-s-default .cm-bracket {
|
|
355
|
+
color: var(--brackets);
|
|
356
|
+
}
|
|
357
|
+
.cm-s-default .cm-number {
|
|
358
|
+
color: var(--number);
|
|
359
|
+
}
|
|
360
|
+
.cm-s-default .cm-string,
|
|
361
|
+
.cm-s-default .cm-string-2 {
|
|
362
|
+
color: var(--string);
|
|
363
|
+
}
|
|
364
|
+
.cm-s-default .cm-type {
|
|
365
|
+
color: #085;
|
|
366
|
+
}
|
|
367
|
+
.cm-s-default .cm-meta {
|
|
368
|
+
color: #555;
|
|
369
|
+
}
|
|
370
|
+
.cm-s-default .cm-qualifier {
|
|
371
|
+
color: var(--qualifier);
|
|
372
|
+
}
|
|
373
|
+
.cm-s-default .cm-builtin {
|
|
374
|
+
color: #7539ff;
|
|
375
|
+
}
|
|
376
|
+
.cm-s-default .cm-link {
|
|
377
|
+
color: var(--flash);
|
|
378
|
+
}
|
|
379
|
+
.cm-s-default .cm-error {
|
|
380
|
+
color: #ff008c;
|
|
381
|
+
}
|
|
382
|
+
.cm-invalidchar {
|
|
383
|
+
color: #ff008c;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.CodeMirror-composing {
|
|
387
|
+
border-bottom: 2px solid;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
/* Default styles for common addons */
|
|
391
|
+
|
|
392
|
+
div.CodeMirror span.CodeMirror-matchingbracket {
|
|
393
|
+
color: #0b0;
|
|
394
|
+
}
|
|
395
|
+
div.CodeMirror span.CodeMirror-nonmatchingbracket {
|
|
396
|
+
color: #a22;
|
|
397
|
+
}
|
|
398
|
+
.CodeMirror-matchingtag {
|
|
399
|
+
background: rgba(255, 150, 0, 0.3);
|
|
400
|
+
}
|
|
401
|
+
.CodeMirror-activeline-background {
|
|
402
|
+
background: #e8f2ff;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
/* STOP */
|
|
406
|
+
|
|
407
|
+
/* The rest of this file contains styles related to the mechanics of
|
|
408
|
+
the editor. You probably shouldn't touch them. */
|
|
409
|
+
|
|
410
|
+
.CodeMirror {
|
|
411
|
+
position: relative;
|
|
412
|
+
overflow: hidden;
|
|
413
|
+
background: white;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.CodeMirror-scroll {
|
|
417
|
+
overflow: scroll !important; /* Things will break if this is overridden */
|
|
418
|
+
/* 30px is the magic margin used to hide the element's real scrollbars */
|
|
419
|
+
/* See overflow: hidden in .CodeMirror */
|
|
420
|
+
margin-bottom: -30px;
|
|
421
|
+
margin-right: -30px;
|
|
422
|
+
padding-bottom: 30px;
|
|
423
|
+
height: 100%;
|
|
424
|
+
outline: none; /* Prevent dragging from highlighting the element */
|
|
425
|
+
position: relative;
|
|
426
|
+
}
|
|
427
|
+
.CodeMirror-sizer {
|
|
428
|
+
position: relative;
|
|
429
|
+
border-right: 30px solid transparent;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
/* The fake, visible scrollbars. Used to force redraw during scrolling
|
|
433
|
+
before actual scrolling happens, thus preventing shaking and
|
|
434
|
+
flickering artifacts. */
|
|
435
|
+
.CodeMirror-vscrollbar,
|
|
436
|
+
.CodeMirror-hscrollbar,
|
|
437
|
+
.CodeMirror-scrollbar-filler,
|
|
438
|
+
.CodeMirror-gutter-filler {
|
|
439
|
+
position: absolute;
|
|
440
|
+
z-index: 6;
|
|
441
|
+
display: none;
|
|
442
|
+
}
|
|
443
|
+
.CodeMirror-vscrollbar {
|
|
444
|
+
right: 0;
|
|
445
|
+
top: 0;
|
|
446
|
+
overflow-x: hidden;
|
|
447
|
+
overflow-y: scroll;
|
|
448
|
+
}
|
|
449
|
+
.CodeMirror-hscrollbar {
|
|
450
|
+
bottom: 0;
|
|
451
|
+
left: 0;
|
|
452
|
+
overflow-y: hidden;
|
|
453
|
+
overflow-x: scroll;
|
|
454
|
+
}
|
|
455
|
+
.CodeMirror-scrollbar-filler {
|
|
456
|
+
right: 0;
|
|
457
|
+
bottom: 0;
|
|
458
|
+
}
|
|
459
|
+
.CodeMirror-gutter-filler {
|
|
460
|
+
left: 0;
|
|
461
|
+
bottom: 0;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
.CodeMirror-gutters {
|
|
465
|
+
position: absolute;
|
|
466
|
+
left: 0;
|
|
467
|
+
top: 0;
|
|
468
|
+
min-height: 100%;
|
|
469
|
+
z-index: 3;
|
|
470
|
+
}
|
|
471
|
+
.CodeMirror-gutter {
|
|
472
|
+
white-space: normal;
|
|
473
|
+
height: 100%;
|
|
474
|
+
display: inline-block;
|
|
475
|
+
vertical-align: top;
|
|
476
|
+
margin-bottom: -30px;
|
|
477
|
+
}
|
|
478
|
+
.CodeMirror-gutter-wrapper {
|
|
479
|
+
position: absolute;
|
|
480
|
+
z-index: 4;
|
|
481
|
+
background: none !important;
|
|
482
|
+
border: none !important;
|
|
483
|
+
}
|
|
484
|
+
.CodeMirror-gutter-background {
|
|
485
|
+
position: absolute;
|
|
486
|
+
top: 0;
|
|
487
|
+
bottom: 0;
|
|
488
|
+
z-index: 4;
|
|
489
|
+
}
|
|
490
|
+
.CodeMirror-gutter-elt {
|
|
491
|
+
position: absolute;
|
|
492
|
+
cursor: default;
|
|
493
|
+
z-index: 4;
|
|
494
|
+
}
|
|
495
|
+
.CodeMirror-gutter-wrapper ::selection {
|
|
496
|
+
background-color: transparent;
|
|
497
|
+
}
|
|
498
|
+
.CodeMirror-gutter-wrapper ::-moz-selection {
|
|
499
|
+
background-color: transparent;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
.CodeMirror-lines {
|
|
503
|
+
cursor: text;
|
|
504
|
+
min-height: 1px; /* prevents collapsing before first draw */
|
|
505
|
+
}
|
|
506
|
+
.CodeMirror pre {
|
|
507
|
+
/* Reset some styles that the rest of the page might have set */
|
|
508
|
+
-moz-border-radius: 0;
|
|
509
|
+
-webkit-border-radius: 0;
|
|
510
|
+
border-radius: 0;
|
|
511
|
+
border-width: 0;
|
|
512
|
+
background: transparent;
|
|
513
|
+
font-family: inherit;
|
|
514
|
+
font-size: inherit;
|
|
515
|
+
margin: 0;
|
|
516
|
+
white-space: pre;
|
|
517
|
+
word-wrap: normal;
|
|
518
|
+
line-height: inherit;
|
|
519
|
+
color: inherit;
|
|
520
|
+
z-index: 2;
|
|
521
|
+
position: relative;
|
|
522
|
+
overflow: visible;
|
|
523
|
+
-webkit-tap-highlight-color: transparent;
|
|
524
|
+
-webkit-font-variant-ligatures: contextual;
|
|
525
|
+
font-variant-ligatures: contextual;
|
|
526
|
+
}
|
|
527
|
+
.CodeMirror-wrap pre {
|
|
528
|
+
word-wrap: break-word;
|
|
529
|
+
white-space: pre-wrap;
|
|
530
|
+
word-break: normal;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
.CodeMirror-linebackground {
|
|
534
|
+
position: absolute;
|
|
535
|
+
left: 0;
|
|
536
|
+
right: 0;
|
|
537
|
+
top: 0;
|
|
538
|
+
bottom: 0;
|
|
539
|
+
z-index: 0;
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
.CodeMirror-linewidget {
|
|
543
|
+
position: relative;
|
|
544
|
+
z-index: 2;
|
|
545
|
+
padding: 0.1px; /* Force widget margins to stay inside of the container */
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
.CodeMirror-rtl pre {
|
|
549
|
+
direction: rtl;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
.CodeMirror-code {
|
|
553
|
+
outline: none;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
/* Force content-box sizing for the elements where we expect it */
|
|
557
|
+
.CodeMirror-scroll,
|
|
558
|
+
.CodeMirror-sizer,
|
|
559
|
+
.CodeMirror-gutter,
|
|
560
|
+
.CodeMirror-gutters,
|
|
561
|
+
.CodeMirror-linenumber {
|
|
562
|
+
-moz-box-sizing: content-box;
|
|
563
|
+
box-sizing: content-box;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
.CodeMirror-measure {
|
|
567
|
+
position: absolute;
|
|
568
|
+
width: 100%;
|
|
569
|
+
height: 0;
|
|
570
|
+
overflow: hidden;
|
|
571
|
+
visibility: hidden;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
.CodeMirror-cursor {
|
|
575
|
+
position: absolute;
|
|
576
|
+
pointer-events: none;
|
|
577
|
+
}
|
|
578
|
+
.CodeMirror-measure pre {
|
|
579
|
+
position: static;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
div.CodeMirror-cursors {
|
|
583
|
+
visibility: hidden;
|
|
584
|
+
position: relative;
|
|
585
|
+
z-index: 3;
|
|
586
|
+
}
|
|
587
|
+
div.CodeMirror-dragcursors {
|
|
588
|
+
visibility: visible;
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
.CodeMirror-focused div.CodeMirror-cursors {
|
|
592
|
+
visibility: visible;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
.CodeMirror-selected {
|
|
596
|
+
background: var(--selected-bg-non-focus);
|
|
597
|
+
}
|
|
598
|
+
.CodeMirror-focused .CodeMirror-selected {
|
|
599
|
+
background: var(--selected-bg);
|
|
600
|
+
}
|
|
601
|
+
.CodeMirror-crosshair {
|
|
602
|
+
cursor: crosshair;
|
|
603
|
+
}
|
|
604
|
+
.CodeMirror-line::selection,
|
|
605
|
+
.CodeMirror-line > span::selection,
|
|
606
|
+
.CodeMirror-line > span > span::selection {
|
|
607
|
+
background: var(--selected-bg);
|
|
608
|
+
}
|
|
609
|
+
.CodeMirror-line::-moz-selection,
|
|
610
|
+
.CodeMirror-line > span::-moz-selection,
|
|
611
|
+
.CodeMirror-line > span > span::-moz-selection {
|
|
612
|
+
background: var(--selected-bg);
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
.cm-searching {
|
|
616
|
+
background-color: #ffa;
|
|
617
|
+
background-color: rgba(255, 255, 0, 0.4);
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
/* Used to force a border model for a node */
|
|
621
|
+
.cm-force-border {
|
|
622
|
+
padding-right: 0.1px;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
@media print {
|
|
626
|
+
/* Hide the cursor when printing */
|
|
627
|
+
.CodeMirror div.CodeMirror-cursors {
|
|
628
|
+
visibility: hidden;
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
/* See issue #2901 */
|
|
633
|
+
.cm-tab-wrap-hack:after {
|
|
634
|
+
content: '';
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
/* Help users use markselection to safely style text background */
|
|
638
|
+
span.CodeMirror-selectedtext {
|
|
639
|
+
background: none;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
.editor {
|
|
643
|
+
position: relative;
|
|
644
|
+
height: 100%;
|
|
645
|
+
width: 100%;
|
|
646
|
+
overflow: hidden;
|
|
647
|
+
}
|
|
648
|
+
.CodeMirror {
|
|
649
|
+
font-family: var(--font-code);
|
|
650
|
+
line-height: 1.5;
|
|
651
|
+
height: 100%;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
.msg[data-v-92411507] {
|
|
655
|
+
position: absolute;
|
|
656
|
+
bottom: 0;
|
|
657
|
+
left: 8px;
|
|
658
|
+
right: 8px;
|
|
659
|
+
z-index: 10;
|
|
660
|
+
border: 2px solid transparent;
|
|
661
|
+
border-radius: 6px;
|
|
662
|
+
font-family: var(--font-code);
|
|
663
|
+
white-space: pre-wrap;
|
|
664
|
+
margin-bottom: 8px;
|
|
665
|
+
max-height: calc(100% - 300px);
|
|
666
|
+
min-height: 40px;
|
|
667
|
+
display: flex;
|
|
668
|
+
align-items: stretch;
|
|
669
|
+
}
|
|
670
|
+
pre[data-v-92411507] {
|
|
671
|
+
margin: 0;
|
|
672
|
+
padding: 12px 20px;
|
|
673
|
+
overflow: auto;
|
|
674
|
+
}
|
|
675
|
+
.dismiss[data-v-92411507] {
|
|
676
|
+
position: absolute;
|
|
677
|
+
top: 2px;
|
|
678
|
+
right: 2px;
|
|
679
|
+
width: 18px;
|
|
680
|
+
height: 18px;
|
|
681
|
+
line-height: 18px;
|
|
682
|
+
border-radius: 9px;
|
|
683
|
+
text-align: center;
|
|
684
|
+
display: block;
|
|
685
|
+
font-size: 9px;
|
|
686
|
+
padding: 0;
|
|
687
|
+
background-color: red;
|
|
688
|
+
color: #fff;
|
|
689
|
+
}
|
|
690
|
+
@media (max-width: 720px) {
|
|
691
|
+
.dismiss[data-v-92411507] {
|
|
692
|
+
top: -9px;
|
|
693
|
+
right: -9px;
|
|
694
|
+
}
|
|
695
|
+
.msg[data-v-92411507] {
|
|
696
|
+
bottom: 50px;
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
.msg.err[data-v-92411507] {
|
|
700
|
+
color: red;
|
|
701
|
+
border-color: red;
|
|
702
|
+
background-color: #ffd7d7;
|
|
703
|
+
}
|
|
704
|
+
.msg.warn[data-v-92411507] {
|
|
705
|
+
--color: rgb(105, 95, 27);
|
|
706
|
+
color: var(--color);
|
|
707
|
+
border-color: var(--color);
|
|
708
|
+
background-color: rgb(247, 240, 205);
|
|
709
|
+
}
|
|
710
|
+
.msg.warn .dismiss[data-v-92411507] {
|
|
711
|
+
background-color: var(--color);
|
|
712
|
+
}
|
|
713
|
+
.fade-enter-active[data-v-92411507],
|
|
714
|
+
.fade-leave-active[data-v-92411507] {
|
|
715
|
+
transition: all 0.15s ease-out;
|
|
716
|
+
}
|
|
717
|
+
.fade-enter-from[data-v-92411507],
|
|
718
|
+
.fade-leave-to[data-v-92411507] {
|
|
719
|
+
opacity: 0;
|
|
720
|
+
transform: translate(0, 10px);
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
.editor-container[data-v-0384e940] {
|
|
724
|
+
height: calc(100% - var(--header-height));
|
|
725
|
+
overflow: hidden;
|
|
726
|
+
position: relative;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
.iframe-container[data-v-21e1de24],
|
|
730
|
+
.iframe-container[data-v-21e1de24] iframe {
|
|
731
|
+
width: 100%;
|
|
732
|
+
height: 100%;
|
|
733
|
+
border: none;
|
|
734
|
+
background-color: #fff;
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
.output-container[data-v-8e507565] {
|
|
738
|
+
height: calc(100% - var(--header-height));
|
|
739
|
+
overflow: hidden;
|
|
740
|
+
position: relative;
|
|
741
|
+
}
|
|
742
|
+
.tab-buttons[data-v-8e507565] {
|
|
743
|
+
/*border-bottom: 1px solid var(--border);*/
|
|
744
|
+
}
|
|
745
|
+
.tab-buttons button[data-v-8e507565] {
|
|
746
|
+
text-transform: uppercase;
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
.vue-repl[data-v-279ea8a9] {
|
|
750
|
+
--bg: rgb(var(--v-theme-background));
|
|
751
|
+
--bg-soft: rgb(var(--v-theme-surface));
|
|
752
|
+
--border: #383838;
|
|
753
|
+
--text-light: #aaa;
|
|
754
|
+
--color-branding: #42d392;
|
|
755
|
+
--color-branding-dark: #89ddff;
|
|
756
|
+
--font-code: Menlo, Monaco, Consolas, 'Courier New', monospace;
|
|
757
|
+
--header-height: 38px;
|
|
758
|
+
|
|
759
|
+
font-size: 13px;
|
|
760
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
|
|
761
|
+
Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
762
|
+
margin: 0;
|
|
763
|
+
overflow: hidden;
|
|
764
|
+
background-color: var(--bg-soft);
|
|
765
|
+
}
|