@mrakomor/core 0.0.5 → 0.0.7
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,410 +1 @@
|
|
|
1
|
-
|
|
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 */
|
|
1
|
+
.molecule__figure{padding:12px 6px;background-color:#f0f0f0}.molecule__figure .image{aspect-ratio:16/9;background-color:#d3d3d3}.namespace-unknown-unknowncomponent{background-color:#f0f0f0;padding:12px 0;margin-bottom:8px}.mrakomor-editor:focus-visible{outline:none}.dialog[open]{background-color:#fff;border:1px solid black;border-radius:8px;box-shadow:0 0 5px #0000001a;padding:12px;display:flex;flex-flow:row wrap;justify-content:space-between;.dialog-controls{text-align:right;width:100%;.dialog-button-close{background-color:#f0f0f0;border:1px solid black;border-radius:4px;color:#000;cursor:pointer;display:inline-block;font-size:14px;margin-right:1px;padding:4px 8px;text-align:center}}.dialog-container{width:100%}}.mrakomor-tooltip{position:absolute;z-index:9100;display:flex;flex-direction:row;align-items:center;gap:2px;background:#1a1a1a;border-radius:6px;padding:4px 6px;box-shadow:0 3px 10px #00000040;pointer-events:all;white-space:nowrap}.mrakomor-tooltip__btn{display:inline-flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:13px;font-weight:600;min-width:28px;min-height:28px;padding:0 6px;transition:background .1s}.mrakomor-tooltip__btn:hover{background:#ffffff26}.mrakomor-tooltip__btn--active{background:#ffffff40;color:#7dd3fc}.mrakomor-tooltip__separator{width:1px;height:18px;background:#fff3;margin:0 4px;flex-shrink:0}.mrakomor-tools-container,.mrakomor-content{position:relative}.mrakomor-content h1,.mrakomor-content h2,.mrakomor-content h3,.mrakomor-content h4,.mrakomor-content h5,.mrakomor-content p{margin-top:0}.molecule-list-list{margin:0 0 1em;padding-inline-start:1.5em}.molecule-list-list li{margin:.25em 0;outline:none}.molecule-list-list li:focus{outline:none}.molecule-list-list li[data-depth="1"]{margin-inline-start:1.5em}.molecule-list-list li[data-depth="2"]{margin-inline-start:3em}.molecule-list-list li[data-depth="3"]{margin-inline-start:4.5em}.mrakomor-block-element{position:relative;padding-left:52px;margin-bottom:12px}.mrakomor-block-gutter{position:absolute;left:0;top:2px;display:flex;align-items:center;gap:2px;opacity:0;transition:opacity .15s ease;pointer-events:all;user-select:none;z-index:1}.mrakomor-block-element:hover .mrakomor-block-gutter,.mrakomor-block-element--active .mrakomor-block-gutter,.mrakomor-block-drag-active .mrakomor-block-gutter{opacity:1}.mrakomor-block-add,.mrakomor-block-drag{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:none;border-radius:4px;background:transparent;color:#9ca3af;cursor:pointer;font-size:18px;line-height:1;transition:background .1s,color .1s}.mrakomor-block-add:hover,.mrakomor-block-drag:hover{background:#0000000f;color:#374151}.mrakomor-block-drag{cursor:grab}.mrakomor-block-element--dragging .mrakomor-block-drag,.mrakomor-block-drag-active .mrakomor-block-drag{cursor:grabbing}.mrakomor-block-element--dragging{opacity:.5}.mrakomor-block-body{min-width:0}.mrakomor-block-drop-indicator{position:absolute;left:52px;right:0;height:2px;background:#3b82f6;border-radius:1px;pointer-events:none;z-index:2}.mrakomor-block-insert-menu{position:absolute;z-index:9200;display:flex;flex-direction:column;gap:2px;min-width:120px;background:#1a1a1a;border-radius:6px;padding:4px;box-shadow:0 3px 10px #00000040;pointer-events:all}.mrakomor-block-insert-menu__item{display:flex;align-items:center;width:100%;padding:6px 10px;border:none;border-radius:4px;background:transparent;color:#fff;cursor:pointer;font-size:13px;font-weight:600;text-align:left;transition:background .1s}.mrakomor-block-insert-menu__item:hover{background:#ffffff26}.link-toolbar{display:flex;flex-direction:column;gap:6px}.link-toolbar__row{display:flex;align-items:center;gap:4px;min-width:0}.link-toolbar__href{flex:1;min-width:0;font-size:13px;color:#1a73e8;text-decoration:underline;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:220px}.link-toolbar__sep{width:1px;height:18px;background:#e0e0e0;flex-shrink:0;margin:0 2px}.link-toolbar__btn{display:flex;align-items:center;justify-content:center;flex-shrink:0;background:none;border:none;cursor:pointer;padding:4px;border-radius:4px;color:#555;&:hover{background:#f0f0f0;color:#222}}.link-toolbar__btn--danger{&:hover{color:#d32f2f;background:#fdecea}}.link-toolbar__input{flex:1;min-width:0;border:1px solid #dadce0;border-radius:4px;padding:4px 8px;font-size:13px;outline:none;&:focus{border-color:#1a73e8;box-shadow:0 0 0 2px #1a73e833}}.link-toolbar__select{flex-shrink:0;border:1px solid #dadce0;border-radius:4px;padding:4px 6px;font-size:13px;background:#fff;cursor:pointer}.atom-tts-voice{position:relative;border-radius:2px;display:inline-block}.atom-tts-voice:before{content:attr(data-voice-label);position:absolute;top:-1.1em;left:0;font-size:10px;line-height:1;white-space:nowrap;padding:1px 4px;border-radius:3px;pointer-events:none;font-weight:600}.tts-voice--man{background:#e8f0fe;color:#174ea6}.tts-voice--man:before{background:#1a73e8;color:#fff}.tts-voice--woman{background:#f3e8fd;color:#5e35b1}.tts-voice--woman:before{background:#7b1fa2;color:#fff}.tts-voice-toolbar{display:flex;flex-direction:column;gap:6px}.tts-voice-toolbar__row{display:flex;align-items:center;flex-wrap:wrap;gap:4px;min-width:0}.tts-voice-toolbar__voice{flex-shrink:0;border:1px solid #dadce0;border-radius:4px;padding:4px 8px;font-size:12px;background:#fff;color:#333}.tts-voice-toolbar__voice--man{border-color:#1a73e8;color:#174ea6}.tts-voice-toolbar__voice--woman{border-color:#7b1fa2;color:#5e35b1}.tts-voice-toolbar__voice--active{font-weight:600}.tts-voice-toolbar__voice--man.tts-voice-toolbar__voice--active{background:#e8f0fe}.tts-voice-toolbar__voice--woman.tts-voice-toolbar__voice--active{background:#f3e8fd}.tts-voice-toolbar__sep{width:1px;height:18px;background:#e0e0e0;flex-shrink:0;margin:0 2px}.tts-voice-toolbar__btn{display:flex;align-items:center;justify-content:center;flex-shrink:0;background:none;border:none;cursor:pointer;padding:4px;border-radius:4px;color:#555}.tts-voice-toolbar__btn:hover{background:#f0f0f0;color:#222}.tts-voice-toolbar__btn--danger:hover{color:#d32f2f;background:#fdecea}
|