@wangeditor-kai/editor 5.6.41 → 5.6.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/src/parse-html/index.d.ts +2 -2
- package/dist/core/src/parse-html/parse-elem-html.d.ts +1 -7
- package/dist/css/style.css +1550 -11
- package/dist/index.js +69307 -35
- package/dist/index.mjs +66183 -23
- package/package.json +11 -11
- package/LICENSE +0 -21
- package/dist/index.js.map +0 -1
- package/dist/index.mjs.map +0 -1
package/dist/css/style.css
CHANGED
|
@@ -1,16 +1,1555 @@
|
|
|
1
|
-
:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
:root,
|
|
2
|
+
:host {
|
|
3
|
+
--w-e-textarea-bg-color: #fff;
|
|
4
|
+
--w-e-textarea-color: #333;
|
|
5
|
+
--w-e-textarea-border-color: #ccc;
|
|
6
|
+
--w-e-textarea-slight-border-color: #e8e8e8;
|
|
7
|
+
--w-e-textarea-slight-color: #d4d4d4;
|
|
8
|
+
--w-e-textarea-slight-bg-color: #f5f2f0;
|
|
9
|
+
--w-e-textarea-selected-border-color: #B4D5FF;
|
|
10
|
+
--w-e-textarea-handler-bg-color: #4290f7;
|
|
11
|
+
--w-e-toolbar-color: #595959;
|
|
12
|
+
--w-e-toolbar-bg-color: #fff;
|
|
13
|
+
--w-e-toolbar-active-color: #333;
|
|
14
|
+
--w-e-toolbar-active-bg-color: #f1f1f1;
|
|
15
|
+
--w-e-toolbar-disabled-color: #999;
|
|
16
|
+
--w-e-toolbar-border-color: #e8e8e8;
|
|
17
|
+
--w-e-modal-button-bg-color: #fafafa;
|
|
18
|
+
--w-e-modal-button-border-color: #d9d9d9;
|
|
19
|
+
}
|
|
5
20
|
|
|
6
|
-
.w-e-text-container
|
|
7
|
-
.w-e-
|
|
21
|
+
.w-e-text-container *,
|
|
22
|
+
.w-e-toolbar * {
|
|
23
|
+
padding: 0;
|
|
24
|
+
margin: 0;
|
|
25
|
+
box-sizing: border-box;
|
|
26
|
+
outline: none;
|
|
27
|
+
}
|
|
28
|
+
.w-e-text-container p,
|
|
29
|
+
.w-e-text-container li,
|
|
30
|
+
.w-e-text-container td,
|
|
31
|
+
.w-e-text-container th,
|
|
32
|
+
.w-e-text-container blockquote {
|
|
33
|
+
line-height: 1.5;
|
|
34
|
+
}
|
|
35
|
+
.w-e-toolbar * {
|
|
36
|
+
line-height: 1.5;
|
|
37
|
+
}
|
|
38
|
+
.w-e-text-container {
|
|
39
|
+
color: var(--w-e-textarea-color);
|
|
40
|
+
background-color: var(--w-e-textarea-bg-color);
|
|
41
|
+
position: relative;
|
|
42
|
+
height: 100%;
|
|
43
|
+
}
|
|
44
|
+
.no-scroll {
|
|
45
|
+
width: 100%;
|
|
46
|
+
}
|
|
47
|
+
.w-e-text-container .w-e-scroll {
|
|
48
|
+
height: 100%;
|
|
49
|
+
-webkit-overflow-scrolling: touch;
|
|
50
|
+
}
|
|
51
|
+
.w-e-text-container [data-slate-editor] {
|
|
52
|
+
outline: 0;
|
|
53
|
+
white-space: pre-wrap;
|
|
54
|
+
/* 【重要】可以显示空格,在连续多空格的情况下 */
|
|
55
|
+
word-wrap: break-word;
|
|
56
|
+
padding: 0 10px;
|
|
57
|
+
border-top: 1px solid transparent;
|
|
58
|
+
min-height: 100%;
|
|
59
|
+
}
|
|
60
|
+
.w-e-text-container [data-slate-editor] p {
|
|
61
|
+
margin: 15px 0;
|
|
62
|
+
}
|
|
63
|
+
.w-e-text-container [data-slate-editor] h1,
|
|
64
|
+
.w-e-text-container [data-slate-editor] h2,
|
|
65
|
+
.w-e-text-container [data-slate-editor] h3,
|
|
66
|
+
.w-e-text-container [data-slate-editor] h4,
|
|
67
|
+
.w-e-text-container [data-slate-editor] h5 {
|
|
68
|
+
margin: 20px 0 20px 0;
|
|
69
|
+
}
|
|
70
|
+
.w-e-text-container [data-slate-editor] img {
|
|
71
|
+
max-width: 100%;
|
|
72
|
+
min-width: 20px;
|
|
73
|
+
min-height: 20px;
|
|
74
|
+
cursor: default;
|
|
75
|
+
display: inline !important;
|
|
76
|
+
}
|
|
77
|
+
.w-e-text-container [data-slate-editor] span {
|
|
78
|
+
text-indent: 0;
|
|
79
|
+
}
|
|
80
|
+
.w-e-text-container [data-slate-editor] [data-selected="true"] {
|
|
81
|
+
box-shadow: 0 0 0 2px var(--w-e-textarea-selected-border-color);
|
|
82
|
+
}
|
|
83
|
+
.w-e-text-placeholder {
|
|
84
|
+
color: var(--w-e-textarea-slight-color);
|
|
85
|
+
position: absolute;
|
|
86
|
+
font-style: italic;
|
|
87
|
+
width: 90%;
|
|
88
|
+
left: 10px;
|
|
89
|
+
top: 17px;
|
|
90
|
+
pointer-events: none;
|
|
91
|
+
-webkit-user-select: none;
|
|
92
|
+
-moz-user-select: none;
|
|
93
|
+
user-select: none;
|
|
94
|
+
}
|
|
95
|
+
.w-e-max-length-info {
|
|
96
|
+
position: absolute;
|
|
97
|
+
color: var(--w-e-textarea-slight-color);
|
|
98
|
+
bottom: 0.5em;
|
|
99
|
+
right: 1em;
|
|
100
|
+
pointer-events: none;
|
|
101
|
+
-webkit-user-select: none;
|
|
102
|
+
-moz-user-select: none;
|
|
103
|
+
user-select: none;
|
|
104
|
+
}
|
|
105
|
+
.w-e-bar {
|
|
106
|
+
background-color: var(--w-e-toolbar-bg-color);
|
|
107
|
+
padding: 0 5px;
|
|
108
|
+
font-size: 14px;
|
|
109
|
+
color: var(--w-e-toolbar-color);
|
|
110
|
+
}
|
|
111
|
+
.w-e-bar svg {
|
|
112
|
+
width: 14px;
|
|
113
|
+
height: 14px;
|
|
114
|
+
fill: var(--w-e-toolbar-color);
|
|
115
|
+
}
|
|
116
|
+
.w-e-bar-show {
|
|
117
|
+
display: flex;
|
|
118
|
+
}
|
|
119
|
+
.w-e-bar-hidden {
|
|
120
|
+
display: none;
|
|
121
|
+
}
|
|
122
|
+
.w-e-hover-bar {
|
|
123
|
+
position: absolute;
|
|
124
|
+
border: 1px solid var(--w-e-toolbar-border-color);
|
|
125
|
+
border-radius: 3px;
|
|
126
|
+
box-shadow: 0 2px 5px #0000001f;
|
|
127
|
+
}
|
|
128
|
+
.w-e-toolbar {
|
|
129
|
+
flex-wrap: wrap;
|
|
130
|
+
position: relative;
|
|
131
|
+
}
|
|
132
|
+
.w-e-bar-divider {
|
|
133
|
+
display: inline-flex;
|
|
134
|
+
width: 1px;
|
|
135
|
+
height: 40px;
|
|
136
|
+
background-color: var(--w-e-toolbar-border-color);
|
|
137
|
+
margin: 0 5px;
|
|
138
|
+
}
|
|
139
|
+
.w-e-bar-item {
|
|
140
|
+
position: relative;
|
|
141
|
+
display: flex;
|
|
142
|
+
align-items: center;
|
|
143
|
+
justify-content: center;
|
|
144
|
+
text-align: center;
|
|
145
|
+
padding: 4px;
|
|
146
|
+
height: 40px;
|
|
147
|
+
}
|
|
148
|
+
.w-e-bar-item button {
|
|
149
|
+
border: none;
|
|
150
|
+
background: transparent;
|
|
151
|
+
height: calc(40px - 8px);
|
|
152
|
+
padding: 0 8px;
|
|
153
|
+
cursor: pointer;
|
|
154
|
+
display: inline-flex;
|
|
155
|
+
justify-content: center;
|
|
156
|
+
align-items: center;
|
|
157
|
+
color: var(--w-e-toolbar-color);
|
|
158
|
+
white-space: nowrap;
|
|
159
|
+
/* 不换行 */
|
|
160
|
+
overflow: hidden;
|
|
161
|
+
}
|
|
162
|
+
.w-e-bar-item button:hover {
|
|
163
|
+
background-color: var(--w-e-toolbar-active-bg-color);
|
|
164
|
+
color: var(--w-e-toolbar-active-color);
|
|
165
|
+
}
|
|
166
|
+
.w-e-bar-item button .title {
|
|
167
|
+
margin-left: 5px;
|
|
168
|
+
}
|
|
169
|
+
.w-e-bar-item .active {
|
|
170
|
+
background-color: var(--w-e-toolbar-active-bg-color);
|
|
171
|
+
color: var(--w-e-toolbar-active-color);
|
|
172
|
+
}
|
|
173
|
+
.w-e-bar-item .disabled {
|
|
174
|
+
color: var(--w-e-toolbar-disabled-color);
|
|
175
|
+
cursor: not-allowed;
|
|
176
|
+
}
|
|
177
|
+
.w-e-bar-item .disabled svg {
|
|
178
|
+
fill: var(--w-e-toolbar-disabled-color);
|
|
179
|
+
}
|
|
180
|
+
.w-e-bar-item .disabled:hover {
|
|
181
|
+
background-color: var(--w-e-toolbar-bg-color);
|
|
182
|
+
color: var(--w-e-toolbar-disabled-color);
|
|
183
|
+
}
|
|
184
|
+
.w-e-bar-item .disabled:hover svg {
|
|
185
|
+
fill: var(--w-e-toolbar-disabled-color);
|
|
186
|
+
}
|
|
187
|
+
.w-e-menu-tooltip-v5:before {
|
|
188
|
+
content: attr(data-tooltip);
|
|
189
|
+
position: absolute;
|
|
190
|
+
background-color: var(--w-e-toolbar-active-color);
|
|
191
|
+
color: var(--w-e-toolbar-bg-color);
|
|
192
|
+
text-align: center;
|
|
193
|
+
padding: 5px 10px;
|
|
194
|
+
border-radius: 5px;
|
|
195
|
+
z-index: 1;
|
|
196
|
+
opacity: 0;
|
|
197
|
+
transition: opacity 0.6s;
|
|
198
|
+
font-size: 0.75em;
|
|
199
|
+
visibility: hidden;
|
|
200
|
+
top: 40px;
|
|
201
|
+
white-space: pre;
|
|
202
|
+
}
|
|
203
|
+
.w-e-menu-tooltip-v5:after {
|
|
204
|
+
content: "";
|
|
205
|
+
position: absolute;
|
|
206
|
+
border-width: 5px;
|
|
207
|
+
border-style: solid;
|
|
208
|
+
opacity: 0;
|
|
209
|
+
transition: opacity 0.6s;
|
|
210
|
+
border-color: transparent transparent var(--w-e-toolbar-active-color) transparent;
|
|
211
|
+
visibility: hidden;
|
|
212
|
+
top: 30px;
|
|
213
|
+
}
|
|
214
|
+
.w-e-menu-tooltip-v5:hover:before,
|
|
215
|
+
.w-e-menu-tooltip-v5:hover:after {
|
|
216
|
+
opacity: 1;
|
|
217
|
+
visibility: visible;
|
|
218
|
+
}
|
|
219
|
+
.w-e-menu-tooltip-v5.tooltip-right:before {
|
|
220
|
+
left: 100%;
|
|
221
|
+
top: 10px;
|
|
222
|
+
}
|
|
223
|
+
.w-e-menu-tooltip-v5.tooltip-right:after {
|
|
224
|
+
left: 100%;
|
|
225
|
+
margin-left: -10px;
|
|
226
|
+
top: 16px;
|
|
227
|
+
border-color: transparent var(--w-e-toolbar-active-color) transparent transparent;
|
|
228
|
+
}
|
|
229
|
+
.w-e-bar-item-group .w-e-bar-item-menus-container {
|
|
230
|
+
display: none;
|
|
231
|
+
/* 默认隐藏 */
|
|
232
|
+
z-index: 1;
|
|
233
|
+
background-color: var(--w-e-toolbar-bg-color);
|
|
234
|
+
position: absolute;
|
|
235
|
+
top: 0;
|
|
236
|
+
left: 0;
|
|
237
|
+
margin-top: 40px;
|
|
238
|
+
border: 1px solid var(--w-e-toolbar-border-color);
|
|
239
|
+
border-radius: 3px;
|
|
240
|
+
box-shadow: 0 2px 10px #0000001f;
|
|
241
|
+
}
|
|
242
|
+
.w-e-bar-item-group:hover {
|
|
243
|
+
/* hover 时显示下级菜单 */
|
|
244
|
+
}
|
|
245
|
+
.w-e-bar-item-group:hover .w-e-bar-item-menus-container {
|
|
246
|
+
display: block;
|
|
247
|
+
}
|
|
248
|
+
.w-e-select-list {
|
|
249
|
+
z-index: 1;
|
|
250
|
+
position: absolute;
|
|
251
|
+
left: 0;
|
|
252
|
+
top: 0;
|
|
253
|
+
background-color: var(--w-e-toolbar-bg-color);
|
|
254
|
+
margin-top: 40px;
|
|
255
|
+
min-width: 100px;
|
|
256
|
+
border: 1px solid var(--w-e-toolbar-border-color);
|
|
257
|
+
border-radius: 3px;
|
|
258
|
+
box-shadow: 0 2px 10px #0000001f;
|
|
259
|
+
max-height: 350px;
|
|
260
|
+
overflow-y: auto;
|
|
261
|
+
}
|
|
262
|
+
.w-e-select-list ul {
|
|
263
|
+
list-style: none;
|
|
264
|
+
line-height: 1;
|
|
265
|
+
}
|
|
266
|
+
.w-e-select-list ul .selected {
|
|
267
|
+
background-color: var(--w-e-toolbar-active-bg-color);
|
|
268
|
+
}
|
|
269
|
+
.w-e-select-list ul li {
|
|
270
|
+
cursor: pointer;
|
|
271
|
+
padding: 7px 0 7px 25px;
|
|
272
|
+
position: relative;
|
|
273
|
+
text-align: left;
|
|
274
|
+
white-space: nowrap;
|
|
275
|
+
/* 不换行 */
|
|
276
|
+
}
|
|
277
|
+
.w-e-select-list ul li:hover {
|
|
278
|
+
background-color: var(--w-e-toolbar-active-bg-color);
|
|
279
|
+
}
|
|
280
|
+
.w-e-select-list ul li svg {
|
|
281
|
+
position: absolute;
|
|
282
|
+
left: 0;
|
|
283
|
+
margin-left: 5px;
|
|
284
|
+
top: 50%;
|
|
285
|
+
margin-top: -7px;
|
|
286
|
+
}
|
|
287
|
+
.w-e-bar-bottom .w-e-select-list {
|
|
288
|
+
top: inherit;
|
|
289
|
+
bottom: 0;
|
|
290
|
+
margin-top: 0;
|
|
291
|
+
margin-bottom: 40px;
|
|
292
|
+
}
|
|
293
|
+
.w-e-drop-panel {
|
|
294
|
+
z-index: 1;
|
|
295
|
+
background-color: var(--w-e-toolbar-bg-color);
|
|
296
|
+
position: absolute;
|
|
297
|
+
top: 0;
|
|
298
|
+
border: 1px solid var(--w-e-toolbar-border-color);
|
|
299
|
+
border-radius: 3px;
|
|
300
|
+
box-shadow: 0 2px 10px #0000001f;
|
|
301
|
+
margin-top: 40px;
|
|
302
|
+
min-width: 200px;
|
|
303
|
+
padding: 10px;
|
|
304
|
+
}
|
|
305
|
+
.w-e-bar-bottom .w-e-drop-panel {
|
|
306
|
+
top: inherit;
|
|
307
|
+
bottom: 0;
|
|
308
|
+
margin-top: 0;
|
|
309
|
+
margin-bottom: 40px;
|
|
310
|
+
}
|
|
311
|
+
.w-e-modal {
|
|
312
|
+
z-index: 1;
|
|
313
|
+
background-color: var(--w-e-toolbar-bg-color);
|
|
314
|
+
position: absolute;
|
|
315
|
+
padding: 20px 15px 0 15px;
|
|
316
|
+
min-width: 100px;
|
|
317
|
+
min-height: 40px;
|
|
318
|
+
color: var(--w-e-toolbar-color);
|
|
319
|
+
text-align: left;
|
|
320
|
+
font-size: 14px;
|
|
321
|
+
border: 1px solid var(--w-e-toolbar-border-color);
|
|
322
|
+
border-radius: 3px;
|
|
323
|
+
box-shadow: 0 2px 10px #0000001f;
|
|
324
|
+
}
|
|
325
|
+
.w-e-modal .btn-close {
|
|
326
|
+
position: absolute;
|
|
327
|
+
right: 8px;
|
|
328
|
+
top: 7px;
|
|
329
|
+
cursor: pointer;
|
|
330
|
+
padding: 5px;
|
|
331
|
+
line-height: 1;
|
|
332
|
+
}
|
|
333
|
+
.w-e-modal .btn-close svg {
|
|
334
|
+
width: 10px;
|
|
335
|
+
height: 10px;
|
|
336
|
+
fill: var(--w-e-toolbar-color);
|
|
337
|
+
}
|
|
338
|
+
.w-e-modal .babel-container {
|
|
339
|
+
display: block;
|
|
340
|
+
margin-bottom: 15px;
|
|
341
|
+
}
|
|
342
|
+
.w-e-modal .babel-container span {
|
|
343
|
+
display: block;
|
|
344
|
+
margin-bottom: 10px;
|
|
345
|
+
}
|
|
346
|
+
.w-e-modal .button-container {
|
|
347
|
+
margin-bottom: 15px;
|
|
348
|
+
}
|
|
349
|
+
.w-e-modal button {
|
|
350
|
+
font-weight: 400;
|
|
351
|
+
white-space: nowrap;
|
|
352
|
+
cursor: pointer;
|
|
353
|
+
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
354
|
+
-webkit-user-select: none;
|
|
355
|
+
-moz-user-select: none;
|
|
356
|
+
user-select: none;
|
|
357
|
+
touch-action: manipulation;
|
|
358
|
+
height: 32px;
|
|
359
|
+
padding: 4.5px 15px;
|
|
360
|
+
color: var(--w-e-toolbar-color);
|
|
361
|
+
background-color: var(--w-e-modal-button-bg-color);
|
|
362
|
+
text-align: center;
|
|
363
|
+
border: 1px solid var(--w-e-modal-button-border-color);
|
|
364
|
+
border-radius: 4px;
|
|
365
|
+
}
|
|
366
|
+
.w-e-modal textarea,
|
|
367
|
+
.w-e-modal input[type="text"],
|
|
368
|
+
.w-e-modal input[type="number"] {
|
|
369
|
+
font-variant: tabular-nums;
|
|
370
|
+
font-feature-settings: "tnum";
|
|
371
|
+
padding: 4.5px 11px;
|
|
372
|
+
color: var(--w-e-toolbar-color);
|
|
373
|
+
background-color: var(--w-e-toolbar-bg-color);
|
|
374
|
+
border: 1px solid var(--w-e-modal-button-border-color);
|
|
375
|
+
border-radius: 4px;
|
|
376
|
+
transition: all 0.3s;
|
|
377
|
+
width: 100%;
|
|
378
|
+
}
|
|
379
|
+
.w-e-modal textarea {
|
|
380
|
+
min-height: 60px;
|
|
381
|
+
}
|
|
382
|
+
body .w-e-modal {
|
|
383
|
+
box-sizing: border-box;
|
|
384
|
+
}
|
|
385
|
+
body .w-e-modal * {
|
|
386
|
+
box-sizing: border-box;
|
|
387
|
+
}
|
|
388
|
+
.w-e-progress-bar {
|
|
389
|
+
position: absolute;
|
|
390
|
+
width: 0;
|
|
391
|
+
height: 1px;
|
|
392
|
+
background-color: var(--w-e-textarea-handler-bg-color);
|
|
393
|
+
transition: width 0.3s;
|
|
394
|
+
}
|
|
395
|
+
.w-e-full-screen-container {
|
|
396
|
+
position: fixed;
|
|
397
|
+
margin: 0 !important;
|
|
398
|
+
padding: 0 !important;
|
|
399
|
+
top: 0 !important;
|
|
400
|
+
left: 0 !important;
|
|
401
|
+
right: 0 !important;
|
|
402
|
+
bottom: 0 !important;
|
|
403
|
+
height: 100% !important;
|
|
404
|
+
width: 100% !important;
|
|
405
|
+
display: flex !important;
|
|
406
|
+
flex-direction: column !important;
|
|
407
|
+
}
|
|
408
|
+
.w-e-full-screen-container [data-w-e-textarea="true"] {
|
|
409
|
+
flex: 1 !important;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.w-e-text-container *,
|
|
413
|
+
.w-e-toolbar * {
|
|
414
|
+
padding: 0;
|
|
415
|
+
margin: 0;
|
|
416
|
+
box-sizing: border-box;
|
|
417
|
+
outline: none;
|
|
418
|
+
}
|
|
419
|
+
.w-e-text-container p,
|
|
420
|
+
.w-e-text-container li,
|
|
421
|
+
.w-e-text-container td,
|
|
422
|
+
.w-e-text-container th,
|
|
423
|
+
.w-e-text-container blockquote {
|
|
424
|
+
line-height: 1.5;
|
|
425
|
+
}
|
|
426
|
+
.w-e-toolbar * {
|
|
427
|
+
line-height: 1.5;
|
|
428
|
+
}
|
|
429
|
+
.w-e-text-container {
|
|
430
|
+
color: var(--w-e-textarea-color);
|
|
431
|
+
background-color: var(--w-e-textarea-bg-color);
|
|
432
|
+
position: relative;
|
|
433
|
+
height: 100%;
|
|
434
|
+
}
|
|
435
|
+
.no-scroll {
|
|
436
|
+
width: 100%;
|
|
437
|
+
}
|
|
438
|
+
.w-e-text-container .w-e-scroll {
|
|
439
|
+
height: 100%;
|
|
440
|
+
-webkit-overflow-scrolling: touch;
|
|
441
|
+
}
|
|
442
|
+
.w-e-text-container [data-slate-editor] {
|
|
443
|
+
outline: 0;
|
|
444
|
+
white-space: pre-wrap;
|
|
445
|
+
/* 【重要】可以显示空格,在连续多空格的情况下 */
|
|
446
|
+
word-wrap: break-word;
|
|
447
|
+
padding: 0 10px;
|
|
448
|
+
border-top: 1px solid transparent;
|
|
449
|
+
min-height: 100%;
|
|
450
|
+
}
|
|
451
|
+
.w-e-text-container [data-slate-editor] p {
|
|
452
|
+
margin: 15px 0;
|
|
453
|
+
}
|
|
454
|
+
.w-e-text-container [data-slate-editor] h1,
|
|
455
|
+
.w-e-text-container [data-slate-editor] h2,
|
|
456
|
+
.w-e-text-container [data-slate-editor] h3,
|
|
457
|
+
.w-e-text-container [data-slate-editor] h4,
|
|
458
|
+
.w-e-text-container [data-slate-editor] h5 {
|
|
459
|
+
margin: 20px 0 20px 0;
|
|
460
|
+
}
|
|
461
|
+
.w-e-text-container [data-slate-editor] img {
|
|
462
|
+
max-width: 100%;
|
|
463
|
+
min-width: 20px;
|
|
464
|
+
min-height: 20px;
|
|
465
|
+
cursor: default;
|
|
466
|
+
display: inline !important;
|
|
467
|
+
}
|
|
468
|
+
.w-e-text-container [data-slate-editor] span {
|
|
469
|
+
text-indent: 0;
|
|
470
|
+
}
|
|
471
|
+
.w-e-text-container [data-slate-editor] [data-selected="true"] {
|
|
472
|
+
box-shadow: 0 0 0 2px var(--w-e-textarea-selected-border-color);
|
|
473
|
+
}
|
|
474
|
+
.w-e-text-placeholder {
|
|
475
|
+
color: var(--w-e-textarea-slight-color);
|
|
476
|
+
position: absolute;
|
|
477
|
+
font-style: italic;
|
|
478
|
+
width: 90%;
|
|
479
|
+
left: 10px;
|
|
480
|
+
top: 17px;
|
|
481
|
+
pointer-events: none;
|
|
482
|
+
-webkit-user-select: none;
|
|
483
|
+
-moz-user-select: none;
|
|
484
|
+
user-select: none;
|
|
485
|
+
}
|
|
486
|
+
.w-e-max-length-info {
|
|
487
|
+
position: absolute;
|
|
488
|
+
color: var(--w-e-textarea-slight-color);
|
|
489
|
+
bottom: 0.5em;
|
|
490
|
+
right: 1em;
|
|
491
|
+
pointer-events: none;
|
|
492
|
+
-webkit-user-select: none;
|
|
493
|
+
-moz-user-select: none;
|
|
494
|
+
user-select: none;
|
|
495
|
+
}
|
|
496
|
+
.w-e-bar {
|
|
497
|
+
background-color: var(--w-e-toolbar-bg-color);
|
|
498
|
+
padding: 0 5px;
|
|
499
|
+
font-size: 14px;
|
|
500
|
+
color: var(--w-e-toolbar-color);
|
|
501
|
+
}
|
|
502
|
+
.w-e-bar svg {
|
|
503
|
+
width: 14px;
|
|
504
|
+
height: 14px;
|
|
505
|
+
fill: var(--w-e-toolbar-color);
|
|
506
|
+
}
|
|
507
|
+
.w-e-bar-show {
|
|
508
|
+
display: flex;
|
|
509
|
+
}
|
|
510
|
+
.w-e-bar-hidden {
|
|
511
|
+
display: none;
|
|
512
|
+
}
|
|
513
|
+
.w-e-hover-bar {
|
|
514
|
+
position: absolute;
|
|
515
|
+
border: 1px solid var(--w-e-toolbar-border-color);
|
|
516
|
+
border-radius: 3px;
|
|
517
|
+
box-shadow: 0 2px 5px #0000001f;
|
|
518
|
+
}
|
|
519
|
+
.w-e-toolbar {
|
|
520
|
+
flex-wrap: wrap;
|
|
521
|
+
position: relative;
|
|
522
|
+
}
|
|
523
|
+
.w-e-bar-divider {
|
|
524
|
+
display: inline-flex;
|
|
525
|
+
width: 1px;
|
|
526
|
+
height: 40px;
|
|
527
|
+
background-color: var(--w-e-toolbar-border-color);
|
|
528
|
+
margin: 0 5px;
|
|
529
|
+
}
|
|
530
|
+
.w-e-bar-item {
|
|
531
|
+
position: relative;
|
|
532
|
+
display: flex;
|
|
533
|
+
align-items: center;
|
|
534
|
+
justify-content: center;
|
|
535
|
+
text-align: center;
|
|
536
|
+
padding: 4px;
|
|
537
|
+
height: 40px;
|
|
538
|
+
}
|
|
539
|
+
.w-e-bar-item button {
|
|
540
|
+
border: none;
|
|
541
|
+
background: transparent;
|
|
542
|
+
height: calc(40px - 8px);
|
|
543
|
+
padding: 0 8px;
|
|
544
|
+
cursor: pointer;
|
|
545
|
+
display: inline-flex;
|
|
546
|
+
justify-content: center;
|
|
547
|
+
align-items: center;
|
|
548
|
+
color: var(--w-e-toolbar-color);
|
|
549
|
+
white-space: nowrap;
|
|
550
|
+
/* 不换行 */
|
|
551
|
+
overflow: hidden;
|
|
552
|
+
}
|
|
553
|
+
.w-e-bar-item button:hover {
|
|
554
|
+
background-color: var(--w-e-toolbar-active-bg-color);
|
|
555
|
+
color: var(--w-e-toolbar-active-color);
|
|
556
|
+
}
|
|
557
|
+
.w-e-bar-item button .title {
|
|
558
|
+
margin-left: 5px;
|
|
559
|
+
}
|
|
560
|
+
.w-e-bar-item .active {
|
|
561
|
+
background-color: var(--w-e-toolbar-active-bg-color);
|
|
562
|
+
color: var(--w-e-toolbar-active-color);
|
|
563
|
+
}
|
|
564
|
+
.w-e-bar-item .disabled {
|
|
565
|
+
color: var(--w-e-toolbar-disabled-color);
|
|
566
|
+
cursor: not-allowed;
|
|
567
|
+
}
|
|
568
|
+
.w-e-bar-item .disabled svg {
|
|
569
|
+
fill: var(--w-e-toolbar-disabled-color);
|
|
570
|
+
}
|
|
571
|
+
.w-e-bar-item .disabled:hover {
|
|
572
|
+
background-color: var(--w-e-toolbar-bg-color);
|
|
573
|
+
color: var(--w-e-toolbar-disabled-color);
|
|
574
|
+
}
|
|
575
|
+
.w-e-bar-item .disabled:hover svg {
|
|
576
|
+
fill: var(--w-e-toolbar-disabled-color);
|
|
577
|
+
}
|
|
578
|
+
.w-e-menu-tooltip-v5:before {
|
|
579
|
+
content: attr(data-tooltip);
|
|
580
|
+
position: absolute;
|
|
581
|
+
background-color: var(--w-e-toolbar-active-color);
|
|
582
|
+
color: var(--w-e-toolbar-bg-color);
|
|
583
|
+
text-align: center;
|
|
584
|
+
padding: 5px 10px;
|
|
585
|
+
border-radius: 5px;
|
|
586
|
+
z-index: 1;
|
|
587
|
+
opacity: 0;
|
|
588
|
+
transition: opacity 0.6s;
|
|
589
|
+
font-size: 0.75em;
|
|
590
|
+
visibility: hidden;
|
|
591
|
+
top: 40px;
|
|
592
|
+
white-space: pre;
|
|
593
|
+
}
|
|
594
|
+
.w-e-menu-tooltip-v5:after {
|
|
595
|
+
content: "";
|
|
596
|
+
position: absolute;
|
|
597
|
+
border-width: 5px;
|
|
598
|
+
border-style: solid;
|
|
599
|
+
opacity: 0;
|
|
600
|
+
transition: opacity 0.6s;
|
|
601
|
+
border-color: transparent transparent var(--w-e-toolbar-active-color) transparent;
|
|
602
|
+
visibility: hidden;
|
|
603
|
+
top: 30px;
|
|
604
|
+
}
|
|
605
|
+
.w-e-menu-tooltip-v5:hover:before,
|
|
606
|
+
.w-e-menu-tooltip-v5:hover:after {
|
|
607
|
+
opacity: 1;
|
|
608
|
+
visibility: visible;
|
|
609
|
+
}
|
|
610
|
+
.w-e-menu-tooltip-v5.tooltip-right:before {
|
|
611
|
+
left: 100%;
|
|
612
|
+
top: 10px;
|
|
613
|
+
}
|
|
614
|
+
.w-e-menu-tooltip-v5.tooltip-right:after {
|
|
615
|
+
left: 100%;
|
|
616
|
+
margin-left: -10px;
|
|
617
|
+
top: 16px;
|
|
618
|
+
border-color: transparent var(--w-e-toolbar-active-color) transparent transparent;
|
|
619
|
+
}
|
|
620
|
+
.w-e-bar-item-group .w-e-bar-item-menus-container {
|
|
621
|
+
display: none;
|
|
622
|
+
/* 默认隐藏 */
|
|
623
|
+
z-index: 1;
|
|
624
|
+
background-color: var(--w-e-toolbar-bg-color);
|
|
625
|
+
position: absolute;
|
|
626
|
+
top: 0;
|
|
627
|
+
left: 0;
|
|
628
|
+
margin-top: 40px;
|
|
629
|
+
border: 1px solid var(--w-e-toolbar-border-color);
|
|
630
|
+
border-radius: 3px;
|
|
631
|
+
box-shadow: 0 2px 10px #0000001f;
|
|
632
|
+
}
|
|
633
|
+
.w-e-bar-item-group:hover {
|
|
634
|
+
/* hover 时显示下级菜单 */
|
|
635
|
+
}
|
|
636
|
+
.w-e-bar-item-group:hover .w-e-bar-item-menus-container {
|
|
637
|
+
display: block;
|
|
638
|
+
}
|
|
639
|
+
.w-e-select-list {
|
|
640
|
+
z-index: 1;
|
|
641
|
+
position: absolute;
|
|
642
|
+
left: 0;
|
|
643
|
+
top: 0;
|
|
644
|
+
background-color: var(--w-e-toolbar-bg-color);
|
|
645
|
+
margin-top: 40px;
|
|
646
|
+
min-width: 100px;
|
|
647
|
+
border: 1px solid var(--w-e-toolbar-border-color);
|
|
648
|
+
border-radius: 3px;
|
|
649
|
+
box-shadow: 0 2px 10px #0000001f;
|
|
650
|
+
max-height: 350px;
|
|
651
|
+
overflow-y: auto;
|
|
652
|
+
}
|
|
653
|
+
.w-e-select-list ul {
|
|
654
|
+
list-style: none;
|
|
655
|
+
line-height: 1;
|
|
656
|
+
}
|
|
657
|
+
.w-e-select-list ul .selected {
|
|
658
|
+
background-color: var(--w-e-toolbar-active-bg-color);
|
|
659
|
+
}
|
|
660
|
+
.w-e-select-list ul li {
|
|
661
|
+
cursor: pointer;
|
|
662
|
+
padding: 7px 0 7px 25px;
|
|
663
|
+
position: relative;
|
|
664
|
+
text-align: left;
|
|
665
|
+
white-space: nowrap;
|
|
666
|
+
/* 不换行 */
|
|
667
|
+
}
|
|
668
|
+
.w-e-select-list ul li:hover {
|
|
669
|
+
background-color: var(--w-e-toolbar-active-bg-color);
|
|
670
|
+
}
|
|
671
|
+
.w-e-select-list ul li svg {
|
|
672
|
+
position: absolute;
|
|
673
|
+
left: 0;
|
|
674
|
+
margin-left: 5px;
|
|
675
|
+
top: 50%;
|
|
676
|
+
margin-top: -7px;
|
|
677
|
+
}
|
|
678
|
+
.w-e-bar-bottom .w-e-select-list {
|
|
679
|
+
top: inherit;
|
|
680
|
+
bottom: 0;
|
|
681
|
+
margin-top: 0;
|
|
682
|
+
margin-bottom: 40px;
|
|
683
|
+
}
|
|
684
|
+
.w-e-drop-panel {
|
|
685
|
+
z-index: 1;
|
|
686
|
+
background-color: var(--w-e-toolbar-bg-color);
|
|
687
|
+
position: absolute;
|
|
688
|
+
top: 0;
|
|
689
|
+
border: 1px solid var(--w-e-toolbar-border-color);
|
|
690
|
+
border-radius: 3px;
|
|
691
|
+
box-shadow: 0 2px 10px #0000001f;
|
|
692
|
+
margin-top: 40px;
|
|
693
|
+
min-width: 200px;
|
|
694
|
+
padding: 10px;
|
|
695
|
+
}
|
|
696
|
+
.w-e-bar-bottom .w-e-drop-panel {
|
|
697
|
+
top: inherit;
|
|
698
|
+
bottom: 0;
|
|
699
|
+
margin-top: 0;
|
|
700
|
+
margin-bottom: 40px;
|
|
701
|
+
}
|
|
702
|
+
.w-e-modal {
|
|
703
|
+
z-index: 1;
|
|
704
|
+
background-color: var(--w-e-toolbar-bg-color);
|
|
705
|
+
position: absolute;
|
|
706
|
+
padding: 20px 15px 0 15px;
|
|
707
|
+
min-width: 100px;
|
|
708
|
+
min-height: 40px;
|
|
709
|
+
color: var(--w-e-toolbar-color);
|
|
710
|
+
text-align: left;
|
|
711
|
+
font-size: 14px;
|
|
712
|
+
border: 1px solid var(--w-e-toolbar-border-color);
|
|
713
|
+
border-radius: 3px;
|
|
714
|
+
box-shadow: 0 2px 10px #0000001f;
|
|
715
|
+
}
|
|
716
|
+
.w-e-modal .btn-close {
|
|
717
|
+
position: absolute;
|
|
718
|
+
right: 8px;
|
|
719
|
+
top: 7px;
|
|
720
|
+
cursor: pointer;
|
|
721
|
+
padding: 5px;
|
|
722
|
+
line-height: 1;
|
|
723
|
+
}
|
|
724
|
+
.w-e-modal .btn-close svg {
|
|
725
|
+
width: 10px;
|
|
726
|
+
height: 10px;
|
|
727
|
+
fill: var(--w-e-toolbar-color);
|
|
728
|
+
}
|
|
729
|
+
.w-e-modal .babel-container {
|
|
730
|
+
display: block;
|
|
731
|
+
margin-bottom: 15px;
|
|
732
|
+
}
|
|
733
|
+
.w-e-modal .babel-container span {
|
|
734
|
+
display: block;
|
|
735
|
+
margin-bottom: 10px;
|
|
736
|
+
}
|
|
737
|
+
.w-e-modal .button-container {
|
|
738
|
+
margin-bottom: 15px;
|
|
739
|
+
}
|
|
740
|
+
.w-e-modal button {
|
|
741
|
+
font-weight: 400;
|
|
742
|
+
white-space: nowrap;
|
|
743
|
+
cursor: pointer;
|
|
744
|
+
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
745
|
+
-webkit-user-select: none;
|
|
746
|
+
-moz-user-select: none;
|
|
747
|
+
user-select: none;
|
|
748
|
+
touch-action: manipulation;
|
|
749
|
+
height: 32px;
|
|
750
|
+
padding: 4.5px 15px;
|
|
751
|
+
color: var(--w-e-toolbar-color);
|
|
752
|
+
background-color: var(--w-e-modal-button-bg-color);
|
|
753
|
+
text-align: center;
|
|
754
|
+
border: 1px solid var(--w-e-modal-button-border-color);
|
|
755
|
+
border-radius: 4px;
|
|
756
|
+
}
|
|
757
|
+
.w-e-modal textarea,
|
|
758
|
+
.w-e-modal input[type="text"],
|
|
759
|
+
.w-e-modal input[type="number"] {
|
|
760
|
+
font-variant: tabular-nums;
|
|
761
|
+
font-feature-settings: "tnum";
|
|
762
|
+
padding: 4.5px 11px;
|
|
763
|
+
color: var(--w-e-toolbar-color);
|
|
764
|
+
background-color: var(--w-e-toolbar-bg-color);
|
|
765
|
+
border: 1px solid var(--w-e-modal-button-border-color);
|
|
766
|
+
border-radius: 4px;
|
|
767
|
+
transition: all 0.3s;
|
|
768
|
+
width: 100%;
|
|
769
|
+
}
|
|
770
|
+
.w-e-modal textarea {
|
|
771
|
+
min-height: 60px;
|
|
772
|
+
}
|
|
773
|
+
body .w-e-modal {
|
|
774
|
+
box-sizing: border-box;
|
|
775
|
+
}
|
|
776
|
+
body .w-e-modal * {
|
|
777
|
+
box-sizing: border-box;
|
|
778
|
+
}
|
|
779
|
+
.w-e-progress-bar {
|
|
780
|
+
position: absolute;
|
|
781
|
+
width: 0;
|
|
782
|
+
height: 1px;
|
|
783
|
+
background-color: var(--w-e-textarea-handler-bg-color);
|
|
784
|
+
transition: width 0.3s;
|
|
785
|
+
}
|
|
786
|
+
.w-e-full-screen-container {
|
|
787
|
+
position: fixed;
|
|
788
|
+
margin: 0 !important;
|
|
789
|
+
padding: 0 !important;
|
|
790
|
+
top: 0 !important;
|
|
791
|
+
left: 0 !important;
|
|
792
|
+
right: 0 !important;
|
|
793
|
+
bottom: 0 !important;
|
|
794
|
+
height: 100% !important;
|
|
795
|
+
width: 100% !important;
|
|
796
|
+
display: flex !important;
|
|
797
|
+
flex-direction: column !important;
|
|
798
|
+
}
|
|
799
|
+
.w-e-full-screen-container [data-w-e-textarea="true"] {
|
|
800
|
+
flex: 1 !important;
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
.w-e-text-container [data-slate-editor] code {
|
|
804
|
+
font-family: monospace;
|
|
805
|
+
background-color: var(--w-e-textarea-slight-bg-color);
|
|
806
|
+
padding: 3px;
|
|
807
|
+
border-radius: 3px;
|
|
808
|
+
}
|
|
809
|
+
.w-e-panel-content-color {
|
|
810
|
+
list-style: none;
|
|
811
|
+
text-align: left;
|
|
812
|
+
width: 230px;
|
|
813
|
+
}
|
|
814
|
+
.w-e-panel-content-color li {
|
|
815
|
+
display: inline-block;
|
|
816
|
+
padding: 2px;
|
|
817
|
+
cursor: pointer;
|
|
818
|
+
border-radius: 3px 3px;
|
|
819
|
+
border: 1px solid var(--w-e-toolbar-bg-color);
|
|
820
|
+
}
|
|
821
|
+
.w-e-panel-content-color li:hover {
|
|
822
|
+
border-color: var(--w-e-toolbar-color);
|
|
823
|
+
}
|
|
824
|
+
.w-e-panel-content-color li .color-block {
|
|
825
|
+
width: 17px;
|
|
826
|
+
height: 17px;
|
|
827
|
+
border: 1px solid var(--w-e-toolbar-border-color);
|
|
828
|
+
border-radius: 3px 3px;
|
|
829
|
+
}
|
|
830
|
+
.w-e-panel-content-color .active {
|
|
831
|
+
border-color: var(--w-e-toolbar-color);
|
|
832
|
+
}
|
|
833
|
+
.w-e-panel-content-color .clear {
|
|
834
|
+
width: 100%;
|
|
835
|
+
line-height: 1.5;
|
|
836
|
+
margin-bottom: 5px;
|
|
837
|
+
}
|
|
838
|
+
.w-e-panel-content-color .clear svg {
|
|
839
|
+
width: 16px;
|
|
840
|
+
height: 16px;
|
|
841
|
+
margin-bottom: -4px;
|
|
842
|
+
}
|
|
843
|
+
.w-e-text-container [data-slate-editor] blockquote {
|
|
844
|
+
display: block;
|
|
845
|
+
border-left: 8px solid var(--w-e-textarea-selected-border-color);
|
|
846
|
+
padding: 10px 10px;
|
|
847
|
+
margin: 10px 0;
|
|
848
|
+
line-height: 1.5;
|
|
849
|
+
font-size: 100%;
|
|
850
|
+
background-color: var(--w-e-textarea-slight-bg-color);
|
|
851
|
+
}
|
|
852
|
+
.w-e-panel-content-emotion {
|
|
853
|
+
list-style: none;
|
|
854
|
+
text-align: left;
|
|
855
|
+
width: 300px;
|
|
856
|
+
font-size: 20px;
|
|
857
|
+
}
|
|
858
|
+
.w-e-panel-content-emotion li {
|
|
859
|
+
display: inline-block;
|
|
860
|
+
padding: 0 5px;
|
|
861
|
+
cursor: pointer;
|
|
862
|
+
border-radius: 3px 3px;
|
|
863
|
+
}
|
|
864
|
+
.w-e-panel-content-emotion li:hover {
|
|
865
|
+
background-color: var(--w-e-textarea-slight-bg-color);
|
|
866
|
+
}
|
|
867
|
+
.w-e-textarea-divider {
|
|
868
|
+
padding: 20px 20px;
|
|
869
|
+
margin: 20px auto;
|
|
870
|
+
border-radius: 3px;
|
|
871
|
+
}
|
|
872
|
+
.w-e-textarea-divider hr {
|
|
873
|
+
display: block;
|
|
874
|
+
border: 0;
|
|
875
|
+
height: 1px;
|
|
876
|
+
background-color: var(--w-e-textarea-border-color);
|
|
877
|
+
}
|
|
878
|
+
.w-e-text-container [data-slate-editor] pre > code {
|
|
879
|
+
display: block;
|
|
880
|
+
border: 1px solid var(--w-e-textarea-slight-border-color);
|
|
881
|
+
border-radius: 4px 4px;
|
|
882
|
+
text-indent: 0;
|
|
883
|
+
background-color: var(--w-e-textarea-slight-bg-color);
|
|
884
|
+
padding: 10px;
|
|
885
|
+
font-size: 14px;
|
|
886
|
+
}
|
|
887
|
+
.w-e-text-container [data-slate-editor] .w-e-image-container {
|
|
888
|
+
display: inline-block;
|
|
889
|
+
margin: 0 3px;
|
|
890
|
+
}
|
|
891
|
+
.w-e-text-container [data-slate-editor] .w-e-image-container:hover {
|
|
892
|
+
box-shadow: 0 0 0 2px var(--w-e-textarea-selected-border-color);
|
|
893
|
+
}
|
|
894
|
+
.w-e-text-container [data-slate-editor] .w-e-selected-image-container {
|
|
895
|
+
position: relative;
|
|
896
|
+
overflow: hidden;
|
|
897
|
+
}
|
|
898
|
+
.w-e-text-container [data-slate-editor] .w-e-selected-image-container .w-e-image-dragger {
|
|
899
|
+
width: 7px;
|
|
900
|
+
height: 7px;
|
|
901
|
+
background-color: var(--w-e-textarea-handler-bg-color);
|
|
902
|
+
position: absolute;
|
|
903
|
+
}
|
|
904
|
+
.w-e-text-container [data-slate-editor] .w-e-selected-image-container .left-top {
|
|
905
|
+
top: 0;
|
|
906
|
+
left: 0;
|
|
907
|
+
cursor: nwse-resize;
|
|
908
|
+
}
|
|
909
|
+
.w-e-text-container [data-slate-editor] .w-e-selected-image-container .right-top {
|
|
910
|
+
top: 0;
|
|
911
|
+
right: 0;
|
|
912
|
+
cursor: nesw-resize;
|
|
913
|
+
}
|
|
914
|
+
.w-e-text-container [data-slate-editor] .w-e-selected-image-container .left-bottom {
|
|
915
|
+
left: 0;
|
|
916
|
+
bottom: 0;
|
|
917
|
+
cursor: nesw-resize;
|
|
918
|
+
}
|
|
919
|
+
.w-e-text-container [data-slate-editor] .w-e-selected-image-container .right-bottom {
|
|
920
|
+
right: 0;
|
|
921
|
+
bottom: 0;
|
|
922
|
+
cursor: nwse-resize;
|
|
923
|
+
}
|
|
924
|
+
.w-e-text-container [data-slate-editor] .w-e-selected-image-container:hover {
|
|
925
|
+
box-shadow: none;
|
|
926
|
+
}
|
|
927
|
+
.w-e-text-container [contenteditable="false"] .w-e-image-container:hover {
|
|
928
|
+
box-shadow: none;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
|
|
932
|
+
.w-e-text-container [data-slate-editor] {
|
|
933
|
+
/* 干掉 Chrome 默认选区样式*/
|
|
934
|
+
/* 拖动 Style */
|
|
935
|
+
}
|
|
936
|
+
.w-e-text-container [data-slate-editor] .table-container {
|
|
937
|
+
width: 100%;
|
|
938
|
+
overflow-x: auto;
|
|
939
|
+
padding: 0px;
|
|
940
|
+
border-radius: 0px;
|
|
941
|
+
margin-top: 10px;
|
|
942
|
+
position: relative;
|
|
943
|
+
}
|
|
944
|
+
.w-e-text-container [data-slate-editor] table {
|
|
945
|
+
border-collapse: collapse;
|
|
946
|
+
table-layout: fixed;
|
|
947
|
+
/* 选区拖影 */
|
|
948
|
+
}
|
|
949
|
+
.w-e-text-container [data-slate-editor] table td,
|
|
950
|
+
.w-e-text-container [data-slate-editor] table th {
|
|
951
|
+
border: 1px solid var(--w-e-textarea-border-color);
|
|
952
|
+
padding: 3px 5px;
|
|
953
|
+
min-width: 30px;
|
|
954
|
+
line-height: 1.5;
|
|
955
|
+
/* 强制换行,table column 宽度必须拖动增大 */
|
|
956
|
+
overflow: hidden;
|
|
957
|
+
overflow-wrap: break-word;
|
|
958
|
+
word-break: break-all;
|
|
959
|
+
white-space: pre-wrap;
|
|
960
|
+
}
|
|
961
|
+
.w-e-text-container [data-slate-editor] table th {
|
|
962
|
+
background-color: var(--w-e-textarea-slight-bg-color);
|
|
963
|
+
text-align: center;
|
|
964
|
+
font-weight: bold;
|
|
965
|
+
}
|
|
966
|
+
.w-e-text-container [data-slate-editor] table td.w-e-selected,
|
|
967
|
+
.w-e-text-container [data-slate-editor] table th.w-e-selected {
|
|
968
|
+
background-color: rgba(20, 86, 240, 0.18);
|
|
969
|
+
}
|
|
970
|
+
.w-e-text-container [data-slate-editor] table.table-selection-none *::-moz-selection {
|
|
971
|
+
background: none;
|
|
972
|
+
}
|
|
973
|
+
.w-e-text-container [data-slate-editor] table.table-selection-none *::selection {
|
|
974
|
+
background: none;
|
|
975
|
+
}
|
|
976
|
+
.w-e-text-container [data-slate-editor] .column-resizer {
|
|
977
|
+
position: absolute;
|
|
978
|
+
display: flex;
|
|
979
|
+
top: 0px;
|
|
980
|
+
left: 0px;
|
|
981
|
+
width: 0;
|
|
982
|
+
height: 0;
|
|
983
|
+
z-index: 1;
|
|
984
|
+
}
|
|
985
|
+
.w-e-text-container [data-slate-editor] .column-resizer .column-resizer-item {
|
|
986
|
+
position: relative;
|
|
987
|
+
}
|
|
988
|
+
.w-e-text-container [data-slate-editor] .resizer-line-hotzone {
|
|
989
|
+
cursor: col-resize;
|
|
990
|
+
position: absolute;
|
|
991
|
+
width: 6px;
|
|
992
|
+
right: 0px;
|
|
993
|
+
visibility: hidden;
|
|
994
|
+
opacity: 0;
|
|
995
|
+
transition: opacity 0.2s ease, visibility 0.2s ease;
|
|
996
|
+
}
|
|
997
|
+
.w-e-text-container [data-slate-editor] .resizer-line-hotzone .resizer-line {
|
|
998
|
+
height: 100%;
|
|
999
|
+
width: 2px;
|
|
1000
|
+
margin-left: 5px;
|
|
1001
|
+
background: rgba(20, 86, 240, 0.8);
|
|
1002
|
+
-webkit-user-select: none;
|
|
1003
|
+
-moz-user-select: none;
|
|
1004
|
+
user-select: none;
|
|
1005
|
+
}
|
|
1006
|
+
.w-e-text-container [data-slate-editor] .resizer-line-hotzone.visible {
|
|
1007
|
+
visibility: visible;
|
|
1008
|
+
}
|
|
1009
|
+
.w-e-text-container [data-slate-editor] .resizer-line-hotzone.highlight {
|
|
1010
|
+
opacity: 1;
|
|
1011
|
+
}
|
|
1012
|
+
.w-e-panel-content-table {
|
|
1013
|
+
background-color: var(--w-e-toolbar-bg-color);
|
|
1014
|
+
}
|
|
1015
|
+
.w-e-panel-content-table table {
|
|
1016
|
+
border-collapse: collapse;
|
|
1017
|
+
table-layout: fixed;
|
|
1018
|
+
}
|
|
1019
|
+
.w-e-panel-content-table th,
|
|
1020
|
+
.w-e-panel-content-table td {
|
|
1021
|
+
overflow: hidden;
|
|
1022
|
+
overflow-wrap: break-word;
|
|
1023
|
+
word-break: break-all;
|
|
1024
|
+
white-space: pre-wrap;
|
|
1025
|
+
}
|
|
1026
|
+
.w-e-panel-content-table td {
|
|
1027
|
+
border: 1px solid var(--w-e-toolbar-border-color);
|
|
1028
|
+
padding: 3px 5px;
|
|
1029
|
+
width: 20px;
|
|
1030
|
+
height: 15px;
|
|
1031
|
+
cursor: pointer;
|
|
1032
|
+
}
|
|
1033
|
+
.w-e-panel-content-table td.active {
|
|
1034
|
+
background-color: var(--w-e-toolbar-active-bg-color);
|
|
1035
|
+
}
|
|
1036
|
+
.w-e-modal .babel-container span.babel-container-border {
|
|
1037
|
+
display: flex;
|
|
1038
|
+
}
|
|
1039
|
+
.w-e-modal .babel-container span.babel-container-border > * {
|
|
1040
|
+
height: 28px;
|
|
1041
|
+
border: 1px solid var(--w-e-modal-button-border-color);
|
|
1042
|
+
border-radius: 2px;
|
|
1043
|
+
}
|
|
1044
|
+
.w-e-modal .babel-container span.babel-container-border select {
|
|
1045
|
+
width: 114px;
|
|
1046
|
+
}
|
|
1047
|
+
.w-e-modal .babel-container span.babel-container-border > :nth-child(n+2) {
|
|
1048
|
+
margin-left: 8px;
|
|
1049
|
+
}
|
|
1050
|
+
.w-e-modal .babel-container span.babel-container-border input:nth-child(3) {
|
|
1051
|
+
width: 100px;
|
|
1052
|
+
}
|
|
1053
|
+
.w-e-modal .babel-container span.babel-container-background input {
|
|
1054
|
+
height: 28px;
|
|
1055
|
+
border: 1px solid var(--w-e-modal-button-border-color);
|
|
1056
|
+
border-radius: 2px;
|
|
1057
|
+
width: 60px;
|
|
1058
|
+
}
|
|
1059
|
+
.w-e-modal .babel-container span.babel-container-algin select {
|
|
1060
|
+
height: 28px;
|
|
1061
|
+
border: 1px solid var(--w-e-modal-button-border-color);
|
|
1062
|
+
border-radius: 2px;
|
|
1063
|
+
}
|
|
1064
|
+
.w-e-modal .babel-container .color-group {
|
|
1065
|
+
position: relative;
|
|
1066
|
+
width: 28px;
|
|
1067
|
+
height: 28px;
|
|
1068
|
+
border: 1px solid var(--w-e-modal-button-border-color);
|
|
1069
|
+
border-radius: 2px;
|
|
1070
|
+
cursor: pointer;
|
|
1071
|
+
}
|
|
1072
|
+
.w-e-modal .babel-container .color-group .w-e-drop-panel {
|
|
1073
|
+
margin-top: 28px;
|
|
1074
|
+
}
|
|
1075
|
+
.w-e-modal .babel-container .color-group-block {
|
|
1076
|
+
display: block;
|
|
1077
|
+
width: 80%;
|
|
1078
|
+
height: 80%;
|
|
1079
|
+
margin: 10%;
|
|
1080
|
+
}
|
|
1081
|
+
.w-e-modal .babel-container .color-group-block svg {
|
|
1082
|
+
width: 20px;
|
|
1083
|
+
height: 20px;
|
|
1084
|
+
margin: 1px 0px;
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
.w-e-textarea-video-container {
|
|
1088
|
+
text-align: center;
|
|
1089
|
+
border: 1px dashed var(--w-e-textarea-border-color);
|
|
1090
|
+
padding: 10px 0;
|
|
1091
|
+
margin: 0 auto;
|
|
1092
|
+
margin-top: 10px;
|
|
1093
|
+
border-radius: 5px;
|
|
1094
|
+
overflow: auto;
|
|
1095
|
+
background-position: 0px 0px, 10px 10px;
|
|
1096
|
+
background-size: 20px 20px;
|
|
1097
|
+
background-image: linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%, #eee 100%), linear-gradient(45deg, #eee 25%, white 25%, white 75%, #eee 75%, #eee 100%);
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
|
|
1101
|
+
.w-e-text-container [data-slate-editor] pre > code {
|
|
1102
|
+
text-shadow: 0 1px white;
|
|
1103
|
+
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
|
1104
|
+
text-align: left;
|
|
1105
|
+
white-space: pre;
|
|
1106
|
+
word-spacing: normal;
|
|
1107
|
+
word-break: normal;
|
|
1108
|
+
word-wrap: normal;
|
|
1109
|
+
line-height: 1.5;
|
|
1110
|
+
-moz-tab-size: 4;
|
|
1111
|
+
-o-tab-size: 4;
|
|
1112
|
+
tab-size: 4;
|
|
1113
|
+
hyphens: none;
|
|
1114
|
+
padding: 1em;
|
|
1115
|
+
margin: 0.5em 0;
|
|
1116
|
+
overflow: auto;
|
|
1117
|
+
}
|
|
1118
|
+
.w-e-text-container [data-slate-editor] pre > code .token.comment,
|
|
1119
|
+
.w-e-text-container [data-slate-editor] pre > code .token.prolog,
|
|
1120
|
+
.w-e-text-container [data-slate-editor] pre > code .token.doctype,
|
|
1121
|
+
.w-e-text-container [data-slate-editor] pre > code .token.cdata {
|
|
1122
|
+
color: slategray;
|
|
1123
|
+
}
|
|
1124
|
+
.w-e-text-container [data-slate-editor] pre > code .token.punctuation {
|
|
1125
|
+
color: #999;
|
|
1126
|
+
}
|
|
1127
|
+
.w-e-text-container [data-slate-editor] pre > code .token.namespace {
|
|
1128
|
+
opacity: 0.7;
|
|
1129
|
+
}
|
|
1130
|
+
.w-e-text-container [data-slate-editor] pre > code .token.property,
|
|
1131
|
+
.w-e-text-container [data-slate-editor] pre > code .token.tag,
|
|
1132
|
+
.w-e-text-container [data-slate-editor] pre > code .token.boolean,
|
|
1133
|
+
.w-e-text-container [data-slate-editor] pre > code .token.number,
|
|
1134
|
+
.w-e-text-container [data-slate-editor] pre > code .token.constant,
|
|
1135
|
+
.w-e-text-container [data-slate-editor] pre > code .token.symbol,
|
|
1136
|
+
.w-e-text-container [data-slate-editor] pre > code .token.deleted {
|
|
1137
|
+
color: #905;
|
|
1138
|
+
}
|
|
1139
|
+
.w-e-text-container [data-slate-editor] pre > code .token.selector,
|
|
1140
|
+
.w-e-text-container [data-slate-editor] pre > code .token.attr-name,
|
|
1141
|
+
.w-e-text-container [data-slate-editor] pre > code .token.string,
|
|
1142
|
+
.w-e-text-container [data-slate-editor] pre > code .token.char,
|
|
1143
|
+
.w-e-text-container [data-slate-editor] pre > code .token.builtin,
|
|
1144
|
+
.w-e-text-container [data-slate-editor] pre > code .token.inserted {
|
|
1145
|
+
color: #690;
|
|
1146
|
+
}
|
|
1147
|
+
.w-e-text-container [data-slate-editor] pre > code .token.operator,
|
|
1148
|
+
.w-e-text-container [data-slate-editor] pre > code .token.entity,
|
|
1149
|
+
.w-e-text-container [data-slate-editor] pre > code .token.url,
|
|
1150
|
+
.w-e-text-container [data-slate-editor] pre > code .language-css .token.string,
|
|
1151
|
+
.w-e-text-container [data-slate-editor] pre > code .style .token.string {
|
|
1152
|
+
color: #9a6e3a;
|
|
1153
|
+
}
|
|
1154
|
+
.w-e-text-container [data-slate-editor] pre > code .token.atrule,
|
|
1155
|
+
.w-e-text-container [data-slate-editor] pre > code .token.attr-value,
|
|
1156
|
+
.w-e-text-container [data-slate-editor] pre > code .token.keyword {
|
|
1157
|
+
color: #07a;
|
|
1158
|
+
}
|
|
1159
|
+
.w-e-text-container [data-slate-editor] pre > code .token.function,
|
|
1160
|
+
.w-e-text-container [data-slate-editor] pre > code .token.class-name {
|
|
1161
|
+
color: #DD4A68;
|
|
1162
|
+
}
|
|
1163
|
+
.w-e-text-container [data-slate-editor] pre > code .token.regex,
|
|
1164
|
+
.w-e-text-container [data-slate-editor] pre > code .token.important,
|
|
1165
|
+
.w-e-text-container [data-slate-editor] pre > code .token.variable {
|
|
1166
|
+
color: #e90;
|
|
1167
|
+
}
|
|
1168
|
+
.w-e-text-container [data-slate-editor] pre > code .token.important,
|
|
1169
|
+
.w-e-text-container [data-slate-editor] pre > code .token.bold {
|
|
1170
|
+
font-weight: bold;
|
|
1171
|
+
}
|
|
1172
|
+
.w-e-text-container [data-slate-editor] pre > code .token.italic {
|
|
1173
|
+
font-style: italic;
|
|
1174
|
+
}
|
|
1175
|
+
.w-e-text-container [data-slate-editor] pre > code .token.entity {
|
|
1176
|
+
cursor: help;
|
|
1177
|
+
}
|
|
8
1178
|
|
|
9
|
-
.w-e-text-container [data-slate-editor] pre>code{font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;text-align:left;text-shadow:0 1px #fff;white-space:pre;word-break:normal;word-spacing:normal;word-wrap:normal;-webkit-hyphens:none;hyphens:none;line-height:1.5;margin:.5em 0;overflow:auto;padding:1em;-moz-tab-size:4;-o-tab-size:4;tab-size:4}.w-e-text-container [data-slate-editor] pre>code .token.cdata,.w-e-text-container [data-slate-editor] pre>code .token.comment,.w-e-text-container [data-slate-editor] pre>code .token.doctype,.w-e-text-container [data-slate-editor] pre>code .token.prolog{color:#708090}.w-e-text-container [data-slate-editor] pre>code .token.punctuation{color:#999}.w-e-text-container [data-slate-editor] pre>code .token.namespace{opacity:.7}.w-e-text-container [data-slate-editor] pre>code .token.boolean,.w-e-text-container [data-slate-editor] pre>code .token.constant,.w-e-text-container [data-slate-editor] pre>code .token.deleted,.w-e-text-container [data-slate-editor] pre>code .token.number,.w-e-text-container [data-slate-editor] pre>code .token.property,.w-e-text-container [data-slate-editor] pre>code .token.symbol,.w-e-text-container [data-slate-editor] pre>code .token.tag{color:#905}.w-e-text-container [data-slate-editor] pre>code .token.attr-name,.w-e-text-container [data-slate-editor] pre>code .token.builtin,.w-e-text-container [data-slate-editor] pre>code .token.char,.w-e-text-container [data-slate-editor] pre>code .token.inserted,.w-e-text-container [data-slate-editor] pre>code .token.selector,.w-e-text-container [data-slate-editor] pre>code .token.string{color:#690}.w-e-text-container [data-slate-editor] pre>code .language-css .token.string,.w-e-text-container [data-slate-editor] pre>code .style .token.string,.w-e-text-container [data-slate-editor] pre>code .token.entity,.w-e-text-container [data-slate-editor] pre>code .token.operator,.w-e-text-container [data-slate-editor] pre>code .token.url{color:#9a6e3a}.w-e-text-container [data-slate-editor] pre>code .token.atrule,.w-e-text-container [data-slate-editor] pre>code .token.attr-value,.w-e-text-container [data-slate-editor] pre>code .token.keyword{color:#07a}.w-e-text-container [data-slate-editor] pre>code .token.class-name,.w-e-text-container [data-slate-editor] pre>code .token.function{color:#dd4a68}.w-e-text-container [data-slate-editor] pre>code .token.important,.w-e-text-container [data-slate-editor] pre>code .token.regex,.w-e-text-container [data-slate-editor] pre>code .token.variable{color:#e90}.w-e-text-container [data-slate-editor] pre>code .token.bold,.w-e-text-container [data-slate-editor] pre>code .token.important{font-weight:700}.w-e-text-container [data-slate-editor] pre>code .token.italic{font-style:italic}.w-e-text-container [data-slate-editor] pre>code .token.entity{cursor:help}
|
|
10
1179
|
@font-face{font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(fonts/KaTeX_AMS-Regular.woff2) format("woff2"),url(fonts/KaTeX_AMS-Regular.woff) format("woff"),url(fonts/KaTeX_AMS-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(fonts/KaTeX_Caligraphic-Bold.woff2) format("woff2"),url(fonts/KaTeX_Caligraphic-Bold.woff) format("woff"),url(fonts/KaTeX_Caligraphic-Bold.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Caligraphic-Regular.woff2) format("woff2"),url(fonts/KaTeX_Caligraphic-Regular.woff) format("woff"),url(fonts/KaTeX_Caligraphic-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(fonts/KaTeX_Fraktur-Bold.woff2) format("woff2"),url(fonts/KaTeX_Fraktur-Bold.woff) format("woff"),url(fonts/KaTeX_Fraktur-Bold.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Fraktur-Regular.woff2) format("woff2"),url(fonts/KaTeX_Fraktur-Regular.woff) format("woff"),url(fonts/KaTeX_Fraktur-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(fonts/KaTeX_Main-Bold.woff2) format("woff2"),url(fonts/KaTeX_Main-Bold.woff) format("woff"),url(fonts/KaTeX_Main-Bold.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(fonts/KaTeX_Main-BoldItalic.woff2) format("woff2"),url(fonts/KaTeX_Main-BoldItalic.woff) format("woff"),url(fonts/KaTeX_Main-BoldItalic.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(fonts/KaTeX_Main-Italic.woff2) format("woff2"),url(fonts/KaTeX_Main-Italic.woff) format("woff"),url(fonts/KaTeX_Main-Italic.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Main-Regular.woff2) format("woff2"),url(fonts/KaTeX_Main-Regular.woff) format("woff"),url(fonts/KaTeX_Main-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(fonts/KaTeX_Math-BoldItalic.woff2) format("woff2"),url(fonts/KaTeX_Math-BoldItalic.woff) format("woff"),url(fonts/KaTeX_Math-BoldItalic.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(fonts/KaTeX_Math-Italic.woff2) format("woff2"),url(fonts/KaTeX_Math-Italic.woff) format("woff"),url(fonts/KaTeX_Math-Italic.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:normal;font-weight:700;src:url(fonts/KaTeX_SansSerif-Bold.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Bold.woff) format("woff"),url(fonts/KaTeX_SansSerif-Bold.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:italic;font-weight:400;src:url(fonts/KaTeX_SansSerif-Italic.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Italic.woff) format("woff"),url(fonts/KaTeX_SansSerif-Italic.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:normal;font-weight:400;src:url(fonts/KaTeX_SansSerif-Regular.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Regular.woff) format("woff"),url(fonts/KaTeX_SansSerif-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Script-Regular.woff2) format("woff2"),url(fonts/KaTeX_Script-Regular.woff) format("woff"),url(fonts/KaTeX_Script-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size1-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size1-Regular.woff) format("woff"),url(fonts/KaTeX_Size1-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size2-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size2-Regular.woff) format("woff"),url(fonts/KaTeX_Size2-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size3-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size3-Regular.woff) format("woff"),url(fonts/KaTeX_Size3-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size4-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size4-Regular.woff) format("woff"),url(fonts/KaTeX_Size4-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Typewriter-Regular.woff2) format("woff2"),url(fonts/KaTeX_Typewriter-Regular.woff) format("woff"),url(fonts/KaTeX_Typewriter-Regular.ttf) format("truetype")}.katex{font:normal 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.22"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .mathsfit,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.2777777778em;margin-right:-.5555555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.1666666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.6666666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.4566666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.1466666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.7142857143em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.8571428571em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.1428571429em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.2857142857em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.4285714286em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.7142857143em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.0571428571em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.4685714286em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.9628571429em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.5542857143em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.7777777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.8888888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.1111111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.3044444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.7644444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.5833333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.7283333333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.0733333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.4861111111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.4402777778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.7277777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.2893518519em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.4050925926em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.462962963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.5208333333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.2002314815em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.4398148148em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.2410800386em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.2892960463em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.337512054em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.3857280617em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.4339440694em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.4821600771em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.5785920926em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.6943105111em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.8331726133em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.1996142719em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.2009646302em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.2411575563em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.2813504823em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.3215434084em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.3617363344em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.4019292605em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.4823151125em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.578778135em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.6945337621em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.8336012862em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo}
|
|
11
|
-
.w-e-text-container [data-slate-editor] code{background-color:var(--w-e-textarea-slight-bg-color);border-radius:3px;font-family:monospace;padding:3px}.w-e-panel-content-color{list-style:none;text-align:left;width:230px}.w-e-panel-content-color li{border:1px solid var(--w-e-toolbar-bg-color);border-radius:3px 3px;cursor:pointer;display:inline-block;padding:2px}.w-e-panel-content-color li:hover{border-color:var(--w-e-toolbar-color)}.w-e-panel-content-color li .color-block{border:1px solid var(--w-e-toolbar-border-color);border-radius:3px 3px;height:17px;width:17px}.w-e-panel-content-color .active{border-color:var(--w-e-toolbar-color)}.w-e-panel-content-color .clear{line-height:1.5;margin-bottom:5px;width:100%}.w-e-panel-content-color .clear svg{height:16px;margin-bottom:-4px;width:16px}.w-e-text-container [data-slate-editor] blockquote{background-color:var(--w-e-textarea-slight-bg-color);border-left:8px solid var(--w-e-textarea-selected-border-color);display:block;font-size:100%;line-height:1.5;margin:10px 0;padding:10px}.w-e-panel-content-emotion{font-size:20px;list-style:none;text-align:left;width:300px}.w-e-panel-content-emotion li{border-radius:3px 3px;cursor:pointer;display:inline-block;padding:0 5px}.w-e-panel-content-emotion li:hover{background-color:var(--w-e-textarea-slight-bg-color)}.w-e-textarea-divider{border-radius:3px;margin:20px auto;padding:20px}.w-e-textarea-divider hr{background-color:var(--w-e-textarea-border-color);border:0;display:block;height:1px}.w-e-text-container [data-slate-editor] pre>code{background-color:var(--w-e-textarea-slight-bg-color);border:1px solid var(--w-e-textarea-slight-border-color);border-radius:4px 4px;display:block;font-size:14px;padding:10px;text-indent:0}.w-e-text-container [data-slate-editor] .w-e-image-container{display:inline-block;margin:0 3px}.w-e-text-container [data-slate-editor] .w-e-image-container:hover{box-shadow:0 0 0 2px var(--w-e-textarea-selected-border-color)}.w-e-text-container [data-slate-editor] .w-e-selected-image-container{overflow:hidden;position:relative}.w-e-text-container [data-slate-editor] .w-e-selected-image-container .w-e-image-dragger{background-color:var(--w-e-textarea-handler-bg-color);height:7px;position:absolute;width:7px}.w-e-text-container [data-slate-editor] .w-e-selected-image-container .left-top{cursor:nwse-resize;left:0;top:0}.w-e-text-container [data-slate-editor] .w-e-selected-image-container .right-top{cursor:nesw-resize;right:0;top:0}.w-e-text-container [data-slate-editor] .w-e-selected-image-container .left-bottom{bottom:0;cursor:nesw-resize;left:0}.w-e-text-container [data-slate-editor] .w-e-selected-image-container .right-bottom{bottom:0;cursor:nwse-resize;right:0}.w-e-text-container [contenteditable=false] .w-e-image-container:hover,.w-e-text-container [data-slate-editor] .w-e-selected-image-container:hover{box-shadow:none}
|
|
12
|
-
.w-e-text-container [data-slate-editor] pre>code{font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;text-align:left;text-shadow:0 1px #fff;white-space:pre;word-break:normal;word-spacing:normal;word-wrap:normal;-webkit-hyphens:none;hyphens:none;line-height:1.5;margin:.5em 0;overflow:auto;padding:1em;-moz-tab-size:4;-o-tab-size:4;tab-size:4}.w-e-text-container [data-slate-editor] pre>code .token.cdata,.w-e-text-container [data-slate-editor] pre>code .token.comment,.w-e-text-container [data-slate-editor] pre>code .token.doctype,.w-e-text-container [data-slate-editor] pre>code .token.prolog{color:#708090}.w-e-text-container [data-slate-editor] pre>code .token.punctuation{color:#999}.w-e-text-container [data-slate-editor] pre>code .token.namespace{opacity:.7}.w-e-text-container [data-slate-editor] pre>code .token.boolean,.w-e-text-container [data-slate-editor] pre>code .token.constant,.w-e-text-container [data-slate-editor] pre>code .token.deleted,.w-e-text-container [data-slate-editor] pre>code .token.number,.w-e-text-container [data-slate-editor] pre>code .token.property,.w-e-text-container [data-slate-editor] pre>code .token.symbol,.w-e-text-container [data-slate-editor] pre>code .token.tag{color:#905}.w-e-text-container [data-slate-editor] pre>code .token.attr-name,.w-e-text-container [data-slate-editor] pre>code .token.builtin,.w-e-text-container [data-slate-editor] pre>code .token.char,.w-e-text-container [data-slate-editor] pre>code .token.inserted,.w-e-text-container [data-slate-editor] pre>code .token.selector,.w-e-text-container [data-slate-editor] pre>code .token.string{color:#690}.w-e-text-container [data-slate-editor] pre>code .language-css .token.string,.w-e-text-container [data-slate-editor] pre>code .style .token.string,.w-e-text-container [data-slate-editor] pre>code .token.entity,.w-e-text-container [data-slate-editor] pre>code .token.operator,.w-e-text-container [data-slate-editor] pre>code .token.url{color:#9a6e3a}.w-e-text-container [data-slate-editor] pre>code .token.atrule,.w-e-text-container [data-slate-editor] pre>code .token.attr-value,.w-e-text-container [data-slate-editor] pre>code .token.keyword{color:#07a}.w-e-text-container [data-slate-editor] pre>code .token.class-name,.w-e-text-container [data-slate-editor] pre>code .token.function{color:#dd4a68}.w-e-text-container [data-slate-editor] pre>code .token.important,.w-e-text-container [data-slate-editor] pre>code .token.regex,.w-e-text-container [data-slate-editor] pre>code .token.variable{color:#e90}.w-e-text-container [data-slate-editor] pre>code .token.bold,.w-e-text-container [data-slate-editor] pre>code .token.important{font-weight:700}.w-e-text-container [data-slate-editor] pre>code .token.italic{font-style:italic}.w-e-text-container [data-slate-editor] pre>code .token.entity{cursor:help}
|
|
13
1180
|
|
|
14
|
-
.w-e-text-container [data-slate-editor]
|
|
1181
|
+
.w-e-text-container [data-slate-editor] code {
|
|
1182
|
+
font-family: monospace;
|
|
1183
|
+
background-color: var(--w-e-textarea-slight-bg-color);
|
|
1184
|
+
padding: 3px;
|
|
1185
|
+
border-radius: 3px;
|
|
1186
|
+
}
|
|
1187
|
+
.w-e-panel-content-color {
|
|
1188
|
+
list-style: none;
|
|
1189
|
+
text-align: left;
|
|
1190
|
+
width: 230px;
|
|
1191
|
+
}
|
|
1192
|
+
.w-e-panel-content-color li {
|
|
1193
|
+
display: inline-block;
|
|
1194
|
+
padding: 2px;
|
|
1195
|
+
cursor: pointer;
|
|
1196
|
+
border-radius: 3px 3px;
|
|
1197
|
+
border: 1px solid var(--w-e-toolbar-bg-color);
|
|
1198
|
+
}
|
|
1199
|
+
.w-e-panel-content-color li:hover {
|
|
1200
|
+
border-color: var(--w-e-toolbar-color);
|
|
1201
|
+
}
|
|
1202
|
+
.w-e-panel-content-color li .color-block {
|
|
1203
|
+
width: 17px;
|
|
1204
|
+
height: 17px;
|
|
1205
|
+
border: 1px solid var(--w-e-toolbar-border-color);
|
|
1206
|
+
border-radius: 3px 3px;
|
|
1207
|
+
}
|
|
1208
|
+
.w-e-panel-content-color .active {
|
|
1209
|
+
border-color: var(--w-e-toolbar-color);
|
|
1210
|
+
}
|
|
1211
|
+
.w-e-panel-content-color .clear {
|
|
1212
|
+
width: 100%;
|
|
1213
|
+
line-height: 1.5;
|
|
1214
|
+
margin-bottom: 5px;
|
|
1215
|
+
}
|
|
1216
|
+
.w-e-panel-content-color .clear svg {
|
|
1217
|
+
width: 16px;
|
|
1218
|
+
height: 16px;
|
|
1219
|
+
margin-bottom: -4px;
|
|
1220
|
+
}
|
|
1221
|
+
.w-e-text-container [data-slate-editor] blockquote {
|
|
1222
|
+
display: block;
|
|
1223
|
+
border-left: 8px solid var(--w-e-textarea-selected-border-color);
|
|
1224
|
+
padding: 10px 10px;
|
|
1225
|
+
margin: 10px 0;
|
|
1226
|
+
line-height: 1.5;
|
|
1227
|
+
font-size: 100%;
|
|
1228
|
+
background-color: var(--w-e-textarea-slight-bg-color);
|
|
1229
|
+
}
|
|
1230
|
+
.w-e-panel-content-emotion {
|
|
1231
|
+
list-style: none;
|
|
1232
|
+
text-align: left;
|
|
1233
|
+
width: 300px;
|
|
1234
|
+
font-size: 20px;
|
|
1235
|
+
}
|
|
1236
|
+
.w-e-panel-content-emotion li {
|
|
1237
|
+
display: inline-block;
|
|
1238
|
+
padding: 0 5px;
|
|
1239
|
+
cursor: pointer;
|
|
1240
|
+
border-radius: 3px 3px;
|
|
1241
|
+
}
|
|
1242
|
+
.w-e-panel-content-emotion li:hover {
|
|
1243
|
+
background-color: var(--w-e-textarea-slight-bg-color);
|
|
1244
|
+
}
|
|
1245
|
+
.w-e-textarea-divider {
|
|
1246
|
+
padding: 20px 20px;
|
|
1247
|
+
margin: 20px auto;
|
|
1248
|
+
border-radius: 3px;
|
|
1249
|
+
}
|
|
1250
|
+
.w-e-textarea-divider hr {
|
|
1251
|
+
display: block;
|
|
1252
|
+
border: 0;
|
|
1253
|
+
height: 1px;
|
|
1254
|
+
background-color: var(--w-e-textarea-border-color);
|
|
1255
|
+
}
|
|
1256
|
+
.w-e-text-container [data-slate-editor] pre > code {
|
|
1257
|
+
display: block;
|
|
1258
|
+
border: 1px solid var(--w-e-textarea-slight-border-color);
|
|
1259
|
+
border-radius: 4px 4px;
|
|
1260
|
+
text-indent: 0;
|
|
1261
|
+
background-color: var(--w-e-textarea-slight-bg-color);
|
|
1262
|
+
padding: 10px;
|
|
1263
|
+
font-size: 14px;
|
|
1264
|
+
}
|
|
1265
|
+
.w-e-text-container [data-slate-editor] .w-e-image-container {
|
|
1266
|
+
display: inline-block;
|
|
1267
|
+
margin: 0 3px;
|
|
1268
|
+
}
|
|
1269
|
+
.w-e-text-container [data-slate-editor] .w-e-image-container:hover {
|
|
1270
|
+
box-shadow: 0 0 0 2px var(--w-e-textarea-selected-border-color);
|
|
1271
|
+
}
|
|
1272
|
+
.w-e-text-container [data-slate-editor] .w-e-selected-image-container {
|
|
1273
|
+
position: relative;
|
|
1274
|
+
overflow: hidden;
|
|
1275
|
+
}
|
|
1276
|
+
.w-e-text-container [data-slate-editor] .w-e-selected-image-container .w-e-image-dragger {
|
|
1277
|
+
width: 7px;
|
|
1278
|
+
height: 7px;
|
|
1279
|
+
background-color: var(--w-e-textarea-handler-bg-color);
|
|
1280
|
+
position: absolute;
|
|
1281
|
+
}
|
|
1282
|
+
.w-e-text-container [data-slate-editor] .w-e-selected-image-container .left-top {
|
|
1283
|
+
top: 0;
|
|
1284
|
+
left: 0;
|
|
1285
|
+
cursor: nwse-resize;
|
|
1286
|
+
}
|
|
1287
|
+
.w-e-text-container [data-slate-editor] .w-e-selected-image-container .right-top {
|
|
1288
|
+
top: 0;
|
|
1289
|
+
right: 0;
|
|
1290
|
+
cursor: nesw-resize;
|
|
1291
|
+
}
|
|
1292
|
+
.w-e-text-container [data-slate-editor] .w-e-selected-image-container .left-bottom {
|
|
1293
|
+
left: 0;
|
|
1294
|
+
bottom: 0;
|
|
1295
|
+
cursor: nesw-resize;
|
|
1296
|
+
}
|
|
1297
|
+
.w-e-text-container [data-slate-editor] .w-e-selected-image-container .right-bottom {
|
|
1298
|
+
right: 0;
|
|
1299
|
+
bottom: 0;
|
|
1300
|
+
cursor: nwse-resize;
|
|
1301
|
+
}
|
|
1302
|
+
.w-e-text-container [data-slate-editor] .w-e-selected-image-container:hover {
|
|
1303
|
+
box-shadow: none;
|
|
1304
|
+
}
|
|
1305
|
+
.w-e-text-container [contenteditable="false"] .w-e-image-container:hover {
|
|
1306
|
+
box-shadow: none;
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
.w-e-text-container [data-slate-editor] pre > code {
|
|
1310
|
+
text-shadow: 0 1px white;
|
|
1311
|
+
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
|
1312
|
+
text-align: left;
|
|
1313
|
+
white-space: pre;
|
|
1314
|
+
word-spacing: normal;
|
|
1315
|
+
word-break: normal;
|
|
1316
|
+
word-wrap: normal;
|
|
1317
|
+
line-height: 1.5;
|
|
1318
|
+
-moz-tab-size: 4;
|
|
1319
|
+
-o-tab-size: 4;
|
|
1320
|
+
tab-size: 4;
|
|
1321
|
+
hyphens: none;
|
|
1322
|
+
padding: 1em;
|
|
1323
|
+
margin: 0.5em 0;
|
|
1324
|
+
overflow: auto;
|
|
1325
|
+
}
|
|
1326
|
+
.w-e-text-container [data-slate-editor] pre > code .token.comment,
|
|
1327
|
+
.w-e-text-container [data-slate-editor] pre > code .token.prolog,
|
|
1328
|
+
.w-e-text-container [data-slate-editor] pre > code .token.doctype,
|
|
1329
|
+
.w-e-text-container [data-slate-editor] pre > code .token.cdata {
|
|
1330
|
+
color: slategray;
|
|
1331
|
+
}
|
|
1332
|
+
.w-e-text-container [data-slate-editor] pre > code .token.punctuation {
|
|
1333
|
+
color: #999;
|
|
1334
|
+
}
|
|
1335
|
+
.w-e-text-container [data-slate-editor] pre > code .token.namespace {
|
|
1336
|
+
opacity: 0.7;
|
|
1337
|
+
}
|
|
1338
|
+
.w-e-text-container [data-slate-editor] pre > code .token.property,
|
|
1339
|
+
.w-e-text-container [data-slate-editor] pre > code .token.tag,
|
|
1340
|
+
.w-e-text-container [data-slate-editor] pre > code .token.boolean,
|
|
1341
|
+
.w-e-text-container [data-slate-editor] pre > code .token.number,
|
|
1342
|
+
.w-e-text-container [data-slate-editor] pre > code .token.constant,
|
|
1343
|
+
.w-e-text-container [data-slate-editor] pre > code .token.symbol,
|
|
1344
|
+
.w-e-text-container [data-slate-editor] pre > code .token.deleted {
|
|
1345
|
+
color: #905;
|
|
1346
|
+
}
|
|
1347
|
+
.w-e-text-container [data-slate-editor] pre > code .token.selector,
|
|
1348
|
+
.w-e-text-container [data-slate-editor] pre > code .token.attr-name,
|
|
1349
|
+
.w-e-text-container [data-slate-editor] pre > code .token.string,
|
|
1350
|
+
.w-e-text-container [data-slate-editor] pre > code .token.char,
|
|
1351
|
+
.w-e-text-container [data-slate-editor] pre > code .token.builtin,
|
|
1352
|
+
.w-e-text-container [data-slate-editor] pre > code .token.inserted {
|
|
1353
|
+
color: #690;
|
|
1354
|
+
}
|
|
1355
|
+
.w-e-text-container [data-slate-editor] pre > code .token.operator,
|
|
1356
|
+
.w-e-text-container [data-slate-editor] pre > code .token.entity,
|
|
1357
|
+
.w-e-text-container [data-slate-editor] pre > code .token.url,
|
|
1358
|
+
.w-e-text-container [data-slate-editor] pre > code .language-css .token.string,
|
|
1359
|
+
.w-e-text-container [data-slate-editor] pre > code .style .token.string {
|
|
1360
|
+
color: #9a6e3a;
|
|
1361
|
+
}
|
|
1362
|
+
.w-e-text-container [data-slate-editor] pre > code .token.atrule,
|
|
1363
|
+
.w-e-text-container [data-slate-editor] pre > code .token.attr-value,
|
|
1364
|
+
.w-e-text-container [data-slate-editor] pre > code .token.keyword {
|
|
1365
|
+
color: #07a;
|
|
1366
|
+
}
|
|
1367
|
+
.w-e-text-container [data-slate-editor] pre > code .token.function,
|
|
1368
|
+
.w-e-text-container [data-slate-editor] pre > code .token.class-name {
|
|
1369
|
+
color: #DD4A68;
|
|
1370
|
+
}
|
|
1371
|
+
.w-e-text-container [data-slate-editor] pre > code .token.regex,
|
|
1372
|
+
.w-e-text-container [data-slate-editor] pre > code .token.important,
|
|
1373
|
+
.w-e-text-container [data-slate-editor] pre > code .token.variable {
|
|
1374
|
+
color: #e90;
|
|
1375
|
+
}
|
|
1376
|
+
.w-e-text-container [data-slate-editor] pre > code .token.important,
|
|
1377
|
+
.w-e-text-container [data-slate-editor] pre > code .token.bold {
|
|
1378
|
+
font-weight: bold;
|
|
1379
|
+
}
|
|
1380
|
+
.w-e-text-container [data-slate-editor] pre > code .token.italic {
|
|
1381
|
+
font-style: italic;
|
|
1382
|
+
}
|
|
1383
|
+
.w-e-text-container [data-slate-editor] pre > code .token.entity {
|
|
1384
|
+
cursor: help;
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1387
|
+
|
|
1388
|
+
.w-e-text-container [data-slate-editor] {
|
|
1389
|
+
/* 干掉 Chrome 默认选区样式*/
|
|
1390
|
+
/* 拖动 Style */
|
|
1391
|
+
}
|
|
1392
|
+
.w-e-text-container [data-slate-editor] .table-container {
|
|
1393
|
+
width: 100%;
|
|
1394
|
+
overflow-x: auto;
|
|
1395
|
+
padding: 0px;
|
|
1396
|
+
border-radius: 0px;
|
|
1397
|
+
margin-top: 10px;
|
|
1398
|
+
position: relative;
|
|
1399
|
+
}
|
|
1400
|
+
.w-e-text-container [data-slate-editor] table {
|
|
1401
|
+
border-collapse: collapse;
|
|
1402
|
+
table-layout: fixed;
|
|
1403
|
+
/* 选区拖影 */
|
|
1404
|
+
}
|
|
1405
|
+
.w-e-text-container [data-slate-editor] table td,
|
|
1406
|
+
.w-e-text-container [data-slate-editor] table th {
|
|
1407
|
+
border: 1px solid var(--w-e-textarea-border-color);
|
|
1408
|
+
padding: 3px 5px;
|
|
1409
|
+
min-width: 30px;
|
|
1410
|
+
line-height: 1.5;
|
|
1411
|
+
/* 强制换行,table column 宽度必须拖动增大 */
|
|
1412
|
+
overflow: hidden;
|
|
1413
|
+
overflow-wrap: break-word;
|
|
1414
|
+
word-break: break-all;
|
|
1415
|
+
white-space: pre-wrap;
|
|
1416
|
+
}
|
|
1417
|
+
.w-e-text-container [data-slate-editor] table th {
|
|
1418
|
+
background-color: var(--w-e-textarea-slight-bg-color);
|
|
1419
|
+
text-align: center;
|
|
1420
|
+
font-weight: bold;
|
|
1421
|
+
}
|
|
1422
|
+
.w-e-text-container [data-slate-editor] table td.w-e-selected,
|
|
1423
|
+
.w-e-text-container [data-slate-editor] table th.w-e-selected {
|
|
1424
|
+
background-color: rgba(20, 86, 240, 0.18);
|
|
1425
|
+
}
|
|
1426
|
+
.w-e-text-container [data-slate-editor] table.table-selection-none *::-moz-selection {
|
|
1427
|
+
background: none;
|
|
1428
|
+
}
|
|
1429
|
+
.w-e-text-container [data-slate-editor] table.table-selection-none *::selection {
|
|
1430
|
+
background: none;
|
|
1431
|
+
}
|
|
1432
|
+
.w-e-text-container [data-slate-editor] .column-resizer {
|
|
1433
|
+
position: absolute;
|
|
1434
|
+
display: flex;
|
|
1435
|
+
top: 0px;
|
|
1436
|
+
left: 0px;
|
|
1437
|
+
width: 0;
|
|
1438
|
+
height: 0;
|
|
1439
|
+
z-index: 1;
|
|
1440
|
+
}
|
|
1441
|
+
.w-e-text-container [data-slate-editor] .column-resizer .column-resizer-item {
|
|
1442
|
+
position: relative;
|
|
1443
|
+
}
|
|
1444
|
+
.w-e-text-container [data-slate-editor] .resizer-line-hotzone {
|
|
1445
|
+
cursor: col-resize;
|
|
1446
|
+
position: absolute;
|
|
1447
|
+
width: 6px;
|
|
1448
|
+
right: 0px;
|
|
1449
|
+
visibility: hidden;
|
|
1450
|
+
opacity: 0;
|
|
1451
|
+
transition: opacity 0.2s ease, visibility 0.2s ease;
|
|
1452
|
+
}
|
|
1453
|
+
.w-e-text-container [data-slate-editor] .resizer-line-hotzone .resizer-line {
|
|
1454
|
+
height: 100%;
|
|
1455
|
+
width: 2px;
|
|
1456
|
+
margin-left: 5px;
|
|
1457
|
+
background: rgba(20, 86, 240, 0.8);
|
|
1458
|
+
-webkit-user-select: none;
|
|
1459
|
+
-moz-user-select: none;
|
|
1460
|
+
user-select: none;
|
|
1461
|
+
}
|
|
1462
|
+
.w-e-text-container [data-slate-editor] .resizer-line-hotzone.visible {
|
|
1463
|
+
visibility: visible;
|
|
1464
|
+
}
|
|
1465
|
+
.w-e-text-container [data-slate-editor] .resizer-line-hotzone.highlight {
|
|
1466
|
+
opacity: 1;
|
|
1467
|
+
}
|
|
1468
|
+
.w-e-panel-content-table {
|
|
1469
|
+
background-color: var(--w-e-toolbar-bg-color);
|
|
1470
|
+
}
|
|
1471
|
+
.w-e-panel-content-table table {
|
|
1472
|
+
border-collapse: collapse;
|
|
1473
|
+
table-layout: fixed;
|
|
1474
|
+
}
|
|
1475
|
+
.w-e-panel-content-table th,
|
|
1476
|
+
.w-e-panel-content-table td {
|
|
1477
|
+
overflow: hidden;
|
|
1478
|
+
overflow-wrap: break-word;
|
|
1479
|
+
word-break: break-all;
|
|
1480
|
+
white-space: pre-wrap;
|
|
1481
|
+
}
|
|
1482
|
+
.w-e-panel-content-table td {
|
|
1483
|
+
border: 1px solid var(--w-e-toolbar-border-color);
|
|
1484
|
+
padding: 3px 5px;
|
|
1485
|
+
width: 20px;
|
|
1486
|
+
height: 15px;
|
|
1487
|
+
cursor: pointer;
|
|
1488
|
+
}
|
|
1489
|
+
.w-e-panel-content-table td.active {
|
|
1490
|
+
background-color: var(--w-e-toolbar-active-bg-color);
|
|
1491
|
+
}
|
|
1492
|
+
.w-e-modal .babel-container span.babel-container-border {
|
|
1493
|
+
display: flex;
|
|
1494
|
+
}
|
|
1495
|
+
.w-e-modal .babel-container span.babel-container-border > * {
|
|
1496
|
+
height: 28px;
|
|
1497
|
+
border: 1px solid var(--w-e-modal-button-border-color);
|
|
1498
|
+
border-radius: 2px;
|
|
1499
|
+
}
|
|
1500
|
+
.w-e-modal .babel-container span.babel-container-border select {
|
|
1501
|
+
width: 114px;
|
|
1502
|
+
}
|
|
1503
|
+
.w-e-modal .babel-container span.babel-container-border > :nth-child(n+2) {
|
|
1504
|
+
margin-left: 8px;
|
|
1505
|
+
}
|
|
1506
|
+
.w-e-modal .babel-container span.babel-container-border input:nth-child(3) {
|
|
1507
|
+
width: 100px;
|
|
1508
|
+
}
|
|
1509
|
+
.w-e-modal .babel-container span.babel-container-background input {
|
|
1510
|
+
height: 28px;
|
|
1511
|
+
border: 1px solid var(--w-e-modal-button-border-color);
|
|
1512
|
+
border-radius: 2px;
|
|
1513
|
+
width: 60px;
|
|
1514
|
+
}
|
|
1515
|
+
.w-e-modal .babel-container span.babel-container-algin select {
|
|
1516
|
+
height: 28px;
|
|
1517
|
+
border: 1px solid var(--w-e-modal-button-border-color);
|
|
1518
|
+
border-radius: 2px;
|
|
1519
|
+
}
|
|
1520
|
+
.w-e-modal .babel-container .color-group {
|
|
1521
|
+
position: relative;
|
|
1522
|
+
width: 28px;
|
|
1523
|
+
height: 28px;
|
|
1524
|
+
border: 1px solid var(--w-e-modal-button-border-color);
|
|
1525
|
+
border-radius: 2px;
|
|
1526
|
+
cursor: pointer;
|
|
1527
|
+
}
|
|
1528
|
+
.w-e-modal .babel-container .color-group .w-e-drop-panel {
|
|
1529
|
+
margin-top: 28px;
|
|
1530
|
+
}
|
|
1531
|
+
.w-e-modal .babel-container .color-group-block {
|
|
1532
|
+
display: block;
|
|
1533
|
+
width: 80%;
|
|
1534
|
+
height: 80%;
|
|
1535
|
+
margin: 10%;
|
|
1536
|
+
}
|
|
1537
|
+
.w-e-modal .babel-container .color-group-block svg {
|
|
1538
|
+
width: 20px;
|
|
1539
|
+
height: 20px;
|
|
1540
|
+
margin: 1px 0px;
|
|
1541
|
+
}
|
|
1542
|
+
|
|
15
1543
|
|
|
16
|
-
.w-e-textarea-video-container{
|
|
1544
|
+
.w-e-textarea-video-container {
|
|
1545
|
+
text-align: center;
|
|
1546
|
+
border: 1px dashed var(--w-e-textarea-border-color);
|
|
1547
|
+
padding: 10px 0;
|
|
1548
|
+
margin: 0 auto;
|
|
1549
|
+
margin-top: 10px;
|
|
1550
|
+
border-radius: 5px;
|
|
1551
|
+
overflow: auto;
|
|
1552
|
+
background-position: 0px 0px, 10px 10px;
|
|
1553
|
+
background-size: 20px 20px;
|
|
1554
|
+
background-image: linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%, #eee 100%), linear-gradient(45deg, #eee 25%, white 25%, white 75%, #eee 75%, #eee 100%);
|
|
1555
|
+
}
|