@coco-vexel/coco-office-editor 0.0.0-stage → 1.0.1
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/LICENSE +202 -0
- package/README.md +510 -2
- package/THIRD_PARTY_NOTICES.md +212 -0
- package/dist/index.cjs +26401 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +12 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +26192 -0
- package/dist/index.js.map +1 -0
- package/dist/model-DB6aN6uJ.d.cts +321 -0
- package/dist/model-DB6aN6uJ.d.ts +321 -0
- package/dist/native-B6B649CC.d.ts +1111 -0
- package/dist/native-Ct9nN06K.d.cts +1111 -0
- package/dist/ppt-native.cjs +5334 -0
- package/dist/ppt-native.cjs.map +1 -0
- package/dist/ppt-native.d.cts +2 -0
- package/dist/ppt-native.d.ts +2 -0
- package/dist/ppt-native.js +5332 -0
- package/dist/ppt-native.js.map +1 -0
- package/dist/ppt.cjs +5426 -0
- package/dist/ppt.cjs.map +1 -0
- package/dist/ppt.d.cts +306 -0
- package/dist/ppt.d.ts +306 -0
- package/dist/ppt.js +5410 -0
- package/dist/ppt.js.map +1 -0
- package/dist/spreadsheet.cjs +4276 -0
- package/dist/spreadsheet.cjs.map +1 -0
- package/dist/spreadsheet.d.cts +676 -0
- package/dist/spreadsheet.d.ts +676 -0
- package/dist/spreadsheet.js +4213 -0
- package/dist/spreadsheet.js.map +1 -0
- package/dist/word-editing.cjs +812 -0
- package/dist/word-editing.cjs.map +1 -0
- package/dist/word-editing.d.cts +149 -0
- package/dist/word-editing.d.ts +149 -0
- package/dist/word-editing.js +803 -0
- package/dist/word-editing.js.map +1 -0
- package/dist/word-native.cjs +13400 -0
- package/dist/word-native.cjs.map +1 -0
- package/dist/word-native.d.cts +4 -0
- package/dist/word-native.d.ts +4 -0
- package/dist/word-native.js +13293 -0
- package/dist/word-native.js.map +1 -0
- package/dist/word-prosemirror.cjs +489 -0
- package/dist/word-prosemirror.cjs.map +1 -0
- package/dist/word-prosemirror.d.cts +21 -0
- package/dist/word-prosemirror.d.ts +21 -0
- package/dist/word-prosemirror.js +483 -0
- package/dist/word-prosemirror.js.map +1 -0
- package/dist/word.cjs +16764 -0
- package/dist/word.cjs.map +1 -0
- package/dist/word.d.cts +84 -0
- package/dist/word.d.ts +84 -0
- package/dist/word.js +16632 -0
- package/dist/word.js.map +1 -0
- package/package.json +106 -3
- package/src/styles/editor.css +1507 -0
|
@@ -0,0 +1,1507 @@
|
|
|
1
|
+
.coco-word-editor {
|
|
2
|
+
background: #f4f5f7;
|
|
3
|
+
color: #202124;
|
|
4
|
+
font-family:
|
|
5
|
+
Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
6
|
+
width: 100%;
|
|
7
|
+
height: 100%;
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.coco-word-shell {
|
|
12
|
+
display: grid;
|
|
13
|
+
grid-template-columns: minmax(0, 1fr) 280px;
|
|
14
|
+
gap: 16px;
|
|
15
|
+
width: 100%;
|
|
16
|
+
height: 100%;
|
|
17
|
+
min-width: 0;
|
|
18
|
+
min-height: 0;
|
|
19
|
+
padding: 16px;
|
|
20
|
+
box-sizing: border-box;
|
|
21
|
+
overflow: hidden;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.coco-word-document-scroll {
|
|
25
|
+
min-width: 0;
|
|
26
|
+
min-height: 0;
|
|
27
|
+
overflow: auto;
|
|
28
|
+
scrollbar-gutter: stable;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.coco-word-devbar {
|
|
32
|
+
position: sticky;
|
|
33
|
+
top: 0;
|
|
34
|
+
z-index: 2;
|
|
35
|
+
display: flex;
|
|
36
|
+
gap: 10px;
|
|
37
|
+
align-items: center;
|
|
38
|
+
width: min(100%, 860px);
|
|
39
|
+
margin: 0 auto 12px;
|
|
40
|
+
padding: 8px 0;
|
|
41
|
+
background: #f4f5f7;
|
|
42
|
+
color: #52525b;
|
|
43
|
+
font-size: 12px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.coco-word-devbar select {
|
|
47
|
+
min-width: 280px;
|
|
48
|
+
max-width: 520px;
|
|
49
|
+
height: 30px;
|
|
50
|
+
border: 1px solid #c7cbd4;
|
|
51
|
+
background: #ffffff;
|
|
52
|
+
color: #202124;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.coco-word-toolbar {
|
|
56
|
+
position: sticky;
|
|
57
|
+
top: 46px;
|
|
58
|
+
z-index: 2;
|
|
59
|
+
display: flex;
|
|
60
|
+
flex-wrap: wrap;
|
|
61
|
+
gap: 6px;
|
|
62
|
+
align-items: center;
|
|
63
|
+
width: min(100%, 860px);
|
|
64
|
+
margin: 0 auto 12px;
|
|
65
|
+
padding: 8px;
|
|
66
|
+
box-sizing: border-box;
|
|
67
|
+
background: #ffffff;
|
|
68
|
+
border: 1px solid #d8dbe2;
|
|
69
|
+
color: #202124;
|
|
70
|
+
font-size: 12px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.coco-word-toolbar button,
|
|
74
|
+
.coco-word-toolbar select,
|
|
75
|
+
.coco-word-toolbar input {
|
|
76
|
+
height: 30px;
|
|
77
|
+
border: 1px solid #c7cbd4;
|
|
78
|
+
background: #ffffff;
|
|
79
|
+
color: #202124;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.coco-word-toolbar button {
|
|
83
|
+
min-width: 32px;
|
|
84
|
+
padding: 0 9px;
|
|
85
|
+
cursor: pointer;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.coco-word-toolbar button:hover {
|
|
89
|
+
background: #edf2ff;
|
|
90
|
+
border-color: #8aa6e8;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.coco-word-toolbar button.is-active {
|
|
94
|
+
background: #dbe7ff;
|
|
95
|
+
border-color: #5b7fc7;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.coco-word-toolbar button.is-mixed,
|
|
99
|
+
.coco-word-toolbar input.is-mixed {
|
|
100
|
+
border-style: dashed;
|
|
101
|
+
border-color: #5b7fc7;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.coco-word-toolbar button:disabled,
|
|
105
|
+
.coco-word-toolbar select:disabled,
|
|
106
|
+
.coco-word-toolbar input:disabled {
|
|
107
|
+
cursor: default;
|
|
108
|
+
opacity: 0.45;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.coco-word-toolbar label {
|
|
112
|
+
display: inline-flex;
|
|
113
|
+
gap: 6px;
|
|
114
|
+
align-items: center;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.coco-word-toolbar input[type="color"] {
|
|
118
|
+
width: 36px;
|
|
119
|
+
padding: 2px;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.coco-word-image-size-input {
|
|
123
|
+
width: 58px;
|
|
124
|
+
padding: 0 4px;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.coco-word-table-size-input {
|
|
128
|
+
width: 42px;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.coco-word-hyperlink {
|
|
132
|
+
color: #0563c1;
|
|
133
|
+
cursor: text;
|
|
134
|
+
text-decoration: underline;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.coco-word-native-editor-host.is-hyperlink-navigation-mode .coco-word-hyperlink {
|
|
138
|
+
cursor: pointer;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.coco-word-hyperlink-input {
|
|
142
|
+
min-width: 160px;
|
|
143
|
+
width: 190px;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.coco-word-highlight-icon {
|
|
147
|
+
display: inline-flex;
|
|
148
|
+
align-items: center;
|
|
149
|
+
justify-content: center;
|
|
150
|
+
min-width: 15px;
|
|
151
|
+
height: 21px;
|
|
152
|
+
box-sizing: border-box;
|
|
153
|
+
border-bottom: 4px solid var(--coco-highlight-color, #ffff00);
|
|
154
|
+
font-weight: 700;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.coco-word-toolbar-divider {
|
|
158
|
+
width: 1px;
|
|
159
|
+
height: 22px;
|
|
160
|
+
margin: 0 4px;
|
|
161
|
+
background: #d8dbe2;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.coco-word-searchbar {
|
|
165
|
+
position: sticky;
|
|
166
|
+
top: 46px;
|
|
167
|
+
z-index: 3;
|
|
168
|
+
display: flex;
|
|
169
|
+
flex-wrap: wrap;
|
|
170
|
+
gap: 6px;
|
|
171
|
+
align-items: center;
|
|
172
|
+
width: min(100%, 860px);
|
|
173
|
+
margin: -6px auto 12px;
|
|
174
|
+
padding: 8px;
|
|
175
|
+
box-sizing: border-box;
|
|
176
|
+
border: 1px solid #c7cbd4;
|
|
177
|
+
background: #ffffff;
|
|
178
|
+
box-shadow: 0 4px 12px rgb(15 23 42 / 10%);
|
|
179
|
+
font-size: 12px;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.coco-word-searchbar[hidden] {
|
|
183
|
+
display: none;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.coco-word-searchbar input[type="search"],
|
|
187
|
+
.coco-word-searchbar input[type="text"] {
|
|
188
|
+
width: 180px;
|
|
189
|
+
height: 30px;
|
|
190
|
+
padding: 0 8px;
|
|
191
|
+
border: 1px solid #c7cbd4;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.coco-word-searchbar button {
|
|
195
|
+
min-width: 32px;
|
|
196
|
+
height: 30px;
|
|
197
|
+
padding: 0 8px;
|
|
198
|
+
border: 1px solid #c7cbd4;
|
|
199
|
+
background: #ffffff;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.coco-word-searchbar label {
|
|
203
|
+
display: inline-flex;
|
|
204
|
+
gap: 4px;
|
|
205
|
+
align-items: center;
|
|
206
|
+
height: 30px;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
#wordSearchCount {
|
|
210
|
+
min-width: 52px;
|
|
211
|
+
color: #52525b;
|
|
212
|
+
text-align: center;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.coco-word-page {
|
|
216
|
+
width: min(100%, 794px);
|
|
217
|
+
min-height: calc(100% - 32px);
|
|
218
|
+
margin: 0 auto;
|
|
219
|
+
padding: 96px;
|
|
220
|
+
box-sizing: border-box;
|
|
221
|
+
background: #ffffff;
|
|
222
|
+
border: 1px solid #d8dbe2;
|
|
223
|
+
box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.coco-word-page .ProseMirror {
|
|
227
|
+
outline: none;
|
|
228
|
+
font-size: 16px;
|
|
229
|
+
line-height: 1.75;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.coco-word-pages {
|
|
233
|
+
width: 100%;
|
|
234
|
+
min-height: calc(100% - 32px);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
coco-word-native-document {
|
|
238
|
+
display: flex;
|
|
239
|
+
flex-direction: column;
|
|
240
|
+
align-items: stretch;
|
|
241
|
+
box-sizing: border-box;
|
|
242
|
+
outline: none;
|
|
243
|
+
color: #000000;
|
|
244
|
+
font-family: SimSun, "Songti SC", "Noto Serif CJK SC", serif;
|
|
245
|
+
font-size: 10.5pt;
|
|
246
|
+
line-height: normal;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
coco-word-native-document.has-annotation-rail {
|
|
250
|
+
padding-right: 260px;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
coco-word-native-document.is-paginated {
|
|
254
|
+
display: grid;
|
|
255
|
+
justify-items: center;
|
|
256
|
+
gap: 18px;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
coco-word-native-page {
|
|
260
|
+
position: relative;
|
|
261
|
+
display: flex;
|
|
262
|
+
flex-direction: column;
|
|
263
|
+
box-sizing: border-box;
|
|
264
|
+
max-width: 100%;
|
|
265
|
+
background: #ffffff;
|
|
266
|
+
border: 1px solid #d8dbe2;
|
|
267
|
+
box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
coco-word-native-page-body {
|
|
271
|
+
position: relative;
|
|
272
|
+
z-index: 1;
|
|
273
|
+
display: flex;
|
|
274
|
+
flex-direction: column;
|
|
275
|
+
align-items: stretch;
|
|
276
|
+
flex: 1 1 auto;
|
|
277
|
+
min-height: 0;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
coco-word-native-page-body > * {
|
|
281
|
+
flex-shrink: 0;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
coco-word-native-document.uses-natural-paragraph-flow coco-word-native-page-body {
|
|
285
|
+
display: flow-root;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
coco-word-native-document.uses-natural-paragraph-flow coco-word-native-page-body > * {
|
|
289
|
+
display: block;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.coco-word-native-page-behind-layer,
|
|
293
|
+
.coco-word-native-page-overlay {
|
|
294
|
+
position: absolute;
|
|
295
|
+
inset: 0;
|
|
296
|
+
pointer-events: none;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.coco-word-native-page-behind-layer {
|
|
300
|
+
z-index: 0;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.coco-word-native-page-overlay {
|
|
304
|
+
z-index: 3;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.coco-word-native-page-behind-layer > .is-page-layer-anchor,
|
|
308
|
+
.coco-word-native-page-overlay > .is-page-layer-anchor {
|
|
309
|
+
position: absolute;
|
|
310
|
+
left: var(--coco-word-anchor-left, 0);
|
|
311
|
+
top: var(--coco-word-anchor-top, 0);
|
|
312
|
+
max-width: none;
|
|
313
|
+
margin: 0;
|
|
314
|
+
pointer-events: auto;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.coco-word-native-page-behind-layer > .is-page-layer-anchor {
|
|
318
|
+
pointer-events: none;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.coco-word-native-page-behind-layer > .is-page-layer-anchor[data-position-horizontal-relative-from="page"],
|
|
322
|
+
.coco-word-native-page-overlay > .is-page-layer-anchor[data-position-horizontal-relative-from="page"] {
|
|
323
|
+
left: calc(var(--coco-word-anchor-left, 0) - var(--coco-word-page-margin-left, 0));
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.coco-word-native-page-behind-layer > .is-page-layer-anchor[data-position-vertical-relative-from="page"],
|
|
327
|
+
.coco-word-native-page-overlay > .is-page-layer-anchor[data-position-vertical-relative-from="page"] {
|
|
328
|
+
top: calc(var(--coco-word-anchor-top, 0) - var(--coco-word-page-margin-top, 0));
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.coco-word-native-page-behind-layer > .is-page-layer-anchor.is-anchor-right,
|
|
332
|
+
.coco-word-native-page-overlay > .is-page-layer-anchor.is-anchor-right {
|
|
333
|
+
right: 0;
|
|
334
|
+
left: auto;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.coco-word-native-page-behind-layer > .is-page-layer-anchor.is-anchor-center,
|
|
338
|
+
.coco-word-native-page-overlay > .is-page-layer-anchor.is-anchor-center {
|
|
339
|
+
left: 50%;
|
|
340
|
+
transform: translateX(-50%);
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.coco-word-native-comment-layer {
|
|
344
|
+
position: absolute;
|
|
345
|
+
top: 0;
|
|
346
|
+
right: -240px;
|
|
347
|
+
z-index: 2;
|
|
348
|
+
width: 220px;
|
|
349
|
+
pointer-events: none;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.coco-word-native-comment-bubble {
|
|
353
|
+
position: absolute;
|
|
354
|
+
top: var(--coco-word-comment-top, 0px);
|
|
355
|
+
box-sizing: border-box;
|
|
356
|
+
width: 220px;
|
|
357
|
+
min-height: 0;
|
|
358
|
+
padding: 6px 8px;
|
|
359
|
+
border: 1px solid #e6d7a1;
|
|
360
|
+
border-left: 3px solid #d6a72c;
|
|
361
|
+
border-radius: 4px;
|
|
362
|
+
background: #fffdf2;
|
|
363
|
+
box-shadow: 0 5px 16px rgba(72, 55, 8, 0.1);
|
|
364
|
+
color: #332d1b;
|
|
365
|
+
font-family: Calibri, Arial, sans-serif;
|
|
366
|
+
pointer-events: auto;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.coco-word-native-comment-bubble.coco-word-native-comment-reply {
|
|
370
|
+
border-left-color: #6b7fd7;
|
|
371
|
+
background: #f5f7ff;
|
|
372
|
+
color: #26345f;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.coco-word-native-comment-bubble.is-selected {
|
|
376
|
+
outline: 2px solid #b7791f;
|
|
377
|
+
outline-offset: 1px;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.coco-word-native-comment-meta {
|
|
381
|
+
margin: 0 24px 3px 0;
|
|
382
|
+
overflow: hidden;
|
|
383
|
+
color: #76601f;
|
|
384
|
+
font-size: 9px;
|
|
385
|
+
font-weight: 700;
|
|
386
|
+
line-height: 1.3;
|
|
387
|
+
text-overflow: ellipsis;
|
|
388
|
+
white-space: nowrap;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
.coco-word-comment-reply {
|
|
392
|
+
box-shadow: inset 0 -2px 0 #7184df;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
.coco-word-native-comment-body {
|
|
396
|
+
display: -webkit-box;
|
|
397
|
+
overflow: hidden;
|
|
398
|
+
font-size: 11px;
|
|
399
|
+
line-height: 1.2;
|
|
400
|
+
-webkit-box-orient: vertical;
|
|
401
|
+
-webkit-line-clamp: 2;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.coco-word-native-comment-actions {
|
|
405
|
+
position: absolute;
|
|
406
|
+
top: 6px;
|
|
407
|
+
right: 8px;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
.coco-word-native-comment-menu-button {
|
|
411
|
+
width: 22px;
|
|
412
|
+
height: 20px;
|
|
413
|
+
padding: 0 0 4px;
|
|
414
|
+
border: 0;
|
|
415
|
+
border-radius: 3px;
|
|
416
|
+
background: transparent;
|
|
417
|
+
color: #76601f;
|
|
418
|
+
cursor: pointer;
|
|
419
|
+
font: 700 16px/16px Arial, sans-serif;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.coco-word-native-comment-menu-button:hover,
|
|
423
|
+
.coco-word-native-comment-menu-button:focus-visible {
|
|
424
|
+
background: #f3e8bd;
|
|
425
|
+
outline: none;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
.coco-word-native-comment-menu {
|
|
429
|
+
position: absolute;
|
|
430
|
+
top: 27px;
|
|
431
|
+
right: 0;
|
|
432
|
+
z-index: 4;
|
|
433
|
+
min-width: 76px;
|
|
434
|
+
padding: 4px;
|
|
435
|
+
border: 1px solid #e0d2a2;
|
|
436
|
+
border-radius: 4px;
|
|
437
|
+
background: #fff;
|
|
438
|
+
box-shadow: 0 5px 14px rgba(72, 55, 8, 0.16);
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.coco-word-native-comment-menu-item {
|
|
442
|
+
display: block;
|
|
443
|
+
width: 100%;
|
|
444
|
+
padding: 5px 9px;
|
|
445
|
+
border: 0;
|
|
446
|
+
background: transparent;
|
|
447
|
+
color: #51451f;
|
|
448
|
+
cursor: pointer;
|
|
449
|
+
font: 12px/1.3 Calibri, Arial, sans-serif;
|
|
450
|
+
text-align: left;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
.coco-word-native-comment-menu-item:hover,
|
|
454
|
+
.coco-word-native-comment-menu-item:focus-visible {
|
|
455
|
+
border-radius: 2px;
|
|
456
|
+
background: #f7f0d6;
|
|
457
|
+
outline: none;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
.coco-word-native-revision-layer {
|
|
461
|
+
position: absolute;
|
|
462
|
+
top: 0;
|
|
463
|
+
right: -240px;
|
|
464
|
+
z-index: 3;
|
|
465
|
+
width: 220px;
|
|
466
|
+
pointer-events: none;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
.coco-word-native-revision-bubble {
|
|
470
|
+
position: absolute;
|
|
471
|
+
top: var(--coco-word-revision-top, 0px);
|
|
472
|
+
box-sizing: border-box;
|
|
473
|
+
width: 220px;
|
|
474
|
+
min-height: 0;
|
|
475
|
+
padding: 6px 8px;
|
|
476
|
+
border: 1px solid #86b7fe;
|
|
477
|
+
border-left: 3px solid #2563eb;
|
|
478
|
+
background: #eff6ff;
|
|
479
|
+
box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
|
|
480
|
+
color: #1e3a8a;
|
|
481
|
+
font-family: Calibri, Arial, sans-serif;
|
|
482
|
+
pointer-events: auto;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
.coco-word-native-revision-group {
|
|
486
|
+
position: absolute;
|
|
487
|
+
top: var(--coco-word-revision-top, 0px);
|
|
488
|
+
z-index: 0;
|
|
489
|
+
width: 220px;
|
|
490
|
+
pointer-events: auto;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
.coco-word-native-revision-group.is-expanded {
|
|
494
|
+
z-index: 6;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
.coco-word-native-revision-group-toggle {
|
|
498
|
+
display: grid;
|
|
499
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
500
|
+
gap: 2px 8px;
|
|
501
|
+
align-items: center;
|
|
502
|
+
width: 220px;
|
|
503
|
+
min-height: 44px;
|
|
504
|
+
padding: 6px 8px;
|
|
505
|
+
border: 1px solid #93b7eb;
|
|
506
|
+
border-left: 3px solid #2563eb;
|
|
507
|
+
border-radius: 4px;
|
|
508
|
+
background: #eff6ff;
|
|
509
|
+
box-shadow: 0 4px 12px rgb(37 99 235 / 12%);
|
|
510
|
+
color: #334155;
|
|
511
|
+
cursor: pointer;
|
|
512
|
+
font: 10px/1.25 Calibri, Arial, sans-serif;
|
|
513
|
+
text-align: left;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
.coco-word-native-revision-group-toggle strong {
|
|
517
|
+
overflow: hidden;
|
|
518
|
+
color: #1e3a8a;
|
|
519
|
+
font-size: 11px;
|
|
520
|
+
text-overflow: ellipsis;
|
|
521
|
+
white-space: nowrap;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
.coco-word-native-revision-group-affordance {
|
|
525
|
+
grid-row: 1 / span 2;
|
|
526
|
+
grid-column: 2;
|
|
527
|
+
color: #2563eb;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
.coco-word-native-revision-group-list {
|
|
531
|
+
position: absolute;
|
|
532
|
+
top: calc(100% + 4px);
|
|
533
|
+
right: 0;
|
|
534
|
+
display: grid;
|
|
535
|
+
gap: 6px;
|
|
536
|
+
width: 228px;
|
|
537
|
+
max-height: min(360px, 60vh);
|
|
538
|
+
padding: 4px;
|
|
539
|
+
overflow-y: auto;
|
|
540
|
+
box-sizing: border-box;
|
|
541
|
+
border: 1px solid #93b7eb;
|
|
542
|
+
border-radius: 4px;
|
|
543
|
+
background: #f8fbff;
|
|
544
|
+
box-shadow: 0 10px 24px rgb(30 64 175 / 20%);
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
.coco-word-native-revision-group-list[hidden] {
|
|
548
|
+
display: none;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
.coco-word-native-revision-group-list > .coco-word-native-revision-bubble {
|
|
552
|
+
position: relative;
|
|
553
|
+
top: auto;
|
|
554
|
+
width: 100%;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
.coco-word-native-revision-bubble.is-delete {
|
|
558
|
+
border-color: #fca5a5;
|
|
559
|
+
border-left-color: #dc2626;
|
|
560
|
+
background: #fff1f2;
|
|
561
|
+
color: #991b1b;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
.coco-word-native-revision-bubble.is-selected {
|
|
565
|
+
z-index: 1;
|
|
566
|
+
outline: 2px solid #1d4ed8;
|
|
567
|
+
outline-offset: 2px;
|
|
568
|
+
box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.16), 0 6px 16px rgba(30, 64, 175, 0.2);
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
.coco-word-native-revision-bubble.is-delete.is-selected {
|
|
572
|
+
outline-color: #b91c1c;
|
|
573
|
+
box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.14), 0 6px 16px rgba(127, 29, 29, 0.18);
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
.coco-word-native-revision-header {
|
|
577
|
+
display: flex;
|
|
578
|
+
justify-content: flex-start;
|
|
579
|
+
min-height: 13px;
|
|
580
|
+
padding-right: 52px;
|
|
581
|
+
margin-bottom: 3px;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
.coco-word-native-revision-meta {
|
|
585
|
+
overflow: hidden;
|
|
586
|
+
color: #64748b;
|
|
587
|
+
font-size: 9px;
|
|
588
|
+
text-overflow: ellipsis;
|
|
589
|
+
white-space: nowrap;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
.coco-word-native-revision-content {
|
|
593
|
+
display: -webkit-box;
|
|
594
|
+
overflow: hidden;
|
|
595
|
+
margin-bottom: 4px;
|
|
596
|
+
color: #334155;
|
|
597
|
+
font-size: 11px;
|
|
598
|
+
line-height: 1.2;
|
|
599
|
+
word-break: break-all;
|
|
600
|
+
-webkit-box-orient: vertical;
|
|
601
|
+
-webkit-line-clamp: 2;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
.coco-word-native-revision-actions {
|
|
605
|
+
display: none;
|
|
606
|
+
position: absolute;
|
|
607
|
+
top: 6px;
|
|
608
|
+
right: 8px;
|
|
609
|
+
z-index: 2;
|
|
610
|
+
pointer-events: auto;
|
|
611
|
+
gap: 4px;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
.coco-word-native-revision-bubble.is-selected .coco-word-native-revision-actions {
|
|
615
|
+
display: flex;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
.coco-word-native-revision-bubble button {
|
|
619
|
+
position: relative;
|
|
620
|
+
z-index: 1;
|
|
621
|
+
display: inline-grid;
|
|
622
|
+
width: 22px;
|
|
623
|
+
height: 20px;
|
|
624
|
+
padding: 0;
|
|
625
|
+
border: 1px solid #94a3b8;
|
|
626
|
+
border-radius: 2px;
|
|
627
|
+
background: #fff;
|
|
628
|
+
color: inherit;
|
|
629
|
+
cursor: pointer;
|
|
630
|
+
font-size: 14px;
|
|
631
|
+
line-height: 1;
|
|
632
|
+
place-items: center;
|
|
633
|
+
pointer-events: auto;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
.coco-word-native-revision-bubble button:hover {
|
|
637
|
+
filter: brightness(0.96);
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
.coco-word-native-revision-bubble button.is-accept {
|
|
641
|
+
color: #15803d;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
.coco-word-native-revision-bubble button.is-reject {
|
|
645
|
+
color: #b91c1c;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
coco-word-native-story {
|
|
649
|
+
display: block;
|
|
650
|
+
margin: 0 0 18pt;
|
|
651
|
+
padding: 0 0 8pt;
|
|
652
|
+
border-bottom: 1px solid #d6d9df;
|
|
653
|
+
color: #42464d;
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
coco-word-native-page > coco-word-native-story {
|
|
657
|
+
position: absolute;
|
|
658
|
+
z-index: 1;
|
|
659
|
+
right: var(--coco-word-page-margin-right, 0);
|
|
660
|
+
left: var(--coco-word-page-margin-left, 0);
|
|
661
|
+
margin: 0;
|
|
662
|
+
padding: 0;
|
|
663
|
+
border: 0;
|
|
664
|
+
color: inherit;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
coco-word-native-page > coco-word-native-story[data-story-kind="header"] {
|
|
668
|
+
top: var(--coco-word-header-distance, 0);
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
coco-word-native-page > coco-word-native-story[data-story-kind="footer"] {
|
|
672
|
+
bottom: var(--coco-word-footer-distance, 0);
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
coco-word-native-story.is-empty {
|
|
676
|
+
display: none;
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
coco-word-native-story[data-story-kind="footer"] {
|
|
680
|
+
margin: 18pt 0 0;
|
|
681
|
+
padding: 8pt 0 0;
|
|
682
|
+
border-top: 1px solid #d6d9df;
|
|
683
|
+
border-bottom: 0;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
coco-word-native-page > coco-word-native-story[data-story-kind="footer"] {
|
|
687
|
+
margin: 0;
|
|
688
|
+
padding: 0;
|
|
689
|
+
border: 0;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
coco-word-native-story coco-word-native-p {
|
|
693
|
+
margin-bottom: 4pt;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
coco-word-native-page > coco-word-native-story coco-word-native-p {
|
|
697
|
+
margin-bottom: 0;
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
coco-word-native-p {
|
|
701
|
+
position: relative;
|
|
702
|
+
display: block;
|
|
703
|
+
min-height: 1.4em;
|
|
704
|
+
margin: 0;
|
|
705
|
+
outline: none;
|
|
706
|
+
white-space: pre-wrap;
|
|
707
|
+
overflow-wrap: anywhere;
|
|
708
|
+
word-break: break-word;
|
|
709
|
+
box-sizing: border-box;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
coco-word-native-p.is-flow-empty {
|
|
713
|
+
min-height: 0;
|
|
714
|
+
height: 0;
|
|
715
|
+
line-height: 0;
|
|
716
|
+
margin: 0;
|
|
717
|
+
padding: 0;
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
coco-word-native-p:focus {
|
|
721
|
+
background: #fffdf2;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
coco-word-native-p.has-tab-stops {
|
|
725
|
+
text-align: initial;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
.coco-word-tab-row {
|
|
729
|
+
display: grid;
|
|
730
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
731
|
+
align-items: baseline;
|
|
732
|
+
width: 100%;
|
|
733
|
+
column-gap: 12pt;
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
.coco-word-tab-row.has-leader-dot,
|
|
737
|
+
.coco-word-tab-row.has-leader-hyphen,
|
|
738
|
+
.coco-word-tab-row.has-leader-underscore,
|
|
739
|
+
.coco-word-tab-row.has-leader-heavy,
|
|
740
|
+
.coco-word-tab-row.has-leader-middleDot {
|
|
741
|
+
column-gap: 4pt;
|
|
742
|
+
line-height: 2;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
.coco-word-tab-row.is-three-part-tab {
|
|
746
|
+
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
.coco-word-tab-segment {
|
|
750
|
+
min-width: 0;
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
.coco-word-tab-segment.is-segment-0 {
|
|
754
|
+
text-align: left;
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
.coco-word-tab-row.is-right-tab[class*="has-leader-"] .coco-word-tab-segment.is-segment-0 {
|
|
758
|
+
display: flex;
|
|
759
|
+
align-items: baseline;
|
|
760
|
+
white-space: nowrap;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
.coco-word-tab-row.is-right-tab[class*="has-leader-"] .coco-word-tab-segment.is-segment-0::after {
|
|
764
|
+
content: "";
|
|
765
|
+
flex: 1 1 auto;
|
|
766
|
+
min-width: 12pt;
|
|
767
|
+
margin: 0 3pt;
|
|
768
|
+
border-bottom: 1px dotted currentColor;
|
|
769
|
+
transform: translateY(-0.25em);
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
.coco-word-tab-row.is-right-tab.has-leader-hyphen .coco-word-tab-segment.is-segment-0::after {
|
|
773
|
+
border-bottom-style: dashed;
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
.coco-word-tab-row.is-right-tab.has-leader-underscore .coco-word-tab-segment.is-segment-0::after,
|
|
777
|
+
.coco-word-tab-row.is-right-tab.has-leader-heavy .coco-word-tab-segment.is-segment-0::after {
|
|
778
|
+
border-bottom-style: solid;
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
.coco-word-tab-row.is-right-tab.has-leader-heavy .coco-word-tab-segment.is-segment-0::after {
|
|
782
|
+
border-bottom-width: 2px;
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
.coco-word-tab-segment.is-segment-1 {
|
|
786
|
+
text-align: center;
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
.coco-word-tab-row.is-right-tab .coco-word-tab-segment.is-segment-1,
|
|
790
|
+
.coco-word-tab-segment.is-segment-2 {
|
|
791
|
+
text-align: right;
|
|
792
|
+
white-space: nowrap;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
.coco-word-tab-marker {
|
|
796
|
+
display: none;
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
coco-word-native-p[data-numbering="true"] {
|
|
800
|
+
margin-left: 2.8em;
|
|
801
|
+
padding-right: 0.5em;
|
|
802
|
+
text-indent: -2.8em;
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
coco-word-native-p[data-numbering="true"]::before {
|
|
806
|
+
content: attr(data-numbering-label) " ";
|
|
807
|
+
display: inline-block;
|
|
808
|
+
width: 2.4em;
|
|
809
|
+
text-indent: 0;
|
|
810
|
+
white-space: nowrap;
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
coco-word-native-p[data-keep-lines="true"] {
|
|
814
|
+
break-inside: avoid;
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
coco-word-native-p[data-keep-next="true"] {
|
|
818
|
+
break-after: avoid;
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
coco-word-native-table {
|
|
822
|
+
display: block;
|
|
823
|
+
width: 100%;
|
|
824
|
+
min-width: 0;
|
|
825
|
+
box-sizing: border-box;
|
|
826
|
+
margin: 0;
|
|
827
|
+
max-width: 100%;
|
|
828
|
+
overflow: auto;
|
|
829
|
+
scrollbar-gutter: stable;
|
|
830
|
+
--coco-word-doc-grid-line-height: 1em;
|
|
831
|
+
white-space: pre-wrap;
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
coco-word-native-table table {
|
|
835
|
+
box-sizing: border-box;
|
|
836
|
+
min-width: 100%;
|
|
837
|
+
max-width: none;
|
|
838
|
+
margin: 0;
|
|
839
|
+
border-collapse: collapse;
|
|
840
|
+
table-layout: fixed;
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
coco-word-native-table tbody {
|
|
844
|
+
display: table-row-group;
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
coco-word-native-table tr[data-height-rule="exact"] {
|
|
848
|
+
height: var(--coco-word-row-height);
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
coco-word-native-table tr[data-height-rule="atLeast"] {
|
|
852
|
+
height: var(--coco-word-row-height);
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
coco-word-native-table td {
|
|
856
|
+
min-width: 48px;
|
|
857
|
+
padding: 0 5.4pt;
|
|
858
|
+
border: var(--coco-word-table-border, 0);
|
|
859
|
+
box-sizing: border-box;
|
|
860
|
+
line-height: normal;
|
|
861
|
+
vertical-align: top;
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
coco-word-native-table td coco-word-native-p {
|
|
865
|
+
min-height: 1.2em;
|
|
866
|
+
margin: 0;
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
coco-word-native-table td coco-word-native-p:last-child {
|
|
870
|
+
margin-bottom: 0;
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
coco-word-native-document.uses-compact-latin-tables coco-word-native-table td coco-word-native-p {
|
|
874
|
+
font-size: 13px !important;
|
|
875
|
+
line-height: 1.08 !important;
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
coco-word-native-table td coco-word-native-table {
|
|
879
|
+
margin: 0;
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
coco-word-native-p img {
|
|
883
|
+
display: inline-block;
|
|
884
|
+
max-width: 100%;
|
|
885
|
+
height: auto;
|
|
886
|
+
vertical-align: baseline;
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
coco-word-native-p img.coco-word-anchor-image.is-float-right {
|
|
890
|
+
float: right;
|
|
891
|
+
max-width: 55%;
|
|
892
|
+
margin: 0 0 10pt 14pt;
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
coco-word-native-p img.coco-word-anchor-image.is-float-left {
|
|
896
|
+
float: left;
|
|
897
|
+
max-width: 55%;
|
|
898
|
+
margin: 0 14pt 10pt 0;
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
coco-word-native-p img.coco-word-anchor-image.is-top-bottom {
|
|
902
|
+
display: block;
|
|
903
|
+
clear: both;
|
|
904
|
+
margin: 10pt auto;
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
coco-word-native-p img.coco-word-anchor-image.is-overlay-like {
|
|
908
|
+
position: relative;
|
|
909
|
+
left: var(--coco-word-anchor-left, 0);
|
|
910
|
+
top: var(--coco-word-anchor-top, 0);
|
|
911
|
+
display: block;
|
|
912
|
+
margin: 8pt 0;
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
coco-word-native-p img.coco-word-anchor-image.is-absolute-anchor {
|
|
916
|
+
position: absolute;
|
|
917
|
+
left: var(--coco-word-anchor-left, 0);
|
|
918
|
+
top: var(--coco-word-anchor-top, 0);
|
|
919
|
+
max-width: none;
|
|
920
|
+
margin: 0;
|
|
921
|
+
pointer-events: auto;
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
coco-word-native-p img.coco-word-anchor-image.is-paragraph-relative-anchor,
|
|
925
|
+
coco-word-native-drawing.coco-word-anchor-drawing.is-paragraph-relative-anchor {
|
|
926
|
+
max-width: 100%;
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
coco-word-native-p img.coco-word-anchor-image.is-column-relative-anchor,
|
|
930
|
+
coco-word-native-drawing.coco-word-anchor-drawing.is-column-relative-anchor {
|
|
931
|
+
max-width: min(100%, var(--coco-word-column-width, 100%));
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
coco-word-native-p img.coco-word-anchor-image.is-absolute-anchor.is-anchor-right {
|
|
935
|
+
right: 0;
|
|
936
|
+
left: auto;
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
coco-word-native-p img.coco-word-anchor-image.is-absolute-anchor.is-anchor-center {
|
|
940
|
+
left: 50%;
|
|
941
|
+
transform: translateX(-50%);
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
coco-word-native-p img.coco-word-anchor-image.is-centered {
|
|
945
|
+
display: block;
|
|
946
|
+
clear: both;
|
|
947
|
+
margin-right: auto;
|
|
948
|
+
margin-left: auto;
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
coco-word-native-p img.coco-word-anchor-image.is-behind-text {
|
|
952
|
+
z-index: 0;
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
coco-word-native-p img.coco-word-anchor-image.is-in-front-of-text {
|
|
956
|
+
z-index: 2;
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
coco-word-native-drawing {
|
|
960
|
+
display: inline-flex;
|
|
961
|
+
box-sizing: border-box;
|
|
962
|
+
max-width: calc(100% - 4pt);
|
|
963
|
+
min-width: 1px;
|
|
964
|
+
min-height: 1px;
|
|
965
|
+
margin: 0 2pt;
|
|
966
|
+
padding: 2pt 4pt;
|
|
967
|
+
vertical-align: baseline;
|
|
968
|
+
white-space: pre-wrap;
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
coco-word-native-drawing.has-border {
|
|
972
|
+
border: 1px solid #d4d4d8;
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
coco-word-native-drawing.is-empty {
|
|
976
|
+
display: none !important;
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
coco-word-native-drawing.has-fill {
|
|
980
|
+
background: #ffffff;
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
coco-word-native-drawing.is-line-or-connector {
|
|
984
|
+
display: block;
|
|
985
|
+
max-width: 100%;
|
|
986
|
+
min-height: 0;
|
|
987
|
+
margin: 0;
|
|
988
|
+
padding: 0;
|
|
989
|
+
border: 0;
|
|
990
|
+
background: transparent;
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
coco-word-native-drawing.is-line-or-connector.is-horizontal-line {
|
|
994
|
+
height: 0;
|
|
995
|
+
border-top: 1px solid #111827;
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
coco-word-native-drawing.is-line-or-connector.is-vertical-line {
|
|
999
|
+
width: 0;
|
|
1000
|
+
border-left: 1px solid #111827;
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
coco-word-native-drawing .coco-word-native-drawing-text {
|
|
1004
|
+
display: block;
|
|
1005
|
+
width: 100%;
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
coco-word-native-drawing .coco-word-native-drawing-paragraph {
|
|
1009
|
+
display: block;
|
|
1010
|
+
min-height: 1.2em;
|
|
1011
|
+
margin: 0;
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
coco-word-native-drawing.coco-word-anchor-drawing.is-float-right {
|
|
1015
|
+
float: right;
|
|
1016
|
+
max-width: 55%;
|
|
1017
|
+
margin: 0 0 10pt 14pt;
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
coco-word-native-drawing.coco-word-anchor-drawing.is-float-left {
|
|
1021
|
+
float: left;
|
|
1022
|
+
max-width: 55%;
|
|
1023
|
+
margin: 0 14pt 10pt 0;
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
coco-word-native-drawing.coco-word-anchor-drawing.is-top-bottom {
|
|
1027
|
+
display: flex;
|
|
1028
|
+
clear: both;
|
|
1029
|
+
margin: 10pt auto;
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
coco-word-native-drawing.coco-word-anchor-drawing.is-overlay-like {
|
|
1033
|
+
position: relative;
|
|
1034
|
+
left: var(--coco-word-anchor-left, 0);
|
|
1035
|
+
top: var(--coco-word-anchor-top, 0);
|
|
1036
|
+
display: flex;
|
|
1037
|
+
margin: 8pt 0;
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
coco-word-native-drawing.coco-word-anchor-drawing.is-absolute-anchor {
|
|
1041
|
+
position: absolute;
|
|
1042
|
+
left: var(--coco-word-anchor-left, 0);
|
|
1043
|
+
top: var(--coco-word-anchor-top, 0);
|
|
1044
|
+
max-width: none;
|
|
1045
|
+
margin: 0;
|
|
1046
|
+
pointer-events: auto;
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
coco-word-native-drawing.coco-word-anchor-drawing.is-paragraph-relative-anchor {
|
|
1050
|
+
max-width: 100%;
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
coco-word-native-drawing.coco-word-anchor-drawing.is-column-relative-anchor {
|
|
1054
|
+
max-width: min(100%, var(--coco-word-column-width, 100%));
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
coco-word-native-drawing.coco-word-anchor-drawing.is-absolute-anchor.is-anchor-right {
|
|
1058
|
+
right: 0;
|
|
1059
|
+
left: auto;
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
coco-word-native-drawing.coco-word-anchor-drawing.is-absolute-anchor.is-anchor-center {
|
|
1063
|
+
left: 50%;
|
|
1064
|
+
transform: translateX(-50%);
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
coco-word-native-drawing.coco-word-anchor-drawing.is-centered {
|
|
1068
|
+
display: flex;
|
|
1069
|
+
clear: both;
|
|
1070
|
+
margin-right: auto;
|
|
1071
|
+
margin-left: auto;
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
coco-word-native-drawing.coco-word-anchor-drawing.is-behind-text {
|
|
1075
|
+
z-index: 0;
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
coco-word-native-drawing.coco-word-anchor-drawing.is-in-front-of-text {
|
|
1079
|
+
z-index: 2;
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
coco-word-native-p img.is-selected {
|
|
1083
|
+
outline: 2px solid #2563eb;
|
|
1084
|
+
outline-offset: 2px;
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
coco-word-native-table td.is-cell-range-selected {
|
|
1088
|
+
position: relative;
|
|
1089
|
+
box-shadow: inset 0 0 0 9999px rgb(37 99 235 / 14%);
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
coco-word-native-table td.is-cell-range-selected::after {
|
|
1093
|
+
position: absolute;
|
|
1094
|
+
z-index: 3;
|
|
1095
|
+
inset: -1px;
|
|
1096
|
+
border: 1px solid #2563eb;
|
|
1097
|
+
pointer-events: none;
|
|
1098
|
+
content: "";
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
coco-word-native-table td.is-cell-range-anchor::after,
|
|
1102
|
+
coco-word-native-table td.is-cell-range-focus::after {
|
|
1103
|
+
border-width: 2px;
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
.coco-word-native-editor-host {
|
|
1107
|
+
position: relative;
|
|
1108
|
+
user-select: text;
|
|
1109
|
+
-webkit-user-select: text;
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
.coco-word-native-editor-host coco-word-native-document,
|
|
1113
|
+
.coco-word-native-editor-host coco-word-native-page,
|
|
1114
|
+
.coco-word-native-editor-host coco-word-native-page-body,
|
|
1115
|
+
.coco-word-native-editor-host coco-word-native-story,
|
|
1116
|
+
.coco-word-native-editor-host coco-word-native-p {
|
|
1117
|
+
user-select: text;
|
|
1118
|
+
-webkit-user-select: text;
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
.coco-word-image-resize-handle {
|
|
1122
|
+
position: absolute;
|
|
1123
|
+
z-index: 20;
|
|
1124
|
+
box-sizing: border-box;
|
|
1125
|
+
width: 12px;
|
|
1126
|
+
height: 12px;
|
|
1127
|
+
min-width: 12px;
|
|
1128
|
+
min-height: 12px;
|
|
1129
|
+
padding: 0;
|
|
1130
|
+
border: 2px solid #ffffff;
|
|
1131
|
+
border-radius: 2px;
|
|
1132
|
+
background: #2563eb;
|
|
1133
|
+
box-shadow: 0 0 0 1px #1d4ed8;
|
|
1134
|
+
cursor: nwse-resize;
|
|
1135
|
+
touch-action: none;
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
.coco-word-page-break {
|
|
1139
|
+
display: block;
|
|
1140
|
+
position: relative;
|
|
1141
|
+
height: 28px;
|
|
1142
|
+
margin: 8px 0;
|
|
1143
|
+
border-top: 1px dashed #b8bdc7;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
.coco-word-page-break::after {
|
|
1147
|
+
content: "Page break";
|
|
1148
|
+
position: absolute;
|
|
1149
|
+
top: -9px;
|
|
1150
|
+
left: 50%;
|
|
1151
|
+
padding: 0 6px;
|
|
1152
|
+
background: #ffffff;
|
|
1153
|
+
color: #777d88;
|
|
1154
|
+
font-size: 10px;
|
|
1155
|
+
line-height: 16px;
|
|
1156
|
+
transform: translateX(-50%);
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
coco-word-native-document.is-paginated .coco-word-page-break {
|
|
1160
|
+
display: none;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
.coco-word-page p {
|
|
1164
|
+
margin: 0 0 12px;
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
.coco-word-page p[data-style-id="Title"] {
|
|
1168
|
+
margin: 0 0 24px;
|
|
1169
|
+
padding-bottom: 10px;
|
|
1170
|
+
border-bottom: 2px solid #4472c4;
|
|
1171
|
+
color: #17365d;
|
|
1172
|
+
font-size: 30pt;
|
|
1173
|
+
line-height: 1.18;
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
.coco-word-page p[data-style-id="Heading1"] {
|
|
1177
|
+
margin-top: 26px;
|
|
1178
|
+
margin-bottom: 10px;
|
|
1179
|
+
color: #365f91;
|
|
1180
|
+
font-size: 16pt;
|
|
1181
|
+
font-weight: 700;
|
|
1182
|
+
line-height: 1.25;
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
.coco-word-page p[data-style-id="Heading2"] {
|
|
1186
|
+
margin-top: 20px;
|
|
1187
|
+
margin-bottom: 8px;
|
|
1188
|
+
color: #4f81bd;
|
|
1189
|
+
font-size: 14pt;
|
|
1190
|
+
font-weight: 700;
|
|
1191
|
+
line-height: 1.3;
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
.coco-word-page img {
|
|
1195
|
+
display: inline-block;
|
|
1196
|
+
max-width: 100%;
|
|
1197
|
+
height: auto;
|
|
1198
|
+
vertical-align: baseline;
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
.coco-word-table-scroll {
|
|
1202
|
+
overflow-x: auto;
|
|
1203
|
+
max-width: 100%;
|
|
1204
|
+
margin: 12px 0;
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
.coco-word-page table {
|
|
1208
|
+
margin: 0;
|
|
1209
|
+
border-collapse: collapse;
|
|
1210
|
+
table-layout: fixed;
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
.coco-word-page tbody {
|
|
1214
|
+
display: table-row-group;
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
.coco-word-page td {
|
|
1218
|
+
min-width: 48px;
|
|
1219
|
+
padding: 0 5.4pt;
|
|
1220
|
+
border: var(--coco-word-table-border, 1px solid #d4d4d8);
|
|
1221
|
+
box-sizing: border-box;
|
|
1222
|
+
line-height: normal;
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
.coco-word-page td p {
|
|
1226
|
+
margin: 0 0 6px;
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
.coco-word-page td p:last-child {
|
|
1230
|
+
margin-bottom: 0;
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
.coco-word-comment {
|
|
1234
|
+
background: #fff1a8;
|
|
1235
|
+
border-bottom: 2px solid #e4b100;
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
.coco-word-revision-insert {
|
|
1239
|
+
background: #dcfce7;
|
|
1240
|
+
color: #166534;
|
|
1241
|
+
text-decoration: underline;
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
.coco-word-revision-delete {
|
|
1245
|
+
background: #fee2e2;
|
|
1246
|
+
color: #991b1b;
|
|
1247
|
+
text-decoration: line-through;
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
img.coco-word-revision-delete {
|
|
1251
|
+
outline: 2px solid #dc2626;
|
|
1252
|
+
opacity: 0.72;
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
img.coco-word-revision-insert {
|
|
1256
|
+
outline: 2px solid #16a34a;
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
img.coco-word-revision-format {
|
|
1260
|
+
outline: 2px dashed #7c3aed;
|
|
1261
|
+
outline-offset: 2px;
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
coco-word-native-table.coco-word-revision-insert {
|
|
1265
|
+
outline: 2px solid #2563eb;
|
|
1266
|
+
outline-offset: 2px;
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
coco-word-native-table.coco-word-revision-delete {
|
|
1270
|
+
outline: 2px solid #dc2626;
|
|
1271
|
+
outline-offset: 2px;
|
|
1272
|
+
opacity: 0.78;
|
|
1273
|
+
}
|
|
1274
|
+
|
|
1275
|
+
.coco-word-inspector {
|
|
1276
|
+
min-width: 0;
|
|
1277
|
+
min-height: 0;
|
|
1278
|
+
overflow: auto;
|
|
1279
|
+
padding: 14px;
|
|
1280
|
+
background: #ffffff;
|
|
1281
|
+
border: 1px solid #d8dbe2;
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1284
|
+
@media (max-width: 1399px) {
|
|
1285
|
+
.coco-word-shell {
|
|
1286
|
+
grid-template-columns: minmax(0, 1fr);
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
|
+
.coco-word-inspector {
|
|
1290
|
+
display: none;
|
|
1291
|
+
}
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1294
|
+
.coco-word-inspector h2 {
|
|
1295
|
+
margin: 0 0 12px;
|
|
1296
|
+
font-size: 15px;
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
.coco-word-inspector h2:not(:first-child) {
|
|
1300
|
+
margin-top: 18px;
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
.coco-word-acceptance {
|
|
1304
|
+
display: grid;
|
|
1305
|
+
gap: 10px;
|
|
1306
|
+
margin-bottom: 14px;
|
|
1307
|
+
font-size: 12px;
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
.coco-word-acceptance-status {
|
|
1311
|
+
display: inline-flex;
|
|
1312
|
+
align-items: center;
|
|
1313
|
+
width: fit-content;
|
|
1314
|
+
height: 24px;
|
|
1315
|
+
padding: 0 8px;
|
|
1316
|
+
border: 1px solid #b7c7af;
|
|
1317
|
+
background: #eff8ea;
|
|
1318
|
+
color: #245917;
|
|
1319
|
+
font-weight: 700;
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
.coco-word-acceptance-status.is-warn {
|
|
1323
|
+
border-color: #e3c66d;
|
|
1324
|
+
background: #fff8df;
|
|
1325
|
+
color: #775400;
|
|
1326
|
+
}
|
|
1327
|
+
|
|
1328
|
+
.coco-word-acceptance-grid {
|
|
1329
|
+
display: grid;
|
|
1330
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1331
|
+
gap: 6px;
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
.coco-word-acceptance-metric {
|
|
1335
|
+
min-width: 0;
|
|
1336
|
+
padding: 7px;
|
|
1337
|
+
border: 1px solid #e1e4ea;
|
|
1338
|
+
background: #fafafa;
|
|
1339
|
+
}
|
|
1340
|
+
|
|
1341
|
+
.coco-word-acceptance-metric span {
|
|
1342
|
+
display: block;
|
|
1343
|
+
color: #5f6368;
|
|
1344
|
+
font-size: 11px;
|
|
1345
|
+
}
|
|
1346
|
+
|
|
1347
|
+
.coco-word-acceptance-metric strong {
|
|
1348
|
+
display: block;
|
|
1349
|
+
margin-top: 3px;
|
|
1350
|
+
color: #202124;
|
|
1351
|
+
font-size: 12px;
|
|
1352
|
+
font-weight: 700;
|
|
1353
|
+
overflow-wrap: anywhere;
|
|
1354
|
+
}
|
|
1355
|
+
|
|
1356
|
+
.coco-word-acceptance-metric.is-good {
|
|
1357
|
+
border-color: #c8dac2;
|
|
1358
|
+
background: #f5fbf2;
|
|
1359
|
+
}
|
|
1360
|
+
|
|
1361
|
+
.coco-word-acceptance-metric.is-warn {
|
|
1362
|
+
border-color: #efd77f;
|
|
1363
|
+
background: #fff9e8;
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
.coco-word-acceptance-section {
|
|
1367
|
+
color: #3f4247;
|
|
1368
|
+
font-size: 12px;
|
|
1369
|
+
font-weight: 700;
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1372
|
+
.coco-word-acceptance ul {
|
|
1373
|
+
margin: 0;
|
|
1374
|
+
padding-left: 18px;
|
|
1375
|
+
color: #775400;
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
.coco-word-acceptance-empty {
|
|
1379
|
+
color: #5f6368;
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
.coco-word-inspector pre {
|
|
1383
|
+
margin: 0;
|
|
1384
|
+
white-space: pre-wrap;
|
|
1385
|
+
word-break: break-word;
|
|
1386
|
+
font-size: 12px;
|
|
1387
|
+
line-height: 1.5;
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
.coco-word-context-menu {
|
|
1391
|
+
position: fixed;
|
|
1392
|
+
z-index: 10000;
|
|
1393
|
+
display: flex;
|
|
1394
|
+
min-width: 188px;
|
|
1395
|
+
max-height: calc(100vh - 8px);
|
|
1396
|
+
padding: 4px;
|
|
1397
|
+
overflow-y: auto;
|
|
1398
|
+
flex-direction: column;
|
|
1399
|
+
background: #ffffff;
|
|
1400
|
+
border: 1px solid #c8c8c8;
|
|
1401
|
+
border-radius: 4px;
|
|
1402
|
+
box-shadow: 0 8px 24px rgb(0 0 0 / 16%);
|
|
1403
|
+
color: #202124;
|
|
1404
|
+
font: 13px/1.35 Arial, "Microsoft YaHei", sans-serif;
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
.coco-word-context-menu-item {
|
|
1408
|
+
min-height: 30px;
|
|
1409
|
+
padding: 5px 10px;
|
|
1410
|
+
border: 0;
|
|
1411
|
+
border-radius: 3px;
|
|
1412
|
+
background: transparent;
|
|
1413
|
+
color: inherit;
|
|
1414
|
+
font: inherit;
|
|
1415
|
+
letter-spacing: 0;
|
|
1416
|
+
text-align: left;
|
|
1417
|
+
white-space: nowrap;
|
|
1418
|
+
cursor: default;
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1421
|
+
.coco-word-context-menu-item:hover:not(:disabled),
|
|
1422
|
+
.coco-word-context-menu-item:focus-visible:not(:disabled) {
|
|
1423
|
+
background: #e8f0fe;
|
|
1424
|
+
outline: none;
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
.coco-word-context-menu-item:disabled {
|
|
1428
|
+
color: #9aa0a6;
|
|
1429
|
+
}
|
|
1430
|
+
|
|
1431
|
+
.coco-word-context-menu-separator {
|
|
1432
|
+
height: 1px;
|
|
1433
|
+
margin: 4px 6px;
|
|
1434
|
+
background: #dadce0;
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1437
|
+
.coco-word-dialog-backdrop {
|
|
1438
|
+
position: fixed;
|
|
1439
|
+
inset: 0;
|
|
1440
|
+
z-index: 11000;
|
|
1441
|
+
display: grid;
|
|
1442
|
+
place-items: center;
|
|
1443
|
+
padding: 20px;
|
|
1444
|
+
box-sizing: border-box;
|
|
1445
|
+
background: rgb(15 23 42 / 28%);
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
.coco-word-dialog {
|
|
1449
|
+
width: min(420px, 100%);
|
|
1450
|
+
padding: 20px;
|
|
1451
|
+
box-sizing: border-box;
|
|
1452
|
+
background: #ffffff;
|
|
1453
|
+
border: 1px solid #c7cbd4;
|
|
1454
|
+
box-shadow: 0 12px 32px rgb(15 23 42 / 22%);
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
.coco-word-dialog h2 {
|
|
1458
|
+
margin: 0 0 14px;
|
|
1459
|
+
color: #202124;
|
|
1460
|
+
font-size: 17px;
|
|
1461
|
+
font-weight: 600;
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
.coco-word-dialog-input {
|
|
1465
|
+
display: block;
|
|
1466
|
+
width: 100%;
|
|
1467
|
+
min-height: 96px;
|
|
1468
|
+
padding: 9px 10px;
|
|
1469
|
+
box-sizing: border-box;
|
|
1470
|
+
border: 1px solid #c7cbd4;
|
|
1471
|
+
color: #202124;
|
|
1472
|
+
font: 14px/1.5 Arial, "Microsoft YaHei", sans-serif;
|
|
1473
|
+
resize: vertical;
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
.coco-word-dialog-input:focus {
|
|
1477
|
+
outline: 2px solid rgb(59 91 219 / 22%);
|
|
1478
|
+
border-color: #3b5bdb;
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
.coco-word-dialog-actions {
|
|
1482
|
+
display: flex;
|
|
1483
|
+
justify-content: flex-end;
|
|
1484
|
+
gap: 8px;
|
|
1485
|
+
margin-top: 16px;
|
|
1486
|
+
}
|
|
1487
|
+
|
|
1488
|
+
.coco-word-dialog-button {
|
|
1489
|
+
min-width: 72px;
|
|
1490
|
+
min-height: 34px;
|
|
1491
|
+
padding: 6px 14px;
|
|
1492
|
+
border: 1px solid #c7cbd4;
|
|
1493
|
+
background: #ffffff;
|
|
1494
|
+
color: #202124;
|
|
1495
|
+
font: 14px Arial, "Microsoft YaHei", sans-serif;
|
|
1496
|
+
cursor: pointer;
|
|
1497
|
+
}
|
|
1498
|
+
|
|
1499
|
+
.coco-word-dialog-button.is-primary {
|
|
1500
|
+
border-color: #3158c9;
|
|
1501
|
+
background: #3158c9;
|
|
1502
|
+
color: #ffffff;
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
.coco-word-dialog-button:hover {
|
|
1506
|
+
filter: brightness(0.96);
|
|
1507
|
+
}
|