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