@mrakomor/core 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1,410 @@
|
|
|
1
|
-
|
|
1
|
+
/* src/style.css */
|
|
2
|
+
.molecule__figure {
|
|
3
|
+
padding: 12px 6px;
|
|
4
|
+
background-color: #f0f0f0;
|
|
5
|
+
}
|
|
6
|
+
.molecule__figure .image {
|
|
7
|
+
aspect-ratio: 16/9;
|
|
8
|
+
background-color: lightgray;
|
|
9
|
+
}
|
|
10
|
+
.namespace-unknown-unknowncomponent {
|
|
11
|
+
background-color: #f0f0f0;
|
|
12
|
+
padding: 12px 0;
|
|
13
|
+
margin-bottom: 8px;
|
|
14
|
+
}
|
|
15
|
+
.mrakomor-editor:focus-visible {
|
|
16
|
+
outline: none;
|
|
17
|
+
}
|
|
18
|
+
.dialog[open] {
|
|
19
|
+
background-color: white;
|
|
20
|
+
border: 1px solid black;
|
|
21
|
+
border-radius: 8px;
|
|
22
|
+
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
|
|
23
|
+
padding: 12px;
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-flow: row wrap;
|
|
26
|
+
justify-content: space-between;
|
|
27
|
+
.dialog-controls {
|
|
28
|
+
text-align: right;
|
|
29
|
+
width: 100%;
|
|
30
|
+
.dialog-button-close {
|
|
31
|
+
background-color: #f0f0f0;
|
|
32
|
+
border: 1px solid black;
|
|
33
|
+
border-radius: 4px;
|
|
34
|
+
color: black;
|
|
35
|
+
cursor: pointer;
|
|
36
|
+
display: inline-block;
|
|
37
|
+
font-size: 14px;
|
|
38
|
+
margin-right: 1px;
|
|
39
|
+
padding: 4px 8px;
|
|
40
|
+
text-align: center;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
.dialog-container {
|
|
44
|
+
width: 100%;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
.mrakomor-tooltip {
|
|
48
|
+
position: absolute;
|
|
49
|
+
z-index: 9100;
|
|
50
|
+
display: flex;
|
|
51
|
+
flex-direction: row;
|
|
52
|
+
align-items: center;
|
|
53
|
+
gap: 2px;
|
|
54
|
+
background: #1a1a1a;
|
|
55
|
+
border-radius: 6px;
|
|
56
|
+
padding: 4px 6px;
|
|
57
|
+
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
|
|
58
|
+
pointer-events: all;
|
|
59
|
+
white-space: nowrap;
|
|
60
|
+
}
|
|
61
|
+
.mrakomor-tooltip__btn {
|
|
62
|
+
display: inline-flex;
|
|
63
|
+
align-items: center;
|
|
64
|
+
justify-content: center;
|
|
65
|
+
background: transparent;
|
|
66
|
+
border: none;
|
|
67
|
+
border-radius: 4px;
|
|
68
|
+
color: #fff;
|
|
69
|
+
cursor: pointer;
|
|
70
|
+
font-size: 13px;
|
|
71
|
+
font-weight: 600;
|
|
72
|
+
min-width: 28px;
|
|
73
|
+
min-height: 28px;
|
|
74
|
+
padding: 0 6px;
|
|
75
|
+
transition: background 0.1s;
|
|
76
|
+
}
|
|
77
|
+
.mrakomor-tooltip__btn:hover {
|
|
78
|
+
background: rgba(255, 255, 255, 0.15);
|
|
79
|
+
}
|
|
80
|
+
.mrakomor-tooltip__btn--active {
|
|
81
|
+
background: rgba(255, 255, 255, 0.25);
|
|
82
|
+
color: #7dd3fc;
|
|
83
|
+
}
|
|
84
|
+
.mrakomor-tooltip__separator {
|
|
85
|
+
width: 1px;
|
|
86
|
+
height: 18px;
|
|
87
|
+
background: rgba(255, 255, 255, 0.2);
|
|
88
|
+
margin: 0 4px;
|
|
89
|
+
flex-shrink: 0;
|
|
90
|
+
}
|
|
91
|
+
.mrakomor-tools-container {
|
|
92
|
+
position: relative;
|
|
93
|
+
}
|
|
94
|
+
.mrakomor-content {
|
|
95
|
+
position: relative;
|
|
96
|
+
}
|
|
97
|
+
.mrakomor-content h1 {
|
|
98
|
+
margin-top: 0;
|
|
99
|
+
}
|
|
100
|
+
.mrakomor-content h2 {
|
|
101
|
+
margin-top: 0;
|
|
102
|
+
}
|
|
103
|
+
.mrakomor-content h3 {
|
|
104
|
+
margin-top: 0;
|
|
105
|
+
}
|
|
106
|
+
.mrakomor-content h4 {
|
|
107
|
+
margin-top: 0;
|
|
108
|
+
}
|
|
109
|
+
.mrakomor-content h5 {
|
|
110
|
+
margin-top: 0;
|
|
111
|
+
}
|
|
112
|
+
.mrakomor-content p {
|
|
113
|
+
margin-top: 0;
|
|
114
|
+
}
|
|
115
|
+
.molecule-list-list {
|
|
116
|
+
margin: 0 0 1em;
|
|
117
|
+
padding-inline-start: 1.5em;
|
|
118
|
+
}
|
|
119
|
+
.molecule-list-list li {
|
|
120
|
+
margin: 0.25em 0;
|
|
121
|
+
outline: none;
|
|
122
|
+
}
|
|
123
|
+
.molecule-list-list li:focus {
|
|
124
|
+
outline: none;
|
|
125
|
+
}
|
|
126
|
+
.molecule-list-list li[data-depth="1"] {
|
|
127
|
+
margin-inline-start: 1.5em;
|
|
128
|
+
}
|
|
129
|
+
.molecule-list-list li[data-depth="2"] {
|
|
130
|
+
margin-inline-start: 3em;
|
|
131
|
+
}
|
|
132
|
+
.molecule-list-list li[data-depth="3"] {
|
|
133
|
+
margin-inline-start: 4.5em;
|
|
134
|
+
}
|
|
135
|
+
.mrakomor-block-element {
|
|
136
|
+
position: relative;
|
|
137
|
+
padding-left: 52px;
|
|
138
|
+
margin-bottom: 12px;
|
|
139
|
+
}
|
|
140
|
+
.mrakomor-block-gutter {
|
|
141
|
+
position: absolute;
|
|
142
|
+
left: 0;
|
|
143
|
+
top: 2px;
|
|
144
|
+
display: flex;
|
|
145
|
+
align-items: center;
|
|
146
|
+
gap: 2px;
|
|
147
|
+
opacity: 0;
|
|
148
|
+
transition: opacity 0.15s ease;
|
|
149
|
+
pointer-events: all;
|
|
150
|
+
user-select: none;
|
|
151
|
+
z-index: 1;
|
|
152
|
+
}
|
|
153
|
+
.mrakomor-block-element:hover .mrakomor-block-gutter,
|
|
154
|
+
.mrakomor-block-element--active .mrakomor-block-gutter,
|
|
155
|
+
.mrakomor-block-drag-active .mrakomor-block-gutter {
|
|
156
|
+
opacity: 1;
|
|
157
|
+
}
|
|
158
|
+
.mrakomor-block-add,
|
|
159
|
+
.mrakomor-block-drag {
|
|
160
|
+
display: inline-flex;
|
|
161
|
+
align-items: center;
|
|
162
|
+
justify-content: center;
|
|
163
|
+
width: 24px;
|
|
164
|
+
height: 24px;
|
|
165
|
+
padding: 0;
|
|
166
|
+
border: none;
|
|
167
|
+
border-radius: 4px;
|
|
168
|
+
background: transparent;
|
|
169
|
+
color: #9ca3af;
|
|
170
|
+
cursor: pointer;
|
|
171
|
+
font-size: 18px;
|
|
172
|
+
line-height: 1;
|
|
173
|
+
transition: background 0.1s, color 0.1s;
|
|
174
|
+
}
|
|
175
|
+
.mrakomor-block-add:hover,
|
|
176
|
+
.mrakomor-block-drag:hover {
|
|
177
|
+
background: rgba(0, 0, 0, 0.06);
|
|
178
|
+
color: #374151;
|
|
179
|
+
}
|
|
180
|
+
.mrakomor-block-drag {
|
|
181
|
+
cursor: grab;
|
|
182
|
+
}
|
|
183
|
+
.mrakomor-block-element--dragging .mrakomor-block-drag,
|
|
184
|
+
.mrakomor-block-drag-active .mrakomor-block-drag {
|
|
185
|
+
cursor: grabbing;
|
|
186
|
+
}
|
|
187
|
+
.mrakomor-block-element--dragging {
|
|
188
|
+
opacity: 0.5;
|
|
189
|
+
}
|
|
190
|
+
.mrakomor-block-body {
|
|
191
|
+
min-width: 0;
|
|
192
|
+
}
|
|
193
|
+
.mrakomor-block-drop-indicator {
|
|
194
|
+
position: absolute;
|
|
195
|
+
left: 52px;
|
|
196
|
+
right: 0;
|
|
197
|
+
height: 2px;
|
|
198
|
+
background: #3b82f6;
|
|
199
|
+
border-radius: 1px;
|
|
200
|
+
pointer-events: none;
|
|
201
|
+
z-index: 2;
|
|
202
|
+
}
|
|
203
|
+
.mrakomor-block-insert-menu {
|
|
204
|
+
position: absolute;
|
|
205
|
+
z-index: 9200;
|
|
206
|
+
display: flex;
|
|
207
|
+
flex-direction: column;
|
|
208
|
+
gap: 2px;
|
|
209
|
+
min-width: 120px;
|
|
210
|
+
background: #1a1a1a;
|
|
211
|
+
border-radius: 6px;
|
|
212
|
+
padding: 4px;
|
|
213
|
+
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
|
|
214
|
+
pointer-events: all;
|
|
215
|
+
}
|
|
216
|
+
.mrakomor-block-insert-menu__item {
|
|
217
|
+
display: flex;
|
|
218
|
+
align-items: center;
|
|
219
|
+
width: 100%;
|
|
220
|
+
padding: 6px 10px;
|
|
221
|
+
border: none;
|
|
222
|
+
border-radius: 4px;
|
|
223
|
+
background: transparent;
|
|
224
|
+
color: #fff;
|
|
225
|
+
cursor: pointer;
|
|
226
|
+
font-size: 13px;
|
|
227
|
+
font-weight: 600;
|
|
228
|
+
text-align: left;
|
|
229
|
+
transition: background 0.1s;
|
|
230
|
+
}
|
|
231
|
+
.mrakomor-block-insert-menu__item:hover {
|
|
232
|
+
background: rgba(255, 255, 255, 0.15);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
/* src/plugin/linkEntity/LinkEntity.css */
|
|
236
|
+
.link-toolbar {
|
|
237
|
+
display: flex;
|
|
238
|
+
flex-direction: column;
|
|
239
|
+
gap: 6px;
|
|
240
|
+
}
|
|
241
|
+
.link-toolbar__row {
|
|
242
|
+
display: flex;
|
|
243
|
+
align-items: center;
|
|
244
|
+
gap: 4px;
|
|
245
|
+
min-width: 0;
|
|
246
|
+
}
|
|
247
|
+
.link-toolbar__href {
|
|
248
|
+
flex: 1;
|
|
249
|
+
min-width: 0;
|
|
250
|
+
font-size: 13px;
|
|
251
|
+
color: #1a73e8;
|
|
252
|
+
text-decoration: underline;
|
|
253
|
+
overflow: hidden;
|
|
254
|
+
text-overflow: ellipsis;
|
|
255
|
+
white-space: nowrap;
|
|
256
|
+
max-width: 220px;
|
|
257
|
+
}
|
|
258
|
+
.link-toolbar__sep {
|
|
259
|
+
width: 1px;
|
|
260
|
+
height: 18px;
|
|
261
|
+
background: #e0e0e0;
|
|
262
|
+
flex-shrink: 0;
|
|
263
|
+
margin: 0 2px;
|
|
264
|
+
}
|
|
265
|
+
.link-toolbar__btn {
|
|
266
|
+
display: flex;
|
|
267
|
+
align-items: center;
|
|
268
|
+
justify-content: center;
|
|
269
|
+
flex-shrink: 0;
|
|
270
|
+
background: none;
|
|
271
|
+
border: none;
|
|
272
|
+
cursor: pointer;
|
|
273
|
+
padding: 4px;
|
|
274
|
+
border-radius: 4px;
|
|
275
|
+
color: #555;
|
|
276
|
+
&:hover {
|
|
277
|
+
background: #f0f0f0;
|
|
278
|
+
color: #222;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
.link-toolbar__btn--danger {
|
|
282
|
+
&:hover {
|
|
283
|
+
color: #d32f2f;
|
|
284
|
+
background: #fdecea;
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
.link-toolbar__input {
|
|
288
|
+
flex: 1;
|
|
289
|
+
min-width: 0;
|
|
290
|
+
border: 1px solid #dadce0;
|
|
291
|
+
border-radius: 4px;
|
|
292
|
+
padding: 4px 8px;
|
|
293
|
+
font-size: 13px;
|
|
294
|
+
outline: none;
|
|
295
|
+
&:focus {
|
|
296
|
+
border-color: #1a73e8;
|
|
297
|
+
box-shadow: 0 0 0 2px #1a73e833;
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
.link-toolbar__select {
|
|
301
|
+
flex-shrink: 0;
|
|
302
|
+
border: 1px solid #dadce0;
|
|
303
|
+
border-radius: 4px;
|
|
304
|
+
padding: 4px 6px;
|
|
305
|
+
font-size: 13px;
|
|
306
|
+
background: #fff;
|
|
307
|
+
cursor: pointer;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
/* src/plugin/tts/TtsVoice.css */
|
|
311
|
+
.atom-tts-voice {
|
|
312
|
+
position: relative;
|
|
313
|
+
border-radius: 2px;
|
|
314
|
+
display: inline-block;
|
|
315
|
+
}
|
|
316
|
+
.atom-tts-voice::before {
|
|
317
|
+
content: attr(data-voice-label);
|
|
318
|
+
position: absolute;
|
|
319
|
+
top: -1.1em;
|
|
320
|
+
left: 0;
|
|
321
|
+
font-size: 10px;
|
|
322
|
+
line-height: 1;
|
|
323
|
+
white-space: nowrap;
|
|
324
|
+
padding: 1px 4px;
|
|
325
|
+
border-radius: 3px;
|
|
326
|
+
pointer-events: none;
|
|
327
|
+
font-weight: 600;
|
|
328
|
+
}
|
|
329
|
+
.tts-voice--man {
|
|
330
|
+
background: #e8f0fe;
|
|
331
|
+
color: #174ea6;
|
|
332
|
+
}
|
|
333
|
+
.tts-voice--man::before {
|
|
334
|
+
background: #1a73e8;
|
|
335
|
+
color: #fff;
|
|
336
|
+
}
|
|
337
|
+
.tts-voice--woman {
|
|
338
|
+
background: #f3e8fd;
|
|
339
|
+
color: #5e35b1;
|
|
340
|
+
}
|
|
341
|
+
.tts-voice--woman::before {
|
|
342
|
+
background: #7b1fa2;
|
|
343
|
+
color: #fff;
|
|
344
|
+
}
|
|
345
|
+
.tts-voice-toolbar {
|
|
346
|
+
display: flex;
|
|
347
|
+
flex-direction: column;
|
|
348
|
+
gap: 6px;
|
|
349
|
+
}
|
|
350
|
+
.tts-voice-toolbar__row {
|
|
351
|
+
display: flex;
|
|
352
|
+
align-items: center;
|
|
353
|
+
flex-wrap: wrap;
|
|
354
|
+
gap: 4px;
|
|
355
|
+
min-width: 0;
|
|
356
|
+
}
|
|
357
|
+
.tts-voice-toolbar__voice {
|
|
358
|
+
flex-shrink: 0;
|
|
359
|
+
border: 1px solid #dadce0;
|
|
360
|
+
border-radius: 4px;
|
|
361
|
+
padding: 4px 8px;
|
|
362
|
+
font-size: 12px;
|
|
363
|
+
background: #fff;
|
|
364
|
+
color: #333;
|
|
365
|
+
}
|
|
366
|
+
.tts-voice-toolbar__voice--man {
|
|
367
|
+
border-color: #1a73e8;
|
|
368
|
+
color: #174ea6;
|
|
369
|
+
}
|
|
370
|
+
.tts-voice-toolbar__voice--woman {
|
|
371
|
+
border-color: #7b1fa2;
|
|
372
|
+
color: #5e35b1;
|
|
373
|
+
}
|
|
374
|
+
.tts-voice-toolbar__voice--active {
|
|
375
|
+
font-weight: 600;
|
|
376
|
+
}
|
|
377
|
+
.tts-voice-toolbar__voice--man.tts-voice-toolbar__voice--active {
|
|
378
|
+
background: #e8f0fe;
|
|
379
|
+
}
|
|
380
|
+
.tts-voice-toolbar__voice--woman.tts-voice-toolbar__voice--active {
|
|
381
|
+
background: #f3e8fd;
|
|
382
|
+
}
|
|
383
|
+
.tts-voice-toolbar__sep {
|
|
384
|
+
width: 1px;
|
|
385
|
+
height: 18px;
|
|
386
|
+
background: #e0e0e0;
|
|
387
|
+
flex-shrink: 0;
|
|
388
|
+
margin: 0 2px;
|
|
389
|
+
}
|
|
390
|
+
.tts-voice-toolbar__btn {
|
|
391
|
+
display: flex;
|
|
392
|
+
align-items: center;
|
|
393
|
+
justify-content: center;
|
|
394
|
+
flex-shrink: 0;
|
|
395
|
+
background: none;
|
|
396
|
+
border: none;
|
|
397
|
+
cursor: pointer;
|
|
398
|
+
padding: 4px;
|
|
399
|
+
border-radius: 4px;
|
|
400
|
+
color: #555;
|
|
401
|
+
}
|
|
402
|
+
.tts-voice-toolbar__btn:hover {
|
|
403
|
+
background: #f0f0f0;
|
|
404
|
+
color: #222;
|
|
405
|
+
}
|
|
406
|
+
.tts-voice-toolbar__btn--danger:hover {
|
|
407
|
+
color: #d32f2f;
|
|
408
|
+
background: #fdecea;
|
|
409
|
+
}
|
|
410
|
+
/*# sourceMappingURL=mrakomor.css.map */
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/style.css", "../../../src/plugin/linkEntity/LinkEntity.css", "../../../src/plugin/tts/TtsVoice.css"],
|
|
4
|
+
"sourcesContent": ["\n.molecule__figure {\n padding: 12px 6px;\n background-color: #f0f0f0;\n\n}\n\n.molecule__figure .image {\n aspect-ratio: 16/9;\n background-color: lightgray;\n}\n\n.namespace-unknown-unknowncomponent {\n background-color: #f0f0f0;\n padding: 12px 0;\n margin-bottom: 8px;\n}\n\n.mrakomor-editor:focus-visible {\n outline: none;\n}\n\n\n\n.dialog[open] {\n background-color: white;\n border: 1px solid black;\n border-radius: 8px;\n box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);\n padding: 12px;\n\n display: flex;\n flex-flow: row wrap;\n\n justify-content: space-between;\n\n .dialog-controls {\n text-align: right;\n width: 100%;\n\n .dialog-button-close {\n background-color: #f0f0f0;\n border: 1px solid black;\n border-radius: 4px;\n color: black;\n cursor: pointer;\n display: inline-block;\n font-size: 14px;\n margin-right: 1px;\n padding: 4px 8px;\n text-align: center;\n }\n }\n\n .dialog-container {\n width: 100%;\n }\n}\n\n/* \u2500\u2500 Tooltip bubble toolbar \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mrakomor-tooltip {\n position: absolute;\n z-index: 9100;\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 2px;\n background: #1a1a1a;\n border-radius: 6px;\n padding: 4px 6px;\n box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);\n pointer-events: all;\n white-space: nowrap;\n}\n\n.mrakomor-tooltip__btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n background: transparent;\n border: none;\n border-radius: 4px;\n color: #fff;\n cursor: pointer;\n font-size: 13px;\n font-weight: 600;\n min-width: 28px;\n min-height: 28px;\n padding: 0 6px;\n transition: background 0.1s;\n}\n\n.mrakomor-tooltip__btn:hover {\n background: rgba(255, 255, 255, 0.15);\n}\n\n.mrakomor-tooltip__btn--active {\n background: rgba(255, 255, 255, 0.25);\n color: #7dd3fc;\n}\n\n.mrakomor-tooltip__separator {\n width: 1px;\n height: 18px;\n background: rgba(255, 255, 255, 0.2);\n margin: 0 4px;\n flex-shrink: 0;\n}\n\n/* \u2500\u2500 Block gutter chrome \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mrakomor-tools-container {\n position: relative;\n}\n\n.mrakomor-content {\n position: relative;\n}\n\n.mrakomor-content h1 {\n margin-top: 0;\n}\n\n.mrakomor-content h2 {\n margin-top: 0;\n}\n\n.mrakomor-content h3 {\n margin-top: 0;\n}\n\n.mrakomor-content h4 {\n margin-top: 0;\n}\n\n.mrakomor-content h5 {\n margin-top: 0;\n}\n\n.mrakomor-content p {\n margin-top:0;\n}\n\n.molecule-list-list {\n margin: 0 0 1em;\n padding-inline-start: 1.5em;\n}\n\n.molecule-list-list li {\n margin: 0.25em 0;\n outline: none;\n}\n\n.molecule-list-list li:focus {\n outline: none;\n}\n\n.molecule-list-list li[data-depth='1'] {\n margin-inline-start: 1.5em;\n}\n\n.molecule-list-list li[data-depth='2'] {\n margin-inline-start: 3em;\n}\n\n.molecule-list-list li[data-depth='3'] {\n margin-inline-start: 4.5em;\n}\n\n.mrakomor-block-element {\n position: relative;\n padding-left: 52px;\n margin-bottom: 12px;\n}\n\n.mrakomor-block-gutter {\n position: absolute;\n left: 0;\n top: 2px;\n display: flex;\n align-items: center;\n gap: 2px;\n opacity: 0;\n transition: opacity 0.15s ease;\n pointer-events: all;\n user-select: none;\n z-index: 1;\n}\n\n.mrakomor-block-element:hover .mrakomor-block-gutter,\n.mrakomor-block-element--active .mrakomor-block-gutter,\n.mrakomor-block-drag-active .mrakomor-block-gutter {\n opacity: 1;\n}\n\n.mrakomor-block-add,\n.mrakomor-block-drag {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 24px;\n height: 24px;\n padding: 0;\n border: none;\n border-radius: 4px;\n background: transparent;\n color: #9ca3af;\n cursor: pointer;\n font-size: 18px;\n line-height: 1;\n transition: background 0.1s, color 0.1s;\n}\n\n.mrakomor-block-add:hover,\n.mrakomor-block-drag:hover {\n background: rgba(0, 0, 0, 0.06);\n color: #374151;\n}\n\n.mrakomor-block-drag {\n cursor: grab;\n}\n\n.mrakomor-block-element--dragging .mrakomor-block-drag,\n.mrakomor-block-drag-active .mrakomor-block-drag {\n cursor: grabbing;\n}\n\n.mrakomor-block-element--dragging {\n opacity: 0.5;\n}\n\n.mrakomor-block-body {\n min-width: 0;\n}\n\n.mrakomor-block-drop-indicator {\n position: absolute;\n left: 52px;\n right: 0;\n height: 2px;\n background: #3b82f6;\n border-radius: 1px;\n pointer-events: none;\n z-index: 2;\n}\n\n/* \u2500\u2500 Block insert menu \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.mrakomor-block-insert-menu {\n position: absolute;\n z-index: 9200;\n display: flex;\n flex-direction: column;\n gap: 2px;\n min-width: 120px;\n background: #1a1a1a;\n border-radius: 6px;\n padding: 4px;\n box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);\n pointer-events: all;\n}\n\n.mrakomor-block-insert-menu__item {\n display: flex;\n align-items: center;\n width: 100%;\n padding: 6px 10px;\n border: none;\n border-radius: 4px;\n background: transparent;\n color: #fff;\n cursor: pointer;\n font-size: 13px;\n font-weight: 600;\n text-align: left;\n transition: background 0.1s;\n}\n\n.mrakomor-block-insert-menu__item:hover {\n background: rgba(255, 255, 255, 0.15);\n}", "/* \u2500\u2500 Link toolbar (dialog popover) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n.link-toolbar {\n display: flex;\n flex-direction: column;\n gap: 6px;\n}\n\n.link-toolbar__row {\n display: flex;\n align-items: center;\n gap: 4px;\n min-width: 0;\n}\n\n.link-toolbar__href {\n flex: 1;\n min-width: 0;\n font-size: 13px;\n color: #1a73e8;\n text-decoration: underline;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 220px;\n}\n\n.link-toolbar__sep {\n width: 1px;\n height: 18px;\n background: #e0e0e0;\n flex-shrink: 0;\n margin: 0 2px;\n}\n\n.link-toolbar__btn {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n background: none;\n border: none;\n cursor: pointer;\n padding: 4px;\n border-radius: 4px;\n color: #555;\n\n &:hover {\n background: #f0f0f0;\n color: #222;\n }\n}\n\n.link-toolbar__btn--danger {\n &:hover {\n color: #d32f2f;\n background: #fdecea;\n }\n}\n\n.link-toolbar__input {\n flex: 1;\n min-width: 0;\n border: 1px solid #dadce0;\n border-radius: 4px;\n padding: 4px 8px;\n font-size: 13px;\n outline: none;\n\n &:focus {\n border-color: #1a73e8;\n box-shadow: 0 0 0 2px #1a73e833;\n }\n}\n\n.link-toolbar__select {\n flex-shrink: 0;\n border: 1px solid #dadce0;\n border-radius: 4px;\n padding: 4px 6px;\n font-size: 13px;\n background: #fff;\n cursor: pointer;\n}", "/* \u2500\u2500 TTS voice entity range \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n.atom-tts-voice {\n position: relative;\n border-radius: 2px;\n display: inline-block;\n}\n\n.atom-tts-voice::before {\n content: attr(data-voice-label);\n position: absolute;\n top: -1.1em;\n left: 0;\n font-size: 10px;\n line-height: 1;\n white-space: nowrap;\n padding: 1px 4px;\n border-radius: 3px;\n pointer-events: none;\n font-weight: 600;\n}\n\n.tts-voice--man {\n background: #e8f0fe;\n color: #174ea6;\n}\n\n.tts-voice--man::before {\n background: #1a73e8;\n color: #fff;\n}\n\n.tts-voice--woman {\n background: #f3e8fd;\n color: #5e35b1;\n}\n\n.tts-voice--woman::before {\n background: #7b1fa2;\n color: #fff;\n}\n\n/* \u2500\u2500 TTS voice toolbar (dialog popover) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n.tts-voice-toolbar {\n display: flex;\n flex-direction: column;\n gap: 6px;\n}\n\n.tts-voice-toolbar__row {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: 4px;\n min-width: 0;\n}\n\n.tts-voice-toolbar__voice {\n flex-shrink: 0;\n border: 1px solid #dadce0;\n border-radius: 4px;\n padding: 4px 8px;\n font-size: 12px;\n background: #fff;\n color: #333;\n}\n\n.tts-voice-toolbar__voice--man {\n border-color: #1a73e8;\n color: #174ea6;\n}\n\n.tts-voice-toolbar__voice--woman {\n border-color: #7b1fa2;\n color: #5e35b1;\n}\n\n.tts-voice-toolbar__voice--active {\n font-weight: 600;\n}\n\n.tts-voice-toolbar__voice--man.tts-voice-toolbar__voice--active {\n background: #e8f0fe;\n}\n\n.tts-voice-toolbar__voice--woman.tts-voice-toolbar__voice--active {\n background: #f3e8fd;\n}\n\n.tts-voice-toolbar__sep {\n width: 1px;\n height: 18px;\n background: #e0e0e0;\n flex-shrink: 0;\n margin: 0 2px;\n}\n\n.tts-voice-toolbar__btn {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n background: none;\n border: none;\n cursor: pointer;\n padding: 4px;\n border-radius: 4px;\n color: #555;\n}\n\n.tts-voice-toolbar__btn:hover {\n background: #f0f0f0;\n color: #222;\n}\n\n.tts-voice-toolbar__btn--danger:hover {\n color: #d32f2f;\n background: #fdecea;\n}\n"],
|
|
5
|
+
"mappings": ";AACA,CAAC;AACC,WAAS,KAAK;AACd,oBAAkB;AAEpB;AAEA,CANC,iBAMiB,CAAC;AACjB,gBAAc,EAAE,CAAC;AACjB,oBAAkB;AACpB;AAEA,CAAC;AACC,oBAAkB;AAClB,WAAS,KAAK;AACd,iBAAe;AACjB;AAEA,CAAC,eAAe;AACd,WAAS;AACX;AAIA,CAAC,MAAM,CAAC;AACN,oBAAkB;AAClB,UAAQ,IAAI,MAAM;AAClB,iBAAe;AACf,cAAY,EAAE,EAAE,IAAI,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;AAClC,WAAS;AAET,WAAS;AACT,aAAW,IAAI;AAEf,mBAAiB;AAEjB,GAAC;AACC,gBAAY;AACZ,WAAO;AAEP,KAAC;AACC,wBAAkB;AAClB,cAAQ,IAAI,MAAM;AAClB,qBAAe;AACf,aAAO;AACP,cAAQ;AACR,eAAS;AACT,iBAAW;AACX,oBAAc;AACd,eAAS,IAAI;AACb,kBAAY;AACd;AACF;AAEA,GAAC;AACC,WAAO;AACT;AACF;AAIA,CAAC;AACC,YAAU;AACV,WAAS;AACT,WAAS;AACT,kBAAgB;AAChB,eAAa;AACb,OAAK;AACL,cAAY;AACZ,iBAAe;AACf,WAAS,IAAI;AACb,cAAY,EAAE,IAAI,KAAK,KAAK,CA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