@crystallize/design-system 1.4.1 → 1.4.3

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.
@@ -5,44 +5,8 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
- /*
9
- body {
10
- margin: 0;
11
- font-family: system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', sans-serif;
12
- -webkit-font-smoothing: antialiased;
13
- -moz-osx-font-smoothing: grayscale;
14
- background: #eee;
15
- padding: 0 20px;
16
- }
17
-
18
- header {
19
- max-width: 580px;
20
- margin: auto;
21
- position: relative;
22
- display: flex;
23
- justify-content: center;
24
- } */
25
- /*
26
- header a {
27
- max-width: 220px;
28
- margin: 20px 0 0 0;
29
- display: block;
30
- }
31
8
 
32
- header img {
33
- display: block;
34
- height: 100%;
35
- width: 100%;
36
- }
37
-
38
- header h1 {
39
- text-align: left;
40
- color: #333;
41
- display: inline-block;
42
- margin: 20px 0 0 0;
43
- } */
44
-
45
- .editor-shell {
9
+ .c-rich-text-editor {
46
10
  margin: 0px auto;
47
11
  max-width: 1100px;
48
12
  position: relative;
@@ -52,1345 +16,1346 @@ header h1 {
52
16
  }
53
17
 
54
18
  @apply !font-sans font-normal text-gray-900-50;
55
- }
56
-
57
- .editor-shell .editor-container {
58
- background: #fff;
59
- position: relative;
60
- cursor: text;
61
- @apply mt-2 rounded-bl-md rounded-br-md;
62
- }
63
-
64
- .editor-shell .editor-container.plain-text {
65
- @apply rounded-tl-md rounded-tr-md;
66
- }
67
-
68
- .editor-scroller {
69
- min-height: 150px;
70
- border: 0;
71
- resize: none;
72
- cursor: text;
73
- display: block;
74
- position: relative;
75
- outline: 0;
76
- resize: vertical;
77
- }
78
-
79
- .editor {
80
- height: 100%;
81
- position: relative;
82
- }
83
-
84
- .test-recorder-output {
85
- margin: 20px auto 20px auto;
86
- width: 100%;
87
- }
88
-
89
- pre {
90
- line-height: 1.1;
91
- color: #fff;
92
- margin: 0;
93
- padding: 10px;
94
- overflow: auto;
95
- max-height: 180px;
96
- @apply bg-purple-50-900 text-sm;
97
- }
98
19
 
99
- pre::-webkit-scrollbar {
100
- background: transparent;
101
- width: 10px;
102
- }
20
+ .editor-container {
21
+ background: #fff;
22
+ position: relative;
23
+ cursor: text;
24
+ @apply mt-2 rounded-bl-md rounded-br-md;
25
+ }
103
26
 
104
- pre::-webkit-scrollbar-thumb {
105
- background: #999;
106
- }
27
+ .editor-container.plain-text {
28
+ @apply rounded-tl-md rounded-tr-md;
29
+ }
107
30
 
108
- .editor-dev-button {
109
- position: relative;
110
- display: block;
111
- width: 40px;
112
- height: 40px;
113
- font-size: 12px;
114
- border-radius: 20px;
115
- border: none;
116
- cursor: pointer;
117
- outline: none;
118
- box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.3);
119
- background-color: #444;
120
- }
31
+ span.editor-image {
32
+ cursor: default;
33
+ display: inline-block;
34
+ position: relative;
35
+ user-select: none;
36
+ }
121
37
 
122
- .editor-dev-button::after {
123
- content: '';
124
- position: absolute;
125
- top: 10px;
126
- right: 10px;
127
- bottom: 10px;
128
- left: 10px;
129
- display: block;
130
- background-size: contain;
131
- filter: invert(1);
132
- }
38
+ .editor-image img {
39
+ max-width: 100%;
40
+ cursor: default;
41
+ }
133
42
 
134
- .editor-dev-button:hover {
135
- background-color: #555;
136
- }
43
+ .editor-image img.focused {
44
+ outline: 2px solid rgb(60, 132, 244);
45
+ user-select: none;
46
+ }
137
47
 
138
- .editor-dev-button.active {
139
- background-color: rgb(233, 35, 35);
140
- }
48
+ .editor-image img.focused.draggable {
49
+ cursor: grab;
50
+ }
141
51
 
142
- .test-recorder-toolbar {
143
- display: flex;
144
- }
52
+ .editor-image img.focused.draggable:active {
53
+ cursor: grabbing;
54
+ }
145
55
 
146
- .test-recorder-button {
147
- position: relative;
148
- display: block;
149
- width: 32px;
150
- height: 32px;
151
- font-size: 10px;
152
- padding: 6px 6px;
153
- border-radius: 4px;
154
- border: none;
155
- cursor: pointer;
156
- outline: none;
157
- box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.4);
158
- background-color: #222;
159
- transition: box-shadow 50ms ease-out;
160
- }
56
+ .editor-image .image-caption-container {
57
+ display: block;
58
+ position: absolute;
59
+ bottom: 4px;
60
+ left: 0;
61
+ right: 0;
62
+ padding: 0;
63
+ margin: 0;
64
+ border-top: 1px solid #fff;
65
+ background-color: rgba(255, 255, 255, 0.9);
66
+ min-width: 100px;
67
+ color: #000;
68
+ overflow: hidden;
69
+ }
161
70
 
162
- .test-recorder-button:active {
163
- box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.4);
164
- }
71
+ .editor-image .image-caption-button {
72
+ display: block;
73
+ position: absolute;
74
+ bottom: 20px;
75
+ left: 0;
76
+ right: 0;
77
+ width: 30%;
78
+ padding: 10px;
79
+ margin: 0 auto;
80
+ border: 1px solid rgba(255, 255, 255, 0.3);
81
+ border-radius: 5px;
82
+ background-color: rgba(0, 0, 0, 0.5);
83
+ min-width: 100px;
84
+ color: #fff;
85
+ cursor: pointer;
86
+ user-select: none;
87
+ }
165
88
 
166
- .test-recorder-button + .test-recorder-button {
167
- margin-left: 4px;
168
- }
89
+ .editor-image .image-caption-button:hover {
90
+ background-color: rgba(60, 132, 244, 0.5);
91
+ }
169
92
 
170
- .test-recorder-button::after {
171
- content: '';
172
- position: absolute;
173
- top: 8px;
174
- right: 8px;
175
- bottom: 8px;
176
- left: 8px;
177
- display: block;
178
- background-size: contain;
179
- filter: invert(1);
180
- }
93
+ .editor-image .image-resizer {
94
+ display: block;
95
+ width: 7px;
96
+ height: 7px;
97
+ position: absolute;
98
+ background-color: rgb(60, 132, 244);
99
+ border: 1px solid #fff;
100
+ }
181
101
 
182
- #options-button {
183
- position: fixed;
184
- left: 20px;
185
- bottom: 20px;
186
- }
102
+ .editor-image .image-resizer.image-resizer-n {
103
+ top: -6px;
104
+ left: 48%;
105
+ cursor: n-resize;
106
+ }
187
107
 
188
- #test-recorder-button {
189
- position: fixed;
190
- left: 70px;
191
- bottom: 20px;
192
- }
108
+ .editor-image .image-resizer.image-resizer-ne {
109
+ top: -6px;
110
+ right: -6px;
111
+ cursor: ne-resize;
112
+ }
193
113
 
194
- #paste-log-button {
195
- position: fixed;
196
- left: 120px;
197
- bottom: 20px;
198
- }
114
+ .editor-image .image-resizer.image-resizer-e {
115
+ bottom: 48%;
116
+ right: -6px;
117
+ cursor: e-resize;
118
+ }
199
119
 
200
- #options-button::after {
201
- background-image: url(images/icons/gear.svg);
202
- }
120
+ .editor-image .image-resizer.image-resizer-se {
121
+ bottom: -2px;
122
+ right: -6px;
123
+ cursor: nwse-resize;
124
+ }
203
125
 
204
- #test-recorder-button::after {
205
- background-image: url(images/icons/journal-code.svg);
206
- }
126
+ .editor-image .image-resizer.image-resizer-s {
127
+ bottom: -2px;
128
+ left: 48%;
129
+ cursor: s-resize;
130
+ }
207
131
 
208
- #paste-log-button::after {
209
- background-image: url(images/icons/clipboard.svg);
210
- }
132
+ .editor-image .image-resizer.image-resizer-sw {
133
+ bottom: -2px;
134
+ left: -6px;
135
+ cursor: sw-resize;
136
+ }
211
137
 
212
- #test-recorder-button-snapshot {
213
- margin-right: auto;
214
- }
138
+ .editor-image .image-resizer.image-resizer-w {
139
+ bottom: 48%;
140
+ left: -6px;
141
+ cursor: w-resize;
142
+ }
215
143
 
216
- #test-recorder-button-snapshot::after {
217
- background-image: url(images/icons/camera.svg);
218
- }
144
+ .editor-image .image-resizer.image-resizer-nw {
145
+ top: -6px;
146
+ left: -6px;
147
+ cursor: nw-resize;
148
+ }
219
149
 
220
- #test-recorder-button-copy::after {
221
- background-image: url(images/icons/clipboard.svg);
222
- }
150
+ .editor-scroller {
151
+ min-height: 150px;
152
+ border: 0;
153
+ resize: none;
154
+ cursor: text;
155
+ display: block;
156
+ position: relative;
157
+ outline: 0;
158
+ resize: vertical;
159
+ }
223
160
 
224
- #test-recorder-button-download::after {
225
- background-image: url(images/icons/download.svg);
226
- }
161
+ .editor {
162
+ height: 100%;
163
+ position: relative;
164
+ }
227
165
 
228
- .typeahead-popover {
229
- background: #fff;
230
- box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
231
- border-radius: 8px;
232
- margin-top: 25px;
233
- }
166
+ .test-recorder-output {
167
+ margin: 20px auto 20px auto;
168
+ width: 100%;
169
+ }
234
170
 
235
- .typeahead-popover ul {
236
- padding: 0;
237
- list-style: none;
238
- margin: 0;
239
- border-radius: 8px;
240
- max-height: 200px;
241
- overflow-y: scroll;
242
- }
171
+ pre {
172
+ line-height: 1.1;
173
+ color: #fff;
174
+ margin: 0;
175
+ padding: 10px;
176
+ overflow: auto;
177
+ max-height: 180px;
178
+ @apply bg-purple-50-900 text-sm;
179
+ }
243
180
 
244
- .typeahead-popover ul::-webkit-scrollbar {
245
- display: none;
246
- }
181
+ pre::-webkit-scrollbar {
182
+ background: transparent;
183
+ width: 10px;
184
+ }
247
185
 
248
- .typeahead-popover ul {
249
- -ms-overflow-style: none;
250
- scrollbar-width: none;
251
- }
186
+ pre::-webkit-scrollbar-thumb {
187
+ background: #999;
188
+ }
252
189
 
253
- .typeahead-popover ul li {
254
- margin: 0;
255
- min-width: 180px;
256
- font-size: 14px;
257
- outline: none;
258
- cursor: pointer;
259
- border-radius: 8px;
260
- }
190
+ .editor-dev-button {
191
+ position: relative;
192
+ display: block;
193
+ width: 40px;
194
+ height: 40px;
195
+ font-size: 12px;
196
+ border-radius: 20px;
197
+ border: none;
198
+ cursor: pointer;
199
+ outline: none;
200
+ box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.3);
201
+ background-color: #444;
202
+ }
261
203
 
262
- .typeahead-popover ul li.selected {
263
- background: #eee;
264
- }
204
+ .editor-dev-button::after {
205
+ content: '';
206
+ position: absolute;
207
+ top: 10px;
208
+ right: 10px;
209
+ bottom: 10px;
210
+ left: 10px;
211
+ display: block;
212
+ background-size: contain;
213
+ filter: invert(1);
214
+ }
265
215
 
266
- .typeahead-popover li {
267
- margin: 0 8px 0 8px;
268
- padding: 8px;
269
- color: #050505;
270
- cursor: pointer;
271
- line-height: 16px;
272
- font-size: 15px;
273
- display: flex;
274
- align-content: center;
275
- flex-direction: row;
276
- flex-shrink: 0;
277
- background-color: #fff;
278
- border-radius: 8px;
279
- border: 0;
280
- }
216
+ .editor-dev-button:hover {
217
+ background-color: #555;
218
+ }
281
219
 
282
- .typeahead-popover li.active {
283
- display: flex;
284
- width: 20px;
285
- height: 20px;
286
- background-size: contain;
287
- }
220
+ .editor-dev-button.active {
221
+ background-color: rgb(233, 35, 35);
222
+ }
288
223
 
289
- .typeahead-popover li:first-child {
290
- border-radius: 8px 8px 0px 0px;
291
- }
224
+ .test-recorder-toolbar {
225
+ display: flex;
226
+ }
292
227
 
293
- .typeahead-popover li:last-child {
294
- border-radius: 0px 0px 8px 8px;
295
- }
228
+ .test-recorder-button {
229
+ position: relative;
230
+ display: block;
231
+ width: 32px;
232
+ height: 32px;
233
+ font-size: 10px;
234
+ padding: 6px 6px;
235
+ border-radius: 4px;
236
+ border: none;
237
+ cursor: pointer;
238
+ outline: none;
239
+ box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.4);
240
+ background-color: #222;
241
+ transition: box-shadow 50ms ease-out;
242
+ }
296
243
 
297
- .typeahead-popover li:hover {
298
- background-color: #eee;
299
- }
244
+ .test-recorder-button:active {
245
+ box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.4);
246
+ }
300
247
 
301
- .typeahead-popover li .text {
302
- display: flex;
303
- line-height: 20px;
304
- flex-grow: 1;
305
- min-width: 150px;
306
- }
248
+ .test-recorder-button + .test-recorder-button {
249
+ margin-left: 4px;
250
+ }
307
251
 
308
- .typeahead-popover li .icon {
309
- display: flex;
310
- width: 20px;
311
- height: 20px;
312
- user-select: none;
313
- margin-right: 8px;
314
- line-height: 16px;
315
- background-size: contain;
316
- background-repeat: no-repeat;
317
- background-position: center;
318
- }
252
+ .test-recorder-button::after {
253
+ content: '';
254
+ position: absolute;
255
+ top: 8px;
256
+ right: 8px;
257
+ bottom: 8px;
258
+ left: 8px;
259
+ display: block;
260
+ background-size: contain;
261
+ filter: invert(1);
262
+ }
319
263
 
320
- .component-picker-menu {
321
- width: 200px;
322
- }
264
+ #options-button {
265
+ position: fixed;
266
+ left: 20px;
267
+ bottom: 20px;
268
+ }
323
269
 
324
- .auto-embed-menu {
325
- width: 150px;
326
- }
270
+ #test-recorder-button {
271
+ position: fixed;
272
+ left: 70px;
273
+ bottom: 20px;
274
+ }
327
275
 
328
- i.palette {
329
- background-image: url(images/icons/palette.svg);
330
- }
276
+ #paste-log-button {
277
+ position: fixed;
278
+ left: 120px;
279
+ bottom: 20px;
280
+ }
331
281
 
332
- i.bucket {
333
- background-image: url(images/icons/paint-bucket.svg);
334
- }
282
+ #options-button::after {
283
+ background-image: url(images/icons/gear.svg);
284
+ }
335
285
 
336
- i.bold {
337
- background-image: url(images/icons/type-bold.svg);
338
- }
286
+ #test-recorder-button::after {
287
+ background-image: url(images/icons/journal-code.svg);
288
+ }
339
289
 
340
- i.italic {
341
- background-image: url(images/icons/type-italic.svg);
342
- }
290
+ #paste-log-button::after {
291
+ background-image: url(images/icons/clipboard.svg);
292
+ }
343
293
 
344
- i.clear {
345
- background-image: url(images/icons/trash.svg);
346
- }
294
+ #test-recorder-button-snapshot {
295
+ margin-right: auto;
296
+ }
347
297
 
348
- i.code {
349
- background-image: url(images/icons/code.svg);
350
- }
298
+ #test-recorder-button-snapshot::after {
299
+ background-image: url(images/icons/camera.svg);
300
+ }
351
301
 
352
- i.underline {
353
- background-image: url(images/icons/type-underline.svg);
354
- }
302
+ #test-recorder-button-copy::after {
303
+ background-image: url(images/icons/clipboard.svg);
304
+ }
355
305
 
356
- i.strikethrough {
357
- background-image: url(images/icons/type-strikethrough.svg);
358
- }
306
+ #test-recorder-button-download::after {
307
+ background-image: url(images/icons/download.svg);
308
+ }
359
309
 
360
- i.subscript {
361
- background-image: url(images/icons/type-subscript.svg);
362
- }
310
+ .typeahead-popover {
311
+ background: #fff;
312
+ box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
313
+ border-radius: 8px;
314
+ margin-top: 25px;
315
+ }
363
316
 
364
- i.superscript {
365
- background-image: url(images/icons/type-superscript.svg);
366
- }
317
+ .typeahead-popover ul {
318
+ padding: 0;
319
+ list-style: none;
320
+ margin: 0;
321
+ border-radius: 8px;
322
+ max-height: 200px;
323
+ overflow-y: scroll;
324
+ }
367
325
 
368
- i.link {
369
- background-image: url(images/icons/link.svg);
370
- }
326
+ .typeahead-popover ul::-webkit-scrollbar {
327
+ display: none;
328
+ }
371
329
 
372
- i.horizontal-rule {
373
- background-image: url(images/icons/horizontal-rule.svg);
374
- }
330
+ .typeahead-popover ul {
331
+ -ms-overflow-style: none;
332
+ scrollbar-width: none;
333
+ }
375
334
 
376
- .icon.plus {
377
- background-image: url(images/icons/plus.svg);
378
- }
335
+ .typeahead-popover ul li {
336
+ margin: 0;
337
+ min-width: 180px;
338
+ font-size: 14px;
339
+ outline: none;
340
+ cursor: pointer;
341
+ border-radius: 8px;
342
+ }
379
343
 
380
- .icon.caret-right {
381
- background-image: url(images/icons/caret-right-fill.svg);
382
- }
344
+ .typeahead-popover ul li.selected {
345
+ background: #eee;
346
+ }
383
347
 
384
- .icon.dropdown-more {
385
- background-image: url(images/icons/dropdown-more.svg);
386
- }
348
+ .typeahead-popover li {
349
+ margin: 0 8px 0 8px;
350
+ padding: 8px;
351
+ color: #050505;
352
+ cursor: pointer;
353
+ line-height: 16px;
354
+ font-size: 15px;
355
+ display: flex;
356
+ align-content: center;
357
+ flex-direction: row;
358
+ flex-shrink: 0;
359
+ background-color: #fff;
360
+ border-radius: 8px;
361
+ border: 0;
362
+ }
387
363
 
388
- .icon.font-color {
389
- background-image: url(images/icons/font-color.svg);
390
- }
364
+ .typeahead-popover li.active {
365
+ display: flex;
366
+ width: 20px;
367
+ height: 20px;
368
+ background-size: contain;
369
+ }
391
370
 
392
- .icon.font-family {
393
- background-image: url(images/icons/font-family.svg);
394
- }
371
+ .typeahead-popover li:first-child {
372
+ border-radius: 8px 8px 0px 0px;
373
+ }
395
374
 
396
- .icon.bg-color {
397
- background-image: url(images/icons/bg-color.svg);
398
- }
375
+ .typeahead-popover li:last-child {
376
+ border-radius: 0px 0px 8px 8px;
377
+ }
399
378
 
400
- i.image {
401
- background-image: url(images/icons/file-image.svg);
402
- }
379
+ .typeahead-popover li:hover {
380
+ background-color: #eee;
381
+ }
403
382
 
404
- i.table {
405
- background-image: url(images/icons/table.svg);
406
- }
383
+ .typeahead-popover li .text {
384
+ display: flex;
385
+ line-height: 20px;
386
+ flex-grow: 1;
387
+ min-width: 150px;
388
+ }
407
389
 
408
- i.close {
409
- background-image: url(images/icons/close.svg);
410
- }
390
+ .typeahead-popover li .icon {
391
+ display: flex;
392
+ width: 20px;
393
+ height: 20px;
394
+ user-select: none;
395
+ margin-right: 8px;
396
+ line-height: 16px;
397
+ background-size: contain;
398
+ background-repeat: no-repeat;
399
+ background-position: center;
400
+ }
411
401
 
412
- .icon.left-align,
413
- i.left-align {
414
- background-image: url(images/icons/text-left.svg);
415
- }
402
+ .component-picker-menu {
403
+ width: 200px;
404
+ }
416
405
 
417
- i.center-align {
418
- background-image: url(images/icons/text-center.svg);
419
- }
406
+ .auto-embed-menu {
407
+ width: 150px;
408
+ }
420
409
 
421
- i.right-align {
422
- background-image: url(images/icons/text-right.svg);
423
- }
410
+ i.palette {
411
+ background-image: url(images/icons/palette.svg);
412
+ }
424
413
 
425
- i.justify-align {
426
- background-image: url(images/icons/justify.svg);
427
- }
414
+ i.bucket {
415
+ background-image: url(images/icons/paint-bucket.svg);
416
+ }
428
417
 
429
- i.indent {
430
- background-image: url(images/icons/indent.svg);
431
- }
418
+ i.bold {
419
+ background-image: url(images/icons/type-bold.svg);
420
+ }
432
421
 
433
- i.markdown {
434
- background-image: url(images/icons/markdown.svg);
435
- }
422
+ i.italic {
423
+ background-image: url(images/icons/type-italic.svg);
424
+ }
436
425
 
437
- i.outdent {
438
- background-image: url(images/icons/outdent.svg);
439
- }
426
+ i.clear {
427
+ background-image: url(images/icons/trash.svg);
428
+ }
440
429
 
441
- i.undo {
442
- background-image: url(images/icons/arrow-counterclockwise.svg);
443
- }
430
+ i.code {
431
+ background-image: url(images/icons/code.svg);
432
+ }
444
433
 
445
- i.redo {
446
- background-image: url(images/icons/arrow-clockwise.svg);
447
- }
434
+ i.underline {
435
+ background-image: url(images/icons/type-underline.svg);
436
+ }
448
437
 
449
- i.mic {
450
- background-image: url(images/icons/mic.svg);
451
- }
438
+ i.strikethrough {
439
+ background-image: url(images/icons/type-strikethrough.svg);
440
+ }
452
441
 
453
- i.import {
454
- background-image: url(images/icons/upload.svg);
455
- }
442
+ i.subscript {
443
+ background-image: url(images/icons/type-subscript.svg);
444
+ }
456
445
 
457
- i.export {
458
- background-image: url(images/icons/download.svg);
459
- }
446
+ i.superscript {
447
+ background-image: url(images/icons/type-superscript.svg);
448
+ }
460
449
 
461
- i.diagram-2 {
462
- background-image: url(images/icons/diagram-2.svg);
463
- }
450
+ i.link {
451
+ background-image: url(images/icons/link.svg);
452
+ }
464
453
 
465
- i.user {
466
- background-image: url(images/icons/user.svg);
467
- }
454
+ i.horizontal-rule {
455
+ background-image: url(images/icons/horizontal-rule.svg);
456
+ }
468
457
 
469
- i.equation {
470
- background-image: url(images/icons/plus-slash-minus.svg);
471
- }
458
+ .icon.plus {
459
+ background-image: url(images/icons/plus.svg);
460
+ }
472
461
 
473
- i.gif {
474
- background-image: url(images/icons/filetype-gif.svg);
475
- }
462
+ .icon.caret-right {
463
+ background-image: url(images/icons/caret-right-fill.svg);
464
+ }
476
465
 
477
- i.copy {
478
- background-image: url(images/icons/copy.svg);
479
- }
466
+ .icon.dropdown-more {
467
+ background-image: url(images/icons/dropdown-more.svg);
468
+ }
480
469
 
481
- i.success {
482
- background-image: url(images/icons/success.svg);
483
- }
470
+ .icon.font-color {
471
+ background-image: url(images/icons/font-color.svg);
472
+ }
484
473
 
485
- i.prettier {
486
- background-image: url(images/icons/prettier.svg);
487
- }
474
+ .icon.font-family {
475
+ background-image: url(images/icons/font-family.svg);
476
+ }
488
477
 
489
- i.prettier-error {
490
- background-image: url(images/icons/prettier-error.svg);
491
- }
478
+ .icon.bg-color {
479
+ background-image: url(images/icons/bg-color.svg);
480
+ }
492
481
 
493
- .link-editor {
494
- box-sizing: border-box;
495
- }
496
- .link-editor .button.active,
497
- .toolbar .button.active {
498
- @apply bg-purple-50-900;
499
- }
500
- .link-editor {
501
- @apply !rounded-lg border border-solid border-gray-100-800 !shadow-lg;
502
- }
503
- .link-editor .link-input {
504
- width: 100%;
505
- box-sizing: border-box;
506
- margin: 8px 0;
507
- padding: 8px 24px;
508
- /* background-color: #eee; */
509
- font-size: 15px;
510
- color: rgb(5, 5, 5);
511
- outline: 0;
512
- position: relative;
513
- font-family: inherit;
482
+ i.image {
483
+ background-image: url(images/icons/file-image.svg);
484
+ }
514
485
 
515
- @apply border-gray text-sm text-s-blue-600-300;
516
- }
486
+ i.table {
487
+ background-image: url(images/icons/table.svg);
488
+ }
517
489
 
518
- .link-editor div.link-edit {
519
- background-image: url(images/icons/pencil-fill.svg);
520
- background-size: 12px;
521
- background-position: center;
522
- background-repeat: no-repeat;
523
- width: 35px;
524
- vertical-align: -0.25em;
525
- position: absolute;
526
- right: 0;
527
- top: 0;
528
- bottom: 0;
529
- cursor: pointer;
530
- }
531
- .link-editor .link-input {
532
- box-sizing: border-box;
533
- }
534
- .link-editor .link-input a {
535
- color: rgb(33, 111, 219);
536
- text-decoration: none;
537
- display: block;
538
- white-space: nowrap;
539
- overflow: hidden;
540
- text-overflow: ellipsis;
541
- @apply text-s-blue-600-300;
542
- }
490
+ i.close {
491
+ background-image: url(images/icons/close.svg);
492
+ }
543
493
 
544
- .link-editor .link-input a:hover {
545
- text-decoration: underline;
546
- }
494
+ .icon.left-align,
495
+ i.left-align {
496
+ background-image: url(images/icons/text-left.svg);
497
+ }
547
498
 
548
- .link-editor .font-size-wrapper,
549
- .link-editor .font-family-wrapper {
550
- display: flex;
551
- margin: 0 4px;
552
- }
499
+ i.center-align {
500
+ background-image: url(images/icons/text-center.svg);
501
+ }
553
502
 
554
- .link-editor select {
555
- padding: 6px;
556
- border: none;
557
- background-color: rgba(0, 0, 0, 0.075);
558
- border-radius: 4px;
559
- }
503
+ i.right-align {
504
+ background-image: url(images/icons/text-right.svg);
505
+ }
560
506
 
561
- #block-controls {
562
- display: block;
563
- position: absolute;
564
- right: 10px;
565
- width: 32px;
566
- height: 32px;
567
- box-sizing: border-box;
568
- box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
569
- top: 16px;
570
- z-index: 10;
571
- border-radius: 8px;
572
- border: 1px solid rgb(206, 208, 212);
573
- overflow: hidden;
574
- }
507
+ i.justify-align {
508
+ background-image: url(images/icons/justify.svg);
509
+ }
575
510
 
576
- #block-controls button {
577
- border: 1px solid white;
578
- background-color: #fff;
579
- display: block;
580
- transition: background-color 0.1s ease;
581
- cursor: pointer;
582
- outline: none;
583
- border-radius: 8px;
584
- padding: 3px;
585
- }
511
+ i.indent {
512
+ background-image: url(images/icons/indent.svg);
513
+ }
586
514
 
587
- #block-controls button:hover {
588
- background-color: #efefef;
589
- }
515
+ i.markdown {
516
+ background-image: url(images/icons/markdown.svg);
517
+ }
590
518
 
591
- #block-controls button:focus-visible {
592
- border-color: blue;
593
- }
519
+ i.outdent {
520
+ background-image: url(images/icons/outdent.svg);
521
+ }
594
522
 
595
- #block-controls span.block-type {
596
- background-size: contain;
597
- display: block;
598
- width: 18px;
599
- height: 18px;
600
- margin: 2px;
601
- }
523
+ i.undo {
524
+ background-image: url(images/icons/arrow-counterclockwise.svg);
525
+ }
602
526
 
603
- #block-controls span.block-type.paragraph {
604
- background-image: url(images/icons/text-paragraph.svg);
605
- }
527
+ i.redo {
528
+ background-image: url(images/icons/arrow-clockwise.svg);
529
+ }
606
530
 
607
- #block-controls span.block-type.h1 {
608
- background-image: url(images/icons/type-h1.svg);
609
- }
531
+ i.mic {
532
+ background-image: url(images/icons/mic.svg);
533
+ }
610
534
 
611
- #block-controls span.block-type.h2 {
612
- background-image: url(images/icons/type-h2.svg);
613
- }
535
+ i.import {
536
+ background-image: url(images/icons/upload.svg);
537
+ }
614
538
 
615
- #block-controls span.block-type.quote {
616
- background-image: url(images/icons/chat-square-quote.svg);
617
- }
539
+ i.export {
540
+ background-image: url(images/icons/download.svg);
541
+ }
618
542
 
619
- #block-controls span.block-type.ul {
620
- background-image: url(images/icons/list-ul.svg);
621
- }
543
+ i.diagram-2 {
544
+ background-image: url(images/icons/diagram-2.svg);
545
+ }
622
546
 
623
- #block-controls span.block-type.ol {
624
- background-image: url(images/icons/list-ol.svg);
625
- }
547
+ i.user {
548
+ background-image: url(images/icons/user.svg);
549
+ }
626
550
 
627
- #block-controls span.block-type.code {
628
- background-image: url(images/icons/code.svg);
629
- }
551
+ i.equation {
552
+ background-image: url(images/icons/plus-slash-minus.svg);
553
+ }
630
554
 
631
- .characters-limit {
632
- color: #888;
633
- font-size: 12px;
634
- text-align: right;
635
- display: block;
636
- position: absolute;
637
- left: 12px;
638
- bottom: 5px;
639
- }
555
+ i.gif {
556
+ background-image: url(images/icons/filetype-gif.svg);
557
+ }
640
558
 
641
- .characters-limit.characters-limit-exceeded {
642
- color: red;
643
- }
559
+ i.copy {
560
+ background-image: url(images/icons/copy.svg);
561
+ }
644
562
 
645
- .dropdown {
646
- z-index: 10;
647
- display: block;
648
- position: fixed;
649
- box-shadow: 0 12px 28px 0 rgba(0, 0, 0, 0.2), 0 2px 4px 0 rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
650
- border-radius: 8px;
651
- min-height: 40px;
652
- background-color: #fff;
653
- }
563
+ i.success {
564
+ background-image: url(images/icons/success.svg);
565
+ }
654
566
 
655
- .dropdown .item {
656
- margin: 0 8px 0 8px;
657
- padding: 8px;
658
- color: #050505;
659
- cursor: pointer;
660
- line-height: 16px;
661
- font-size: 15px;
662
- display: flex;
663
- align-content: center;
664
- flex-direction: row;
665
- flex-shrink: 0;
666
- justify-content: space-between;
667
- background-color: #fff;
668
- border-radius: 8px;
669
- border: 0;
670
- max-width: 250px;
671
- min-width: 100px;
672
- }
567
+ i.prettier {
568
+ background-image: url(images/icons/prettier.svg);
569
+ }
673
570
 
674
- .dropdown .item.fontsize-item,
675
- .dropdown .item.fontsize-item .text {
676
- min-width: unset;
677
- }
571
+ i.prettier-error {
572
+ background-image: url(images/icons/prettier-error.svg);
573
+ }
678
574
 
679
- .dropdown .item .active {
680
- display: flex;
681
- width: 20px;
682
- height: 20px;
683
- background-size: contain;
684
- }
575
+ .link-editor {
576
+ box-sizing: border-box;
577
+ }
578
+ .link-editor .button.active,
579
+ .toolbar .button.active {
580
+ @apply bg-purple-50-900;
581
+ }
582
+ .link-editor {
583
+ @apply !rounded-lg border border-solid border-gray-100-800 !shadow-lg;
584
+ }
585
+ .link-editor .link-input {
586
+ width: 100%;
587
+ box-sizing: border-box;
588
+ margin: 8px 0;
589
+ padding: 8px 24px;
590
+ /* background-color: #eee; */
591
+ font-size: 15px;
592
+ color: rgb(5, 5, 5);
593
+ outline: 0;
594
+ position: relative;
595
+ font-family: inherit;
596
+
597
+ @apply border-gray text-sm text-s-blue-600-300;
598
+ }
685
599
 
686
- .dropdown .item:first-child {
687
- margin-top: 8px;
688
- }
600
+ .link-editor div.link-edit {
601
+ background-image: url(images/icons/pencil-fill.svg);
602
+ background-size: 12px;
603
+ background-position: center;
604
+ background-repeat: no-repeat;
605
+ width: 35px;
606
+ vertical-align: -0.25em;
607
+ position: absolute;
608
+ right: 0;
609
+ top: 0;
610
+ bottom: 0;
611
+ cursor: pointer;
612
+ }
613
+ .link-editor .link-input {
614
+ box-sizing: border-box;
615
+ }
616
+ .link-editor .link-input a {
617
+ color: rgb(33, 111, 219);
618
+ text-decoration: none;
619
+ display: block;
620
+ white-space: nowrap;
621
+ overflow: hidden;
622
+ text-overflow: ellipsis;
623
+ @apply text-s-blue-600-300;
624
+ }
689
625
 
690
- .dropdown .item:last-child {
691
- margin-bottom: 8px;
692
- }
626
+ .link-editor .link-input a:hover {
627
+ text-decoration: underline;
628
+ }
693
629
 
694
- .dropdown .item:hover {
695
- background-color: #eee;
696
- }
630
+ .link-editor .font-size-wrapper,
631
+ .link-editor .font-family-wrapper {
632
+ display: flex;
633
+ margin: 0 4px;
634
+ }
697
635
 
698
- .dropdown .item .text {
699
- display: flex;
700
- line-height: 20px;
701
- flex-grow: 1;
702
- min-width: 150px;
703
- }
636
+ .link-editor select {
637
+ padding: 6px;
638
+ border: none;
639
+ background-color: rgba(0, 0, 0, 0.075);
640
+ border-radius: 4px;
641
+ }
704
642
 
705
- .dropdown .item .icon {
706
- display: flex;
707
- width: 20px;
708
- height: 20px;
709
- user-select: none;
710
- margin-right: 12px;
711
- line-height: 16px;
712
- background-size: contain;
713
- background-position: center;
714
- background-repeat: no-repeat;
715
- }
643
+ #block-controls {
644
+ display: block;
645
+ position: absolute;
646
+ right: 10px;
647
+ width: 32px;
648
+ height: 32px;
649
+ box-sizing: border-box;
650
+ box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
651
+ top: 16px;
652
+ z-index: 10;
653
+ border-radius: 8px;
654
+ border: 1px solid rgb(206, 208, 212);
655
+ overflow: hidden;
656
+ }
716
657
 
717
- .dropdown .divider {
718
- width: auto;
719
- background-color: #eee;
720
- margin: 4px 8px;
721
- height: 1px;
722
- }
658
+ #block-controls button {
659
+ border: 1px solid white;
660
+ background-color: #fff;
661
+ display: block;
662
+ transition: background-color 0.1s ease;
663
+ cursor: pointer;
664
+ outline: none;
665
+ border-radius: 8px;
666
+ padding: 3px;
667
+ }
723
668
 
724
- @media screen and (max-width: 1100px) {
725
- .dropdown-button-text {
726
- display: none !important;
669
+ #block-controls button:hover {
670
+ background-color: #efefef;
727
671
  }
728
- .font-size .dropdown-button-text {
729
- display: flex !important;
672
+
673
+ #block-controls button:focus-visible {
674
+ border-color: blue;
730
675
  }
731
- .code-language .dropdown-button-text {
732
- display: flex !important;
676
+
677
+ #block-controls span.block-type {
678
+ background-size: contain;
679
+ display: block;
680
+ width: 18px;
681
+ height: 18px;
682
+ margin: 2px;
733
683
  }
734
- }
735
684
 
736
- .icon.paragraph {
737
- background-image: url(images/icons/text-paragraph.svg);
738
- }
685
+ #block-controls span.block-type.paragraph {
686
+ background-image: url(images/icons/text-paragraph.svg);
687
+ }
739
688
 
740
- .icon.h1 {
741
- background-image: url(images/icons/type-h1.svg);
742
- }
689
+ #block-controls span.block-type.h1 {
690
+ background-image: url(images/icons/type-h1.svg);
691
+ }
743
692
 
744
- .icon.h2 {
745
- background-image: url(images/icons/type-h2.svg);
746
- }
693
+ #block-controls span.block-type.h2 {
694
+ background-image: url(images/icons/type-h2.svg);
695
+ }
747
696
 
748
- .icon.h3 {
749
- background-image: url(images/icons/type-h3.svg);
750
- }
697
+ #block-controls span.block-type.quote {
698
+ background-image: url(images/icons/chat-square-quote.svg);
699
+ }
751
700
 
752
- .icon.h4 {
753
- background-image: url(images/icons/type-h4.svg);
754
- }
701
+ #block-controls span.block-type.ul {
702
+ background-image: url(images/icons/list-ul.svg);
703
+ }
755
704
 
756
- .icon.h5 {
757
- background-image: url(images/icons/type-h5.svg);
758
- }
705
+ #block-controls span.block-type.ol {
706
+ background-image: url(images/icons/list-ol.svg);
707
+ }
759
708
 
760
- .icon.h6 {
761
- background-image: url(images/icons/type-h6.svg);
762
- }
709
+ #block-controls span.block-type.code {
710
+ background-image: url(images/icons/code.svg);
711
+ }
763
712
 
764
- .icon.bullet-list,
765
- .icon.bullet {
766
- background-image: url(images/icons/list-ul.svg);
767
- }
713
+ .characters-limit {
714
+ color: #888;
715
+ font-size: 12px;
716
+ text-align: right;
717
+ display: block;
718
+ position: absolute;
719
+ left: 12px;
720
+ bottom: 5px;
721
+ }
768
722
 
769
- .icon.check-list,
770
- .icon.check {
771
- background-image: url(images/icons/square-check.svg);
772
- }
723
+ .characters-limit.characters-limit-exceeded {
724
+ color: red;
725
+ }
773
726
 
774
- .icon.numbered-list,
775
- .icon.number {
776
- background-image: url(images/icons/list-ol.svg);
777
- }
727
+ .dropdown {
728
+ z-index: 10;
729
+ display: block;
730
+ position: fixed;
731
+ box-shadow: 0 12px 28px 0 rgba(0, 0, 0, 0.2), 0 2px 4px 0 rgba(0, 0, 0, 0.1),
732
+ inset 0 0 0 1px rgba(255, 255, 255, 0.5);
733
+ border-radius: 8px;
734
+ min-height: 40px;
735
+ background-color: #fff;
736
+ }
778
737
 
779
- .icon.quote {
780
- background-image: url(images/icons/chat-square-quote.svg);
781
- }
738
+ .dropdown .item {
739
+ margin: 0 8px 0 8px;
740
+ padding: 8px;
741
+ color: #050505;
742
+ cursor: pointer;
743
+ line-height: 16px;
744
+ font-size: 15px;
745
+ display: flex;
746
+ align-content: center;
747
+ flex-direction: row;
748
+ flex-shrink: 0;
749
+ justify-content: space-between;
750
+ background-color: #fff;
751
+ border-radius: 8px;
752
+ border: 0;
753
+ max-width: 250px;
754
+ min-width: 100px;
755
+ }
782
756
 
783
- .icon.code {
784
- background-image: url(images/icons/code.svg);
785
- }
757
+ .dropdown .item.fontsize-item,
758
+ .dropdown .item.fontsize-item .text {
759
+ min-width: unset;
760
+ }
786
761
 
787
- .switches {
788
- z-index: 6;
789
- position: fixed;
790
- left: 10px;
791
- bottom: 70px;
792
- animation: slide-in 0.4s ease;
793
- }
762
+ .dropdown .item .active {
763
+ display: flex;
764
+ width: 20px;
765
+ height: 20px;
766
+ background-size: contain;
767
+ }
794
768
 
795
- @keyframes slide-in {
796
- 0% {
797
- opacity: 0;
798
- transform: translateX(-200px);
769
+ .dropdown .item:first-child {
770
+ margin-top: 8px;
799
771
  }
800
- 100% {
801
- opacity: 1;
802
- transform: translateX(0);
772
+
773
+ .dropdown .item:last-child {
774
+ margin-bottom: 8px;
803
775
  }
804
- }
805
776
 
806
- .switch {
807
- display: block;
808
- color: #444;
809
- margin: 5px 0;
810
- background-color: rgba(238, 238, 238, 0.7);
811
- padding: 5px 10px;
812
- border-radius: 10px;
813
- }
777
+ .dropdown .item:hover {
778
+ background-color: #eee;
779
+ }
814
780
 
815
- #rich-text-switch {
816
- right: 0;
817
- }
781
+ .dropdown .item .text {
782
+ display: flex;
783
+ line-height: 20px;
784
+ flex-grow: 1;
785
+ min-width: 150px;
786
+ }
818
787
 
819
- #character-count-switch {
820
- right: 130px;
821
- }
788
+ .dropdown .item .icon {
789
+ display: flex;
790
+ width: 20px;
791
+ height: 20px;
792
+ user-select: none;
793
+ margin-right: 12px;
794
+ line-height: 16px;
795
+ background-size: contain;
796
+ background-position: center;
797
+ background-repeat: no-repeat;
798
+ }
822
799
 
823
- .switch label {
824
- margin-right: 5px;
825
- line-height: 24px;
826
- width: 100px;
827
- font-size: 14px;
828
- display: inline-block;
829
- vertical-align: middle;
830
- }
800
+ .dropdown .divider {
801
+ width: auto;
802
+ background-color: #eee;
803
+ margin: 4px 8px;
804
+ height: 1px;
805
+ }
831
806
 
832
- .switch button {
833
- background-color: rgb(206, 208, 212);
834
- height: 24px;
835
- box-sizing: border-box;
836
- border-radius: 12px;
837
- width: 44px;
838
- display: inline-block;
839
- vertical-align: middle;
840
- position: relative;
841
- outline: none;
842
- cursor: pointer;
843
- transition: background-color 0.1s;
844
- border: 2px solid transparent;
845
- }
807
+ @media screen and (max-width: 1100px) {
808
+ .dropdown-button-text {
809
+ display: none !important;
810
+ }
811
+ .font-size .dropdown-button-text {
812
+ display: flex !important;
813
+ }
814
+ .code-language .dropdown-button-text {
815
+ display: flex !important;
816
+ }
817
+ }
846
818
 
847
- .switch button:focus-visible {
848
- border-color: blue;
849
- }
819
+ .icon.paragraph {
820
+ background-image: url(images/icons/text-paragraph.svg);
821
+ }
850
822
 
851
- .switch button span {
852
- top: 0px;
853
- left: 0px;
854
- display: block;
855
- position: absolute;
856
- width: 20px;
857
- height: 20px;
858
- border-radius: 12px;
859
- background-color: white;
860
- transition: transform 0.2s;
861
- }
823
+ .icon.h1 {
824
+ background-image: url(images/icons/type-h1.svg);
825
+ }
862
826
 
863
- .switch button[aria-checked='true'] {
864
- background-color: rgb(24, 119, 242);
865
- }
827
+ .icon.h2 {
828
+ background-image: url(images/icons/type-h2.svg);
829
+ }
866
830
 
867
- .switch button[aria-checked='true'] span {
868
- transform: translateX(20px);
869
- }
831
+ .icon.h3 {
832
+ background-image: url(images/icons/type-h3.svg);
833
+ }
870
834
 
871
- .editor-shell span.editor-image {
872
- cursor: default;
873
- display: inline-block;
874
- position: relative;
875
- user-select: none;
876
- }
835
+ .icon.h4 {
836
+ background-image: url(images/icons/type-h4.svg);
837
+ }
877
838
 
878
- .editor-shell .editor-image img {
879
- max-width: 100%;
880
- cursor: default;
881
- }
839
+ .icon.h5 {
840
+ background-image: url(images/icons/type-h5.svg);
841
+ }
882
842
 
883
- .editor-shell .editor-image img.focused {
884
- outline: 2px solid rgb(60, 132, 244);
885
- user-select: none;
886
- }
843
+ .icon.h6 {
844
+ background-image: url(images/icons/type-h6.svg);
845
+ }
887
846
 
888
- .editor-shell .editor-image img.focused.draggable {
889
- cursor: grab;
890
- }
847
+ .icon.bullet-list,
848
+ .icon.bullet {
849
+ background-image: url(images/icons/list-ul.svg);
850
+ }
891
851
 
892
- .editor-shell .editor-image img.focused.draggable:active {
893
- cursor: grabbing;
894
- }
852
+ .icon.check-list,
853
+ .icon.check {
854
+ background-image: url(images/icons/square-check.svg);
855
+ }
895
856
 
896
- .editor-shell .editor-image .image-caption-container {
897
- display: block;
898
- position: absolute;
899
- bottom: 4px;
900
- left: 0;
901
- right: 0;
902
- padding: 0;
903
- margin: 0;
904
- border-top: 1px solid #fff;
905
- background-color: rgba(255, 255, 255, 0.9);
906
- min-width: 100px;
907
- color: #000;
908
- overflow: hidden;
909
- }
857
+ .icon.numbered-list,
858
+ .icon.number {
859
+ background-image: url(images/icons/list-ol.svg);
860
+ }
910
861
 
911
- .editor-shell .editor-image .image-caption-button {
912
- display: block;
913
- position: absolute;
914
- bottom: 20px;
915
- left: 0;
916
- right: 0;
917
- width: 30%;
918
- padding: 10px;
919
- margin: 0 auto;
920
- border: 1px solid rgba(255, 255, 255, 0.3);
921
- border-radius: 5px;
922
- background-color: rgba(0, 0, 0, 0.5);
923
- min-width: 100px;
924
- color: #fff;
925
- cursor: pointer;
926
- user-select: none;
927
- }
862
+ .icon.quote {
863
+ background-image: url(images/icons/chat-square-quote.svg);
864
+ }
928
865
 
929
- .editor-shell .editor-image .image-caption-button:hover {
930
- background-color: rgba(60, 132, 244, 0.5);
931
- }
866
+ .icon.code {
867
+ background-image: url(images/icons/code.svg);
868
+ }
932
869
 
933
- .editor-shell .editor-image .image-resizer {
934
- display: block;
935
- width: 7px;
936
- height: 7px;
937
- position: absolute;
938
- background-color: rgb(60, 132, 244);
939
- border: 1px solid #fff;
940
- }
870
+ .switches {
871
+ z-index: 6;
872
+ position: fixed;
873
+ left: 10px;
874
+ bottom: 70px;
875
+ animation: slide-in 0.4s ease;
876
+ }
941
877
 
942
- .editor-shell .editor-image .image-resizer.image-resizer-n {
943
- top: -6px;
944
- left: 48%;
945
- cursor: n-resize;
946
- }
878
+ @keyframes slide-in {
879
+ 0% {
880
+ opacity: 0;
881
+ transform: translateX(-200px);
882
+ }
883
+ 100% {
884
+ opacity: 1;
885
+ transform: translateX(0);
886
+ }
887
+ }
947
888
 
948
- .editor-shell .editor-image .image-resizer.image-resizer-ne {
949
- top: -6px;
950
- right: -6px;
951
- cursor: ne-resize;
952
- }
889
+ .switch {
890
+ display: block;
891
+ color: #444;
892
+ margin: 5px 0;
893
+ background-color: rgba(238, 238, 238, 0.7);
894
+ padding: 5px 10px;
895
+ border-radius: 10px;
896
+ }
953
897
 
954
- .editor-shell .editor-image .image-resizer.image-resizer-e {
955
- bottom: 48%;
956
- right: -6px;
957
- cursor: e-resize;
958
- }
898
+ #rich-text-switch {
899
+ right: 0;
900
+ }
959
901
 
960
- .editor-shell .editor-image .image-resizer.image-resizer-se {
961
- bottom: -2px;
962
- right: -6px;
963
- cursor: nwse-resize;
964
- }
902
+ #character-count-switch {
903
+ right: 130px;
904
+ }
965
905
 
966
- .editor-shell .editor-image .image-resizer.image-resizer-s {
967
- bottom: -2px;
968
- left: 48%;
969
- cursor: s-resize;
970
- }
906
+ .switch label {
907
+ margin-right: 5px;
908
+ line-height: 24px;
909
+ width: 100px;
910
+ font-size: 14px;
911
+ display: inline-block;
912
+ vertical-align: middle;
913
+ }
971
914
 
972
- .editor-shell .editor-image .image-resizer.image-resizer-sw {
973
- bottom: -2px;
974
- left: -6px;
975
- cursor: sw-resize;
976
- }
915
+ .switch button {
916
+ background-color: rgb(206, 208, 212);
917
+ height: 24px;
918
+ box-sizing: border-box;
919
+ border-radius: 12px;
920
+ width: 44px;
921
+ display: inline-block;
922
+ vertical-align: middle;
923
+ position: relative;
924
+ outline: none;
925
+ cursor: pointer;
926
+ transition: background-color 0.1s;
927
+ border: 2px solid transparent;
928
+ }
977
929
 
978
- .editor-shell .editor-image .image-resizer.image-resizer-w {
979
- bottom: 48%;
980
- left: -6px;
981
- cursor: w-resize;
982
- }
930
+ .switch button:focus-visible {
931
+ border-color: blue;
932
+ }
983
933
 
984
- .editor-shell .editor-image .image-resizer.image-resizer-nw {
985
- top: -6px;
986
- left: -6px;
987
- cursor: nw-resize;
988
- }
934
+ .switch button span {
935
+ top: 0px;
936
+ left: 0px;
937
+ display: block;
938
+ position: absolute;
939
+ width: 20px;
940
+ height: 20px;
941
+ border-radius: 12px;
942
+ background-color: white;
943
+ transition: transform 0.2s;
944
+ }
989
945
 
990
- .keyword {
991
- color: rgb(241, 118, 94);
992
- font-weight: bold;
993
- }
946
+ .switch button[aria-checked='true'] {
947
+ background-color: rgb(24, 119, 242);
948
+ }
994
949
 
995
- .actions i.indent {
996
- background-image: url(images/icons/indent.svg);
997
- }
950
+ .switch button[aria-checked='true'] span {
951
+ transform: translateX(20px);
952
+ }
998
953
 
999
- .actions i.outdent {
1000
- background-image: url(images/icons/outdent.svg);
1001
- }
954
+ .keyword {
955
+ color: rgb(241, 118, 94);
956
+ font-weight: bold;
957
+ }
1002
958
 
1003
- .actions i.lock {
1004
- background-image: url(images/icons/lock-fill.svg);
1005
- }
959
+ .actions i.indent {
960
+ background-image: url(images/icons/indent.svg);
961
+ }
1006
962
 
1007
- .actions i.image {
1008
- background-image: url(images/icons/file-image.svg);
1009
- }
963
+ .actions i.outdent {
964
+ background-image: url(images/icons/outdent.svg);
965
+ }
1010
966
 
1011
- .actions i.table {
1012
- background-image: url(images/icons/table.svg);
1013
- }
967
+ .actions i.lock {
968
+ background-image: url(images/icons/lock-fill.svg);
969
+ }
1014
970
 
1015
- .actions i.unlock {
1016
- background-image: url(images/icons/lock.svg);
1017
- }
971
+ .actions i.image {
972
+ background-image: url(images/icons/file-image.svg);
973
+ }
1018
974
 
1019
- .actions i.left-align {
1020
- background-image: url(images/icons/text-left.svg);
1021
- }
975
+ .actions i.table {
976
+ background-image: url(images/icons/table.svg);
977
+ }
1022
978
 
1023
- .actions i.center-align {
1024
- background-image: url(images/icons/text-center.svg);
1025
- }
979
+ .actions i.unlock {
980
+ background-image: url(images/icons/lock.svg);
981
+ }
1026
982
 
1027
- .actions i.right-align {
1028
- background-image: url(images/icons/text-right.svg);
1029
- }
983
+ .actions i.left-align {
984
+ background-image: url(images/icons/text-left.svg);
985
+ }
1030
986
 
1031
- .actions i.justify-align {
1032
- background-image: url(images/icons/justify.svg);
1033
- }
987
+ .actions i.center-align {
988
+ background-image: url(images/icons/text-center.svg);
989
+ }
1034
990
 
1035
- .actions i.disconnect {
1036
- background-image: url(images/icons/plug.svg);
1037
- }
991
+ .actions i.right-align {
992
+ background-image: url(images/icons/text-right.svg);
993
+ }
1038
994
 
1039
- .actions i.connect {
1040
- background-image: url(images/icons/plug-fill.svg);
1041
- }
995
+ .actions i.justify-align {
996
+ background-image: url(images/icons/justify.svg);
997
+ }
1042
998
 
1043
- table.disable-selection {
1044
- -webkit-touch-callout: none;
1045
- -webkit-user-select: none;
1046
- -khtml-user-select: none;
1047
- -moz-user-select: none;
1048
- -ms-user-select: none;
1049
- user-select: none;
1050
- }
999
+ .actions i.disconnect {
1000
+ background-image: url(images/icons/plug.svg);
1001
+ }
1051
1002
 
1052
- table.disable-selection span::selection {
1053
- background-color: transparent;
1054
- }
1003
+ .actions i.connect {
1004
+ background-image: url(images/icons/plug-fill.svg);
1005
+ }
1055
1006
 
1056
- table.disable-selection br::selection {
1057
- background-color: transparent;
1058
- }
1007
+ table.disable-selection {
1008
+ -webkit-touch-callout: none;
1009
+ -webkit-user-select: none;
1010
+ -khtml-user-select: none;
1011
+ -moz-user-select: none;
1012
+ -ms-user-select: none;
1013
+ user-select: none;
1014
+ }
1059
1015
 
1060
- .table-cell-action-button-container {
1061
- position: absolute;
1062
- top: 0;
1063
- left: 0;
1064
- will-change: transform;
1065
- }
1016
+ table.disable-selection span::selection {
1017
+ background-color: transparent;
1018
+ }
1066
1019
 
1067
- .table-cell-action-button {
1068
- background-color: none;
1069
- display: flex;
1070
- justify-content: center;
1071
- align-items: center;
1072
- border: 0;
1073
- position: relative;
1074
- border-radius: 15px;
1075
- color: #222;
1076
- display: inline-block;
1077
- cursor: pointer;
1078
- }
1020
+ table.disable-selection br::selection {
1021
+ background-color: transparent;
1022
+ }
1079
1023
 
1080
- i.chevron-down {
1081
- background-color: transparent;
1082
- background-size: contain;
1083
- display: inline-block;
1084
- height: 8px;
1085
- width: 8px;
1086
- background-image: url(images/icons/chevron-down.svg);
1087
- }
1024
+ .table-cell-action-button-container {
1025
+ position: absolute;
1026
+ top: 0;
1027
+ left: 0;
1028
+ will-change: transform;
1029
+ }
1088
1030
 
1089
- .action-button {
1090
- background-color: #eee;
1091
- border: 0;
1092
- padding: 8px 12px;
1093
- position: relative;
1094
- margin-left: 5px;
1095
- border-radius: 15px;
1096
- color: #222;
1097
- display: inline-block;
1098
- cursor: pointer;
1099
- }
1031
+ .table-cell-action-button {
1032
+ background-color: none;
1033
+ display: flex;
1034
+ justify-content: center;
1035
+ align-items: center;
1036
+ border: 0;
1037
+ position: relative;
1038
+ border-radius: 15px;
1039
+ color: #222;
1040
+ display: inline-block;
1041
+ cursor: pointer;
1042
+ }
1100
1043
 
1101
- .action-button:hover {
1102
- background-color: #ddd;
1103
- color: #000;
1104
- }
1044
+ i.chevron-down {
1045
+ background-color: transparent;
1046
+ background-size: contain;
1047
+ display: inline-block;
1048
+ height: 8px;
1049
+ width: 8px;
1050
+ background-image: url(images/icons/chevron-down.svg);
1051
+ }
1105
1052
 
1106
- .action-button-mic.active {
1107
- animation: mic-pulsate-color 3s infinite;
1108
- }
1109
- button.action-button:disabled {
1110
- opacity: 0.6;
1111
- background: #eee;
1112
- cursor: not-allowed;
1113
- }
1053
+ .action-button {
1054
+ background-color: #eee;
1055
+ border: 0;
1056
+ padding: 8px 12px;
1057
+ position: relative;
1058
+ margin-left: 5px;
1059
+ border-radius: 15px;
1060
+ color: #222;
1061
+ display: inline-block;
1062
+ cursor: pointer;
1063
+ }
1114
1064
 
1115
- @keyframes mic-pulsate-color {
1116
- 0% {
1117
- background-color: #ffdcdc;
1065
+ .action-button:hover {
1066
+ background-color: #ddd;
1067
+ color: #000;
1118
1068
  }
1119
- 50% {
1120
- background-color: #ff8585;
1069
+
1070
+ .action-button-mic.active {
1071
+ animation: mic-pulsate-color 3s infinite;
1121
1072
  }
1122
- 100% {
1123
- background-color: #ffdcdc;
1073
+ button.action-button:disabled {
1074
+ opacity: 0.6;
1075
+ background: #eee;
1076
+ cursor: not-allowed;
1124
1077
  }
1125
- }
1126
-
1127
- .debug-timetravel-panel {
1128
- overflow: hidden;
1129
- padding: 0 0 10px 0;
1130
- margin: auto;
1131
- display: flex;
1132
- }
1133
-
1134
- .debug-timetravel-panel-slider {
1135
- padding: 0;
1136
- flex: 8;
1137
- }
1138
1078
 
1139
- .debug-timetravel-panel-button {
1140
- padding: 0;
1141
- border: 0;
1142
- background: none;
1143
- flex: 1;
1144
- color: #fff;
1145
- font-size: 12px;
1146
- }
1079
+ @keyframes mic-pulsate-color {
1080
+ 0% {
1081
+ background-color: #ffdcdc;
1082
+ }
1083
+ 50% {
1084
+ background-color: #ff8585;
1085
+ }
1086
+ 100% {
1087
+ background-color: #ffdcdc;
1088
+ }
1089
+ }
1147
1090
 
1148
- .debug-timetravel-panel-button:hover {
1149
- text-decoration: underline;
1150
- }
1091
+ .debug-timetravel-panel {
1092
+ overflow: hidden;
1093
+ padding: 0 0 10px 0;
1094
+ margin: auto;
1095
+ display: flex;
1096
+ }
1151
1097
 
1152
- .debug-timetravel-button {
1153
- border: 0;
1154
- padding: 0;
1155
- font-size: 12px;
1156
- top: 10px;
1157
- right: 15px;
1158
- position: absolute;
1159
- background: none;
1160
- color: #fff;
1161
- }
1098
+ .debug-timetravel-panel-slider {
1099
+ padding: 0;
1100
+ flex: 8;
1101
+ }
1162
1102
 
1163
- .debug-timetravel-button:hover {
1164
- text-decoration: underline;
1165
- }
1103
+ .debug-timetravel-panel-button {
1104
+ padding: 0;
1105
+ border: 0;
1106
+ background: none;
1107
+ flex: 1;
1108
+ color: #fff;
1109
+ font-size: 12px;
1110
+ }
1166
1111
 
1167
- .connecting {
1168
- font-size: 15px;
1169
- color: #999;
1170
- overflow: hidden;
1171
- position: absolute;
1172
- text-overflow: ellipsis;
1173
- top: 10px;
1174
- left: 10px;
1175
- user-select: none;
1176
- white-space: nowrap;
1177
- display: inline-block;
1178
- pointer-events: none;
1179
- }
1112
+ .debug-timetravel-panel-button:hover {
1113
+ text-decoration: underline;
1114
+ }
1180
1115
 
1181
- .ltr {
1182
- text-align: left;
1183
- }
1116
+ .debug-timetravel-button {
1117
+ border: 0;
1118
+ padding: 0;
1119
+ font-size: 12px;
1120
+ top: 10px;
1121
+ right: 15px;
1122
+ position: absolute;
1123
+ background: none;
1124
+ color: #fff;
1125
+ }
1184
1126
 
1185
- .rtl {
1186
- text-align: right;
1187
- }
1127
+ .debug-timetravel-button:hover {
1128
+ text-decoration: underline;
1129
+ }
1188
1130
 
1189
- .toolbar {
1190
- @apply flex h-12 w-full justify-between overflow-auto rounded-tl-md rounded-tr-md py-1 pr-2 pl-4 align-middle;
1191
- }
1131
+ .connecting {
1132
+ font-size: 15px;
1133
+ color: #999;
1134
+ overflow: hidden;
1135
+ position: absolute;
1136
+ text-overflow: ellipsis;
1137
+ top: 10px;
1138
+ left: 10px;
1139
+ user-select: none;
1140
+ white-space: nowrap;
1141
+ display: inline-block;
1142
+ pointer-events: none;
1143
+ }
1192
1144
 
1193
- .toolbar button.toolbar-item {
1194
- @apply flex shrink-0 cursor-pointer items-center justify-between rounded-md border-0 bg-transparent p-2 align-middle;
1195
- }
1145
+ .ltr {
1146
+ text-align: left;
1147
+ }
1196
1148
 
1197
- .toolbar button.toolbar-item:disabled {
1198
- @apply cursor-not-allowed;
1199
- }
1149
+ .rtl {
1150
+ text-align: right;
1151
+ }
1200
1152
 
1201
- .toolbar button.toolbar-item.spaced {
1202
- @apply mr-0.5;
1203
- }
1153
+ .toolbar {
1154
+ @apply flex h-12 w-full justify-between overflow-auto rounded-tl-md rounded-tr-md py-1 pr-2 pl-4 align-middle;
1155
+ }
1204
1156
 
1205
- .toolbar button.toolbar-item i.format {
1206
- background-size: contain;
1207
- display: inline-block;
1208
- height: 18px;
1209
- width: 18px;
1210
- vertical-align: -0.25em;
1211
- display: flex;
1212
- opacity: 0.6;
1213
- }
1157
+ .toolbar button.toolbar-item {
1158
+ @apply flex shrink-0 cursor-pointer items-center justify-between rounded-md border-0 bg-transparent p-2 align-middle;
1159
+ }
1214
1160
 
1215
- .toolbar button.toolbar-item:disabled .icon,
1216
- .toolbar button.toolbar-item:disabled .text,
1217
- .toolbar button.toolbar-item:disabled i.format,
1218
- .toolbar button.toolbar-item:disabled .chevron-down {
1219
- opacity: 0.2;
1220
- }
1161
+ .toolbar button.toolbar-item:disabled {
1162
+ @apply cursor-not-allowed;
1163
+ }
1221
1164
 
1222
- .toolbar button.toolbar-item.active {
1223
- @apply bg-purple-50-900;
1224
- }
1165
+ .toolbar button.toolbar-item.spaced {
1166
+ @apply mr-0.5;
1167
+ }
1225
1168
 
1226
- .toolbar button.toolbar-item.active i {
1227
- opacity: 1;
1228
- }
1169
+ .toolbar button.toolbar-item i.format {
1170
+ background-size: contain;
1171
+ display: inline-block;
1172
+ height: 18px;
1173
+ width: 18px;
1174
+ vertical-align: -0.25em;
1175
+ display: flex;
1176
+ opacity: 0.6;
1177
+ }
1229
1178
 
1230
- .toolbar .toolbar-item:hover:not([disabled]) {
1231
- @apply bg-purple-50-900;
1232
- }
1179
+ .toolbar button.toolbar-item:disabled .icon,
1180
+ .toolbar button.toolbar-item:disabled .text,
1181
+ .toolbar button.toolbar-item:disabled i.format,
1182
+ .toolbar button.toolbar-item:disabled .chevron-down {
1183
+ opacity: 0.2;
1184
+ }
1233
1185
 
1234
- .toolbar .toolbar-item.font-family .text {
1235
- display: block;
1236
- max-width: 40px;
1237
- }
1186
+ .toolbar button.toolbar-item.active {
1187
+ @apply bg-purple-50-900;
1188
+ }
1238
1189
 
1239
- .toolbar .code-language {
1240
- width: 150px;
1241
- }
1190
+ .toolbar button.toolbar-item.active i {
1191
+ opacity: 1;
1192
+ }
1242
1193
 
1243
- .toolbar .toolbar-item .text {
1244
- display: flex;
1245
- line-height: 20px;
1246
- vertical-align: middle;
1247
- font-size: 14px;
1248
- color: #777;
1249
- text-overflow: ellipsis;
1250
- overflow: hidden;
1251
- height: 20px;
1252
- text-align: left;
1253
- padding-right: 10px;
1254
- }
1194
+ .toolbar .toolbar-item:hover:not([disabled]) {
1195
+ @apply bg-purple-50-900;
1196
+ }
1255
1197
 
1256
- .toolbar .toolbar-item .icon {
1257
- display: flex;
1258
- width: 20px;
1259
- height: 20px;
1260
- user-select: none;
1261
- margin-right: 8px;
1262
- line-height: 16px;
1263
- background-size: contain;
1264
- }
1198
+ .toolbar .toolbar-item.font-family .text {
1199
+ display: block;
1200
+ max-width: 40px;
1201
+ }
1265
1202
 
1266
- .toolbar i.chevron-down {
1267
- margin-top: 3px;
1268
- width: 16px;
1269
- height: 16px;
1270
- display: flex;
1271
- user-select: none;
1272
- }
1203
+ .toolbar .code-language {
1204
+ width: 150px;
1205
+ }
1273
1206
 
1274
- .toolbar i.chevron-down.inside {
1275
- width: 16px;
1276
- height: 16px;
1277
- display: flex;
1278
- margin-left: -25px;
1279
- margin-top: 11px;
1280
- margin-right: 10px;
1281
- pointer-events: none;
1282
- }
1207
+ .toolbar .toolbar-item .text {
1208
+ display: flex;
1209
+ line-height: 20px;
1210
+ vertical-align: middle;
1211
+ font-size: 14px;
1212
+ color: #777;
1213
+ text-overflow: ellipsis;
1214
+ overflow: hidden;
1215
+ height: 20px;
1216
+ text-align: left;
1217
+ padding-right: 10px;
1218
+ }
1283
1219
 
1284
- .toolbar .divider {
1285
- width: 1px;
1286
- background-color: #eee;
1287
- margin: 0 4px;
1288
- }
1220
+ .toolbar .toolbar-item .icon {
1221
+ display: flex;
1222
+ width: 20px;
1223
+ height: 20px;
1224
+ user-select: none;
1225
+ margin-right: 8px;
1226
+ line-height: 16px;
1227
+ background-size: contain;
1228
+ }
1289
1229
 
1290
- .github-corner:hover .octo-arm {
1291
- animation: octocat-wave 560ms ease-in-out;
1292
- }
1293
- @keyframes octocat-wave {
1294
- 0%,
1295
- 100% {
1296
- transform: rotate(0);
1230
+ .toolbar i.chevron-down {
1231
+ margin-top: 3px;
1232
+ width: 16px;
1233
+ height: 16px;
1234
+ display: flex;
1235
+ user-select: none;
1297
1236
  }
1298
- 20%,
1299
- 60% {
1300
- transform: rotate(-25deg);
1237
+
1238
+ .toolbar i.chevron-down.inside {
1239
+ width: 16px;
1240
+ height: 16px;
1241
+ display: flex;
1242
+ margin-left: -25px;
1243
+ margin-top: 11px;
1244
+ margin-right: 10px;
1245
+ pointer-events: none;
1301
1246
  }
1302
- 40%,
1303
- 80% {
1304
- transform: rotate(10deg);
1247
+
1248
+ .toolbar .divider {
1249
+ width: 1px;
1250
+ background-color: #eee;
1251
+ margin: 0 4px;
1305
1252
  }
1306
- }
1307
- @media (max-width: 500px) {
1253
+
1308
1254
  .github-corner:hover .octo-arm {
1309
- animation: none;
1310
- }
1311
- .github-corner .octo-arm {
1312
1255
  animation: octocat-wave 560ms ease-in-out;
1313
1256
  }
1314
- }
1257
+ @keyframes octocat-wave {
1258
+ 0%,
1259
+ 100% {
1260
+ transform: rotate(0);
1261
+ }
1262
+ 20%,
1263
+ 60% {
1264
+ transform: rotate(-25deg);
1265
+ }
1266
+ 40%,
1267
+ 80% {
1268
+ transform: rotate(10deg);
1269
+ }
1270
+ }
1271
+ @media (max-width: 500px) {
1272
+ .github-corner:hover .octo-arm {
1273
+ animation: none;
1274
+ }
1275
+ .github-corner .octo-arm {
1276
+ animation: octocat-wave 560ms ease-in-out;
1277
+ }
1278
+ }
1315
1279
 
1316
- .spacer {
1317
- letter-spacing: -2px;
1318
- }
1280
+ .spacer {
1281
+ letter-spacing: -2px;
1282
+ }
1319
1283
 
1320
- button.item i {
1321
- opacity: 0.6;
1322
- }
1284
+ button.item i {
1285
+ opacity: 0.6;
1286
+ }
1323
1287
 
1324
- button.item.dropdown-item-active {
1325
- background-color: rgba(223, 232, 250, 0.3);
1326
- }
1288
+ button.item.dropdown-item-active {
1289
+ background-color: rgba(223, 232, 250, 0.3);
1290
+ }
1327
1291
 
1328
- button.item.dropdown-item-active i {
1329
- opacity: 1;
1330
- }
1292
+ button.item.dropdown-item-active i {
1293
+ opacity: 1;
1294
+ }
1331
1295
 
1332
- hr {
1333
- padding: 4px 0;
1334
- border: 1px solid red;
1335
- border: none;
1336
- margin: 1em 0;
1337
- cursor: pointer;
1338
- }
1296
+ hr {
1297
+ padding: 4px 0;
1298
+ border: 1px solid red;
1299
+ border: none;
1300
+ margin: 1em 0;
1301
+ cursor: pointer;
1302
+ }
1339
1303
 
1340
- hr:after {
1341
- content: '';
1342
- display: block;
1343
- height: 1px;
1344
- background-color: #ccc;
1345
- line-height: 1px;
1346
- @apply bg-purple-100-800;
1347
- }
1304
+ hr:after {
1305
+ content: '';
1306
+ display: block;
1307
+ height: 1px;
1308
+ background-color: #ccc;
1309
+ line-height: 1px;
1310
+ @apply bg-purple-100-800;
1311
+ }
1348
1312
 
1349
- hr.selected {
1350
- outline: 2px solid rgb(60, 132, 244);
1351
- user-select: none;
1352
- }
1313
+ hr.selected {
1314
+ outline: 2px solid rgb(60, 132, 244);
1315
+ user-select: none;
1316
+ }
1353
1317
 
1354
- .TableNode__contentEditable {
1355
- min-height: 20px;
1356
- border: 0px;
1357
- resize: none;
1358
- min-height: 100%;
1359
- cursor: text;
1360
- display: block;
1361
- position: relative;
1362
- tab-size: 1;
1363
- outline: 0px;
1364
- padding: 0;
1365
- user-select: text;
1366
- font-size: 15px;
1367
- white-space: pre-wrap;
1368
- word-break: break-word;
1369
- z-index: 3;
1370
- }
1318
+ .TableNode__contentEditable {
1319
+ min-height: 20px;
1320
+ border: 0px;
1321
+ resize: none;
1322
+ min-height: 100%;
1323
+ cursor: text;
1324
+ display: block;
1325
+ position: relative;
1326
+ tab-size: 1;
1327
+ outline: 0px;
1328
+ padding: 0;
1329
+ user-select: text;
1330
+ font-size: 15px;
1331
+ white-space: pre-wrap;
1332
+ word-break: break-word;
1333
+ z-index: 3;
1334
+ }
1371
1335
 
1372
- .TableNode__contentEditable .PlaygroundEditorTheme__paragraph {
1373
- @apply mt-0;
1374
- }
1336
+ .TableNode__contentEditable .PlaygroundEditorTheme__paragraph {
1337
+ @apply mt-0;
1338
+ }
1375
1339
 
1376
- .PlaygroundEditorTheme__blockCursor {
1377
- display: block;
1378
- pointer-events: none;
1379
- position: absolute;
1380
- }
1340
+ .PlaygroundEditorTheme__blockCursor {
1341
+ display: block;
1342
+ pointer-events: none;
1343
+ position: absolute;
1344
+ }
1381
1345
 
1382
- .PlaygroundEditorTheme__blockCursor:after {
1383
- content: '';
1384
- display: block;
1385
- position: absolute;
1386
- top: -2px;
1387
- width: 20px;
1388
- border-top: 1px solid black;
1389
- animation: CursorBlink 1.1s steps(2, start) infinite;
1390
- }
1346
+ .PlaygroundEditorTheme__blockCursor:after {
1347
+ content: '';
1348
+ display: block;
1349
+ position: absolute;
1350
+ top: -2px;
1351
+ width: 20px;
1352
+ border-top: 1px solid black;
1353
+ animation: CursorBlink 1.1s steps(2, start) infinite;
1354
+ }
1391
1355
 
1392
- @keyframes CursorBlink {
1393
- to {
1394
- visibility: hidden;
1356
+ @keyframes CursorBlink {
1357
+ to {
1358
+ visibility: hidden;
1359
+ }
1395
1360
  }
1396
1361
  }