@rzymek/react-pdf-highlighter 8.0.1-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +43 -0
- package/dist/components/AreaHighlight.d.ts +8 -0
- package/dist/components/Highlight.d.ts +17 -0
- package/dist/components/HighlightLayer.d.ts +26 -0
- package/dist/components/MouseMonitor.d.ts +15 -0
- package/dist/components/MouseSelection.d.ts +10 -0
- package/dist/components/PdfHighlighter.d.ts +92 -0
- package/dist/components/PdfLoader.d.ts +32 -0
- package/dist/components/Popup.d.ts +8 -0
- package/dist/components/Tip.d.ts +20 -0
- package/dist/components/TipContainer.d.ts +13 -0
- package/dist/index.d.ts +7 -0
- package/dist/lib/coordinates.d.ts +8 -0
- package/dist/lib/get-area-as-png.d.ts +2 -0
- package/dist/lib/get-bounding-rect.d.ts +2 -0
- package/dist/lib/get-client-rects.d.ts +2 -0
- package/dist/lib/optimize-client-rects.d.ts +2 -0
- package/dist/lib/pdfjs-dom.d.ts +8 -0
- package/dist/node_modules/.pnpm/pdfjs-dist@4.4.168/node_modules/pdfjs-dist/web/pdf_viewer.js +8022 -0
- package/dist/node_modules/.pnpm/ts-debounce@4.0.0/node_modules/ts-debounce/dist/src/index.esm.js +38 -0
- package/dist/src/components/AreaHighlight.js +58 -0
- package/dist/src/components/Highlight.js +45 -0
- package/dist/src/components/HighlightLayer.js +47 -0
- package/dist/src/components/MouseMonitor.js +45 -0
- package/dist/src/components/MouseSelection.js +119 -0
- package/dist/src/components/PdfHighlighter.js +543 -0
- package/dist/src/components/PdfLoader.js +81 -0
- package/dist/src/components/Popup.js +42 -0
- package/dist/src/components/Tip.js +82 -0
- package/dist/src/components/TipContainer.js +62 -0
- package/dist/src/index.js +15 -0
- package/dist/src/lib/coordinates.js +50 -0
- package/dist/src/lib/get-area-as-png.js +31 -0
- package/dist/src/lib/get-bounding-rect.js +40 -0
- package/dist/src/lib/get-client-rects.js +39 -0
- package/dist/src/lib/optimize-client-rects.js +54 -0
- package/dist/src/lib/pdfjs-dom.js +64 -0
- package/dist/src/style/AreaHighlight.module.css.js +14 -0
- package/dist/src/style/Highlight.module.css.js +20 -0
- package/dist/src/style/MouseSelection.module.css.js +8 -0
- package/dist/src/style/PdfHighlighter.module.css.js +14 -0
- package/dist/src/style/Tip.module.css.js +11 -0
- package/dist/src/style/TipContainer.module.css.js +8 -0
- package/dist/style.css +2903 -0
- package/dist/types.d.ts +62 -0
- package/package.json +69 -0
package/dist/style.css
ADDED
|
@@ -0,0 +1,2903 @@
|
|
|
1
|
+
._container_12oj9_1 {
|
|
2
|
+
position: absolute;
|
|
3
|
+
overflow: auto;
|
|
4
|
+
width: 100%;
|
|
5
|
+
height: 100%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
._highlightLayer_12oj9_8 {
|
|
9
|
+
position: absolute;
|
|
10
|
+
z-index: 3;
|
|
11
|
+
left: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
._tipContainer_12oj9_14 {
|
|
15
|
+
z-index: 6;
|
|
16
|
+
position: absolute;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
._disableSelection_12oj9_19 {
|
|
20
|
+
user-select: none;
|
|
21
|
+
pointer-events: none;
|
|
22
|
+
}
|
|
23
|
+
._mouseSelection_1p43j_1 {
|
|
24
|
+
position: absolute;
|
|
25
|
+
border: 1px dashed #333;
|
|
26
|
+
background: rgba(252, 232, 151, 1);
|
|
27
|
+
mix-blend-mode: multiply;
|
|
28
|
+
}
|
|
29
|
+
/* Internet Explorer support method */
|
|
30
|
+
/* biome-ignore lint/correctness/noUnknownMediaFeatureName: update this */
|
|
31
|
+
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
|
32
|
+
._mouseSelection_1p43j_1 {
|
|
33
|
+
opacity: 0.5;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* Microsoft Edge Browser 12+ (All) - @supports method */
|
|
38
|
+
@supports (-ms-ime-align: auto) {
|
|
39
|
+
._mouseSelection_1p43j_1 {
|
|
40
|
+
opacity: 0.5;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
._tipContainer_f56kr_1 {
|
|
44
|
+
z-index: 6;
|
|
45
|
+
position: absolute;
|
|
46
|
+
}
|
|
47
|
+
._compact_1um8o_1 {
|
|
48
|
+
cursor: pointer;
|
|
49
|
+
background-color: #3d464d;
|
|
50
|
+
border: 1px solid rgba(255, 255, 255, 0.25);
|
|
51
|
+
color: white;
|
|
52
|
+
padding: 5px 10px;
|
|
53
|
+
border-radius: 3px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
._card_1um8o_10 {
|
|
57
|
+
padding: 10px;
|
|
58
|
+
background: #fff;
|
|
59
|
+
background-clip: padding-box;
|
|
60
|
+
border: 1px solid #e8e8e8;
|
|
61
|
+
border-radius: 4px;
|
|
62
|
+
box-shadow: 0 2px 4px rgba(37, 40, 43, 0.2);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
._card_1um8o_10 textarea {
|
|
66
|
+
font-size: 16px;
|
|
67
|
+
width: 200px;
|
|
68
|
+
height: 70px;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
._card_1um8o_10 input[type="submit"] {
|
|
72
|
+
margin-top: 5px;
|
|
73
|
+
font-size: large;
|
|
74
|
+
}
|
|
75
|
+
._highlight_3l4zw_1 {
|
|
76
|
+
position: absolute;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
._emoji_3l4zw_5 {
|
|
80
|
+
position: absolute;
|
|
81
|
+
color: black;
|
|
82
|
+
opacity: 1;
|
|
83
|
+
font-size: 28px;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
._parts_3l4zw_12 {
|
|
87
|
+
opacity: 1;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
._part_3l4zw_12 {
|
|
91
|
+
cursor: pointer;
|
|
92
|
+
position: absolute;
|
|
93
|
+
background: rgba(255, 226, 143, 1);
|
|
94
|
+
transition: background 0.3s;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
._scrolledTo_3l4zw_23 ._part_3l4zw_12 {
|
|
98
|
+
background: #ff4141;
|
|
99
|
+
}
|
|
100
|
+
._areaHighlight_1ppoh_1 {
|
|
101
|
+
border: 1px solid #333;
|
|
102
|
+
background-color: rgba(252, 232, 151, 1.0);
|
|
103
|
+
opacity: 1;
|
|
104
|
+
mix-blend-mode: multiply;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
._part_1ppoh_8 {
|
|
108
|
+
cursor: pointer;
|
|
109
|
+
position: absolute;
|
|
110
|
+
background: rgba(255, 226, 143, 1);
|
|
111
|
+
transition: background 0.3s;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
._scrolledTo_1ppoh_15 ._part_1ppoh_8 {
|
|
115
|
+
background: #ff4141;
|
|
116
|
+
}
|
|
117
|
+
/* Copyright 2014 Mozilla Foundation
|
|
118
|
+
*
|
|
119
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
120
|
+
* you may not use this file except in compliance with the License.
|
|
121
|
+
* You may obtain a copy of the License at
|
|
122
|
+
*
|
|
123
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
124
|
+
*
|
|
125
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
126
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
127
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
128
|
+
* See the License for the specific language governing permissions and
|
|
129
|
+
* limitations under the License.
|
|
130
|
+
*/
|
|
131
|
+
|
|
132
|
+
.dialog{
|
|
133
|
+
--dialog-bg-color:white;
|
|
134
|
+
--dialog-border-color:white;
|
|
135
|
+
--dialog-shadow:0 2px 14px 0 rgb(58 57 68 / 0.2);
|
|
136
|
+
--text-primary-color:#15141a;
|
|
137
|
+
--text-secondary-color:#5b5b66;
|
|
138
|
+
--hover-filter:brightness(0.9);
|
|
139
|
+
--focus-ring-color:#0060df;
|
|
140
|
+
--focus-ring-outline:2px solid var(--focus-ring-color);
|
|
141
|
+
|
|
142
|
+
--textarea-border-color:#8f8f9d;
|
|
143
|
+
--textarea-bg-color:white;
|
|
144
|
+
--textarea-fg-color:var(--text-secondary-color);
|
|
145
|
+
|
|
146
|
+
--radio-bg-color:#f0f0f4;
|
|
147
|
+
--radio-checked-bg-color:#fbfbfe;
|
|
148
|
+
--radio-border-color:#8f8f9d;
|
|
149
|
+
--radio-checked-border-color:#0060df;
|
|
150
|
+
|
|
151
|
+
--button-secondary-bg-color:#f0f0f4;
|
|
152
|
+
--button-secondary-fg-color:var(--text-primary-color);
|
|
153
|
+
--button-secondary-border-color:var(--button-secondary-bg-color);
|
|
154
|
+
--button-secondary-hover-bg-color:var(--button-secondary-bg-color);
|
|
155
|
+
--button-secondary-hover-fg-color:var(--button-secondary-fg-color);
|
|
156
|
+
--button-secondary-hover-border-color:var(--button-secondary-hover-bg-color);
|
|
157
|
+
|
|
158
|
+
--button-primary-bg-color:#0060df;
|
|
159
|
+
--button-primary-fg-color:#fbfbfe;
|
|
160
|
+
--button-primary-hover-bg-color:var(--button-primary-bg-color);
|
|
161
|
+
--button-primary-hover-fg-color:var(--button-primary-fg-color);
|
|
162
|
+
--button-primary-hover-border-color:var(--button-primary-hover-bg-color);
|
|
163
|
+
|
|
164
|
+
font:message-box;
|
|
165
|
+
font-size:13px;
|
|
166
|
+
font-weight:400;
|
|
167
|
+
line-height:150%;
|
|
168
|
+
border-radius:4px;
|
|
169
|
+
padding:12px 16px;
|
|
170
|
+
border:1px solid var(--dialog-border-color);
|
|
171
|
+
background:var(--dialog-bg-color);
|
|
172
|
+
color:var(--text-primary-color);
|
|
173
|
+
box-shadow:var(--dialog-shadow);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
@media (prefers-color-scheme: dark){
|
|
177
|
+
|
|
178
|
+
.dialog{
|
|
179
|
+
--dialog-bg-color:#1c1b22;
|
|
180
|
+
--dialog-border-color:#1c1b22;
|
|
181
|
+
--dialog-shadow:0 2px 14px 0 #15141a;
|
|
182
|
+
--text-primary-color:#fbfbfe;
|
|
183
|
+
--text-secondary-color:#cfcfd8;
|
|
184
|
+
--focus-ring-color:#0df;
|
|
185
|
+
--hover-filter:brightness(1.4);
|
|
186
|
+
|
|
187
|
+
--textarea-bg-color:#42414d;
|
|
188
|
+
|
|
189
|
+
--radio-bg-color:#2b2a33;
|
|
190
|
+
--radio-checked-bg-color:#15141a;
|
|
191
|
+
--radio-checked-border-color:#0df;
|
|
192
|
+
|
|
193
|
+
--button-secondary-bg-color:#2b2a33;
|
|
194
|
+
--button-primary-bg-color:#0df;
|
|
195
|
+
--button-primary-fg-color:#15141a;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
@media screen and (forced-colors: active){
|
|
200
|
+
|
|
201
|
+
.dialog{
|
|
202
|
+
--dialog-bg-color:Canvas;
|
|
203
|
+
--dialog-border-color:CanvasText;
|
|
204
|
+
--dialog-shadow:none;
|
|
205
|
+
--text-primary-color:CanvasText;
|
|
206
|
+
--text-secondary-color:CanvasText;
|
|
207
|
+
--hover-filter:none;
|
|
208
|
+
--focus-ring-color:ButtonBorder;
|
|
209
|
+
|
|
210
|
+
--textarea-border-color:ButtonBorder;
|
|
211
|
+
--textarea-bg-color:Field;
|
|
212
|
+
--textarea-fg-color:ButtonText;
|
|
213
|
+
|
|
214
|
+
--radio-bg-color:ButtonFace;
|
|
215
|
+
--radio-checked-bg-color:ButtonFace;
|
|
216
|
+
--radio-border-color:ButtonText;
|
|
217
|
+
--radio-checked-border-color:ButtonText;
|
|
218
|
+
|
|
219
|
+
--button-secondary-bg-color:ButtonFace;
|
|
220
|
+
--button-secondary-fg-color:ButtonText;
|
|
221
|
+
--button-secondary-border-color:ButtonText;
|
|
222
|
+
--button-secondary-hover-bg-color:AccentColor;
|
|
223
|
+
--button-secondary-hover-fg-color:AccentColorText;
|
|
224
|
+
|
|
225
|
+
--button-primary-bg-color:ButtonText;
|
|
226
|
+
--button-primary-fg-color:ButtonFace;
|
|
227
|
+
--button-primary-hover-bg-color:AccentColor;
|
|
228
|
+
--button-primary-hover-fg-color:AccentColorText;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.dialog .mainContainer *:focus-visible{
|
|
233
|
+
outline:var(--focus-ring-outline);
|
|
234
|
+
outline-offset:2px;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.dialog .mainContainer .radio{
|
|
238
|
+
display:flex;
|
|
239
|
+
flex-direction:column;
|
|
240
|
+
align-items:flex-start;
|
|
241
|
+
gap:4px;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.dialog .mainContainer .radio > .radioButton{
|
|
245
|
+
display:flex;
|
|
246
|
+
gap:8px;
|
|
247
|
+
align-self:stretch;
|
|
248
|
+
align-items:center;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.dialog .mainContainer .radio > .radioButton input{
|
|
252
|
+
-webkit-appearance:none;
|
|
253
|
+
-moz-appearance:none;
|
|
254
|
+
appearance:none;
|
|
255
|
+
box-sizing:border-box;
|
|
256
|
+
width:16px;
|
|
257
|
+
height:16px;
|
|
258
|
+
border-radius:50%;
|
|
259
|
+
background-color:var(--radio-bg-color);
|
|
260
|
+
border:1px solid var(--radio-border-color);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.dialog .mainContainer .radio > .radioButton input:hover{
|
|
264
|
+
filter:var(--hover-filter);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.dialog .mainContainer .radio > .radioButton input:checked{
|
|
268
|
+
background-color:var(--radio-checked-bg-color);
|
|
269
|
+
border:4px solid var(--radio-checked-border-color);
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.dialog .mainContainer .radio > .radioLabel{
|
|
273
|
+
display:flex;
|
|
274
|
+
padding-inline-start:24px;
|
|
275
|
+
align-items:flex-start;
|
|
276
|
+
gap:10px;
|
|
277
|
+
align-self:stretch;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.dialog .mainContainer .radio > .radioLabel > span{
|
|
281
|
+
flex:1 0 0;
|
|
282
|
+
font-size:11px;
|
|
283
|
+
color:var(--text-secondary-color);
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.dialog .mainContainer button{
|
|
287
|
+
border-radius:4px;
|
|
288
|
+
border:1px solid;
|
|
289
|
+
font:menu;
|
|
290
|
+
font-weight:600;
|
|
291
|
+
padding:4px 16px;
|
|
292
|
+
width:auto;
|
|
293
|
+
height:32px;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.dialog .mainContainer button:hover{
|
|
297
|
+
cursor:pointer;
|
|
298
|
+
filter:var(--hover-filter);
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.dialog .mainContainer button.secondaryButton{
|
|
302
|
+
color:var(--button-secondary-fg-color);
|
|
303
|
+
background-color:var(--button-secondary-bg-color);
|
|
304
|
+
border-color:var(--button-secondary-border-color);
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.dialog .mainContainer button.secondaryButton:hover{
|
|
308
|
+
color:var(--button-secondary-hover-fg-color);
|
|
309
|
+
background-color:var(--button-secondary-hover-bg-color);
|
|
310
|
+
border-color:var(--button-secondary-hover-border-color);
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.dialog .mainContainer button.primaryButton{
|
|
314
|
+
color:var(--button-primary-hover-fg-color);
|
|
315
|
+
background-color:var(--button-primary-hover-bg-color);
|
|
316
|
+
border-color:var(--button-primary-hover-border-color);
|
|
317
|
+
opacity:1;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.dialog .mainContainer button.primaryButton:hover{
|
|
321
|
+
color:var(--button-primary-hover-fg-color);
|
|
322
|
+
background-color:var(--button-primary-hover-bg-color);
|
|
323
|
+
border-color:var(--button-primary-hover-border-color);
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.dialog .mainContainer textarea{
|
|
327
|
+
font:inherit;
|
|
328
|
+
padding:8px;
|
|
329
|
+
resize:none;
|
|
330
|
+
margin:0;
|
|
331
|
+
box-sizing:border-box;
|
|
332
|
+
border-radius:4px;
|
|
333
|
+
border:1px solid var(--textarea-border-color);
|
|
334
|
+
background:var(--textarea-bg-color);
|
|
335
|
+
color:var(--textarea-fg-color);
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.dialog .mainContainer textarea:focus{
|
|
339
|
+
outline-offset:0;
|
|
340
|
+
border-color:transparent;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.dialog .mainContainer textarea:disabled{
|
|
344
|
+
pointer-events:none;
|
|
345
|
+
opacity:0.4;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.textLayer{
|
|
349
|
+
position:absolute;
|
|
350
|
+
text-align:initial;
|
|
351
|
+
inset:0;
|
|
352
|
+
overflow:clip;
|
|
353
|
+
opacity:1;
|
|
354
|
+
line-height:1;
|
|
355
|
+
-webkit-text-size-adjust:none;
|
|
356
|
+
-moz-text-size-adjust:none;
|
|
357
|
+
text-size-adjust:none;
|
|
358
|
+
forced-color-adjust:none;
|
|
359
|
+
transform-origin:0 0;
|
|
360
|
+
caret-color:CanvasText;
|
|
361
|
+
z-index:0;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.textLayer.highlighting{
|
|
365
|
+
touch-action:none;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.textLayer :is(span, br){
|
|
369
|
+
color:transparent;
|
|
370
|
+
position:absolute;
|
|
371
|
+
white-space:pre;
|
|
372
|
+
cursor:text;
|
|
373
|
+
transform-origin:0% 0%;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.textLayer > :not(.markedContent),
|
|
377
|
+
.textLayer .markedContent span:not(.markedContent){
|
|
378
|
+
z-index:1;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.textLayer span.markedContent{
|
|
382
|
+
top:0;
|
|
383
|
+
height:0;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.textLayer .highlight{
|
|
387
|
+
--highlight-bg-color:rgb(180 0 170 / 0.25);
|
|
388
|
+
--highlight-selected-bg-color:rgb(0 100 0 / 0.25);
|
|
389
|
+
--highlight-backdrop-filter:none;
|
|
390
|
+
--highlight-selected-backdrop-filter:none;
|
|
391
|
+
|
|
392
|
+
margin:-1px;
|
|
393
|
+
padding:1px;
|
|
394
|
+
background-color:var(--highlight-bg-color);
|
|
395
|
+
-webkit-backdrop-filter:var(--highlight-backdrop-filter);
|
|
396
|
+
backdrop-filter:var(--highlight-backdrop-filter);
|
|
397
|
+
border-radius:4px;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
@media screen and (forced-colors: active){
|
|
401
|
+
|
|
402
|
+
.textLayer .highlight{
|
|
403
|
+
--highlight-bg-color:transparent;
|
|
404
|
+
--highlight-selected-bg-color:transparent;
|
|
405
|
+
--highlight-backdrop-filter:var(--hcm-highlight-filter);
|
|
406
|
+
--highlight-selected-backdrop-filter:var(
|
|
407
|
+
--hcm-highlight-selected-filter
|
|
408
|
+
);
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.textLayer .highlight.appended{
|
|
413
|
+
position:initial;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.textLayer .highlight.begin{
|
|
417
|
+
border-radius:4px 0 0 4px;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.textLayer .highlight.end{
|
|
421
|
+
border-radius:0 4px 4px 0;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
.textLayer .highlight.middle{
|
|
425
|
+
border-radius:0;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
.textLayer .highlight.selected{
|
|
429
|
+
background-color:var(--highlight-selected-bg-color);
|
|
430
|
+
-webkit-backdrop-filter:var(--highlight-selected-backdrop-filter);
|
|
431
|
+
backdrop-filter:var(--highlight-selected-backdrop-filter);
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.textLayer ::-moz-selection{
|
|
435
|
+
background:rgba(0 0 255 / 0.25);
|
|
436
|
+
background:color-mix(in srgb, AccentColor, transparent 75%);
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.textLayer ::selection{
|
|
440
|
+
background:rgba(0 0 255 / 0.25);
|
|
441
|
+
background:color-mix(in srgb, AccentColor, transparent 75%);
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
.textLayer br::-moz-selection{
|
|
445
|
+
background:transparent;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
.textLayer br::selection{
|
|
449
|
+
background:transparent;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.textLayer .endOfContent{
|
|
453
|
+
display:block;
|
|
454
|
+
position:absolute;
|
|
455
|
+
inset:100% 0 0;
|
|
456
|
+
z-index:0;
|
|
457
|
+
cursor:default;
|
|
458
|
+
-webkit-user-select:none;
|
|
459
|
+
-moz-user-select:none;
|
|
460
|
+
user-select:none;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.textLayer .endOfContent.active{
|
|
464
|
+
top:0;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.annotationLayer{
|
|
468
|
+
--annotation-unfocused-field-background:url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");
|
|
469
|
+
--input-focus-border-color:Highlight;
|
|
470
|
+
--input-focus-outline:1px solid Canvas;
|
|
471
|
+
--input-unfocused-border-color:transparent;
|
|
472
|
+
--input-disabled-border-color:transparent;
|
|
473
|
+
--input-hover-border-color:black;
|
|
474
|
+
--link-outline:none;
|
|
475
|
+
|
|
476
|
+
position:absolute;
|
|
477
|
+
top:0;
|
|
478
|
+
left:0;
|
|
479
|
+
pointer-events:none;
|
|
480
|
+
transform-origin:0 0;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
@media screen and (forced-colors: active){
|
|
484
|
+
|
|
485
|
+
.annotationLayer{
|
|
486
|
+
--input-focus-border-color:CanvasText;
|
|
487
|
+
--input-unfocused-border-color:ActiveText;
|
|
488
|
+
--input-disabled-border-color:GrayText;
|
|
489
|
+
--input-hover-border-color:Highlight;
|
|
490
|
+
--link-outline:1.5px solid LinkText;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
.annotationLayer .textWidgetAnnotation :is(input, textarea):required, .annotationLayer .choiceWidgetAnnotation select:required, .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:required{
|
|
494
|
+
outline:1.5px solid selectedItem;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
.annotationLayer .linkAnnotation{
|
|
498
|
+
outline:var(--link-outline);
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
.annotationLayer .linkAnnotation:hover{
|
|
502
|
+
-webkit-backdrop-filter:var(--hcm-highlight-filter);
|
|
503
|
+
backdrop-filter:var(--hcm-highlight-filter);
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
.annotationLayer .linkAnnotation > a:hover{
|
|
507
|
+
opacity:0 !important;
|
|
508
|
+
background:none !important;
|
|
509
|
+
box-shadow:none;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
.annotationLayer .popupAnnotation .popup{
|
|
513
|
+
outline:calc(1.5px * var(--scale-factor)) solid CanvasText !important;
|
|
514
|
+
background-color:ButtonFace !important;
|
|
515
|
+
color:ButtonText !important;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
.annotationLayer .highlightArea:hover::after{
|
|
519
|
+
position:absolute;
|
|
520
|
+
top:0;
|
|
521
|
+
left:0;
|
|
522
|
+
width:100%;
|
|
523
|
+
height:100%;
|
|
524
|
+
-webkit-backdrop-filter:var(--hcm-highlight-filter);
|
|
525
|
+
backdrop-filter:var(--hcm-highlight-filter);
|
|
526
|
+
content:"";
|
|
527
|
+
pointer-events:none;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
.annotationLayer .popupAnnotation.focused .popup{
|
|
531
|
+
outline:calc(3px * var(--scale-factor)) solid Highlight !important;
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
.annotationLayer[data-main-rotation="90"] .norotate{
|
|
536
|
+
transform:rotate(270deg) translateX(-100%);
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
.annotationLayer[data-main-rotation="180"] .norotate{
|
|
540
|
+
transform:rotate(180deg) translate(-100%, -100%);
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
.annotationLayer[data-main-rotation="270"] .norotate{
|
|
544
|
+
transform:rotate(90deg) translateY(-100%);
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
.annotationLayer.disabled section,
|
|
548
|
+
.annotationLayer.disabled .popup{
|
|
549
|
+
pointer-events:none;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
.annotationLayer .annotationContent{
|
|
553
|
+
position:absolute;
|
|
554
|
+
width:100%;
|
|
555
|
+
height:100%;
|
|
556
|
+
pointer-events:none;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
.annotationLayer .annotationContent.freetext{
|
|
560
|
+
background:transparent;
|
|
561
|
+
border:none;
|
|
562
|
+
inset:0;
|
|
563
|
+
overflow:visible;
|
|
564
|
+
white-space:nowrap;
|
|
565
|
+
font:10px sans-serif;
|
|
566
|
+
line-height:1.35;
|
|
567
|
+
-webkit-user-select:none;
|
|
568
|
+
-moz-user-select:none;
|
|
569
|
+
user-select:none;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
.annotationLayer section{
|
|
573
|
+
position:absolute;
|
|
574
|
+
text-align:initial;
|
|
575
|
+
pointer-events:auto;
|
|
576
|
+
box-sizing:border-box;
|
|
577
|
+
transform-origin:0 0;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
.annotationLayer section:has(div.annotationContent) canvas.annotationContent{
|
|
581
|
+
display:none;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
.annotationLayer :is(.linkAnnotation, .buttonWidgetAnnotation.pushButton) > a{
|
|
585
|
+
position:absolute;
|
|
586
|
+
font-size:1em;
|
|
587
|
+
top:0;
|
|
588
|
+
left:0;
|
|
589
|
+
width:100%;
|
|
590
|
+
height:100%;
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
.annotationLayer :is(.linkAnnotation, .buttonWidgetAnnotation.pushButton):not(.hasBorder)
|
|
594
|
+
> a:hover{
|
|
595
|
+
opacity:0.2;
|
|
596
|
+
background-color:rgb(255 255 0);
|
|
597
|
+
box-shadow:0 2px 10px rgb(255 255 0);
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
.annotationLayer .linkAnnotation.hasBorder:hover{
|
|
601
|
+
background-color:rgb(255 255 0 / 0.2);
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
.annotationLayer .hasBorder{
|
|
605
|
+
background-size:100% 100%;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
.annotationLayer .textAnnotation img{
|
|
609
|
+
position:absolute;
|
|
610
|
+
cursor:pointer;
|
|
611
|
+
width:100%;
|
|
612
|
+
height:100%;
|
|
613
|
+
top:0;
|
|
614
|
+
left:0;
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
.annotationLayer .textWidgetAnnotation :is(input, textarea), .annotationLayer .choiceWidgetAnnotation select, .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input{
|
|
618
|
+
background-image:var(--annotation-unfocused-field-background);
|
|
619
|
+
border:2px solid var(--input-unfocused-border-color);
|
|
620
|
+
box-sizing:border-box;
|
|
621
|
+
font:calc(9px * var(--scale-factor)) sans-serif;
|
|
622
|
+
height:100%;
|
|
623
|
+
margin:0;
|
|
624
|
+
vertical-align:top;
|
|
625
|
+
width:100%;
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
.annotationLayer .textWidgetAnnotation :is(input, textarea):required, .annotationLayer .choiceWidgetAnnotation select:required, .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:required{
|
|
629
|
+
outline:1.5px solid red;
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
.annotationLayer .choiceWidgetAnnotation select option{
|
|
633
|
+
padding:0;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
.annotationLayer .buttonWidgetAnnotation.radioButton input{
|
|
637
|
+
border-radius:50%;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
.annotationLayer .textWidgetAnnotation textarea{
|
|
641
|
+
resize:none;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
.annotationLayer .textWidgetAnnotation [disabled]:is(input, textarea), .annotationLayer .choiceWidgetAnnotation select[disabled], .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input[disabled]{
|
|
645
|
+
background:none;
|
|
646
|
+
border:2px solid var(--input-disabled-border-color);
|
|
647
|
+
cursor:not-allowed;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
.annotationLayer .textWidgetAnnotation :is(input, textarea):hover, .annotationLayer .choiceWidgetAnnotation select:hover, .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:hover{
|
|
651
|
+
border:2px solid var(--input-hover-border-color);
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
.annotationLayer .textWidgetAnnotation :is(input, textarea):hover, .annotationLayer .choiceWidgetAnnotation select:hover, .annotationLayer .buttonWidgetAnnotation.checkBox input:hover{
|
|
655
|
+
border-radius:2px;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
.annotationLayer .textWidgetAnnotation :is(input, textarea):focus, .annotationLayer .choiceWidgetAnnotation select:focus{
|
|
659
|
+
background:none;
|
|
660
|
+
border:2px solid var(--input-focus-border-color);
|
|
661
|
+
border-radius:2px;
|
|
662
|
+
outline:var(--input-focus-outline);
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) :focus{
|
|
666
|
+
background-image:none;
|
|
667
|
+
background-color:transparent;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
.annotationLayer .buttonWidgetAnnotation.checkBox :focus{
|
|
671
|
+
border:2px solid var(--input-focus-border-color);
|
|
672
|
+
border-radius:2px;
|
|
673
|
+
outline:var(--input-focus-outline);
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
.annotationLayer .buttonWidgetAnnotation.radioButton :focus{
|
|
677
|
+
border:2px solid var(--input-focus-border-color);
|
|
678
|
+
outline:var(--input-focus-outline);
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before,
|
|
682
|
+
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after,
|
|
683
|
+
.annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before{
|
|
684
|
+
background-color:CanvasText;
|
|
685
|
+
content:"";
|
|
686
|
+
display:block;
|
|
687
|
+
position:absolute;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before,
|
|
691
|
+
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after{
|
|
692
|
+
height:80%;
|
|
693
|
+
left:45%;
|
|
694
|
+
width:1px;
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before{
|
|
698
|
+
transform:rotate(45deg);
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after{
|
|
702
|
+
transform:rotate(-45deg);
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
.annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before{
|
|
706
|
+
border-radius:50%;
|
|
707
|
+
height:50%;
|
|
708
|
+
left:25%;
|
|
709
|
+
top:25%;
|
|
710
|
+
width:50%;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
.annotationLayer .textWidgetAnnotation input.comb{
|
|
714
|
+
font-family:monospace;
|
|
715
|
+
padding-left:2px;
|
|
716
|
+
padding-right:0;
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
.annotationLayer .textWidgetAnnotation input.comb:focus{
|
|
720
|
+
width:103%;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input{
|
|
724
|
+
-webkit-appearance:none;
|
|
725
|
+
-moz-appearance:none;
|
|
726
|
+
appearance:none;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
.annotationLayer .fileAttachmentAnnotation .popupTriggerArea{
|
|
730
|
+
height:100%;
|
|
731
|
+
width:100%;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
.annotationLayer .popupAnnotation{
|
|
735
|
+
position:absolute;
|
|
736
|
+
font-size:calc(9px * var(--scale-factor));
|
|
737
|
+
pointer-events:none;
|
|
738
|
+
width:-moz-max-content;
|
|
739
|
+
width:max-content;
|
|
740
|
+
max-width:45%;
|
|
741
|
+
height:auto;
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
.annotationLayer .popup{
|
|
745
|
+
background-color:rgb(255 255 153);
|
|
746
|
+
box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) rgb(136 136 136);
|
|
747
|
+
border-radius:calc(2px * var(--scale-factor));
|
|
748
|
+
outline:1.5px solid rgb(255 255 74);
|
|
749
|
+
padding:calc(6px * var(--scale-factor));
|
|
750
|
+
cursor:pointer;
|
|
751
|
+
font:message-box;
|
|
752
|
+
white-space:normal;
|
|
753
|
+
word-wrap:break-word;
|
|
754
|
+
pointer-events:auto;
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
.annotationLayer .popupAnnotation.focused .popup{
|
|
758
|
+
outline-width:3px;
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
.annotationLayer .popup *{
|
|
762
|
+
font-size:calc(9px * var(--scale-factor));
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
.annotationLayer .popup > .header{
|
|
766
|
+
display:inline-block;
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
.annotationLayer .popup > .header h1{
|
|
770
|
+
display:inline;
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
.annotationLayer .popup > .header .popupDate{
|
|
774
|
+
display:inline-block;
|
|
775
|
+
margin-left:calc(5px * var(--scale-factor));
|
|
776
|
+
width:-moz-fit-content;
|
|
777
|
+
width:fit-content;
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
.annotationLayer .popupContent{
|
|
781
|
+
border-top:1px solid rgb(51 51 51);
|
|
782
|
+
margin-top:calc(2px * var(--scale-factor));
|
|
783
|
+
padding-top:calc(2px * var(--scale-factor));
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
.annotationLayer .richText > *{
|
|
787
|
+
white-space:pre-wrap;
|
|
788
|
+
font-size:calc(9px * var(--scale-factor));
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
.annotationLayer .popupTriggerArea{
|
|
792
|
+
cursor:pointer;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
.annotationLayer section svg{
|
|
796
|
+
position:absolute;
|
|
797
|
+
width:100%;
|
|
798
|
+
height:100%;
|
|
799
|
+
top:0;
|
|
800
|
+
left:0;
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
.annotationLayer .annotationTextContent{
|
|
804
|
+
position:absolute;
|
|
805
|
+
width:100%;
|
|
806
|
+
height:100%;
|
|
807
|
+
opacity:0;
|
|
808
|
+
color:transparent;
|
|
809
|
+
-webkit-user-select:none;
|
|
810
|
+
-moz-user-select:none;
|
|
811
|
+
user-select:none;
|
|
812
|
+
pointer-events:none;
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
.annotationLayer .annotationTextContent span{
|
|
816
|
+
width:100%;
|
|
817
|
+
display:inline-block;
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
.annotationLayer svg.quadrilateralsContainer{
|
|
821
|
+
contain:strict;
|
|
822
|
+
width:0;
|
|
823
|
+
height:0;
|
|
824
|
+
position:absolute;
|
|
825
|
+
top:0;
|
|
826
|
+
left:0;
|
|
827
|
+
z-index:-1;
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
:root{
|
|
831
|
+
--xfa-unfocused-field-background:url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");
|
|
832
|
+
--xfa-focus-outline:auto;
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
@media screen and (forced-colors: active){
|
|
836
|
+
:root{
|
|
837
|
+
--xfa-focus-outline:2px solid CanvasText;
|
|
838
|
+
}
|
|
839
|
+
.xfaLayer *:required{
|
|
840
|
+
outline:1.5px solid selectedItem;
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
.xfaLayer{
|
|
845
|
+
background-color:transparent;
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
.xfaLayer .highlight{
|
|
849
|
+
margin:-1px;
|
|
850
|
+
padding:1px;
|
|
851
|
+
background-color:rgb(239 203 237);
|
|
852
|
+
border-radius:4px;
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
.xfaLayer .highlight.appended{
|
|
856
|
+
position:initial;
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
.xfaLayer .highlight.begin{
|
|
860
|
+
border-radius:4px 0 0 4px;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
.xfaLayer .highlight.end{
|
|
864
|
+
border-radius:0 4px 4px 0;
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
.xfaLayer .highlight.middle{
|
|
868
|
+
border-radius:0;
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
.xfaLayer .highlight.selected{
|
|
872
|
+
background-color:rgb(203 223 203);
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
.xfaPage{
|
|
876
|
+
overflow:hidden;
|
|
877
|
+
position:relative;
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
.xfaContentarea{
|
|
881
|
+
position:absolute;
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
.xfaPrintOnly{
|
|
885
|
+
display:none;
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
.xfaLayer{
|
|
889
|
+
position:absolute;
|
|
890
|
+
text-align:initial;
|
|
891
|
+
top:0;
|
|
892
|
+
left:0;
|
|
893
|
+
transform-origin:0 0;
|
|
894
|
+
line-height:1.2;
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
.xfaLayer *{
|
|
898
|
+
color:inherit;
|
|
899
|
+
font:inherit;
|
|
900
|
+
font-style:inherit;
|
|
901
|
+
font-weight:inherit;
|
|
902
|
+
font-kerning:inherit;
|
|
903
|
+
letter-spacing:-0.01px;
|
|
904
|
+
text-align:inherit;
|
|
905
|
+
text-decoration:inherit;
|
|
906
|
+
box-sizing:border-box;
|
|
907
|
+
background-color:transparent;
|
|
908
|
+
padding:0;
|
|
909
|
+
margin:0;
|
|
910
|
+
pointer-events:auto;
|
|
911
|
+
line-height:inherit;
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
.xfaLayer *:required{
|
|
915
|
+
outline:1.5px solid red;
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
.xfaLayer div,
|
|
919
|
+
.xfaLayer svg,
|
|
920
|
+
.xfaLayer svg *{
|
|
921
|
+
pointer-events:none;
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
.xfaLayer a{
|
|
925
|
+
color:blue;
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
.xfaRich li{
|
|
929
|
+
margin-left:3em;
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
.xfaFont{
|
|
933
|
+
color:black;
|
|
934
|
+
font-weight:normal;
|
|
935
|
+
font-kerning:none;
|
|
936
|
+
font-size:10px;
|
|
937
|
+
font-style:normal;
|
|
938
|
+
letter-spacing:0;
|
|
939
|
+
text-decoration:none;
|
|
940
|
+
vertical-align:0;
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
.xfaCaption{
|
|
944
|
+
overflow:hidden;
|
|
945
|
+
flex:0 0 auto;
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
.xfaCaptionForCheckButton{
|
|
949
|
+
overflow:hidden;
|
|
950
|
+
flex:1 1 auto;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
.xfaLabel{
|
|
954
|
+
height:100%;
|
|
955
|
+
width:100%;
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
.xfaLeft{
|
|
959
|
+
display:flex;
|
|
960
|
+
flex-direction:row;
|
|
961
|
+
align-items:center;
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
.xfaRight{
|
|
965
|
+
display:flex;
|
|
966
|
+
flex-direction:row-reverse;
|
|
967
|
+
align-items:center;
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
:is(.xfaLeft, .xfaRight) > :is(.xfaCaption, .xfaCaptionForCheckButton){
|
|
971
|
+
max-height:100%;
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
.xfaTop{
|
|
975
|
+
display:flex;
|
|
976
|
+
flex-direction:column;
|
|
977
|
+
align-items:flex-start;
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
.xfaBottom{
|
|
981
|
+
display:flex;
|
|
982
|
+
flex-direction:column-reverse;
|
|
983
|
+
align-items:flex-start;
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
:is(.xfaTop, .xfaBottom) > :is(.xfaCaption, .xfaCaptionForCheckButton){
|
|
987
|
+
width:100%;
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
.xfaBorder{
|
|
991
|
+
background-color:transparent;
|
|
992
|
+
position:absolute;
|
|
993
|
+
pointer-events:none;
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
.xfaWrapped{
|
|
997
|
+
width:100%;
|
|
998
|
+
height:100%;
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
:is(.xfaTextfield, .xfaSelect):focus{
|
|
1002
|
+
background-image:none;
|
|
1003
|
+
background-color:transparent;
|
|
1004
|
+
outline:var(--xfa-focus-outline);
|
|
1005
|
+
outline-offset:-1px;
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
:is(.xfaCheckbox, .xfaRadio):focus{
|
|
1009
|
+
outline:var(--xfa-focus-outline);
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
.xfaTextfield,
|
|
1013
|
+
.xfaSelect{
|
|
1014
|
+
height:100%;
|
|
1015
|
+
width:100%;
|
|
1016
|
+
flex:1 1 auto;
|
|
1017
|
+
border:none;
|
|
1018
|
+
resize:none;
|
|
1019
|
+
background-image:var(--xfa-unfocused-field-background);
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
.xfaSelect{
|
|
1023
|
+
padding-inline:2px;
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
:is(.xfaTop, .xfaBottom) > :is(.xfaTextfield, .xfaSelect){
|
|
1027
|
+
flex:0 1 auto;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
.xfaButton{
|
|
1031
|
+
cursor:pointer;
|
|
1032
|
+
width:100%;
|
|
1033
|
+
height:100%;
|
|
1034
|
+
border:none;
|
|
1035
|
+
text-align:center;
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
.xfaLink{
|
|
1039
|
+
width:100%;
|
|
1040
|
+
height:100%;
|
|
1041
|
+
position:absolute;
|
|
1042
|
+
top:0;
|
|
1043
|
+
left:0;
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
.xfaCheckbox,
|
|
1047
|
+
.xfaRadio{
|
|
1048
|
+
width:100%;
|
|
1049
|
+
height:100%;
|
|
1050
|
+
flex:0 0 auto;
|
|
1051
|
+
border:none;
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
.xfaRich{
|
|
1055
|
+
white-space:pre-wrap;
|
|
1056
|
+
width:100%;
|
|
1057
|
+
height:100%;
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
.xfaImage{
|
|
1061
|
+
-o-object-position:left top;
|
|
1062
|
+
object-position:left top;
|
|
1063
|
+
-o-object-fit:contain;
|
|
1064
|
+
object-fit:contain;
|
|
1065
|
+
width:100%;
|
|
1066
|
+
height:100%;
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
.xfaLrTb,
|
|
1070
|
+
.xfaRlTb,
|
|
1071
|
+
.xfaTb{
|
|
1072
|
+
display:flex;
|
|
1073
|
+
flex-direction:column;
|
|
1074
|
+
align-items:stretch;
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
.xfaLr{
|
|
1078
|
+
display:flex;
|
|
1079
|
+
flex-direction:row;
|
|
1080
|
+
align-items:stretch;
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
.xfaRl{
|
|
1084
|
+
display:flex;
|
|
1085
|
+
flex-direction:row-reverse;
|
|
1086
|
+
align-items:stretch;
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
.xfaTb > div{
|
|
1090
|
+
justify-content:left;
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
.xfaPosition{
|
|
1094
|
+
position:relative;
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
.xfaArea{
|
|
1098
|
+
position:relative;
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
.xfaValignMiddle{
|
|
1102
|
+
display:flex;
|
|
1103
|
+
align-items:center;
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
.xfaTable{
|
|
1107
|
+
display:flex;
|
|
1108
|
+
flex-direction:column;
|
|
1109
|
+
align-items:stretch;
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
.xfaTable .xfaRow{
|
|
1113
|
+
display:flex;
|
|
1114
|
+
flex-direction:row;
|
|
1115
|
+
align-items:stretch;
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
.xfaTable .xfaRlRow{
|
|
1119
|
+
display:flex;
|
|
1120
|
+
flex-direction:row-reverse;
|
|
1121
|
+
align-items:stretch;
|
|
1122
|
+
flex:1;
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
.xfaTable .xfaRlRow > div{
|
|
1126
|
+
flex:1;
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
:is(.xfaNonInteractive, .xfaDisabled, .xfaReadOnly) :is(input, textarea){
|
|
1130
|
+
background:initial;
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
@media print{
|
|
1134
|
+
.xfaTextfield,
|
|
1135
|
+
.xfaSelect{
|
|
1136
|
+
background:transparent;
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
.xfaSelect{
|
|
1140
|
+
-webkit-appearance:none;
|
|
1141
|
+
-moz-appearance:none;
|
|
1142
|
+
appearance:none;
|
|
1143
|
+
text-indent:1px;
|
|
1144
|
+
text-overflow:"";
|
|
1145
|
+
}
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
.canvasWrapper svg{
|
|
1149
|
+
transform:none;
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
.canvasWrapper svg[data-main-rotation="90"] mask,
|
|
1153
|
+
.canvasWrapper svg[data-main-rotation="90"] use:not(.clip, .mask){
|
|
1154
|
+
transform:matrix(0, 1, -1, 0, 1, 0);
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
.canvasWrapper svg[data-main-rotation="180"] mask,
|
|
1158
|
+
.canvasWrapper svg[data-main-rotation="180"] use:not(.clip, .mask){
|
|
1159
|
+
transform:matrix(-1, 0, 0, -1, 1, 1);
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
.canvasWrapper svg[data-main-rotation="270"] mask,
|
|
1163
|
+
.canvasWrapper svg[data-main-rotation="270"] use:not(.clip, .mask){
|
|
1164
|
+
transform:matrix(0, -1, 1, 0, 0, 1);
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
.canvasWrapper svg.highlight{
|
|
1168
|
+
--blend-mode:multiply;
|
|
1169
|
+
|
|
1170
|
+
position:absolute;
|
|
1171
|
+
mix-blend-mode:var(--blend-mode);
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
@media screen and (forced-colors: active){
|
|
1175
|
+
|
|
1176
|
+
.canvasWrapper svg.highlight{
|
|
1177
|
+
--blend-mode:difference;
|
|
1178
|
+
}
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
.canvasWrapper svg.highlight:not(.free){
|
|
1182
|
+
fill-rule:evenodd;
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
.canvasWrapper svg.highlightOutline{
|
|
1186
|
+
position:absolute;
|
|
1187
|
+
mix-blend-mode:normal;
|
|
1188
|
+
fill-rule:evenodd;
|
|
1189
|
+
fill:none;
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
.canvasWrapper svg.highlightOutline.hovered:not(.free):not(.selected){
|
|
1193
|
+
stroke:var(--hover-outline-color);
|
|
1194
|
+
stroke-width:var(--outline-width);
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
.canvasWrapper svg.highlightOutline.selected:not(.free) .mainOutline{
|
|
1198
|
+
stroke:var(--outline-around-color);
|
|
1199
|
+
stroke-width:calc(
|
|
1200
|
+
var(--outline-width) + 2 * var(--outline-around-width)
|
|
1201
|
+
);
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
.canvasWrapper svg.highlightOutline.selected:not(.free) .secondaryOutline{
|
|
1205
|
+
stroke:var(--outline-color);
|
|
1206
|
+
stroke-width:var(--outline-width);
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
.canvasWrapper svg.highlightOutline.free.hovered:not(.selected){
|
|
1210
|
+
stroke:var(--hover-outline-color);
|
|
1211
|
+
stroke-width:calc(2 * var(--outline-width));
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
.canvasWrapper svg.highlightOutline.free.selected .mainOutline{
|
|
1215
|
+
stroke:var(--outline-around-color);
|
|
1216
|
+
stroke-width:calc(
|
|
1217
|
+
2 * (var(--outline-width) + var(--outline-around-width))
|
|
1218
|
+
);
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
.canvasWrapper svg.highlightOutline.free.selected .secondaryOutline{
|
|
1222
|
+
stroke:var(--outline-color);
|
|
1223
|
+
stroke-width:calc(2 * var(--outline-width));
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
.toggle-button{
|
|
1227
|
+
--button-background-color:#f0f0f4;
|
|
1228
|
+
--button-background-color-hover:#e0e0e6;
|
|
1229
|
+
--button-background-color-active:#cfcfd8;
|
|
1230
|
+
--color-accent-primary:#0060df;
|
|
1231
|
+
--color-accent-primary-hover:#0250bb;
|
|
1232
|
+
--color-accent-primary-active:#054096;
|
|
1233
|
+
--border-interactive-color:#8f8f9d;
|
|
1234
|
+
--border-radius-circle:9999px;
|
|
1235
|
+
--border-width:1px;
|
|
1236
|
+
--size-item-small:16px;
|
|
1237
|
+
--size-item-large:32px;
|
|
1238
|
+
--color-canvas:white;
|
|
1239
|
+
|
|
1240
|
+
--toggle-background-color:var(--button-background-color);
|
|
1241
|
+
--toggle-background-color-hover:var(--button-background-color-hover);
|
|
1242
|
+
--toggle-background-color-active:var(--button-background-color-active);
|
|
1243
|
+
--toggle-background-color-pressed:var(--color-accent-primary);
|
|
1244
|
+
--toggle-background-color-pressed-hover:var(--color-accent-primary-hover);
|
|
1245
|
+
--toggle-background-color-pressed-active:var(--color-accent-primary-active);
|
|
1246
|
+
--toggle-border-color:var(--border-interactive-color);
|
|
1247
|
+
--toggle-border-color-hover:var(--toggle-border-color);
|
|
1248
|
+
--toggle-border-color-active:var(--toggle-border-color);
|
|
1249
|
+
--toggle-border-radius:var(--border-radius-circle);
|
|
1250
|
+
--toggle-border-width:var(--border-width);
|
|
1251
|
+
--toggle-height:var(--size-item-small);
|
|
1252
|
+
--toggle-width:var(--size-item-large);
|
|
1253
|
+
--toggle-dot-background-color:var(--toggle-border-color);
|
|
1254
|
+
--toggle-dot-background-color-hover:var(--toggle-dot-background-color);
|
|
1255
|
+
--toggle-dot-background-color-active:var(--toggle-dot-background-color);
|
|
1256
|
+
--toggle-dot-background-color-on-pressed:var(--color-canvas);
|
|
1257
|
+
--toggle-dot-margin:1px;
|
|
1258
|
+
--toggle-dot-height:calc(
|
|
1259
|
+
var(--toggle-height) - 2 * var(--toggle-dot-margin) - 2 *
|
|
1260
|
+
var(--toggle-border-width)
|
|
1261
|
+
);
|
|
1262
|
+
--toggle-dot-width:var(--toggle-dot-height);
|
|
1263
|
+
--toggle-dot-transform-x:calc(
|
|
1264
|
+
var(--toggle-width) - 4 * var(--toggle-dot-margin) - var(--toggle-dot-width)
|
|
1265
|
+
);
|
|
1266
|
+
|
|
1267
|
+
-webkit-appearance:none;
|
|
1268
|
+
|
|
1269
|
+
-moz-appearance:none;
|
|
1270
|
+
|
|
1271
|
+
appearance:none;
|
|
1272
|
+
padding:0;
|
|
1273
|
+
margin:0;
|
|
1274
|
+
border:var(--toggle-border-width) solid var(--toggle-border-color);
|
|
1275
|
+
height:var(--toggle-height);
|
|
1276
|
+
width:var(--toggle-width);
|
|
1277
|
+
border-radius:var(--toggle-border-radius);
|
|
1278
|
+
background:var(--toggle-background-color);
|
|
1279
|
+
box-sizing:border-box;
|
|
1280
|
+
flex-shrink:0;
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
@media (prefers-color-scheme: dark){
|
|
1284
|
+
|
|
1285
|
+
.toggle-button{
|
|
1286
|
+
--button-background-color:color-mix(in srgb, currentColor 7%, transparent);
|
|
1287
|
+
--button-background-color-hover:color-mix(
|
|
1288
|
+
in srgb,
|
|
1289
|
+
currentColor 14%,
|
|
1290
|
+
transparent
|
|
1291
|
+
);
|
|
1292
|
+
--button-background-color-active:color-mix(
|
|
1293
|
+
in srgb,
|
|
1294
|
+
currentColor 21%,
|
|
1295
|
+
transparent
|
|
1296
|
+
);
|
|
1297
|
+
--color-accent-primary:#0df;
|
|
1298
|
+
--color-accent-primary-hover:#80ebff;
|
|
1299
|
+
--color-accent-primary-active:#aaf2ff;
|
|
1300
|
+
--border-interactive-color:#bfbfc9;
|
|
1301
|
+
--color-canvas:#1c1b22;
|
|
1302
|
+
}
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1305
|
+
@media (forced-colors: active){
|
|
1306
|
+
|
|
1307
|
+
.toggle-button{
|
|
1308
|
+
--color-accent-primary:ButtonText;
|
|
1309
|
+
--color-accent-primary-hover:SelectedItem;
|
|
1310
|
+
--color-accent-primary-active:SelectedItem;
|
|
1311
|
+
--border-interactive-color:ButtonText;
|
|
1312
|
+
--button-background-color:ButtonFace;
|
|
1313
|
+
--border-interactive-color-hover:SelectedItem;
|
|
1314
|
+
--border-interactive-color-active:SelectedItem;
|
|
1315
|
+
--border-interactive-color-disabled:GrayText;
|
|
1316
|
+
--color-canvas:ButtonText;
|
|
1317
|
+
}
|
|
1318
|
+
}
|
|
1319
|
+
|
|
1320
|
+
.toggle-button:focus-visible{
|
|
1321
|
+
outline:var(--focus-outline);
|
|
1322
|
+
outline-offset:var(--focus-outline-offset);
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
.toggle-button:enabled:hover{
|
|
1326
|
+
background:var(--toggle-background-color-hover);
|
|
1327
|
+
border-color:var(--toggle-border-color);
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1330
|
+
.toggle-button:enabled:active{
|
|
1331
|
+
background:var(--toggle-background-color-active);
|
|
1332
|
+
border-color:var(--toggle-border-color);
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
.toggle-button[aria-pressed="true"]{
|
|
1336
|
+
background:var(--toggle-background-color-pressed);
|
|
1337
|
+
border-color:transparent;
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
.toggle-button[aria-pressed="true"]:enabled:hover{
|
|
1341
|
+
background:var(--toggle-background-color-pressed-hover);
|
|
1342
|
+
border-color:transparent;
|
|
1343
|
+
}
|
|
1344
|
+
|
|
1345
|
+
.toggle-button[aria-pressed="true"]:enabled:active{
|
|
1346
|
+
background:var(--toggle-background-color-pressed-active);
|
|
1347
|
+
border-color:transparent;
|
|
1348
|
+
}
|
|
1349
|
+
|
|
1350
|
+
.toggle-button::before{
|
|
1351
|
+
display:block;
|
|
1352
|
+
content:"";
|
|
1353
|
+
background-color:var(--toggle-dot-background-color);
|
|
1354
|
+
height:var(--toggle-dot-height);
|
|
1355
|
+
width:var(--toggle-dot-width);
|
|
1356
|
+
margin:var(--toggle-dot-margin);
|
|
1357
|
+
border-radius:var(--toggle-border-radius);
|
|
1358
|
+
translate:0;
|
|
1359
|
+
}
|
|
1360
|
+
|
|
1361
|
+
.toggle-button[aria-pressed="true"]::before{
|
|
1362
|
+
translate:var(--toggle-dot-transform-x);
|
|
1363
|
+
background-color:var(--toggle-dot-background-color-on-pressed);
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
.toggle-button[aria-pressed="true"]:enabled:hover::before,
|
|
1367
|
+
.toggle-button[aria-pressed="true"]:enabled:active::before{
|
|
1368
|
+
background-color:var(--toggle-dot-background-color-on-pressed);
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1371
|
+
[dir="rtl"] .toggle-button[aria-pressed="true"]::before{
|
|
1372
|
+
translate:calc(-1 * var(--toggle-dot-transform-x));
|
|
1373
|
+
}
|
|
1374
|
+
|
|
1375
|
+
@media (prefers-reduced-motion: no-preference){
|
|
1376
|
+
.toggle-button::before{
|
|
1377
|
+
transition:translate 100ms;
|
|
1378
|
+
}
|
|
1379
|
+
}
|
|
1380
|
+
|
|
1381
|
+
@media (prefers-contrast){
|
|
1382
|
+
.toggle-button:enabled:hover{
|
|
1383
|
+
border-color:var(--toggle-border-color-hover);
|
|
1384
|
+
}
|
|
1385
|
+
|
|
1386
|
+
.toggle-button:enabled:active{
|
|
1387
|
+
border-color:var(--toggle-border-color-active);
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
.toggle-button[aria-pressed="true"]:enabled{
|
|
1391
|
+
border-color:var(--toggle-border-color);
|
|
1392
|
+
position:relative;
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
.toggle-button[aria-pressed="true"]:enabled:hover,
|
|
1396
|
+
.toggle-button[aria-pressed="true"]:enabled:hover:active{
|
|
1397
|
+
border-color:var(--toggle-border-color-hover);
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
.toggle-button[aria-pressed="true"]:enabled:active{
|
|
1401
|
+
background-color:var(--toggle-dot-background-color-active);
|
|
1402
|
+
border-color:var(--toggle-dot-background-color-hover);
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1405
|
+
.toggle-button:hover::before,
|
|
1406
|
+
.toggle-button:active::before{
|
|
1407
|
+
background-color:var(--toggle-dot-background-color-hover);
|
|
1408
|
+
}
|
|
1409
|
+
}
|
|
1410
|
+
|
|
1411
|
+
@media (forced-colors){
|
|
1412
|
+
|
|
1413
|
+
.toggle-button{
|
|
1414
|
+
--toggle-dot-background-color:var(--color-accent-primary);
|
|
1415
|
+
--toggle-dot-background-color-hover:var(--color-accent-primary-hover);
|
|
1416
|
+
--toggle-dot-background-color-active:var(--color-accent-primary-active);
|
|
1417
|
+
--toggle-dot-background-color-on-pressed:var(--button-background-color);
|
|
1418
|
+
--toggle-background-color-disabled:var(--button-background-color-disabled);
|
|
1419
|
+
--toggle-border-color-hover:var(--border-interactive-color-hover);
|
|
1420
|
+
--toggle-border-color-active:var(--border-interactive-color-active);
|
|
1421
|
+
--toggle-border-color-disabled:var(--border-interactive-color-disabled);
|
|
1422
|
+
}
|
|
1423
|
+
|
|
1424
|
+
.toggle-button[aria-pressed="true"]:enabled::after{
|
|
1425
|
+
border:1px solid var(--button-background-color);
|
|
1426
|
+
content:"";
|
|
1427
|
+
position:absolute;
|
|
1428
|
+
height:var(--toggle-height);
|
|
1429
|
+
width:var(--toggle-width);
|
|
1430
|
+
display:block;
|
|
1431
|
+
border-radius:var(--toggle-border-radius);
|
|
1432
|
+
inset:-2px;
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
.toggle-button[aria-pressed="true"]:enabled:active::after{
|
|
1436
|
+
border-color:var(--toggle-border-color-active);
|
|
1437
|
+
}
|
|
1438
|
+
}
|
|
1439
|
+
|
|
1440
|
+
:root{
|
|
1441
|
+
--outline-width:2px;
|
|
1442
|
+
--outline-color:#0060df;
|
|
1443
|
+
--outline-around-width:1px;
|
|
1444
|
+
--outline-around-color:#f0f0f4;
|
|
1445
|
+
--hover-outline-around-color:var(--outline-around-color);
|
|
1446
|
+
--focus-outline:solid var(--outline-width) var(--outline-color);
|
|
1447
|
+
--unfocus-outline:solid var(--outline-width) transparent;
|
|
1448
|
+
--focus-outline-around:solid var(--outline-around-width) var(--outline-around-color);
|
|
1449
|
+
--hover-outline-color:#8f8f9d;
|
|
1450
|
+
--hover-outline:solid var(--outline-width) var(--hover-outline-color);
|
|
1451
|
+
--hover-outline-around:solid var(--outline-around-width) var(--hover-outline-around-color);
|
|
1452
|
+
--freetext-line-height:1.35;
|
|
1453
|
+
--freetext-padding:2px;
|
|
1454
|
+
--resizer-bg-color:var(--outline-color);
|
|
1455
|
+
--resizer-size:6px;
|
|
1456
|
+
--resizer-shift:calc(
|
|
1457
|
+
0px - (var(--outline-width) + var(--resizer-size)) / 2 -
|
|
1458
|
+
var(--outline-around-width)
|
|
1459
|
+
);
|
|
1460
|
+
--editorFreeText-editing-cursor:text;
|
|
1461
|
+
--editorInk-editing-cursor:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0.0189877%2013.6645L0.612989%2010.4635C0.687989%2010.0545%200.884989%209.6805%201.18099%209.3825L9.98199%200.5805C10.756%20-0.1925%2012.015%20-0.1945%2012.792%200.5805L14.42%202.2085C15.194%202.9835%2015.194%204.2435%2014.42%205.0185L5.61599%2013.8215C5.31999%2014.1165%204.94599%2014.3125%204.53799%2014.3875L1.33599%2014.9815C1.26599%2014.9935%201.19799%2015.0005%201.12999%2015.0005C0.832989%2015.0005%200.544988%2014.8835%200.330988%2014.6695C0.0679874%2014.4055%20-0.0490122%2014.0305%200.0189877%2013.6645Z'%20fill='white'/%3e%3cpath%20d='M0.0189877%2013.6645L0.612989%2010.4635C0.687989%2010.0545%200.884989%209.6805%201.18099%209.3825L9.98199%200.5805C10.756%20-0.1925%2012.015%20-0.1945%2012.792%200.5805L14.42%202.2085C15.194%202.9835%2015.194%204.2435%2014.42%205.0185L5.61599%2013.8215C5.31999%2014.1165%204.94599%2014.3125%204.53799%2014.3875L1.33599%2014.9815C1.26599%2014.9935%201.19799%2015.0005%201.12999%2015.0005C0.832989%2015.0005%200.544988%2014.8835%200.330988%2014.6695C0.0679874%2014.4055%20-0.0490122%2014.0305%200.0189877%2013.6645ZM12.472%205.1965L13.632%204.0365L13.631%203.1885L11.811%201.3675L10.963%201.3685L9.80299%202.5285L12.472%205.1965ZM4.31099%2013.1585C4.47099%2013.1285%204.61799%2013.0515%204.73399%2012.9345L11.587%206.0815L8.91899%203.4135L2.06599%2010.2655C1.94899%2010.3835%201.87199%2010.5305%201.84099%2010.6915L1.36699%2013.2485L1.75199%2013.6335L4.31099%2013.1585Z'%20fill='black'/%3e%3c/svg%3e") 0 16, pointer;
|
|
1462
|
+
--editorHighlight-editing-cursor:url("data:image/svg+xml,%3csvg%20width='29'%20height='32'%20viewBox='0%200%2029%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M28%2016.75C28.2761%2016.75%2028.5%2016.5261%2028.5%2016.25V15C28.5%2014.7239%2028.2761%2014.5%2028%2014.5H26.358C25.9117%2014.5%2025.4773%2014.6257%2025.0999%2014.8604L25.0989%2014.8611L24%2015.5484L22.9%2014.861L22.8991%2014.8604C22.5218%2014.6257%2022.0875%2014.5%2021.642%2014.5H20C19.7239%2014.5%2019.5%2014.7239%2019.5%2015V16.25C19.5%2016.5261%2019.7239%2016.75%2020%2016.75H21.642C21.6648%2016.75%2021.6885%2016.7564%2021.7101%2016.7697C21.7102%2016.7698%2021.7104%2016.7699%2021.7105%2016.77L22.817%2017.461C22.817%2017.461%2022.8171%2017.4611%2022.8171%2017.4611C22.8171%2017.4611%2022.8171%2017.4611%2022.8171%2017.4611C22.8552%2017.4849%2022.876%2017.5229%2022.876%2017.567V22.625V27.683C22.876%2027.7271%2022.8552%2027.765%2022.8172%2027.7889C22.8171%2027.7889%2022.8171%2027.789%2022.817%2027.789L21.7095%2028.48C21.7094%2028.4801%2021.7093%2028.4802%2021.7092%2028.4803C21.6872%2028.4938%2021.6644%2028.5%2021.641%2028.5H20C19.7239%2028.5%2019.5%2028.7239%2019.5%2029V30.25C19.5%2030.5261%2019.7239%2030.75%2020%2030.75H21.642C22.0883%2030.75%2022.5227%2030.6243%2022.9001%2030.3896L22.9009%2030.3891L24%2029.7026L25.1%2030.39L25.1009%2030.3906C25.4783%2030.6253%2025.9127%2030.751%2026.359%2030.751H28C28.2761%2030.751%2028.5%2030.5271%2028.5%2030.251V29.001C28.5%2028.7249%2028.2761%2028.501%2028%2028.501H26.358C26.3352%2028.501%2026.3115%2028.4946%2026.2899%2028.4813C26.2897%2028.4812%2026.2896%2028.4811%2026.2895%2028.481L25.183%2027.79C25.183%2027.79%2025.183%2027.79%2025.1829%2027.79C25.1829%2027.7899%2025.1829%2027.7899%2025.1829%2027.7899C25.1462%2027.7669%2025.125%2027.7297%2025.125%2027.684V22.625V17.567C25.125%2017.5227%2025.146%2017.4844%2025.1836%2017.4606C25.1838%2017.4605%2025.1839%2017.4604%2025.184%2017.4603L26.2895%2016.77C26.2896%2016.7699%2026.2898%2016.7698%2026.2899%2016.7697C26.3119%2016.7562%2026.3346%2016.75%2026.358%2016.75H28Z'%20fill='black'%20stroke='%23FBFBFE'%20stroke-linejoin='round'/%3e%3cpath%20d='M24.625%2017.567C24.625%2017.35%2024.735%2017.152%2024.918%2017.037L26.026%2016.345C26.126%2016.283%2026.24%2016.25%2026.358%2016.25H28V15H26.358C26.006%2015%2025.663%2015.099%2025.364%2015.285L24.256%2015.978C24.161%2016.037%2024.081%2016.113%2024%2016.187C23.918%2016.113%2023.839%2016.037%2023.744%2015.978L22.635%2015.285C22.336%2015.099%2021.993%2015%2021.642%2015H20V16.25H21.642C21.759%2016.25%2021.874%2016.283%2021.974%2016.345L23.082%2017.037C23.266%2017.152%2023.376%2017.35%2023.376%2017.567V22.625V27.683C23.376%2027.9%2023.266%2028.098%2023.082%2028.213L21.973%2028.905C21.873%2028.967%2021.759%2029%2021.641%2029H20V30.25H21.642C21.994%2030.25%2022.337%2030.151%2022.636%2029.965L23.744%2029.273C23.84%2029.213%2023.919%2029.137%2024%2029.064C24.081%2029.137%2024.161%2029.213%2024.256%2029.273L25.365%2029.966C25.664%2030.152%2026.007%2030.251%2026.359%2030.251H28V29.001H26.358C26.241%2029.001%2026.126%2028.968%2026.026%2028.906L24.918%2028.214C24.734%2028.099%2024.625%2027.901%2024.625%2027.684V22.625V17.567Z'%20fill='black'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12.2%202.59C12.28%202.51%2012.43%202.5%2012.43%202.5C12.48%202.5%2012.58%202.52%2012.66%202.6L14.45%204.39C14.58%204.52%2014.58%204.72%2014.45%204.85L11.7713%207.52872L9.51628%205.27372L12.2%202.59ZM13.2658%204.62L11.7713%206.1145L10.9305%205.27372L12.425%203.77921L13.2658%204.62Z'%20fill='%23FBFBFE'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.98%208.82L8.23%2011.07L10.7106%208.58938L8.45562%206.33438L5.98%208.81V8.82ZM8.23%209.65579L9.29641%208.58938L8.45562%207.74859L7.38921%208.815L8.23%209.65579Z'%20fill='%23FBFBFE'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.1526%2012.6816L16.2125%206.6217C16.7576%206.08919%2017.05%205.3707%2017.05%204.62C17.05%203.86931%2016.7576%203.15084%2016.2126%202.61834L14.4317%200.837474C13.8992%200.29242%2013.1807%200%2012.43%200C11.6643%200%2010.9529%200.312929%2010.4329%200.832893L3.68289%207.58289C3.04127%208.22452%203.00459%209.25075%203.57288%209.93634L1.29187%2012.2239C1.09186%2012.4245%200.990263%2012.6957%201.0007%2012.9685L1%2014C0.447715%2014%200%2014.4477%200%2015V17C0%2017.5523%200.447715%2018%201%2018H16C16.5523%2018%2017%2017.5523%2017%2017V15C17%2014.4477%2016.5523%2014%2016%2014H10.2325C9.83594%2014%209.39953%2013.4347%2010.1526%2012.6816ZM4.39%209.35L4.9807%209.9407L2.39762%2012.5312H6.63877L7.10501%2012.065L7.57125%2012.5312H8.88875L15.51%205.91C15.86%205.57%2016.05%205.11%2016.05%204.62C16.05%204.13%2015.86%203.67%2015.51%203.33L13.72%201.54C13.38%201.19%2012.92%201%2012.43%201C11.94%201%2011.48%201.2%2011.14%201.54L4.39%208.29C4.1%208.58%204.1%209.06%204.39%209.35ZM16%2017V15H1V17H16Z'%20fill='%23FBFBFE'/%3e%3cpath%20d='M15.1616%205.55136L15.1616%205.55132L15.1564%205.55645L8.40645%2012.3064C8.35915%2012.3537%208.29589%2012.38%208.23%2012.38C8.16411%2012.38%208.10085%2012.3537%208.05355%2012.3064L7.45857%2011.7115L7.10501%2011.3579L6.75146%2011.7115L6.03289%2012.43H3.20465L5.33477%2010.2937L5.6873%209.94019L5.33426%209.58715L4.74355%208.99645C4.64882%208.90171%204.64882%208.73829%204.74355%208.64355L11.4936%201.89355C11.7436%201.64354%2012.0779%201.5%2012.43%201.5C12.7883%201.5%2013.1179%201.63776%2013.3614%201.88839L13.3613%201.88843L13.3664%201.89355L15.1564%203.68355L15.1564%203.68359L15.1616%203.68864C15.4122%203.93211%2015.55%204.26166%2015.55%204.62C15.55%204.97834%2015.4122%205.30789%2015.1616%205.55136ZM5.48%208.82V9.02711L5.62645%209.17355L7.87645%2011.4236L8.23%2011.7771L8.58355%2011.4236L11.0642%208.94293L11.4177%208.58938L11.0642%208.23582L8.80918%205.98082L8.45562%205.62727L8.10207%205.98082L5.62645%208.45645L5.48%208.60289V8.81V8.82ZM11.4177%207.88227L11.7713%208.23582L12.1248%207.88227L14.8036%205.20355C15.1288%204.87829%2015.1288%204.36171%2014.8036%204.03645L13.0136%202.24645C12.8186%202.05146%2012.5792%202%2012.43%202H12.4134L12.3967%202.00111L12.43%202.5C12.3967%202.00111%2012.3966%202.00112%2012.3965%202.00112L12.3963%202.00114L12.3957%202.00117L12.3947%202.00125L12.3924%202.00142L12.387%202.00184L12.3732%202.00311C12.3628%202.00416%2012.3498%202.00567%2012.3346%202.00784C12.3049%202.01208%2012.2642%202.01925%2012.2178%202.03146C12.1396%202.05202%2011.9797%202.10317%2011.8464%202.23645L9.16273%204.92016L8.80918%205.27372L9.16273%205.62727L11.4177%207.88227ZM1.5%2016.5V15.5H15.5V16.5H1.5Z'%20stroke='%2315141A'/%3e%3c/svg%3e") 24 24, text;
|
|
1463
|
+
--editorFreeHighlight-editing-cursor:url("data:image/svg+xml,%3csvg%20width='18'%20height='19'%20viewBox='0%200%2018%2019'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12.2%203.09C12.28%203.01%2012.43%203%2012.43%203C12.48%203%2012.58%203.02%2012.66%203.1L14.45%204.89C14.58%205.02%2014.58%205.22%2014.45%205.35L11.7713%208.02872L9.51628%205.77372L12.2%203.09ZM13.2658%205.12L11.7713%206.6145L10.9305%205.77372L12.425%204.27921L13.2658%205.12Z'%20fill='%23FBFBFE'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.98%209.32L8.23%2011.57L10.7106%209.08938L8.45562%206.83438L5.98%209.31V9.32ZM8.23%2010.1558L9.29641%209.08938L8.45562%208.24859L7.38921%209.315L8.23%2010.1558Z'%20fill='%23FBFBFE'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.1526%2013.1816L16.2125%207.1217C16.7576%206.58919%2017.05%205.8707%2017.05%205.12C17.05%204.36931%2016.7576%203.65084%2016.2126%203.11834L14.4317%201.33747C13.8992%200.79242%2013.1807%200.5%2012.43%200.5C11.6643%200.5%2010.9529%200.812929%2010.4329%201.33289L3.68289%208.08289C3.04127%208.72452%203.00459%209.75075%203.57288%2010.4363L1.29187%2012.7239C1.09186%2012.9245%200.990263%2013.1957%201.0007%2013.4685L1%2014.5C0.447715%2014.5%200%2014.9477%200%2015.5V17.5C0%2018.0523%200.447715%2018.5%201%2018.5H16C16.5523%2018.5%2017%2018.0523%2017%2017.5V15.5C17%2014.9477%2016.5523%2014.5%2016%2014.5H10.2325C9.83594%2014.5%209.39953%2013.9347%2010.1526%2013.1816ZM4.39%209.85L4.9807%2010.4407L2.39762%2013.0312H6.63877L7.10501%2012.565L7.57125%2013.0312H8.88875L15.51%206.41C15.86%206.07%2016.05%205.61%2016.05%205.12C16.05%204.63%2015.86%204.17%2015.51%203.83L13.72%202.04C13.38%201.69%2012.92%201.5%2012.43%201.5C11.94%201.5%2011.48%201.7%2011.14%202.04L4.39%208.79C4.1%209.08%204.1%209.56%204.39%209.85ZM16%2017.5V15.5H1V17.5H16Z'%20fill='%23FBFBFE'/%3e%3cpath%20d='M15.1616%206.05136L15.1616%206.05132L15.1564%206.05645L8.40645%2012.8064C8.35915%2012.8537%208.29589%2012.88%208.23%2012.88C8.16411%2012.88%208.10085%2012.8537%208.05355%2012.8064L7.45857%2012.2115L7.10501%2011.8579L6.75146%2012.2115L6.03289%2012.93H3.20465L5.33477%2010.7937L5.6873%2010.4402L5.33426%2010.0871L4.74355%209.49645C4.64882%209.40171%204.64882%209.23829%204.74355%209.14355L11.4936%202.39355C11.7436%202.14354%2012.0779%202%2012.43%202C12.7883%202%2013.1179%202.13776%2013.3614%202.38839L13.3613%202.38843L13.3664%202.39355L15.1564%204.18355L15.1564%204.18359L15.1616%204.18864C15.4122%204.43211%2015.55%204.76166%2015.55%205.12C15.55%205.47834%2015.4122%205.80789%2015.1616%206.05136ZM7.87645%2011.9236L8.23%2012.2771L8.58355%2011.9236L11.0642%209.44293L11.4177%209.08938L11.0642%208.73582L8.80918%206.48082L8.45562%206.12727L8.10207%206.48082L5.62645%208.95645L5.48%209.10289V9.31V9.32V9.52711L5.62645%209.67355L7.87645%2011.9236ZM11.4177%208.38227L11.7713%208.73582L12.1248%208.38227L14.8036%205.70355C15.1288%205.37829%2015.1288%204.86171%2014.8036%204.53645L13.0136%202.74645C12.8186%202.55146%2012.5792%202.5%2012.43%202.5H12.4134L12.3967%202.50111L12.43%203C12.3967%202.50111%2012.3966%202.50112%2012.3965%202.50112L12.3963%202.50114L12.3957%202.50117L12.3947%202.50125L12.3924%202.50142L12.387%202.50184L12.3732%202.50311C12.3628%202.50416%2012.3498%202.50567%2012.3346%202.50784C12.3049%202.51208%2012.2642%202.51925%2012.2178%202.53146C12.1396%202.55202%2011.9797%202.60317%2011.8464%202.73645L9.16273%205.42016L8.80918%205.77372L9.16273%206.12727L11.4177%208.38227ZM1.5%2016H15.5V17H1.5V16Z'%20stroke='%2315141A'/%3e%3c/svg%3e") 1 18, pointer;
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1466
|
+
.visuallyHidden{
|
|
1467
|
+
position:absolute;
|
|
1468
|
+
top:0;
|
|
1469
|
+
left:0;
|
|
1470
|
+
border:0;
|
|
1471
|
+
margin:0;
|
|
1472
|
+
padding:0;
|
|
1473
|
+
width:0;
|
|
1474
|
+
height:0;
|
|
1475
|
+
overflow:hidden;
|
|
1476
|
+
white-space:nowrap;
|
|
1477
|
+
font-size:0;
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
.textLayer.highlighting{
|
|
1481
|
+
cursor:var(--editorFreeHighlight-editing-cursor);
|
|
1482
|
+
}
|
|
1483
|
+
|
|
1484
|
+
.textLayer.highlighting:not(.free) span{
|
|
1485
|
+
cursor:var(--editorHighlight-editing-cursor);
|
|
1486
|
+
}
|
|
1487
|
+
|
|
1488
|
+
.textLayer.highlighting.free span{
|
|
1489
|
+
cursor:var(--editorFreeHighlight-editing-cursor);
|
|
1490
|
+
}
|
|
1491
|
+
|
|
1492
|
+
@media (min-resolution: 1.1dppx){
|
|
1493
|
+
:root{
|
|
1494
|
+
--editorFreeText-editing-cursor:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%202.75H12.5V2.25V1V0.5H12H10.358C9.91165%200.5%209.47731%200.625661%209.09989%200.860442L9.09886%200.861087L8%201.54837L6.89997%200.860979L6.89911%200.860443C6.5218%200.625734%206.08748%200.5%205.642%200.5H4H3.5V1V2.25V2.75H4H5.642C5.66478%202.75%205.6885%202.75641%205.71008%202.76968C5.71023%202.76977%205.71038%202.76986%205.71053%202.76995L6.817%203.461C6.81704%203.46103%206.81709%203.46105%206.81713%203.46108C6.81713%203.46108%206.81713%203.46108%206.81714%203.46109C6.8552%203.48494%206.876%203.52285%206.876%203.567V8V12.433C6.876%2012.4771%206.85523%2012.515%206.81722%2012.5389C6.81715%2012.5389%206.81707%2012.539%206.817%2012.539L5.70953%2013.23C5.70941%2013.2301%205.70929%2013.2302%205.70917%2013.2303C5.68723%2013.2438%205.6644%2013.25%205.641%2013.25H4H3.5V13.75V15V15.5H4H5.642C6.08835%2015.5%206.52269%2015.3743%206.90011%2015.1396L6.90086%2015.1391L8%2014.4526L9.10003%2015.14L9.10089%2015.1406C9.47831%2015.3753%209.91265%2015.501%2010.359%2015.501H12H12.5V15.001V13.751V13.251H12H10.358C10.3352%2013.251%2010.3115%2013.2446%2010.2899%2013.2313C10.2897%2013.2312%2010.2896%2013.2311%2010.2895%2013.231L9.183%2012.54C9.18298%2012.54%209.18295%2012.54%209.18293%2012.54C9.18291%2012.5399%209.18288%2012.5399%209.18286%2012.5399C9.14615%2012.5169%209.125%2012.4797%209.125%2012.434V8V3.567C9.125%203.52266%209.14603%203.48441%209.18364%203.4606C9.18377%203.46052%209.1839%203.46043%209.18404%203.46035L10.2895%202.76995C10.2896%202.76985%2010.2898%202.76975%2010.2899%202.76966C10.3119%202.75619%2010.3346%202.75%2010.358%202.75H12Z'%20fill='black'%20stroke='white'/%3e%3c/svg%3e") 0 16, text;
|
|
1495
|
+
}
|
|
1496
|
+
}
|
|
1497
|
+
|
|
1498
|
+
@media screen and (forced-colors: active){
|
|
1499
|
+
:root{
|
|
1500
|
+
--outline-color:CanvasText;
|
|
1501
|
+
--outline-around-color:ButtonFace;
|
|
1502
|
+
--resizer-bg-color:ButtonText;
|
|
1503
|
+
--hover-outline-color:Highlight;
|
|
1504
|
+
--hover-outline-around-color:SelectedItemText;
|
|
1505
|
+
}
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
[data-editor-rotation="90"]{
|
|
1509
|
+
transform:rotate(90deg);
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
[data-editor-rotation="180"]{
|
|
1513
|
+
transform:rotate(180deg);
|
|
1514
|
+
}
|
|
1515
|
+
|
|
1516
|
+
[data-editor-rotation="270"]{
|
|
1517
|
+
transform:rotate(270deg);
|
|
1518
|
+
}
|
|
1519
|
+
|
|
1520
|
+
.annotationEditorLayer{
|
|
1521
|
+
background:transparent;
|
|
1522
|
+
position:absolute;
|
|
1523
|
+
inset:0;
|
|
1524
|
+
font-size:calc(100px * var(--scale-factor));
|
|
1525
|
+
transform-origin:0 0;
|
|
1526
|
+
cursor:auto;
|
|
1527
|
+
}
|
|
1528
|
+
|
|
1529
|
+
.annotationEditorLayer.waiting{
|
|
1530
|
+
content:"";
|
|
1531
|
+
cursor:wait;
|
|
1532
|
+
position:absolute;
|
|
1533
|
+
inset:0;
|
|
1534
|
+
width:100%;
|
|
1535
|
+
height:100%;
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
.annotationEditorLayer.disabled{
|
|
1539
|
+
pointer-events:none;
|
|
1540
|
+
}
|
|
1541
|
+
|
|
1542
|
+
.annotationEditorLayer.freetextEditing{
|
|
1543
|
+
cursor:var(--editorFreeText-editing-cursor);
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1546
|
+
.annotationEditorLayer.inkEditing{
|
|
1547
|
+
cursor:var(--editorInk-editing-cursor);
|
|
1548
|
+
}
|
|
1549
|
+
|
|
1550
|
+
.annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor){
|
|
1551
|
+
position:absolute;
|
|
1552
|
+
background:transparent;
|
|
1553
|
+
z-index:1;
|
|
1554
|
+
transform-origin:0 0;
|
|
1555
|
+
cursor:auto;
|
|
1556
|
+
max-width:100%;
|
|
1557
|
+
max-height:100%;
|
|
1558
|
+
border:var(--unfocus-outline);
|
|
1559
|
+
}
|
|
1560
|
+
|
|
1561
|
+
.annotationEditorLayer .draggable.selectedEditor:is(.freeTextEditor, .inkEditor, .stampEditor){
|
|
1562
|
+
cursor:move;
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1565
|
+
.annotationEditorLayer .moving:is(.freeTextEditor, .inkEditor, .stampEditor){
|
|
1566
|
+
touch-action:none;
|
|
1567
|
+
}
|
|
1568
|
+
|
|
1569
|
+
.annotationEditorLayer .selectedEditor:is(.freeTextEditor, .inkEditor, .stampEditor){
|
|
1570
|
+
border:var(--focus-outline);
|
|
1571
|
+
outline:var(--focus-outline-around);
|
|
1572
|
+
}
|
|
1573
|
+
|
|
1574
|
+
.annotationEditorLayer .selectedEditor:is(.freeTextEditor, .inkEditor, .stampEditor)::before{
|
|
1575
|
+
content:"";
|
|
1576
|
+
position:absolute;
|
|
1577
|
+
inset:0;
|
|
1578
|
+
border:var(--focus-outline-around);
|
|
1579
|
+
pointer-events:none;
|
|
1580
|
+
}
|
|
1581
|
+
|
|
1582
|
+
.annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor):hover:not(.selectedEditor){
|
|
1583
|
+
border:var(--hover-outline);
|
|
1584
|
+
outline:var(--hover-outline-around);
|
|
1585
|
+
}
|
|
1586
|
+
|
|
1587
|
+
.annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor):hover:not(.selectedEditor)::before{
|
|
1588
|
+
content:"";
|
|
1589
|
+
position:absolute;
|
|
1590
|
+
inset:0;
|
|
1591
|
+
border:var(--focus-outline-around);
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
:is(.annotationEditorLayer
|
|
1595
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar{
|
|
1596
|
+
--editor-toolbar-delete-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11%203H13.6C14%203%2014.3%203.3%2014.3%203.6C14.3%203.9%2014%204.2%2013.7%204.2H13.3V14C13.3%2015.1%2012.4%2016%2011.3%2016H4.80005C3.70005%2016%202.80005%2015.1%202.80005%2014V4.2H2.40005C2.00005%204.2%201.80005%204%201.80005%203.6C1.80005%203.2%202.00005%203%202.40005%203H5.00005V2C5.00005%200.9%205.90005%200%207.00005%200H9.00005C10.1%200%2011%200.9%2011%202V3ZM6.90005%201.2L6.30005%201.8V3H9.80005V1.8L9.20005%201.2H6.90005ZM11.4%2014.7L12%2014.1V4.2H4.00005V14.1L4.60005%2014.7H11.4ZM7.00005%2012.4C7.00005%2012.7%206.70005%2013%206.40005%2013C6.10005%2013%205.80005%2012.7%205.80005%2012.4V7.6C5.70005%207.3%206.00005%207%206.40005%207C6.80005%207%207.00005%207.3%207.00005%207.6V12.4ZM10.2001%2012.4C10.2001%2012.7%209.90006%2013%209.60006%2013C9.30006%2013%209.00006%2012.7%209.00006%2012.4V7.6C9.00006%207.3%209.30006%207%209.60006%207C9.90006%207%2010.2001%207.3%2010.2001%207.6V12.4Z'%20fill='black'%20/%3e%3c/svg%3e");
|
|
1597
|
+
--editor-toolbar-bg-color:#f0f0f4;
|
|
1598
|
+
--editor-toolbar-highlight-image:url("data:image/svg+xml,%3csvg%20width='17'%20height='16'%20viewBox='0%200%2017%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.10918%2011.66C7.24918%2011.8%207.43918%2011.88%207.63918%2011.88C7.83918%2011.88%208.02918%2011.8%208.16918%2011.66L14.9192%204.91C15.2692%204.57%2015.4592%204.11%2015.4592%203.62C15.4592%203.13%2015.2692%202.67%2014.9192%202.33L13.1292%200.54C12.7892%200.19%2012.3292%200%2011.8392%200C11.3492%200%2010.8892%200.2%2010.5492%200.54L3.79918%207.29C3.50918%207.58%203.50918%208.06%203.79918%208.35L4.38988%208.9407L1.40918%2011.93H5.64918L6.51419%2011.065L7.10918%2011.66ZM7.63918%2010.07L5.38918%207.82V7.81L7.8648%205.33438L10.1198%207.58938L7.63918%2010.07ZM11.1805%206.52872L13.8592%203.85C13.9892%203.72%2013.9892%203.52%2013.8592%203.39L12.0692%201.6C11.9892%201.52%2011.8892%201.5%2011.8392%201.5C11.8392%201.5%2011.6892%201.51%2011.6092%201.59L8.92546%204.27372L11.1805%206.52872Z'%20fill='%23000'/%3e%3cpath%20d='M0.40918%2014H15.4092V16H0.40918V14Z'%20fill='%23000'/%3e%3c/g%3e%3c/svg%3e");
|
|
1599
|
+
--editor-toolbar-fg-color:#2e2e56;
|
|
1600
|
+
--editor-toolbar-border-color:#8f8f9d;
|
|
1601
|
+
--editor-toolbar-hover-border-color:var(--editor-toolbar-border-color);
|
|
1602
|
+
--editor-toolbar-hover-bg-color:#e0e0e6;
|
|
1603
|
+
--editor-toolbar-hover-fg-color:var(--editor-toolbar-fg-color);
|
|
1604
|
+
--editor-toolbar-hover-outline:none;
|
|
1605
|
+
--editor-toolbar-focus-outline-color:#0060df;
|
|
1606
|
+
--editor-toolbar-shadow:0 2px 6px 0 rgb(58 57 68 / 0.2);
|
|
1607
|
+
--editor-toolbar-vert-offset:6px;
|
|
1608
|
+
--editor-toolbar-height:28px;
|
|
1609
|
+
--editor-toolbar-padding:2px;
|
|
1610
|
+
|
|
1611
|
+
display:flex;
|
|
1612
|
+
width:-moz-fit-content;
|
|
1613
|
+
width:fit-content;
|
|
1614
|
+
height:var(--editor-toolbar-height);
|
|
1615
|
+
flex-direction:column;
|
|
1616
|
+
justify-content:center;
|
|
1617
|
+
align-items:center;
|
|
1618
|
+
cursor:default;
|
|
1619
|
+
pointer-events:auto;
|
|
1620
|
+
box-sizing:content-box;
|
|
1621
|
+
padding:var(--editor-toolbar-padding);
|
|
1622
|
+
|
|
1623
|
+
position:absolute;
|
|
1624
|
+
inset-inline-end:0;
|
|
1625
|
+
inset-block-start:calc(100% + var(--editor-toolbar-vert-offset));
|
|
1626
|
+
|
|
1627
|
+
border-radius:6px;
|
|
1628
|
+
background-color:var(--editor-toolbar-bg-color);
|
|
1629
|
+
border:1px solid var(--editor-toolbar-border-color);
|
|
1630
|
+
box-shadow:var(--editor-toolbar-shadow);
|
|
1631
|
+
}
|
|
1632
|
+
|
|
1633
|
+
@media (prefers-color-scheme: dark){
|
|
1634
|
+
|
|
1635
|
+
:is(.annotationEditorLayer
|
|
1636
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar{
|
|
1637
|
+
--editor-toolbar-bg-color:#2b2a33;
|
|
1638
|
+
--editor-toolbar-fg-color:#fbfbfe;
|
|
1639
|
+
--editor-toolbar-hover-bg-color:#52525e;
|
|
1640
|
+
--editor-toolbar-focus-outline-color:#0df;
|
|
1641
|
+
}
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1644
|
+
@media screen and (forced-colors: active){
|
|
1645
|
+
|
|
1646
|
+
:is(.annotationEditorLayer
|
|
1647
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar{
|
|
1648
|
+
--editor-toolbar-bg-color:ButtonFace;
|
|
1649
|
+
--editor-toolbar-fg-color:ButtonText;
|
|
1650
|
+
--editor-toolbar-border-color:ButtonText;
|
|
1651
|
+
--editor-toolbar-hover-border-color:AccentColor;
|
|
1652
|
+
--editor-toolbar-hover-bg-color:ButtonFace;
|
|
1653
|
+
--editor-toolbar-hover-fg-color:AccentColor;
|
|
1654
|
+
--editor-toolbar-hover-outline:2px solid var(--editor-toolbar-hover-border-color);
|
|
1655
|
+
--editor-toolbar-focus-outline-color:ButtonBorder;
|
|
1656
|
+
--editor-toolbar-shadow:none;
|
|
1657
|
+
}
|
|
1658
|
+
}
|
|
1659
|
+
|
|
1660
|
+
:is(.annotationEditorLayer
|
|
1661
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar.hidden{
|
|
1662
|
+
display:none;
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1665
|
+
:is(.annotationEditorLayer
|
|
1666
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar:has(:focus-visible){
|
|
1667
|
+
border-color:transparent;
|
|
1668
|
+
}
|
|
1669
|
+
|
|
1670
|
+
[dir="ltr"] :is(.annotationEditorLayer
|
|
1671
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar{
|
|
1672
|
+
transform-origin:100% 0;
|
|
1673
|
+
}
|
|
1674
|
+
|
|
1675
|
+
[dir="rtl"] :is(.annotationEditorLayer
|
|
1676
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar{
|
|
1677
|
+
transform-origin:0 0;
|
|
1678
|
+
}
|
|
1679
|
+
|
|
1680
|
+
:is(.annotationEditorLayer
|
|
1681
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons{
|
|
1682
|
+
display:flex;
|
|
1683
|
+
justify-content:center;
|
|
1684
|
+
align-items:center;
|
|
1685
|
+
gap:0;
|
|
1686
|
+
height:100%;
|
|
1687
|
+
}
|
|
1688
|
+
|
|
1689
|
+
:is(.annotationEditorLayer
|
|
1690
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .divider{
|
|
1691
|
+
width:1px;
|
|
1692
|
+
height:calc(
|
|
1693
|
+
2 * var(--editor-toolbar-padding) + var(--editor-toolbar-height)
|
|
1694
|
+
);
|
|
1695
|
+
background-color:var(--editor-toolbar-border-color);
|
|
1696
|
+
display:inline-block;
|
|
1697
|
+
margin-inline:2px;
|
|
1698
|
+
}
|
|
1699
|
+
|
|
1700
|
+
:is(.annotationEditorLayer
|
|
1701
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .highlightButton{
|
|
1702
|
+
width:var(--editor-toolbar-height);
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
:is(.annotationEditorLayer
|
|
1706
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .highlightButton::before{
|
|
1707
|
+
content:"";
|
|
1708
|
+
-webkit-mask-image:var(--editor-toolbar-highlight-image);
|
|
1709
|
+
mask-image:var(--editor-toolbar-highlight-image);
|
|
1710
|
+
-webkit-mask-repeat:no-repeat;
|
|
1711
|
+
mask-repeat:no-repeat;
|
|
1712
|
+
-webkit-mask-position:center;
|
|
1713
|
+
mask-position:center;
|
|
1714
|
+
display:inline-block;
|
|
1715
|
+
background-color:var(--editor-toolbar-fg-color);
|
|
1716
|
+
width:100%;
|
|
1717
|
+
height:100%;
|
|
1718
|
+
}
|
|
1719
|
+
|
|
1720
|
+
:is(.annotationEditorLayer
|
|
1721
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .highlightButton:hover::before{
|
|
1722
|
+
background-color:var(--editor-toolbar-hover-fg-color);
|
|
1723
|
+
}
|
|
1724
|
+
|
|
1725
|
+
:is(.annotationEditorLayer
|
|
1726
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .delete{
|
|
1727
|
+
width:var(--editor-toolbar-height);
|
|
1728
|
+
}
|
|
1729
|
+
|
|
1730
|
+
:is(.annotationEditorLayer
|
|
1731
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .delete::before{
|
|
1732
|
+
content:"";
|
|
1733
|
+
-webkit-mask-image:var(--editor-toolbar-delete-image);
|
|
1734
|
+
mask-image:var(--editor-toolbar-delete-image);
|
|
1735
|
+
-webkit-mask-repeat:no-repeat;
|
|
1736
|
+
mask-repeat:no-repeat;
|
|
1737
|
+
-webkit-mask-position:center;
|
|
1738
|
+
mask-position:center;
|
|
1739
|
+
display:inline-block;
|
|
1740
|
+
background-color:var(--editor-toolbar-fg-color);
|
|
1741
|
+
width:100%;
|
|
1742
|
+
height:100%;
|
|
1743
|
+
}
|
|
1744
|
+
|
|
1745
|
+
:is(.annotationEditorLayer
|
|
1746
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .delete:hover::before{
|
|
1747
|
+
background-color:var(--editor-toolbar-hover-fg-color);
|
|
1748
|
+
}
|
|
1749
|
+
|
|
1750
|
+
:is(.annotationEditorLayer
|
|
1751
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons > *{
|
|
1752
|
+
height:var(--editor-toolbar-height);
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1755
|
+
:is(.annotationEditorLayer
|
|
1756
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons > :not(.divider){
|
|
1757
|
+
border:none;
|
|
1758
|
+
background-color:transparent;
|
|
1759
|
+
cursor:pointer;
|
|
1760
|
+
}
|
|
1761
|
+
|
|
1762
|
+
:is(.annotationEditorLayer
|
|
1763
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons > :not(.divider):hover{
|
|
1764
|
+
border-radius:2px;
|
|
1765
|
+
background-color:var(--editor-toolbar-hover-bg-color);
|
|
1766
|
+
color:var(--editor-toolbar-hover-fg-color);
|
|
1767
|
+
outline:var(--editor-toolbar-hover-outline);
|
|
1768
|
+
outline-offset:1px;
|
|
1769
|
+
}
|
|
1770
|
+
|
|
1771
|
+
:is(.annotationEditorLayer
|
|
1772
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons > :not(.divider):hover:active{
|
|
1773
|
+
outline:none;
|
|
1774
|
+
}
|
|
1775
|
+
|
|
1776
|
+
:is(.annotationEditorLayer
|
|
1777
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons > :not(.divider):focus-visible{
|
|
1778
|
+
border-radius:2px;
|
|
1779
|
+
outline:2px solid var(--editor-toolbar-focus-outline-color);
|
|
1780
|
+
}
|
|
1781
|
+
|
|
1782
|
+
:is(.annotationEditorLayer
|
|
1783
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText{
|
|
1784
|
+
--alt-text-add-image:url("data:image/svg+xml,%3csvg%20width='12'%20height='13'%20viewBox='0%200%2012%2013'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.375%207.625V11.875C5.375%2012.0408%205.44085%2012.1997%205.55806%2012.3169C5.67527%2012.4342%205.83424%2012.5%206%2012.5C6.16576%2012.5%206.32473%2012.4342%206.44194%2012.3169C6.55915%2012.1997%206.625%2012.0408%206.625%2011.875V7.625L7.125%207.125H11.375C11.5408%207.125%2011.6997%207.05915%2011.8169%206.94194C11.9342%206.82473%2012%206.66576%2012%206.5C12%206.33424%2011.9342%206.17527%2011.8169%206.05806C11.6997%205.94085%2011.5408%205.875%2011.375%205.875H7.125L6.625%205.375V1.125C6.625%200.95924%206.55915%200.800269%206.44194%200.683058C6.32473%200.565848%206.16576%200.5%206%200.5C5.83424%200.5%205.67527%200.565848%205.55806%200.683058C5.44085%200.800269%205.375%200.95924%205.375%201.125V5.375L4.875%205.875H0.625C0.45924%205.875%200.300269%205.94085%200.183058%206.05806C0.065848%206.17527%200%206.33424%200%206.5C0%206.66576%200.065848%206.82473%200.183058%206.94194C0.300269%207.05915%200.45924%207.125%200.625%207.125H4.762L5.375%207.625Z'%20fill='black'/%3e%3c/svg%3e");
|
|
1785
|
+
--alt-text-done-image:url("data:image/svg+xml,%3csvg%20width='12'%20height='13'%20viewBox='0%200%2012%2013'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6%200.5C5.21207%200.5%204.43185%200.655195%203.7039%200.956723C2.97595%201.25825%202.31451%201.70021%201.75736%202.25736C1.20021%202.81451%200.758251%203.47595%200.456723%204.2039C0.155195%204.93185%200%205.71207%200%206.5C0%207.28793%200.155195%208.06815%200.456723%208.7961C0.758251%209.52405%201.20021%2010.1855%201.75736%2010.7426C2.31451%2011.2998%202.97595%2011.7417%203.7039%2012.0433C4.43185%2012.3448%205.21207%2012.5%206%2012.5C7.5913%2012.5%209.11742%2011.8679%2010.2426%2010.7426C11.3679%209.61742%2012%208.0913%2012%206.5C12%204.9087%2011.3679%203.38258%2010.2426%202.25736C9.11742%201.13214%207.5913%200.5%206%200.5ZM5.06%208.9L2.9464%206.7856C2.85273%206.69171%202.80018%206.56446%202.80033%206.43183C2.80048%206.29921%202.85331%206.17207%202.9472%206.0784C3.04109%205.98473%203.16834%205.93218%203.30097%205.93233C3.43359%205.93248%203.56073%205.98531%203.6544%206.0792L5.3112%207.7368L8.3464%204.7008C8.44109%204.6109%208.56715%204.56153%208.69771%204.56322C8.82827%204.56492%208.95301%204.61754%209.04534%204.70986C9.13766%204.80219%209.19028%204.92693%209.19198%205.05749C9.19367%205.18805%209.1443%205.31411%209.0544%205.4088L5.5624%208.9H5.06Z'%20fill='%23FBFBFE'/%3e%3c/svg%3e");
|
|
1786
|
+
|
|
1787
|
+
display:flex;
|
|
1788
|
+
align-items:center;
|
|
1789
|
+
justify-content:center;
|
|
1790
|
+
width:-moz-max-content;
|
|
1791
|
+
width:max-content;
|
|
1792
|
+
padding-inline:8px;
|
|
1793
|
+
pointer-events:all;
|
|
1794
|
+
font:menu;
|
|
1795
|
+
font-weight:590;
|
|
1796
|
+
font-size:12px;
|
|
1797
|
+
color:var(--editor-toolbar-fg-color);
|
|
1798
|
+
}
|
|
1799
|
+
|
|
1800
|
+
:is(.annotationEditorLayer
|
|
1801
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText:disabled{
|
|
1802
|
+
pointer-events:none;
|
|
1803
|
+
}
|
|
1804
|
+
|
|
1805
|
+
:is(.annotationEditorLayer
|
|
1806
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText::before{
|
|
1807
|
+
content:"";
|
|
1808
|
+
-webkit-mask-image:var(--alt-text-add-image);
|
|
1809
|
+
mask-image:var(--alt-text-add-image);
|
|
1810
|
+
-webkit-mask-repeat:no-repeat;
|
|
1811
|
+
mask-repeat:no-repeat;
|
|
1812
|
+
-webkit-mask-position:center;
|
|
1813
|
+
mask-position:center;
|
|
1814
|
+
display:inline-block;
|
|
1815
|
+
width:12px;
|
|
1816
|
+
height:13px;
|
|
1817
|
+
background-color:var(--editor-toolbar-fg-color);
|
|
1818
|
+
margin-inline-end:4px;
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1821
|
+
:is(.annotationEditorLayer
|
|
1822
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText:hover::before{
|
|
1823
|
+
background-color:var(--editor-toolbar-hover-fg-color);
|
|
1824
|
+
}
|
|
1825
|
+
|
|
1826
|
+
:is(.annotationEditorLayer
|
|
1827
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText.done::before{
|
|
1828
|
+
-webkit-mask-image:var(--alt-text-done-image);
|
|
1829
|
+
mask-image:var(--alt-text-done-image);
|
|
1830
|
+
}
|
|
1831
|
+
|
|
1832
|
+
:is(.annotationEditorLayer
|
|
1833
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText .tooltip{
|
|
1834
|
+
display:none;
|
|
1835
|
+
}
|
|
1836
|
+
|
|
1837
|
+
:is(.annotationEditorLayer
|
|
1838
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText .tooltip.show{
|
|
1839
|
+
--alt-text-tooltip-bg:#f0f0f4;
|
|
1840
|
+
--alt-text-tooltip-fg:#15141a;
|
|
1841
|
+
--alt-text-tooltip-border:#8f8f9d;
|
|
1842
|
+
--alt-text-tooltip-shadow:0px 2px 6px 0px rgb(58 57 68 / 0.2);
|
|
1843
|
+
|
|
1844
|
+
display:inline-flex;
|
|
1845
|
+
flex-direction:column;
|
|
1846
|
+
align-items:center;
|
|
1847
|
+
justify-content:center;
|
|
1848
|
+
position:absolute;
|
|
1849
|
+
top:calc(100% + 2px);
|
|
1850
|
+
inset-inline-start:0;
|
|
1851
|
+
padding-block:2px 3px;
|
|
1852
|
+
padding-inline:3px;
|
|
1853
|
+
max-width:300px;
|
|
1854
|
+
width:-moz-max-content;
|
|
1855
|
+
width:max-content;
|
|
1856
|
+
height:auto;
|
|
1857
|
+
font-size:12px;
|
|
1858
|
+
|
|
1859
|
+
border:0.5px solid var(--alt-text-tooltip-border);
|
|
1860
|
+
background:var(--alt-text-tooltip-bg);
|
|
1861
|
+
box-shadow:var(--alt-text-tooltip-shadow);
|
|
1862
|
+
color:var(--alt-text-tooltip-fg);
|
|
1863
|
+
|
|
1864
|
+
pointer-events:none;
|
|
1865
|
+
}
|
|
1866
|
+
|
|
1867
|
+
@media (prefers-color-scheme: dark){
|
|
1868
|
+
|
|
1869
|
+
:is(.annotationEditorLayer
|
|
1870
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText .tooltip.show{
|
|
1871
|
+
--alt-text-tooltip-bg:#1c1b22;
|
|
1872
|
+
--alt-text-tooltip-fg:#fbfbfe;
|
|
1873
|
+
--alt-text-tooltip-shadow:0px 2px 6px 0px #15141a;
|
|
1874
|
+
}
|
|
1875
|
+
}
|
|
1876
|
+
|
|
1877
|
+
@media screen and (forced-colors: active){
|
|
1878
|
+
|
|
1879
|
+
:is(.annotationEditorLayer
|
|
1880
|
+
:is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText .tooltip.show{
|
|
1881
|
+
--alt-text-tooltip-bg:Canvas;
|
|
1882
|
+
--alt-text-tooltip-fg:CanvasText;
|
|
1883
|
+
--alt-text-tooltip-border:CanvasText;
|
|
1884
|
+
--alt-text-tooltip-shadow:none;
|
|
1885
|
+
}
|
|
1886
|
+
}
|
|
1887
|
+
|
|
1888
|
+
.annotationEditorLayer .freeTextEditor{
|
|
1889
|
+
padding:calc(var(--freetext-padding) * var(--scale-factor));
|
|
1890
|
+
width:auto;
|
|
1891
|
+
height:auto;
|
|
1892
|
+
touch-action:none;
|
|
1893
|
+
}
|
|
1894
|
+
|
|
1895
|
+
.annotationEditorLayer .freeTextEditor .internal{
|
|
1896
|
+
background:transparent;
|
|
1897
|
+
border:none;
|
|
1898
|
+
inset:0;
|
|
1899
|
+
overflow:visible;
|
|
1900
|
+
white-space:nowrap;
|
|
1901
|
+
font:10px sans-serif;
|
|
1902
|
+
line-height:var(--freetext-line-height);
|
|
1903
|
+
-webkit-user-select:none;
|
|
1904
|
+
-moz-user-select:none;
|
|
1905
|
+
user-select:none;
|
|
1906
|
+
}
|
|
1907
|
+
|
|
1908
|
+
.annotationEditorLayer .freeTextEditor .overlay{
|
|
1909
|
+
position:absolute;
|
|
1910
|
+
display:none;
|
|
1911
|
+
background:transparent;
|
|
1912
|
+
inset:0;
|
|
1913
|
+
width:100%;
|
|
1914
|
+
height:100%;
|
|
1915
|
+
}
|
|
1916
|
+
|
|
1917
|
+
.annotationEditorLayer freeTextEditor .overlay.enabled{
|
|
1918
|
+
display:block;
|
|
1919
|
+
}
|
|
1920
|
+
|
|
1921
|
+
.annotationEditorLayer .freeTextEditor .internal:empty::before{
|
|
1922
|
+
content:attr(default-content);
|
|
1923
|
+
color:gray;
|
|
1924
|
+
}
|
|
1925
|
+
|
|
1926
|
+
.annotationEditorLayer .freeTextEditor .internal:focus{
|
|
1927
|
+
outline:none;
|
|
1928
|
+
-webkit-user-select:auto;
|
|
1929
|
+
-moz-user-select:auto;
|
|
1930
|
+
user-select:auto;
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1933
|
+
.annotationEditorLayer .inkEditor{
|
|
1934
|
+
width:100%;
|
|
1935
|
+
height:100%;
|
|
1936
|
+
}
|
|
1937
|
+
|
|
1938
|
+
.annotationEditorLayer .inkEditor.editing{
|
|
1939
|
+
cursor:inherit;
|
|
1940
|
+
}
|
|
1941
|
+
|
|
1942
|
+
.annotationEditorLayer .inkEditor .inkEditorCanvas{
|
|
1943
|
+
position:absolute;
|
|
1944
|
+
inset:0;
|
|
1945
|
+
width:100%;
|
|
1946
|
+
height:100%;
|
|
1947
|
+
touch-action:none;
|
|
1948
|
+
}
|
|
1949
|
+
|
|
1950
|
+
.annotationEditorLayer .stampEditor{
|
|
1951
|
+
width:auto;
|
|
1952
|
+
height:auto;
|
|
1953
|
+
}
|
|
1954
|
+
|
|
1955
|
+
.annotationEditorLayer .stampEditor canvas{
|
|
1956
|
+
position:absolute;
|
|
1957
|
+
width:100%;
|
|
1958
|
+
height:100%;
|
|
1959
|
+
margin:0;
|
|
1960
|
+
top:0;
|
|
1961
|
+
left:0;
|
|
1962
|
+
}
|
|
1963
|
+
|
|
1964
|
+
.annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers{
|
|
1965
|
+
position:absolute;
|
|
1966
|
+
inset:0;
|
|
1967
|
+
}
|
|
1968
|
+
|
|
1969
|
+
.annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers.hidden{
|
|
1970
|
+
display:none;
|
|
1971
|
+
}
|
|
1972
|
+
|
|
1973
|
+
.annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer{
|
|
1974
|
+
width:var(--resizer-size);
|
|
1975
|
+
height:var(--resizer-size);
|
|
1976
|
+
background:content-box var(--resizer-bg-color);
|
|
1977
|
+
border:var(--focus-outline-around);
|
|
1978
|
+
border-radius:2px;
|
|
1979
|
+
position:absolute;
|
|
1980
|
+
}
|
|
1981
|
+
|
|
1982
|
+
.annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.topLeft{
|
|
1983
|
+
top:var(--resizer-shift);
|
|
1984
|
+
left:var(--resizer-shift);
|
|
1985
|
+
}
|
|
1986
|
+
|
|
1987
|
+
.annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.topMiddle{
|
|
1988
|
+
top:var(--resizer-shift);
|
|
1989
|
+
left:calc(50% + var(--resizer-shift));
|
|
1990
|
+
}
|
|
1991
|
+
|
|
1992
|
+
.annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.topRight{
|
|
1993
|
+
top:var(--resizer-shift);
|
|
1994
|
+
right:var(--resizer-shift);
|
|
1995
|
+
}
|
|
1996
|
+
|
|
1997
|
+
.annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.middleRight{
|
|
1998
|
+
top:calc(50% + var(--resizer-shift));
|
|
1999
|
+
right:var(--resizer-shift);
|
|
2000
|
+
}
|
|
2001
|
+
|
|
2002
|
+
.annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.bottomRight{
|
|
2003
|
+
bottom:var(--resizer-shift);
|
|
2004
|
+
right:var(--resizer-shift);
|
|
2005
|
+
}
|
|
2006
|
+
|
|
2007
|
+
.annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.bottomMiddle{
|
|
2008
|
+
bottom:var(--resizer-shift);
|
|
2009
|
+
left:calc(50% + var(--resizer-shift));
|
|
2010
|
+
}
|
|
2011
|
+
|
|
2012
|
+
.annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.bottomLeft{
|
|
2013
|
+
bottom:var(--resizer-shift);
|
|
2014
|
+
left:var(--resizer-shift);
|
|
2015
|
+
}
|
|
2016
|
+
|
|
2017
|
+
.annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.middleLeft{
|
|
2018
|
+
top:calc(50% + var(--resizer-shift));
|
|
2019
|
+
left:var(--resizer-shift);
|
|
2020
|
+
}
|
|
2021
|
+
|
|
2022
|
+
.annotationEditorLayer[data-main-rotation="0"]
|
|
2023
|
+
:is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topLeft,
|
|
2024
|
+
.annotationEditorLayer[data-main-rotation="90"]
|
|
2025
|
+
:is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topLeft,
|
|
2026
|
+
.annotationEditorLayer[data-main-rotation="180"]
|
|
2027
|
+
:is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topLeft,
|
|
2028
|
+
.annotationEditorLayer[data-main-rotation="270"]
|
|
2029
|
+
:is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topLeft,
|
|
2030
|
+
.annotationEditorLayer[data-main-rotation="0"]
|
|
2031
|
+
:is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomRight,
|
|
2032
|
+
.annotationEditorLayer[data-main-rotation="90"]
|
|
2033
|
+
:is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomRight,
|
|
2034
|
+
.annotationEditorLayer[data-main-rotation="180"]
|
|
2035
|
+
:is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomRight,
|
|
2036
|
+
.annotationEditorLayer[data-main-rotation="270"]
|
|
2037
|
+
:is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomRight{
|
|
2038
|
+
cursor:nwse-resize;
|
|
2039
|
+
}
|
|
2040
|
+
|
|
2041
|
+
.annotationEditorLayer[data-main-rotation="0"]
|
|
2042
|
+
:is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topMiddle,
|
|
2043
|
+
.annotationEditorLayer[data-main-rotation="90"]
|
|
2044
|
+
:is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topMiddle,
|
|
2045
|
+
.annotationEditorLayer[data-main-rotation="180"]
|
|
2046
|
+
:is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topMiddle,
|
|
2047
|
+
.annotationEditorLayer[data-main-rotation="270"]
|
|
2048
|
+
:is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topMiddle,
|
|
2049
|
+
.annotationEditorLayer[data-main-rotation="0"]
|
|
2050
|
+
:is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomMiddle,
|
|
2051
|
+
.annotationEditorLayer[data-main-rotation="90"]
|
|
2052
|
+
:is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomMiddle,
|
|
2053
|
+
.annotationEditorLayer[data-main-rotation="180"]
|
|
2054
|
+
:is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomMiddle,
|
|
2055
|
+
.annotationEditorLayer[data-main-rotation="270"]
|
|
2056
|
+
:is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomMiddle{
|
|
2057
|
+
cursor:ns-resize;
|
|
2058
|
+
}
|
|
2059
|
+
|
|
2060
|
+
.annotationEditorLayer[data-main-rotation="0"]
|
|
2061
|
+
:is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topRight,
|
|
2062
|
+
.annotationEditorLayer[data-main-rotation="90"]
|
|
2063
|
+
:is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topRight,
|
|
2064
|
+
.annotationEditorLayer[data-main-rotation="180"]
|
|
2065
|
+
:is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topRight,
|
|
2066
|
+
.annotationEditorLayer[data-main-rotation="270"]
|
|
2067
|
+
:is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topRight,
|
|
2068
|
+
.annotationEditorLayer[data-main-rotation="0"]
|
|
2069
|
+
:is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomLeft,
|
|
2070
|
+
.annotationEditorLayer[data-main-rotation="90"]
|
|
2071
|
+
:is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomLeft,
|
|
2072
|
+
.annotationEditorLayer[data-main-rotation="180"]
|
|
2073
|
+
:is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomLeft,
|
|
2074
|
+
.annotationEditorLayer[data-main-rotation="270"]
|
|
2075
|
+
:is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomLeft{
|
|
2076
|
+
cursor:nesw-resize;
|
|
2077
|
+
}
|
|
2078
|
+
|
|
2079
|
+
.annotationEditorLayer[data-main-rotation="0"]
|
|
2080
|
+
:is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.middleRight,
|
|
2081
|
+
.annotationEditorLayer[data-main-rotation="90"]
|
|
2082
|
+
:is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.middleRight,
|
|
2083
|
+
.annotationEditorLayer[data-main-rotation="180"]
|
|
2084
|
+
:is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.middleRight,
|
|
2085
|
+
.annotationEditorLayer[data-main-rotation="270"]
|
|
2086
|
+
:is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.middleRight,
|
|
2087
|
+
.annotationEditorLayer[data-main-rotation="0"]
|
|
2088
|
+
:is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.middleLeft,
|
|
2089
|
+
.annotationEditorLayer[data-main-rotation="90"]
|
|
2090
|
+
:is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.middleLeft,
|
|
2091
|
+
.annotationEditorLayer[data-main-rotation="180"]
|
|
2092
|
+
:is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.middleLeft,
|
|
2093
|
+
.annotationEditorLayer[data-main-rotation="270"]
|
|
2094
|
+
:is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.middleLeft{
|
|
2095
|
+
cursor:ew-resize;
|
|
2096
|
+
}
|
|
2097
|
+
|
|
2098
|
+
.annotationEditorLayer[data-main-rotation="0"]
|
|
2099
|
+
:is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topLeft,
|
|
2100
|
+
.annotationEditorLayer[data-main-rotation="90"]
|
|
2101
|
+
:is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topLeft,
|
|
2102
|
+
.annotationEditorLayer[data-main-rotation="180"]
|
|
2103
|
+
:is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topLeft,
|
|
2104
|
+
.annotationEditorLayer[data-main-rotation="270"]
|
|
2105
|
+
:is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topLeft,
|
|
2106
|
+
.annotationEditorLayer[data-main-rotation="0"]
|
|
2107
|
+
:is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomRight,
|
|
2108
|
+
.annotationEditorLayer[data-main-rotation="90"]
|
|
2109
|
+
:is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomRight,
|
|
2110
|
+
.annotationEditorLayer[data-main-rotation="180"]
|
|
2111
|
+
:is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomRight,
|
|
2112
|
+
.annotationEditorLayer[data-main-rotation="270"]
|
|
2113
|
+
:is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomRight{
|
|
2114
|
+
cursor:nesw-resize;
|
|
2115
|
+
}
|
|
2116
|
+
|
|
2117
|
+
.annotationEditorLayer[data-main-rotation="0"]
|
|
2118
|
+
:is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topMiddle,
|
|
2119
|
+
.annotationEditorLayer[data-main-rotation="90"]
|
|
2120
|
+
:is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topMiddle,
|
|
2121
|
+
.annotationEditorLayer[data-main-rotation="180"]
|
|
2122
|
+
:is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topMiddle,
|
|
2123
|
+
.annotationEditorLayer[data-main-rotation="270"]
|
|
2124
|
+
:is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topMiddle,
|
|
2125
|
+
.annotationEditorLayer[data-main-rotation="0"]
|
|
2126
|
+
:is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomMiddle,
|
|
2127
|
+
.annotationEditorLayer[data-main-rotation="90"]
|
|
2128
|
+
:is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomMiddle,
|
|
2129
|
+
.annotationEditorLayer[data-main-rotation="180"]
|
|
2130
|
+
:is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomMiddle,
|
|
2131
|
+
.annotationEditorLayer[data-main-rotation="270"]
|
|
2132
|
+
:is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomMiddle{
|
|
2133
|
+
cursor:ew-resize;
|
|
2134
|
+
}
|
|
2135
|
+
|
|
2136
|
+
.annotationEditorLayer[data-main-rotation="0"]
|
|
2137
|
+
:is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topRight,
|
|
2138
|
+
.annotationEditorLayer[data-main-rotation="90"]
|
|
2139
|
+
:is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topRight,
|
|
2140
|
+
.annotationEditorLayer[data-main-rotation="180"]
|
|
2141
|
+
:is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topRight,
|
|
2142
|
+
.annotationEditorLayer[data-main-rotation="270"]
|
|
2143
|
+
:is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topRight,
|
|
2144
|
+
.annotationEditorLayer[data-main-rotation="0"]
|
|
2145
|
+
:is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomLeft,
|
|
2146
|
+
.annotationEditorLayer[data-main-rotation="90"]
|
|
2147
|
+
:is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomLeft,
|
|
2148
|
+
.annotationEditorLayer[data-main-rotation="180"]
|
|
2149
|
+
:is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomLeft,
|
|
2150
|
+
.annotationEditorLayer[data-main-rotation="270"]
|
|
2151
|
+
:is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomLeft{
|
|
2152
|
+
cursor:nwse-resize;
|
|
2153
|
+
}
|
|
2154
|
+
|
|
2155
|
+
.annotationEditorLayer[data-main-rotation="0"]
|
|
2156
|
+
:is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.middleRight,
|
|
2157
|
+
.annotationEditorLayer[data-main-rotation="90"]
|
|
2158
|
+
:is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.middleRight,
|
|
2159
|
+
.annotationEditorLayer[data-main-rotation="180"]
|
|
2160
|
+
:is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.middleRight,
|
|
2161
|
+
.annotationEditorLayer[data-main-rotation="270"]
|
|
2162
|
+
:is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.middleRight,
|
|
2163
|
+
.annotationEditorLayer[data-main-rotation="0"]
|
|
2164
|
+
:is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.middleLeft,
|
|
2165
|
+
.annotationEditorLayer[data-main-rotation="90"]
|
|
2166
|
+
:is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.middleLeft,
|
|
2167
|
+
.annotationEditorLayer[data-main-rotation="180"]
|
|
2168
|
+
:is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.middleLeft,
|
|
2169
|
+
.annotationEditorLayer[data-main-rotation="270"]
|
|
2170
|
+
:is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.middleLeft{
|
|
2171
|
+
cursor:ns-resize;
|
|
2172
|
+
}
|
|
2173
|
+
|
|
2174
|
+
.annotationEditorLayer
|
|
2175
|
+
:is(
|
|
2176
|
+
[data-main-rotation="0"] [data-editor-rotation="90"],
|
|
2177
|
+
[data-main-rotation="90"] [data-editor-rotation="0"],
|
|
2178
|
+
[data-main-rotation="180"] [data-editor-rotation="270"],
|
|
2179
|
+
[data-main-rotation="270"] [data-editor-rotation="180"]
|
|
2180
|
+
) .editToolbar{
|
|
2181
|
+
rotate:270deg;
|
|
2182
|
+
}
|
|
2183
|
+
|
|
2184
|
+
[dir="ltr"] .annotationEditorLayer
|
|
2185
|
+
:is(
|
|
2186
|
+
[data-main-rotation="0"] [data-editor-rotation="90"],
|
|
2187
|
+
[data-main-rotation="90"] [data-editor-rotation="0"],
|
|
2188
|
+
[data-main-rotation="180"] [data-editor-rotation="270"],
|
|
2189
|
+
[data-main-rotation="270"] [data-editor-rotation="180"]
|
|
2190
|
+
) .editToolbar{
|
|
2191
|
+
inset-inline-end:calc(0px - var(--editor-toolbar-vert-offset));
|
|
2192
|
+
inset-block-start:0;
|
|
2193
|
+
}
|
|
2194
|
+
|
|
2195
|
+
[dir="rtl"] .annotationEditorLayer
|
|
2196
|
+
:is(
|
|
2197
|
+
[data-main-rotation="0"] [data-editor-rotation="90"],
|
|
2198
|
+
[data-main-rotation="90"] [data-editor-rotation="0"],
|
|
2199
|
+
[data-main-rotation="180"] [data-editor-rotation="270"],
|
|
2200
|
+
[data-main-rotation="270"] [data-editor-rotation="180"]
|
|
2201
|
+
) .editToolbar{
|
|
2202
|
+
inset-inline-end:calc(100% + var(--editor-toolbar-vert-offset));
|
|
2203
|
+
inset-block-start:0;
|
|
2204
|
+
}
|
|
2205
|
+
|
|
2206
|
+
.annotationEditorLayer
|
|
2207
|
+
:is(
|
|
2208
|
+
[data-main-rotation="0"] [data-editor-rotation="180"],
|
|
2209
|
+
[data-main-rotation="90"] [data-editor-rotation="90"],
|
|
2210
|
+
[data-main-rotation="180"] [data-editor-rotation="0"],
|
|
2211
|
+
[data-main-rotation="270"] [data-editor-rotation="270"]
|
|
2212
|
+
) .editToolbar{
|
|
2213
|
+
rotate:180deg;
|
|
2214
|
+
inset-inline-end:100%;
|
|
2215
|
+
inset-block-start:calc(0pc - var(--editor-toolbar-vert-offset));
|
|
2216
|
+
}
|
|
2217
|
+
|
|
2218
|
+
.annotationEditorLayer
|
|
2219
|
+
:is(
|
|
2220
|
+
[data-main-rotation="0"] [data-editor-rotation="270"],
|
|
2221
|
+
[data-main-rotation="90"] [data-editor-rotation="180"],
|
|
2222
|
+
[data-main-rotation="180"] [data-editor-rotation="90"],
|
|
2223
|
+
[data-main-rotation="270"] [data-editor-rotation="0"]
|
|
2224
|
+
) .editToolbar{
|
|
2225
|
+
rotate:90deg;
|
|
2226
|
+
}
|
|
2227
|
+
|
|
2228
|
+
[dir="ltr"] .annotationEditorLayer
|
|
2229
|
+
:is(
|
|
2230
|
+
[data-main-rotation="0"] [data-editor-rotation="270"],
|
|
2231
|
+
[data-main-rotation="90"] [data-editor-rotation="180"],
|
|
2232
|
+
[data-main-rotation="180"] [data-editor-rotation="90"],
|
|
2233
|
+
[data-main-rotation="270"] [data-editor-rotation="0"]
|
|
2234
|
+
) .editToolbar{
|
|
2235
|
+
inset-inline-end:calc(100% + var(--editor-toolbar-vert-offset));
|
|
2236
|
+
inset-block-start:100%;
|
|
2237
|
+
}
|
|
2238
|
+
|
|
2239
|
+
[dir="rtl"] .annotationEditorLayer
|
|
2240
|
+
:is(
|
|
2241
|
+
[data-main-rotation="0"] [data-editor-rotation="270"],
|
|
2242
|
+
[data-main-rotation="90"] [data-editor-rotation="180"],
|
|
2243
|
+
[data-main-rotation="180"] [data-editor-rotation="90"],
|
|
2244
|
+
[data-main-rotation="270"] [data-editor-rotation="0"]
|
|
2245
|
+
) .editToolbar{
|
|
2246
|
+
inset-inline-start:calc(0px - var(--editor-toolbar-vert-offset));
|
|
2247
|
+
inset-block-start:0;
|
|
2248
|
+
}
|
|
2249
|
+
|
|
2250
|
+
.dialog.altText::backdrop{
|
|
2251
|
+
-webkit-mask:url(#alttext-manager-mask);
|
|
2252
|
+
mask:url(#alttext-manager-mask);
|
|
2253
|
+
}
|
|
2254
|
+
|
|
2255
|
+
.dialog.altText.positioned{
|
|
2256
|
+
margin:0;
|
|
2257
|
+
}
|
|
2258
|
+
|
|
2259
|
+
.dialog.altText #altTextContainer{
|
|
2260
|
+
width:300px;
|
|
2261
|
+
height:-moz-fit-content;
|
|
2262
|
+
height:fit-content;
|
|
2263
|
+
display:inline-flex;
|
|
2264
|
+
flex-direction:column;
|
|
2265
|
+
align-items:flex-start;
|
|
2266
|
+
gap:16px;
|
|
2267
|
+
}
|
|
2268
|
+
|
|
2269
|
+
.dialog.altText #altTextContainer #overallDescription{
|
|
2270
|
+
display:flex;
|
|
2271
|
+
flex-direction:column;
|
|
2272
|
+
align-items:flex-start;
|
|
2273
|
+
gap:4px;
|
|
2274
|
+
align-self:stretch;
|
|
2275
|
+
}
|
|
2276
|
+
|
|
2277
|
+
.dialog.altText #altTextContainer #overallDescription span{
|
|
2278
|
+
align-self:stretch;
|
|
2279
|
+
}
|
|
2280
|
+
|
|
2281
|
+
.dialog.altText #altTextContainer #overallDescription .title{
|
|
2282
|
+
font-size:13px;
|
|
2283
|
+
font-style:normal;
|
|
2284
|
+
font-weight:590;
|
|
2285
|
+
}
|
|
2286
|
+
|
|
2287
|
+
.dialog.altText #altTextContainer #addDescription{
|
|
2288
|
+
display:flex;
|
|
2289
|
+
flex-direction:column;
|
|
2290
|
+
align-items:stretch;
|
|
2291
|
+
gap:8px;
|
|
2292
|
+
}
|
|
2293
|
+
|
|
2294
|
+
.dialog.altText #altTextContainer #addDescription .descriptionArea{
|
|
2295
|
+
flex:1;
|
|
2296
|
+
padding-inline:24px 10px;
|
|
2297
|
+
}
|
|
2298
|
+
|
|
2299
|
+
.dialog.altText #altTextContainer #addDescription .descriptionArea textarea{
|
|
2300
|
+
width:100%;
|
|
2301
|
+
min-height:75px;
|
|
2302
|
+
}
|
|
2303
|
+
|
|
2304
|
+
.dialog.altText #altTextContainer #buttons{
|
|
2305
|
+
display:flex;
|
|
2306
|
+
justify-content:flex-end;
|
|
2307
|
+
align-items:flex-start;
|
|
2308
|
+
gap:8px;
|
|
2309
|
+
align-self:stretch;
|
|
2310
|
+
}
|
|
2311
|
+
|
|
2312
|
+
.colorPicker{
|
|
2313
|
+
--hover-outline-color:#0250bb;
|
|
2314
|
+
--selected-outline-color:#0060df;
|
|
2315
|
+
--swatch-border-color:#cfcfd8;
|
|
2316
|
+
}
|
|
2317
|
+
|
|
2318
|
+
@media (prefers-color-scheme: dark){
|
|
2319
|
+
|
|
2320
|
+
.colorPicker{
|
|
2321
|
+
--hover-outline-color:#80ebff;
|
|
2322
|
+
--selected-outline-color:#aaf2ff;
|
|
2323
|
+
--swatch-border-color:#52525e;
|
|
2324
|
+
}
|
|
2325
|
+
}
|
|
2326
|
+
|
|
2327
|
+
@media screen and (forced-colors: active){
|
|
2328
|
+
|
|
2329
|
+
.colorPicker{
|
|
2330
|
+
--hover-outline-color:Highlight;
|
|
2331
|
+
--selected-outline-color:var(--hover-outline-color);
|
|
2332
|
+
--swatch-border-color:ButtonText;
|
|
2333
|
+
}
|
|
2334
|
+
}
|
|
2335
|
+
|
|
2336
|
+
.colorPicker .swatch{
|
|
2337
|
+
width:16px;
|
|
2338
|
+
height:16px;
|
|
2339
|
+
border:1px solid var(--swatch-border-color);
|
|
2340
|
+
border-radius:100%;
|
|
2341
|
+
outline-offset:2px;
|
|
2342
|
+
box-sizing:border-box;
|
|
2343
|
+
forced-color-adjust:none;
|
|
2344
|
+
}
|
|
2345
|
+
|
|
2346
|
+
.colorPicker button:is(:hover, .selected) > .swatch{
|
|
2347
|
+
border:none;
|
|
2348
|
+
}
|
|
2349
|
+
|
|
2350
|
+
.annotationEditorLayer[data-main-rotation="0"] .highlightEditor:not(.free) > .editToolbar{
|
|
2351
|
+
rotate:0deg;
|
|
2352
|
+
}
|
|
2353
|
+
|
|
2354
|
+
.annotationEditorLayer[data-main-rotation="90"] .highlightEditor:not(.free) > .editToolbar{
|
|
2355
|
+
rotate:270deg;
|
|
2356
|
+
}
|
|
2357
|
+
|
|
2358
|
+
.annotationEditorLayer[data-main-rotation="180"] .highlightEditor:not(.free) > .editToolbar{
|
|
2359
|
+
rotate:180deg;
|
|
2360
|
+
}
|
|
2361
|
+
|
|
2362
|
+
.annotationEditorLayer[data-main-rotation="270"] .highlightEditor:not(.free) > .editToolbar{
|
|
2363
|
+
rotate:90deg;
|
|
2364
|
+
}
|
|
2365
|
+
|
|
2366
|
+
.annotationEditorLayer .highlightEditor{
|
|
2367
|
+
position:absolute;
|
|
2368
|
+
background:transparent;
|
|
2369
|
+
z-index:1;
|
|
2370
|
+
cursor:auto;
|
|
2371
|
+
max-width:100%;
|
|
2372
|
+
max-height:100%;
|
|
2373
|
+
border:none;
|
|
2374
|
+
outline:none;
|
|
2375
|
+
pointer-events:none;
|
|
2376
|
+
transform-origin:0 0;
|
|
2377
|
+
}
|
|
2378
|
+
|
|
2379
|
+
.annotationEditorLayer .highlightEditor:not(.free){
|
|
2380
|
+
transform:none;
|
|
2381
|
+
}
|
|
2382
|
+
|
|
2383
|
+
.annotationEditorLayer .highlightEditor .internal{
|
|
2384
|
+
position:absolute;
|
|
2385
|
+
top:0;
|
|
2386
|
+
left:0;
|
|
2387
|
+
width:100%;
|
|
2388
|
+
height:100%;
|
|
2389
|
+
pointer-events:auto;
|
|
2390
|
+
}
|
|
2391
|
+
|
|
2392
|
+
.annotationEditorLayer .highlightEditor.disabled .internal{
|
|
2393
|
+
pointer-events:none;
|
|
2394
|
+
}
|
|
2395
|
+
|
|
2396
|
+
.annotationEditorLayer .highlightEditor.selectedEditor .internal{
|
|
2397
|
+
cursor:pointer;
|
|
2398
|
+
}
|
|
2399
|
+
|
|
2400
|
+
.annotationEditorLayer .highlightEditor .editToolbar{
|
|
2401
|
+
--editor-toolbar-colorpicker-arrow-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.23336%2010.4664L11.8474%206.85339C11.894%206.8071%2011.931%206.75203%2011.9563%206.69136C11.9816%206.63069%2011.9946%206.56562%2011.9946%206.49989C11.9946%206.43417%2011.9816%206.3691%2011.9563%206.30843C11.931%206.24776%2011.894%206.19269%2011.8474%206.14639C11.7536%206.05266%2011.6264%206%2011.4939%206C11.3613%206%2011.2341%206.05266%2011.1404%206.14639L7.99236%209.29339L4.84736%206.14739C4.75305%206.05631%204.62675%206.00592%204.49566%206.00706C4.36456%206.0082%204.23915%206.06078%204.14645%206.15348C4.05374%206.24619%204.00116%206.37159%204.00002%206.50269C3.99888%206.63379%204.04928%206.76009%204.14036%206.85439L7.75236%2010.4674L8.23336%2010.4664Z'%20fill='black'/%3e%3c/svg%3e");
|
|
2402
|
+
|
|
2403
|
+
transform-origin:center !important;
|
|
2404
|
+
}
|
|
2405
|
+
|
|
2406
|
+
.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker{
|
|
2407
|
+
position:relative;
|
|
2408
|
+
width:auto;
|
|
2409
|
+
display:flex;
|
|
2410
|
+
justify-content:center;
|
|
2411
|
+
align-items:center;
|
|
2412
|
+
gap:4px;
|
|
2413
|
+
padding:4px;
|
|
2414
|
+
}
|
|
2415
|
+
|
|
2416
|
+
.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker::after{
|
|
2417
|
+
content:"";
|
|
2418
|
+
-webkit-mask-image:var(--editor-toolbar-colorpicker-arrow-image);
|
|
2419
|
+
mask-image:var(--editor-toolbar-colorpicker-arrow-image);
|
|
2420
|
+
-webkit-mask-repeat:no-repeat;
|
|
2421
|
+
mask-repeat:no-repeat;
|
|
2422
|
+
-webkit-mask-position:center;
|
|
2423
|
+
mask-position:center;
|
|
2424
|
+
display:inline-block;
|
|
2425
|
+
background-color:var(--editor-toolbar-fg-color);
|
|
2426
|
+
width:12px;
|
|
2427
|
+
height:12px;
|
|
2428
|
+
}
|
|
2429
|
+
|
|
2430
|
+
.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker:hover::after{
|
|
2431
|
+
background-color:var(--editor-toolbar-hover-fg-color);
|
|
2432
|
+
}
|
|
2433
|
+
|
|
2434
|
+
.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker:has(.dropdown:not(.hidden)){
|
|
2435
|
+
background-color:var(--editor-toolbar-hover-bg-color);
|
|
2436
|
+
}
|
|
2437
|
+
|
|
2438
|
+
.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker:has(.dropdown:not(.hidden))::after{
|
|
2439
|
+
scale:-1;
|
|
2440
|
+
}
|
|
2441
|
+
|
|
2442
|
+
.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown{
|
|
2443
|
+
position:absolute;
|
|
2444
|
+
display:flex;
|
|
2445
|
+
justify-content:center;
|
|
2446
|
+
align-items:center;
|
|
2447
|
+
flex-direction:column;
|
|
2448
|
+
gap:11px;
|
|
2449
|
+
padding-block:8px;
|
|
2450
|
+
border-radius:6px;
|
|
2451
|
+
background-color:var(--editor-toolbar-bg-color);
|
|
2452
|
+
border:1px solid var(--editor-toolbar-border-color);
|
|
2453
|
+
box-shadow:var(--editor-toolbar-shadow);
|
|
2454
|
+
inset-block-start:calc(100% + 4px);
|
|
2455
|
+
width:calc(100% + 2 * var(--editor-toolbar-padding));
|
|
2456
|
+
}
|
|
2457
|
+
|
|
2458
|
+
.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown button{
|
|
2459
|
+
width:100%;
|
|
2460
|
+
height:auto;
|
|
2461
|
+
border:none;
|
|
2462
|
+
cursor:pointer;
|
|
2463
|
+
display:flex;
|
|
2464
|
+
justify-content:center;
|
|
2465
|
+
align-items:center;
|
|
2466
|
+
background:none;
|
|
2467
|
+
}
|
|
2468
|
+
|
|
2469
|
+
.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown button:is(:active, :focus-visible){
|
|
2470
|
+
outline:none;
|
|
2471
|
+
}
|
|
2472
|
+
|
|
2473
|
+
.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown button > .swatch{
|
|
2474
|
+
outline-offset:2px;
|
|
2475
|
+
}
|
|
2476
|
+
|
|
2477
|
+
.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown button[aria-selected="true"] > .swatch{
|
|
2478
|
+
outline:2px solid var(--selected-outline-color);
|
|
2479
|
+
}
|
|
2480
|
+
|
|
2481
|
+
.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown button:is(:hover, :active, :focus-visible) > .swatch{
|
|
2482
|
+
outline:2px solid var(--hover-outline-color);
|
|
2483
|
+
}
|
|
2484
|
+
|
|
2485
|
+
.editorParamsToolbar:has(#highlightParamsToolbarContainer){
|
|
2486
|
+
padding:unset;
|
|
2487
|
+
}
|
|
2488
|
+
|
|
2489
|
+
#highlightParamsToolbarContainer{
|
|
2490
|
+
height:auto;
|
|
2491
|
+
padding-inline:10px;
|
|
2492
|
+
padding-block:10px 16px;
|
|
2493
|
+
gap:16px;
|
|
2494
|
+
display:flex;
|
|
2495
|
+
flex-direction:column;
|
|
2496
|
+
box-sizing:border-box;
|
|
2497
|
+
}
|
|
2498
|
+
|
|
2499
|
+
#highlightParamsToolbarContainer .editorParamsLabel{
|
|
2500
|
+
width:-moz-fit-content;
|
|
2501
|
+
width:fit-content;
|
|
2502
|
+
inset-inline-start:0;
|
|
2503
|
+
}
|
|
2504
|
+
|
|
2505
|
+
#highlightParamsToolbarContainer .colorPicker{
|
|
2506
|
+
display:flex;
|
|
2507
|
+
flex-direction:column;
|
|
2508
|
+
gap:8px;
|
|
2509
|
+
}
|
|
2510
|
+
|
|
2511
|
+
#highlightParamsToolbarContainer .colorPicker .dropdown{
|
|
2512
|
+
display:flex;
|
|
2513
|
+
justify-content:space-between;
|
|
2514
|
+
align-items:center;
|
|
2515
|
+
flex-direction:row;
|
|
2516
|
+
height:auto;
|
|
2517
|
+
}
|
|
2518
|
+
|
|
2519
|
+
#highlightParamsToolbarContainer .colorPicker .dropdown button{
|
|
2520
|
+
width:auto;
|
|
2521
|
+
height:auto;
|
|
2522
|
+
border:none;
|
|
2523
|
+
cursor:pointer;
|
|
2524
|
+
display:flex;
|
|
2525
|
+
justify-content:center;
|
|
2526
|
+
align-items:center;
|
|
2527
|
+
background:none;
|
|
2528
|
+
flex:0 0 auto;
|
|
2529
|
+
}
|
|
2530
|
+
|
|
2531
|
+
#highlightParamsToolbarContainer .colorPicker .dropdown button .swatch{
|
|
2532
|
+
width:24px;
|
|
2533
|
+
height:24px;
|
|
2534
|
+
}
|
|
2535
|
+
|
|
2536
|
+
#highlightParamsToolbarContainer .colorPicker .dropdown button:is(:active, :focus-visible){
|
|
2537
|
+
outline:none;
|
|
2538
|
+
}
|
|
2539
|
+
|
|
2540
|
+
#highlightParamsToolbarContainer .colorPicker .dropdown button[aria-selected="true"] > .swatch{
|
|
2541
|
+
outline:2px solid var(--selected-outline-color);
|
|
2542
|
+
}
|
|
2543
|
+
|
|
2544
|
+
#highlightParamsToolbarContainer .colorPicker .dropdown button:is(:hover, :active, :focus-visible) > .swatch{
|
|
2545
|
+
outline:2px solid var(--hover-outline-color);
|
|
2546
|
+
}
|
|
2547
|
+
|
|
2548
|
+
#highlightParamsToolbarContainer #editorHighlightThickness{
|
|
2549
|
+
display:flex;
|
|
2550
|
+
flex-direction:column;
|
|
2551
|
+
align-items:center;
|
|
2552
|
+
gap:4px;
|
|
2553
|
+
align-self:stretch;
|
|
2554
|
+
}
|
|
2555
|
+
|
|
2556
|
+
#highlightParamsToolbarContainer #editorHighlightThickness .editorParamsLabel{
|
|
2557
|
+
width:100%;
|
|
2558
|
+
height:auto;
|
|
2559
|
+
align-self:stretch;
|
|
2560
|
+
}
|
|
2561
|
+
|
|
2562
|
+
#highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker{
|
|
2563
|
+
display:flex;
|
|
2564
|
+
justify-content:space-between;
|
|
2565
|
+
align-items:center;
|
|
2566
|
+
align-self:stretch;
|
|
2567
|
+
|
|
2568
|
+
--example-color:#bfbfc9;
|
|
2569
|
+
}
|
|
2570
|
+
|
|
2571
|
+
@media (prefers-color-scheme: dark){
|
|
2572
|
+
|
|
2573
|
+
#highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker{
|
|
2574
|
+
--example-color:#80808e;
|
|
2575
|
+
}
|
|
2576
|
+
}
|
|
2577
|
+
|
|
2578
|
+
@media screen and (forced-colors: active){
|
|
2579
|
+
|
|
2580
|
+
#highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker{
|
|
2581
|
+
--example-color:CanvasText;
|
|
2582
|
+
}
|
|
2583
|
+
}
|
|
2584
|
+
|
|
2585
|
+
:is(#highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker > .editorParamsSlider[disabled]){
|
|
2586
|
+
opacity:0.4;
|
|
2587
|
+
}
|
|
2588
|
+
|
|
2589
|
+
#highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker::before,
|
|
2590
|
+
#highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker::after{
|
|
2591
|
+
content:"";
|
|
2592
|
+
width:8px;
|
|
2593
|
+
aspect-ratio:1;
|
|
2594
|
+
display:block;
|
|
2595
|
+
border-radius:100%;
|
|
2596
|
+
background-color:var(--example-color);
|
|
2597
|
+
}
|
|
2598
|
+
|
|
2599
|
+
#highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker::after{
|
|
2600
|
+
width:24px;
|
|
2601
|
+
}
|
|
2602
|
+
|
|
2603
|
+
#highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker .editorParamsSlider{
|
|
2604
|
+
width:unset;
|
|
2605
|
+
height:14px;
|
|
2606
|
+
}
|
|
2607
|
+
|
|
2608
|
+
#highlightParamsToolbarContainer #editorHighlightVisibility{
|
|
2609
|
+
display:flex;
|
|
2610
|
+
flex-direction:column;
|
|
2611
|
+
align-items:flex-start;
|
|
2612
|
+
gap:8px;
|
|
2613
|
+
align-self:stretch;
|
|
2614
|
+
}
|
|
2615
|
+
|
|
2616
|
+
#highlightParamsToolbarContainer #editorHighlightVisibility .divider{
|
|
2617
|
+
--divider-color:#d7d7db;
|
|
2618
|
+
|
|
2619
|
+
margin-block:4px;
|
|
2620
|
+
width:100%;
|
|
2621
|
+
height:1px;
|
|
2622
|
+
background-color:var(--divider-color);
|
|
2623
|
+
}
|
|
2624
|
+
|
|
2625
|
+
@media (prefers-color-scheme: dark){
|
|
2626
|
+
|
|
2627
|
+
#highlightParamsToolbarContainer #editorHighlightVisibility .divider{
|
|
2628
|
+
--divider-color:#8f8f9d;
|
|
2629
|
+
}
|
|
2630
|
+
}
|
|
2631
|
+
|
|
2632
|
+
@media screen and (forced-colors: active){
|
|
2633
|
+
|
|
2634
|
+
#highlightParamsToolbarContainer #editorHighlightVisibility .divider{
|
|
2635
|
+
--divider-color:CanvasText;
|
|
2636
|
+
}
|
|
2637
|
+
}
|
|
2638
|
+
|
|
2639
|
+
#highlightParamsToolbarContainer #editorHighlightVisibility .toggler{
|
|
2640
|
+
display:flex;
|
|
2641
|
+
justify-content:space-between;
|
|
2642
|
+
align-items:center;
|
|
2643
|
+
align-self:stretch;
|
|
2644
|
+
}
|
|
2645
|
+
|
|
2646
|
+
:root{
|
|
2647
|
+
--viewer-container-height:0;
|
|
2648
|
+
--pdfViewer-padding-bottom:0;
|
|
2649
|
+
--page-margin:1px auto -8px;
|
|
2650
|
+
--page-border:9px solid transparent;
|
|
2651
|
+
--spreadHorizontalWrapped-margin-LR:-3.5px;
|
|
2652
|
+
--loading-icon-delay:400ms;
|
|
2653
|
+
}
|
|
2654
|
+
|
|
2655
|
+
@media screen and (forced-colors: active){
|
|
2656
|
+
:root{
|
|
2657
|
+
--pdfViewer-padding-bottom:9px;
|
|
2658
|
+
--page-margin:8px auto -1px;
|
|
2659
|
+
--page-border:1px solid CanvasText;
|
|
2660
|
+
--spreadHorizontalWrapped-margin-LR:3.5px;
|
|
2661
|
+
}
|
|
2662
|
+
}
|
|
2663
|
+
|
|
2664
|
+
[data-main-rotation="90"]{
|
|
2665
|
+
transform:rotate(90deg) translateY(-100%);
|
|
2666
|
+
}
|
|
2667
|
+
|
|
2668
|
+
[data-main-rotation="180"]{
|
|
2669
|
+
transform:rotate(180deg) translate(-100%, -100%);
|
|
2670
|
+
}
|
|
2671
|
+
|
|
2672
|
+
[data-main-rotation="270"]{
|
|
2673
|
+
transform:rotate(270deg) translateX(-100%);
|
|
2674
|
+
}
|
|
2675
|
+
|
|
2676
|
+
#hiddenCopyElement,
|
|
2677
|
+
.hiddenCanvasElement{
|
|
2678
|
+
position:absolute;
|
|
2679
|
+
top:0;
|
|
2680
|
+
left:0;
|
|
2681
|
+
width:0;
|
|
2682
|
+
height:0;
|
|
2683
|
+
display:none;
|
|
2684
|
+
}
|
|
2685
|
+
|
|
2686
|
+
.pdfViewer{
|
|
2687
|
+
--scale-factor:1;
|
|
2688
|
+
|
|
2689
|
+
padding-bottom:var(--pdfViewer-padding-bottom);
|
|
2690
|
+
|
|
2691
|
+
--hcm-highlight-filter:none;
|
|
2692
|
+
--hcm-highlight-selected-filter:none;
|
|
2693
|
+
}
|
|
2694
|
+
|
|
2695
|
+
@media screen and (forced-colors: active){
|
|
2696
|
+
|
|
2697
|
+
.pdfViewer{
|
|
2698
|
+
--hcm-highlight-filter:invert(100%);
|
|
2699
|
+
}
|
|
2700
|
+
}
|
|
2701
|
+
|
|
2702
|
+
.pdfViewer.copyAll{
|
|
2703
|
+
cursor:wait;
|
|
2704
|
+
}
|
|
2705
|
+
|
|
2706
|
+
.pdfViewer .canvasWrapper{
|
|
2707
|
+
overflow:hidden;
|
|
2708
|
+
width:100%;
|
|
2709
|
+
height:100%;
|
|
2710
|
+
}
|
|
2711
|
+
|
|
2712
|
+
.pdfViewer .canvasWrapper canvas{
|
|
2713
|
+
margin:0;
|
|
2714
|
+
display:block;
|
|
2715
|
+
}
|
|
2716
|
+
|
|
2717
|
+
.pdfViewer .canvasWrapper canvas[hidden]{
|
|
2718
|
+
display:none;
|
|
2719
|
+
}
|
|
2720
|
+
|
|
2721
|
+
.pdfViewer .canvasWrapper canvas[zooming]{
|
|
2722
|
+
width:100%;
|
|
2723
|
+
height:100%;
|
|
2724
|
+
}
|
|
2725
|
+
|
|
2726
|
+
.pdfViewer .canvasWrapper canvas .structTree{
|
|
2727
|
+
contain:strict;
|
|
2728
|
+
}
|
|
2729
|
+
|
|
2730
|
+
.pdfViewer .page{
|
|
2731
|
+
direction:ltr;
|
|
2732
|
+
width:816px;
|
|
2733
|
+
height:1056px;
|
|
2734
|
+
margin:var(--page-margin);
|
|
2735
|
+
position:relative;
|
|
2736
|
+
overflow:visible;
|
|
2737
|
+
border:var(--page-border);
|
|
2738
|
+
background-clip:content-box;
|
|
2739
|
+
background-color:rgb(255 255 255);
|
|
2740
|
+
}
|
|
2741
|
+
|
|
2742
|
+
.pdfViewer .dummyPage{
|
|
2743
|
+
position:relative;
|
|
2744
|
+
width:0;
|
|
2745
|
+
height:var(--viewer-container-height);
|
|
2746
|
+
}
|
|
2747
|
+
|
|
2748
|
+
.pdfViewer.noUserSelect{
|
|
2749
|
+
-webkit-user-select:none;
|
|
2750
|
+
-moz-user-select:none;
|
|
2751
|
+
user-select:none;
|
|
2752
|
+
}
|
|
2753
|
+
|
|
2754
|
+
.pdfViewer.removePageBorders .page{
|
|
2755
|
+
margin:0 auto 10px;
|
|
2756
|
+
border:none;
|
|
2757
|
+
}
|
|
2758
|
+
|
|
2759
|
+
.pdfViewer.singlePageView{
|
|
2760
|
+
display:inline-block;
|
|
2761
|
+
}
|
|
2762
|
+
|
|
2763
|
+
.pdfViewer.singlePageView .page{
|
|
2764
|
+
margin:0;
|
|
2765
|
+
border:none;
|
|
2766
|
+
}
|
|
2767
|
+
|
|
2768
|
+
.pdfViewer:is(.scrollHorizontal, .scrollWrapped),
|
|
2769
|
+
.spread{
|
|
2770
|
+
margin-inline:3.5px;
|
|
2771
|
+
text-align:center;
|
|
2772
|
+
}
|
|
2773
|
+
|
|
2774
|
+
.pdfViewer.scrollHorizontal,
|
|
2775
|
+
.spread{
|
|
2776
|
+
white-space:nowrap;
|
|
2777
|
+
}
|
|
2778
|
+
|
|
2779
|
+
.pdfViewer.removePageBorders,
|
|
2780
|
+
.pdfViewer:is(.scrollHorizontal, .scrollWrapped) .spread{
|
|
2781
|
+
margin-inline:0;
|
|
2782
|
+
}
|
|
2783
|
+
|
|
2784
|
+
.spread :is(.page, .dummyPage),
|
|
2785
|
+
.pdfViewer:is(.scrollHorizontal, .scrollWrapped) :is(.page, .spread){
|
|
2786
|
+
display:inline-block;
|
|
2787
|
+
vertical-align:middle;
|
|
2788
|
+
}
|
|
2789
|
+
|
|
2790
|
+
.spread .page,
|
|
2791
|
+
.pdfViewer:is(.scrollHorizontal, .scrollWrapped) .page{
|
|
2792
|
+
margin-inline:var(--spreadHorizontalWrapped-margin-LR);
|
|
2793
|
+
}
|
|
2794
|
+
|
|
2795
|
+
.pdfViewer.removePageBorders .spread .page,
|
|
2796
|
+
.pdfViewer.removePageBorders:is(.scrollHorizontal, .scrollWrapped) .page{
|
|
2797
|
+
margin-inline:5px;
|
|
2798
|
+
}
|
|
2799
|
+
|
|
2800
|
+
.pdfViewer .page.loadingIcon::after{
|
|
2801
|
+
position:absolute;
|
|
2802
|
+
top:0;
|
|
2803
|
+
left:0;
|
|
2804
|
+
content:"";
|
|
2805
|
+
width:100%;
|
|
2806
|
+
height:100%;
|
|
2807
|
+
background:url("data:image/gif;base64,R0lGODlhGAAYAPQAAP///wAAAM7Ozvr6+uDg4LCwsOjo6I6OjsjIyJycnNjY2KioqMDAwPLy8nZ2doaGhri4uGhoaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJBwAAACwAAAAAGAAYAAAFriAgjiQAQWVaDgr5POSgkoTDjFE0NoQ8iw8HQZQTDQjDn4jhSABhAAOhoTqSDg7qSUQwxEaEwwFhXHhHgzOA1xshxAnfTzotGRaHglJqkJcaVEqCgyoCBQkJBQKDDXQGDYaIioyOgYSXA36XIgYMBWRzXZoKBQUMmil0lgalLSIClgBpO0g+s26nUWddXyoEDIsACq5SsTMMDIECwUdJPw0Mzsu0qHYkw72bBmozIQAh+QQJBwAAACwAAAAAGAAYAAAFsCAgjiTAMGVaDgR5HKQwqKNxIKPjjFCk0KNXC6ATKSI7oAhxWIhezwhENTCQEoeGCdWIPEgzESGxEIgGBWstEW4QCGGAIJEoxGmGt5ZkgCRQQHkGd2CESoeIIwoMBQUMP4cNeQQGDYuNj4iSb5WJnmeGng0CDGaBlIQEJziHk3sABidDAHBgagButSKvAAoyuHuUYHgCkAZqebw0AgLBQyyzNKO3byNuoSS8x8OfwIchACH5BAkHAAAALAAAAAAYABgAAAW4ICCOJIAgZVoOBJkkpDKoo5EI43GMjNPSokXCINKJCI4HcCRIQEQvqIOhGhBHhUTDhGo4diOZyFAoKEQDxra2mAEgjghOpCgz3LTBIxJ5kgwMBShACREHZ1V4Kg1rS44pBAgMDAg/Sw0GBAQGDZGTlY+YmpyPpSQDiqYiDQoCliqZBqkGAgKIS5kEjQ21VwCyp76dBHiNvz+MR74AqSOdVwbQuo+abppo10ssjdkAnc0rf8vgl8YqIQAh+QQJBwAAACwAAAAAGAAYAAAFrCAgjiQgCGVaDgZZFCQxqKNRKGOSjMjR0qLXTyciHA7AkaLACMIAiwOC1iAxCrMToHHYjWQiA4NBEA0Q1RpWxHg4cMXxNDk4OBxNUkPAQAEXDgllKgMzQA1pSYopBgonCj9JEA8REQ8QjY+RQJOVl4ugoYssBJuMpYYjDQSliwasiQOwNakALKqsqbWvIohFm7V6rQAGP6+JQLlFg7KDQLKJrLjBKbvAor3IKiEAIfkECQcAAAAsAAAAABgAGAAABbUgII4koChlmhokw5DEoI4NQ4xFMQoJO4uuhignMiQWvxGBIQC+AJBEUyUcIRiyE6CR0CllW4HABxBURTUw4nC4FcWo5CDBRpQaCoF7VjgsyCUDYDMNZ0mHdwYEBAaGMwwHDg4HDA2KjI4qkJKUiJ6faJkiA4qAKQkRB3E0i6YpAw8RERAjA4tnBoMApCMQDhFTuySKoSKMJAq6rD4GzASiJYtgi6PUcs9Kew0xh7rNJMqIhYchACH5BAkHAAAALAAAAAAYABgAAAW0ICCOJEAQZZo2JIKQxqCOjWCMDDMqxT2LAgELkBMZCoXfyCBQiFwiRsGpku0EshNgUNAtrYPT0GQVNRBWwSKBMp98P24iISgNDAS4ipGA6JUpA2WAhDR4eWM/CAkHBwkIDYcGiTOLjY+FmZkNlCN3eUoLDmwlDW+AAwcODl5bYl8wCVYMDw5UWzBtnAANEQ8kBIM0oAAGPgcREIQnVloAChEOqARjzgAQEbczg8YkWJq8nSUhACH5BAkHAAAALAAAAAAYABgAAAWtICCOJGAYZZoOpKKQqDoORDMKwkgwtiwSBBYAJ2owGL5RgxBziQQMgkwoMkhNqAEDARPSaiMDFdDIiRSFQowMXE8Z6RdpYHWnEAWGPVkajPmARVZMPUkCBQkJBQINgwaFPoeJi4GVlQ2Qc3VJBQcLV0ptfAMJBwdcIl+FYjALQgimoGNWIhAQZA4HXSpLMQ8PIgkOSHxAQhERPw7ASTSFyCMMDqBTJL8tf3y2fCEAIfkECQcAAAAsAAAAABgAGAAABa8gII4k0DRlmg6kYZCoOg5EDBDEaAi2jLO3nEkgkMEIL4BLpBAkVy3hCTAQKGAznM0AFNFGBAbj2cA9jQixcGZAGgECBu/9HnTp+FGjjezJFAwFBQwKe2Z+KoCChHmNjVMqA21nKQwJEJRlbnUFCQlFXlpeCWcGBUACCwlrdw8RKGImBwktdyMQEQciB7oACwcIeA4RVwAODiIGvHQKERAjxyMIB5QlVSTLYLZ0sW8hACH5BAkHAAAALAAAAAAYABgAAAW0ICCOJNA0ZZoOpGGQrDoOBCoSxNgQsQzgMZyIlvOJdi+AS2SoyXrK4umWPM5wNiV0UDUIBNkdoepTfMkA7thIECiyRtUAGq8fm2O4jIBgMBA1eAZ6Knx+gHaJR4QwdCMKBxEJRggFDGgQEREPjjAMBQUKIwIRDhBDC2QNDDEKoEkDoiMHDigICGkJBS2dDA6TAAnAEAkCdQ8ORQcHTAkLcQQODLPMIgIJaCWxJMIkPIoAt3EhACH5BAkHAAAALAAAAAAYABgAAAWtICCOJNA0ZZoOpGGQrDoOBCoSxNgQsQzgMZyIlvOJdi+AS2SoyXrK4umWHM5wNiV0UN3xdLiqr+mENcWpM9TIbrsBkEck8oC0DQqBQGGIz+t3eXtob0ZTPgNrIwQJDgtGAgwCWSIMDg4HiiUIDAxFAAoODwxDBWINCEGdSTQkCQcoegADBaQ6MggHjwAFBZUFCm0HB0kJCUy9bAYHCCPGIwqmRq0jySMGmj6yRiEAIfkECQcAAAAsAAAAABgAGAAABbIgII4k0DRlmg6kYZCsOg4EKhLE2BCxDOAxnIiW84l2L4BLZKipBopW8XRLDkeCiAMyMvQAA+uON4JEIo+vqukkKQ6RhLHplVGN+LyKcXA4Dgx5DWwGDXx+gIKENnqNdzIDaiMECwcFRgQCCowiCAcHCZIlCgICVgSfCEMMnA0CXaU2YSQFoQAKUQMMqjoyAglcAAyBAAIMRUYLCUkFlybDeAYJryLNk6xGNCTQXY0juHghACH5BAkHAAAALAAAAAAYABgAAAWzICCOJNA0ZVoOAmkY5KCSSgSNBDE2hDyLjohClBMNij8RJHIQvZwEVOpIekRQJyJs5AMoHA+GMbE1lnm9EcPhOHRnhpwUl3AsknHDm5RN+v8qCAkHBwkIfw1xBAYNgoSGiIqMgJQifZUjBhAJYj95ewIJCQV7KYpzBAkLLQADCHOtOpY5PgNlAAykAEUsQ1wzCgWdCIdeArczBQVbDJ0NAqyeBb64nQAGArBTt8R8mLuyPyEAOwAAAAAAAAAAAA==") center no-repeat;
|
|
2808
|
+
display:none;
|
|
2809
|
+
transition-property:display;
|
|
2810
|
+
transition-delay:var(--loading-icon-delay);
|
|
2811
|
+
z-index:5;
|
|
2812
|
+
contain:strict;
|
|
2813
|
+
}
|
|
2814
|
+
|
|
2815
|
+
.pdfViewer .page.loading::after{
|
|
2816
|
+
display:block;
|
|
2817
|
+
}
|
|
2818
|
+
|
|
2819
|
+
.pdfViewer .page:not(.loading)::after{
|
|
2820
|
+
transition-property:none;
|
|
2821
|
+
display:none;
|
|
2822
|
+
}
|
|
2823
|
+
|
|
2824
|
+
.pdfPresentationMode .pdfViewer{
|
|
2825
|
+
padding-bottom:0;
|
|
2826
|
+
}
|
|
2827
|
+
|
|
2828
|
+
.pdfPresentationMode .spread{
|
|
2829
|
+
margin:0;
|
|
2830
|
+
}
|
|
2831
|
+
|
|
2832
|
+
.pdfPresentationMode .pdfViewer .page{
|
|
2833
|
+
margin:0 auto;
|
|
2834
|
+
border:2px solid transparent;
|
|
2835
|
+
}
|
|
2836
|
+
|
|
2837
|
+
/* overrides for pdf_viewer.css from PDF.JS web viewer */
|
|
2838
|
+
|
|
2839
|
+
.textLayer {
|
|
2840
|
+
z-index: 2;
|
|
2841
|
+
opacity: 1;
|
|
2842
|
+
mix-blend-mode: multiply;
|
|
2843
|
+
display: flex;
|
|
2844
|
+
}
|
|
2845
|
+
|
|
2846
|
+
.annotationLayer {
|
|
2847
|
+
position: absolute;
|
|
2848
|
+
top: 0;
|
|
2849
|
+
|
|
2850
|
+
z-index: 3;
|
|
2851
|
+
}
|
|
2852
|
+
|
|
2853
|
+
html
|
|
2854
|
+
body
|
|
2855
|
+
.textLayer
|
|
2856
|
+
> div:not(.PdfHighlighter__highlight-layer):not(.Highlight):not(
|
|
2857
|
+
.Highlight__emoji
|
|
2858
|
+
) {
|
|
2859
|
+
opacity: 1;
|
|
2860
|
+
mix-blend-mode: multiply;
|
|
2861
|
+
}
|
|
2862
|
+
|
|
2863
|
+
.textLayer ::selection {
|
|
2864
|
+
background: rgba(252, 232, 151, 1);
|
|
2865
|
+
mix-blend-mode: multiply;
|
|
2866
|
+
}
|
|
2867
|
+
|
|
2868
|
+
/* biome-ignore lint/correctness/noUnknownMediaFeatureName: update this */
|
|
2869
|
+
|
|
2870
|
+
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
|
2871
|
+
.textLayer {
|
|
2872
|
+
opacity: 0.5;
|
|
2873
|
+
}
|
|
2874
|
+
}
|
|
2875
|
+
|
|
2876
|
+
/* Internet Explorer support method */
|
|
2877
|
+
|
|
2878
|
+
/* biome-ignore lint/correctness/noUnknownMediaFeatureName: update this */
|
|
2879
|
+
|
|
2880
|
+
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
|
2881
|
+
.textLayer {
|
|
2882
|
+
opacity: 0.5;
|
|
2883
|
+
}
|
|
2884
|
+
}
|
|
2885
|
+
|
|
2886
|
+
/* Microsoft Edge Browser 12+ (All) - @supports method */
|
|
2887
|
+
|
|
2888
|
+
@supports (-ms-ime-align: auto) {
|
|
2889
|
+
.textLayer {
|
|
2890
|
+
opacity: 0.5;
|
|
2891
|
+
}
|
|
2892
|
+
}
|
|
2893
|
+
|
|
2894
|
+
.Highlight__popup {
|
|
2895
|
+
background-color: #3d464d;
|
|
2896
|
+
border: 1px solid rgba(255, 255, 255, 0.25);
|
|
2897
|
+
color: white;
|
|
2898
|
+
padding: 0.5rem 1rem;
|
|
2899
|
+
border-radius: 3px;
|
|
2900
|
+
max-width: 300px;
|
|
2901
|
+
max-height: 100px;
|
|
2902
|
+
overflow-y: scroll;
|
|
2903
|
+
}
|