@ntlab/ntjs-assets 2.0.39 → 2.0.41

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.
Files changed (76) hide show
  1. package/assets/js/DataTables/DataTables/js/dataTables.js +62 -21
  2. package/assets/js/DataTables/DataTables/js/dataTables.min.js +2 -2
  3. package/assets/js/DataTables/Extensions/Buttons/js/buttons.html5.js +20 -13
  4. package/assets/js/DataTables/Extensions/Buttons/js/buttons.html5.min.js +1 -1
  5. package/assets/js/DataTables/Extensions/Buttons/js/dataTables.buttons.js +2 -2
  6. package/assets/js/DataTables/Extensions/Buttons/js/dataTables.buttons.min.js +2 -2
  7. package/assets/js/DataTables/Extensions/Responsive/js/dataTables.responsive.js +59 -51
  8. package/assets/js/DataTables/Extensions/Responsive/js/dataTables.responsive.min.js +2 -2
  9. package/assets/js/cdn.json +3 -3
  10. package/assets/js/pdfjs/build/pdf.mjs +586 -365
  11. package/assets/js/pdfjs/build/pdf.mjs.map +1 -1
  12. package/assets/js/pdfjs/build/pdf.sandbox.mjs +3 -3
  13. package/assets/js/pdfjs/build/pdf.sandbox.mjs.map +1 -1
  14. package/assets/js/pdfjs/build/pdf.worker.mjs +33 -56
  15. package/assets/js/pdfjs/build/pdf.worker.mjs.map +1 -1
  16. package/assets/js/pdfjs/web/images/altText_disclaimer.svg +3 -0
  17. package/assets/js/pdfjs/web/images/altText_spinner.svg +30 -0
  18. package/assets/js/pdfjs/web/images/altText_warning.svg +3 -0
  19. package/assets/js/pdfjs/web/images/messageBar_closingButton.svg +3 -0
  20. package/assets/js/pdfjs/web/images/messageBar_warning.svg +3 -0
  21. package/assets/js/pdfjs/web/locale/be/viewer.ftl +63 -8
  22. package/assets/js/pdfjs/web/locale/bg/viewer.ftl +25 -8
  23. package/assets/js/pdfjs/web/locale/cs/viewer.ftl +63 -8
  24. package/assets/js/pdfjs/web/locale/cy/viewer.ftl +57 -8
  25. package/assets/js/pdfjs/web/locale/da/viewer.ftl +71 -8
  26. package/assets/js/pdfjs/web/locale/de/viewer.ftl +59 -8
  27. package/assets/js/pdfjs/web/locale/dsb/viewer.ftl +57 -8
  28. package/assets/js/pdfjs/web/locale/el/viewer.ftl +71 -8
  29. package/assets/js/pdfjs/web/locale/en-CA/viewer.ftl +57 -8
  30. package/assets/js/pdfjs/web/locale/en-GB/viewer.ftl +71 -8
  31. package/assets/js/pdfjs/web/locale/en-US/viewer.ftl +97 -20
  32. package/assets/js/pdfjs/web/locale/eo/viewer.ftl +57 -2
  33. package/assets/js/pdfjs/web/locale/es-AR/viewer.ftl +71 -8
  34. package/assets/js/pdfjs/web/locale/es-CL/viewer.ftl +71 -8
  35. package/assets/js/pdfjs/web/locale/es-MX/viewer.ftl +34 -6
  36. package/assets/js/pdfjs/web/locale/fi/viewer.ftl +59 -8
  37. package/assets/js/pdfjs/web/locale/fr/viewer.ftl +71 -8
  38. package/assets/js/pdfjs/web/locale/fur/viewer.ftl +59 -8
  39. package/assets/js/pdfjs/web/locale/fy-NL/viewer.ftl +71 -8
  40. package/assets/js/pdfjs/web/locale/gn/viewer.ftl +53 -8
  41. package/assets/js/pdfjs/web/locale/he/viewer.ftl +71 -8
  42. package/assets/js/pdfjs/web/locale/hr/viewer.ftl +143 -4
  43. package/assets/js/pdfjs/web/locale/hsb/viewer.ftl +71 -8
  44. package/assets/js/pdfjs/web/locale/hu/viewer.ftl +71 -2
  45. package/assets/js/pdfjs/web/locale/ia/viewer.ftl +71 -0
  46. package/assets/js/pdfjs/web/locale/is/viewer.ftl +57 -0
  47. package/assets/js/pdfjs/web/locale/it/viewer.ftl +81 -5
  48. package/assets/js/pdfjs/web/locale/ja/viewer.ftl +60 -10
  49. package/assets/js/pdfjs/web/locale/kk/viewer.ftl +71 -8
  50. package/assets/js/pdfjs/web/locale/ko/viewer.ftl +71 -8
  51. package/assets/js/pdfjs/web/locale/nl/viewer.ftl +71 -8
  52. package/assets/js/pdfjs/web/locale/nn-NO/viewer.ftl +57 -2
  53. package/assets/js/pdfjs/web/locale/oc/viewer.ftl +13 -6
  54. package/assets/js/pdfjs/web/locale/pa-IN/viewer.ftl +59 -2
  55. package/assets/js/pdfjs/web/locale/pl/viewer.ftl +57 -8
  56. package/assets/js/pdfjs/web/locale/pt-BR/viewer.ftl +71 -2
  57. package/assets/js/pdfjs/web/locale/pt-PT/viewer.ftl +59 -8
  58. package/assets/js/pdfjs/web/locale/ru/viewer.ftl +71 -8
  59. package/assets/js/pdfjs/web/locale/sc/viewer.ftl +83 -6
  60. package/assets/js/pdfjs/web/locale/sk/viewer.ftl +59 -8
  61. package/assets/js/pdfjs/web/locale/skr/viewer.ftl +49 -2
  62. package/assets/js/pdfjs/web/locale/sl/viewer.ftl +71 -0
  63. package/assets/js/pdfjs/web/locale/sq/viewer.ftl +57 -2
  64. package/assets/js/pdfjs/web/locale/sv-SE/viewer.ftl +71 -8
  65. package/assets/js/pdfjs/web/locale/tg/viewer.ftl +8 -2
  66. package/assets/js/pdfjs/web/locale/th/viewer.ftl +57 -8
  67. package/assets/js/pdfjs/web/locale/tr/viewer.ftl +71 -2
  68. package/assets/js/pdfjs/web/locale/uk/viewer.ftl +33 -2
  69. package/assets/js/pdfjs/web/locale/vi/viewer.ftl +71 -8
  70. package/assets/js/pdfjs/web/locale/zh-CN/viewer.ftl +71 -2
  71. package/assets/js/pdfjs/web/locale/zh-TW/viewer.ftl +71 -0
  72. package/assets/js/pdfjs/web/viewer.css +1250 -790
  73. package/assets/js/pdfjs/web/viewer.html +141 -47
  74. package/assets/js/pdfjs/web/viewer.mjs +1187 -563
  75. package/assets/js/pdfjs/web/viewer.mjs.map +1 -1
  76. package/package.json +1 -1
@@ -22,6 +22,9 @@
22
22
  --hover-filter:brightness(0.9);
23
23
  --focus-ring-color:#0060df;
24
24
  --focus-ring-outline:2px solid var(--focus-ring-color);
25
+ --link-fg-color:#0060df;
26
+ --link-hover-fg-color:#0250bb;
27
+ --separator-color:#f0f0f4;
25
28
 
26
29
  --textarea-border-color:#8f8f9d;
27
30
  --textarea-bg-color:white;
@@ -41,20 +44,10 @@
41
44
 
42
45
  --button-primary-bg-color:#0060df;
43
46
  --button-primary-fg-color:#fbfbfe;
47
+ --button-primary-border-color:var(--button-primary-bg-color);
44
48
  --button-primary-hover-bg-color:var(--button-primary-bg-color);
45
49
  --button-primary-hover-fg-color:var(--button-primary-fg-color);
46
50
  --button-primary-hover-border-color:var(--button-primary-hover-bg-color);
47
-
48
- font:message-box;
49
- font-size:13px;
50
- font-weight:400;
51
- line-height:150%;
52
- border-radius:4px;
53
- padding:12px 16px;
54
- border:1px solid var(--dialog-border-color);
55
- background:var(--dialog-bg-color);
56
- color:var(--text-primary-color);
57
- box-shadow:var(--dialog-shadow);
58
51
  }
59
52
 
60
53
  @media (prefers-color-scheme: dark){
@@ -67,6 +60,9 @@
67
60
  --text-secondary-color:#cfcfd8;
68
61
  --focus-ring-color:#0df;
69
62
  --hover-filter:brightness(1.4);
63
+ --link-fg-color:#0df;
64
+ --link-hover-fg-color:#80ebff;
65
+ --separator-color:#52525e;
70
66
 
71
67
  --textarea-bg-color:#42414d;
72
68
 
@@ -88,6 +84,9 @@
88
84
  --text-secondary-color:#cfcfd8;
89
85
  --focus-ring-color:#0df;
90
86
  --hover-filter:brightness(1.4);
87
+ --link-fg-color:#0df;
88
+ --link-hover-fg-color:#80ebff;
89
+ --separator-color:#52525e;
91
90
 
92
91
  --textarea-bg-color:#42414d;
93
92
 
@@ -110,6 +109,9 @@
110
109
  --text-secondary-color:CanvasText;
111
110
  --hover-filter:none;
112
111
  --focus-ring-color:ButtonBorder;
112
+ --link-fg-color:LinkText;
113
+ --link-hover-fg-color:LinkText;
114
+ --separator-color:CanvasText;
113
115
 
114
116
  --textarea-border-color:ButtonBorder;
115
117
  --textarea-bg-color:Field;
@@ -133,26 +135,69 @@
133
135
  }
134
136
  }
135
137
 
136
- .dialog .mainContainer *:focus-visible{
138
+ .dialog{
139
+
140
+ font:message-box;
141
+ font-size:13px;
142
+ font-weight:400;
143
+ line-height:150%;
144
+ border-radius:4px;
145
+ padding:12px 16px;
146
+ border:1px solid var(--dialog-border-color);
147
+ background:var(--dialog-bg-color);
148
+ color:var(--text-primary-color);
149
+ box-shadow:var(--dialog-shadow);
150
+ }
151
+
152
+ :is(.dialog .mainContainer) *:focus-visible{
137
153
  outline:var(--focus-ring-outline);
138
154
  outline-offset:2px;
139
155
  }
140
156
 
141
- .dialog .mainContainer .radio{
157
+ :is(.dialog .mainContainer) .title{
158
+ display:flex;
159
+ width:auto;
160
+ flex-direction:column;
161
+ justify-content:flex-end;
162
+ align-items:flex-start;
163
+ gap:12px;
164
+ }
165
+
166
+ :is(:is(.dialog .mainContainer) .title) > span{
167
+ font-size:13px;
168
+ font-style:normal;
169
+ font-weight:590;
170
+ line-height:150%;
171
+ }
172
+
173
+ :is(.dialog .mainContainer) .dialogSeparator{
174
+ width:100%;
175
+ height:1px;
176
+ margin-block:4px;
177
+ background-color:var(--separator-color);
178
+ }
179
+
180
+ :is(.dialog .mainContainer) .dialogButtonsGroup{
181
+ display:flex;
182
+ gap:12px;
183
+ align-self:flex-end;
184
+ }
185
+
186
+ :is(.dialog .mainContainer) .radio{
142
187
  display:flex;
143
188
  flex-direction:column;
144
189
  align-items:flex-start;
145
190
  gap:4px;
146
191
  }
147
192
 
148
- .dialog .mainContainer .radio > .radioButton{
193
+ :is(:is(.dialog .mainContainer) .radio) > .radioButton{
149
194
  display:flex;
150
195
  gap:8px;
151
196
  align-self:stretch;
152
197
  align-items:center;
153
198
  }
154
199
 
155
- .dialog .mainContainer .radio > .radioButton input{
200
+ :is(:is(:is(.dialog .mainContainer) .radio) > .radioButton) input{
156
201
  -webkit-appearance:none;
157
202
  -moz-appearance:none;
158
203
  appearance:none;
@@ -164,16 +209,16 @@
164
209
  border:1px solid var(--radio-border-color);
165
210
  }
166
211
 
167
- .dialog .mainContainer .radio > .radioButton input:hover{
212
+ :is(:is(:is(:is(.dialog .mainContainer) .radio) > .radioButton) input):hover{
168
213
  filter:var(--hover-filter);
169
214
  }
170
215
 
171
- .dialog .mainContainer .radio > .radioButton input:checked{
216
+ :is(:is(:is(:is(.dialog .mainContainer) .radio) > .radioButton) input):checked{
172
217
  background-color:var(--radio-checked-bg-color);
173
218
  border:4px solid var(--radio-checked-border-color);
174
219
  }
175
220
 
176
- .dialog .mainContainer .radio > .radioLabel{
221
+ :is(:is(.dialog .mainContainer) .radio) > .radioLabel{
177
222
  display:flex;
178
223
  padding-inline-start:24px;
179
224
  align-items:flex-start;
@@ -181,13 +226,13 @@
181
226
  align-self:stretch;
182
227
  }
183
228
 
184
- .dialog .mainContainer .radio > .radioLabel > span{
229
+ :is(:is(:is(.dialog .mainContainer) .radio) > .radioLabel) > span{
185
230
  flex:1 0 0;
186
231
  font-size:11px;
187
232
  color:var(--text-secondary-color);
188
233
  }
189
234
 
190
- .dialog .mainContainer button{
235
+ :is(.dialog .mainContainer) button:not(:is(.toggle-button,.closeButton)){
191
236
  border-radius:4px;
192
237
  border:1px solid;
193
238
  font:menu;
@@ -197,37 +242,45 @@
197
242
  height:32px;
198
243
  }
199
244
 
200
- .dialog .mainContainer button:hover{
245
+ :is(:is(.dialog .mainContainer) button:not(:is(.toggle-button,.closeButton))):hover{
201
246
  cursor:pointer;
202
247
  filter:var(--hover-filter);
203
248
  }
204
249
 
205
- .dialog .mainContainer button.secondaryButton{
250
+ .secondaryButton:is(:is(.dialog .mainContainer) button:not(:is(.toggle-button,.closeButton))){
206
251
  color:var(--button-secondary-fg-color);
207
252
  background-color:var(--button-secondary-bg-color);
208
253
  border-color:var(--button-secondary-border-color);
209
254
  }
210
255
 
211
- .dialog .mainContainer button.secondaryButton:hover{
256
+ .secondaryButton:is(:is(.dialog .mainContainer) button:not(:is(.toggle-button,.closeButton))):hover{
212
257
  color:var(--button-secondary-hover-fg-color);
213
258
  background-color:var(--button-secondary-hover-bg-color);
214
259
  border-color:var(--button-secondary-hover-border-color);
215
260
  }
216
261
 
217
- .dialog .mainContainer button.primaryButton{
218
- color:var(--button-primary-hover-fg-color);
219
- background-color:var(--button-primary-hover-bg-color);
220
- border-color:var(--button-primary-hover-border-color);
262
+ .primaryButton:is(:is(.dialog .mainContainer) button:not(:is(.toggle-button,.closeButton))){
263
+ color:var(--button-primary-fg-color);
264
+ background-color:var(--button-primary-bg-color);
265
+ border-color:var(--button-primary-border-color);
221
266
  opacity:1;
222
267
  }
223
268
 
224
- .dialog .mainContainer button.primaryButton:hover{
269
+ .primaryButton:is(:is(.dialog .mainContainer) button:not(:is(.toggle-button,.closeButton))):hover{
225
270
  color:var(--button-primary-hover-fg-color);
226
271
  background-color:var(--button-primary-hover-bg-color);
227
272
  border-color:var(--button-primary-hover-border-color);
228
273
  }
229
274
 
230
- .dialog .mainContainer textarea{
275
+ :is(.dialog .mainContainer) a{
276
+ color:var(--link-fg-color);
277
+ }
278
+
279
+ :is(:is(.dialog .mainContainer) a):hover{
280
+ color:var(--link-hover-fg-color);
281
+ }
282
+
283
+ :is(.dialog .mainContainer) textarea{
231
284
  font:inherit;
232
285
  padding:8px;
233
286
  resize:none;
@@ -239,16 +292,185 @@
239
292
  color:var(--textarea-fg-color);
240
293
  }
241
294
 
242
- .dialog .mainContainer textarea:focus{
295
+ :is(:is(.dialog .mainContainer) textarea):focus{
243
296
  outline-offset:0;
244
297
  border-color:transparent;
245
298
  }
246
299
 
247
- .dialog .mainContainer textarea:disabled{
300
+ :is(:is(.dialog .mainContainer) textarea):disabled{
248
301
  pointer-events:none;
249
302
  opacity:0.4;
250
303
  }
251
304
 
305
+ :is(.dialog .mainContainer) .messageBar{
306
+ --message-bar-warning-icon:url(images/messageBar_warning.svg);
307
+ --closing-button-icon:url(images/messageBar_closingButton.svg);
308
+
309
+ --message-bar-bg-color:#ffebcd;
310
+ --message-bar-fg-color:#15141a;
311
+ --message-bar-border-color:rgb(0 0 0 / 0.08);
312
+ --message-bar-icon-color:#cd411e;
313
+ --message-bar-close-button-border-radius:4px;
314
+ --message-bar-close-button-border:none;
315
+ --message-bar-close-button-color:var(--text-primary-color);
316
+ --message-bar-close-button-hover-bg-color:rgb(21 20 26 / 0.14);
317
+ --message-bar-close-button-active-bg-color:rgb(21 20 26 / 0.21);
318
+ --message-bar-close-button-focus-bg-color:rgb(21 20 26 / 0.07);
319
+ --message-bar-close-button-color-hover:var(--text-primary-color);
320
+ }
321
+
322
+ @media (prefers-color-scheme: dark){
323
+
324
+ :where(html:not(.is-light)) :is(.dialog .mainContainer) .messageBar{
325
+ --message-bar-bg-color:#5a3100;
326
+ --message-bar-fg-color:#fbfbfe;
327
+ --message-bar-border-color:rgb(255 255 255 / 0.08);
328
+ --message-bar-icon-color:#e49c49;
329
+ --message-bar-close-button-hover-bg-color:rgb(251 251 254 / 0.14);
330
+ --message-bar-close-button-active-bg-color:rgb(251 251 254 / 0.21);
331
+ --message-bar-close-button-focus-bg-color:rgb(251 251 254 / 0.07);
332
+ }
333
+ }
334
+
335
+ :where(html.is-dark) :is(.dialog .mainContainer) .messageBar{
336
+ --message-bar-bg-color:#5a3100;
337
+ --message-bar-fg-color:#fbfbfe;
338
+ --message-bar-border-color:rgb(255 255 255 / 0.08);
339
+ --message-bar-icon-color:#e49c49;
340
+ --message-bar-close-button-hover-bg-color:rgb(251 251 254 / 0.14);
341
+ --message-bar-close-button-active-bg-color:rgb(251 251 254 / 0.21);
342
+ --message-bar-close-button-focus-bg-color:rgb(251 251 254 / 0.07);
343
+ }
344
+
345
+ @media screen and (forced-colors: active){
346
+
347
+ :is(.dialog .mainContainer) .messageBar{
348
+ --message-bar-bg-color:HighlightText;
349
+ --message-bar-fg-color:CanvasText;
350
+ --message-bar-border-color:CanvasText;
351
+ --message-bar-icon-color:CanvasText;
352
+ --message-bar-close-button-color:ButtonText;
353
+ --message-bar-close-button-border:1px solid ButtonText;
354
+ --message-bar-close-button-hover-bg-color:ButtonText;
355
+ --message-bar-close-button-active-bg-color:ButtonText;
356
+ --message-bar-close-button-focus-bg-color:ButtonText;
357
+ --message-bar-close-button-color-hover:HighlightText;
358
+ }
359
+ }
360
+
361
+ :is(.dialog .mainContainer) .messageBar{
362
+
363
+ display:flex;
364
+ position:relative;
365
+ padding:12px 8px 12px 0;
366
+ flex-direction:column;
367
+ justify-content:center;
368
+ align-items:flex-start;
369
+ gap:8px;
370
+ align-self:stretch;
371
+
372
+ border-radius:4px;
373
+ border:1px solid var(--message-bar-border-color);
374
+ background:var(--message-bar-bg-color);
375
+ color:var(--message-bar-fg-color);
376
+ }
377
+
378
+ :is(:is(.dialog .mainContainer) .messageBar) > div{
379
+ display:flex;
380
+ padding-inline-start:16px;
381
+ align-items:flex-start;
382
+ gap:8px;
383
+ align-self:stretch;
384
+ }
385
+
386
+ :is(:is(:is(.dialog .mainContainer) .messageBar) > div)::before{
387
+ content:"";
388
+ display:inline-block;
389
+ width:16px;
390
+ height:16px;
391
+ -webkit-mask-image:var(--message-bar-warning-icon);
392
+ mask-image:var(--message-bar-warning-icon);
393
+ -webkit-mask-size:cover;
394
+ mask-size:cover;
395
+ background-color:var(--message-bar-icon-color);
396
+ }
397
+
398
+ :is(:is(:is(.dialog .mainContainer) .messageBar) > div) > div{
399
+ display:flex;
400
+ flex-direction:column;
401
+ align-items:flex-start;
402
+ gap:8px;
403
+ flex:1 0 0;
404
+ }
405
+
406
+ :is(:is(:is(:is(.dialog .mainContainer) .messageBar) > div) > div) .title{
407
+ font-size:13px;
408
+ font-weight:590;
409
+ }
410
+
411
+ :is(:is(:is(:is(.dialog .mainContainer) .messageBar) > div) > div) .description{
412
+ font-size:13px;
413
+ }
414
+
415
+ :is(:is(.dialog .mainContainer) .messageBar) .closeButton{
416
+ position:absolute;
417
+ width:32px;
418
+ height:32px;
419
+ inset-inline-end:8px;
420
+ inset-block-start:8px;
421
+ background:none;
422
+ border-radius:var(--message-bar-close-button-border-radius);
423
+ border:var(--message-bar-close-button-border);
424
+ }
425
+
426
+ :is(:is(:is(.dialog .mainContainer) .messageBar) .closeButton)::before{
427
+ content:"";
428
+ display:inline-block;
429
+ width:16px;
430
+ height:16px;
431
+ -webkit-mask-image:var(--closing-button-icon);
432
+ mask-image:var(--closing-button-icon);
433
+ -webkit-mask-size:cover;
434
+ mask-size:cover;
435
+ background-color:var(--message-bar-close-button-color);
436
+ }
437
+
438
+ :is(:is(:is(.dialog .mainContainer) .messageBar) .closeButton):is(:hover,:active,:focus)::before{
439
+ background-color:var(--message-bar-close-button-color-hover);
440
+ }
441
+
442
+ :is(:is(:is(.dialog .mainContainer) .messageBar) .closeButton):hover{
443
+ background-color:var(--message-bar-close-button-hover-bg-color);
444
+ }
445
+
446
+ :is(:is(:is(.dialog .mainContainer) .messageBar) .closeButton):active{
447
+ background-color:var(--message-bar-close-button-active-bg-color);
448
+ }
449
+
450
+ :is(:is(:is(.dialog .mainContainer) .messageBar) .closeButton):focus{
451
+ background-color:var(--message-bar-close-button-focus-bg-color);
452
+ }
453
+
454
+ :is(:is(:is(.dialog .mainContainer) .messageBar) .closeButton) > span{
455
+ display:inline-block;
456
+ width:0;
457
+ height:0;
458
+ overflow:hidden;
459
+ }
460
+
461
+ :is(.dialog .mainContainer) .toggler{
462
+ display:flex;
463
+ align-items:center;
464
+ gap:8px;
465
+ align-self:stretch;
466
+ }
467
+
468
+ :is(:is(.dialog .mainContainer) .toggler) > .togglerLabel{
469
+ -webkit-user-select:none;
470
+ -moz-user-select:none;
471
+ user-select:none;
472
+ }
473
+
252
474
  .textLayer{
253
475
  position:absolute;
254
476
  text-align:initial;
@@ -269,7 +491,7 @@
269
491
  touch-action:none;
270
492
  }
271
493
 
272
- .textLayer :is(span, br){
494
+ .textLayer :is(span,br){
273
495
  color:transparent;
274
496
  position:absolute;
275
497
  white-space:pre;
@@ -277,8 +499,7 @@
277
499
  transform-origin:0% 0%;
278
500
  }
279
501
 
280
- .textLayer > :not(.markedContent),
281
- .textLayer .markedContent span:not(.markedContent){
502
+ .textLayer > :not(.markedContent),.textLayer .markedContent span:not(.markedContent){
282
503
  z-index:1;
283
504
  }
284
505
 
@@ -292,13 +513,6 @@
292
513
  --highlight-selected-bg-color:rgb(0 100 0 / 0.25);
293
514
  --highlight-backdrop-filter:none;
294
515
  --highlight-selected-backdrop-filter:none;
295
-
296
- margin:-1px;
297
- padding:1px;
298
- background-color:var(--highlight-bg-color);
299
- -webkit-backdrop-filter:var(--highlight-backdrop-filter);
300
- backdrop-filter:var(--highlight-backdrop-filter);
301
- border-radius:4px;
302
516
  }
303
517
 
304
518
  @media screen and (forced-colors: active){
@@ -313,23 +527,33 @@
313
527
  }
314
528
  }
315
529
 
316
- .textLayer .highlight.appended{
530
+ .textLayer .highlight{
531
+
532
+ margin:-1px;
533
+ padding:1px;
534
+ background-color:var(--highlight-bg-color);
535
+ -webkit-backdrop-filter:var(--highlight-backdrop-filter);
536
+ backdrop-filter:var(--highlight-backdrop-filter);
537
+ border-radius:4px;
538
+ }
539
+
540
+ .appended:is(.textLayer .highlight){
317
541
  position:initial;
318
542
  }
319
543
 
320
- .textLayer .highlight.begin{
544
+ .begin:is(.textLayer .highlight){
321
545
  border-radius:4px 0 0 4px;
322
546
  }
323
547
 
324
- .textLayer .highlight.end{
548
+ .end:is(.textLayer .highlight){
325
549
  border-radius:0 4px 4px 0;
326
550
  }
327
551
 
328
- .textLayer .highlight.middle{
552
+ .middle:is(.textLayer .highlight){
329
553
  border-radius:0;
330
554
  }
331
555
 
332
- .textLayer .highlight.selected{
556
+ .selected:is(.textLayer .highlight){
333
557
  background-color:var(--highlight-selected-bg-color);
334
558
  -webkit-backdrop-filter:var(--highlight-selected-backdrop-filter);
335
559
  backdrop-filter:var(--highlight-selected-backdrop-filter);
@@ -364,9 +588,9 @@
364
588
  user-select:none;
365
589
  }
366
590
 
367
- .textLayer .endOfContent.active{
368
- top:0;
369
- }
591
+ .textLayer.selecting .endOfContent{
592
+ top:0;
593
+ }
370
594
 
371
595
  .annotationLayer{
372
596
  --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>");
@@ -376,12 +600,6 @@
376
600
  --input-disabled-border-color:transparent;
377
601
  --input-hover-border-color:black;
378
602
  --link-outline:none;
379
-
380
- position:absolute;
381
- top:0;
382
- left:0;
383
- pointer-events:none;
384
- transform-origin:0 0;
385
603
  }
386
604
 
387
605
  @media screen and (forced-colors: active){
@@ -394,7 +612,7 @@
394
612
  --link-outline:1.5px solid LinkText;
395
613
  }
396
614
 
397
- .annotationLayer .textWidgetAnnotation :is(input, textarea):required, .annotationLayer .choiceWidgetAnnotation select:required, .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:required{
615
+ .annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{
398
616
  outline:1.5px solid selectedItem;
399
617
  }
400
618
 
@@ -402,12 +620,12 @@
402
620
  outline:var(--link-outline);
403
621
  }
404
622
 
405
- .annotationLayer .linkAnnotation:hover{
623
+ :is(.annotationLayer .linkAnnotation):hover{
406
624
  -webkit-backdrop-filter:var(--hcm-highlight-filter);
407
625
  backdrop-filter:var(--hcm-highlight-filter);
408
626
  }
409
627
 
410
- .annotationLayer .linkAnnotation > a:hover{
628
+ :is(.annotationLayer .linkAnnotation) > a:hover{
411
629
  opacity:0 !important;
412
630
  background:none !important;
413
631
  box-shadow:none;
@@ -436,6 +654,15 @@
436
654
  }
437
655
  }
438
656
 
657
+ .annotationLayer{
658
+
659
+ position:absolute;
660
+ top:0;
661
+ left:0;
662
+ pointer-events:none;
663
+ transform-origin:0 0;
664
+ }
665
+
439
666
  .annotationLayer[data-main-rotation="90"] .norotate{
440
667
  transform:rotate(270deg) translateX(-100%);
441
668
  }
@@ -448,8 +675,7 @@
448
675
  transform:rotate(90deg) translateY(-100%);
449
676
  }
450
677
 
451
- .annotationLayer.disabled section,
452
- .annotationLayer.disabled .popup{
678
+ .annotationLayer.disabled section,.annotationLayer.disabled .popup{
453
679
  pointer-events:none;
454
680
  }
455
681
 
@@ -460,7 +686,7 @@
460
686
  pointer-events:none;
461
687
  }
462
688
 
463
- .annotationLayer .annotationContent.freetext{
689
+ .freetext:is(.annotationLayer .annotationContent){
464
690
  background:transparent;
465
691
  border:none;
466
692
  inset:0;
@@ -481,11 +707,15 @@
481
707
  transform-origin:0 0;
482
708
  }
483
709
 
484
- .annotationLayer section:has(div.annotationContent) canvas.annotationContent{
710
+ :is(.annotationLayer section):has(div.annotationContent) canvas.annotationContent{
485
711
  display:none;
486
712
  }
487
713
 
488
- .annotationLayer :is(.linkAnnotation, .buttonWidgetAnnotation.pushButton) > a{
714
+ .textLayer.selecting ~ .annotationLayer section{
715
+ pointer-events:none;
716
+ }
717
+
718
+ .annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton) > a{
489
719
  position:absolute;
490
720
  font-size:1em;
491
721
  top:0;
@@ -494,8 +724,7 @@
494
724
  height:100%;
495
725
  }
496
726
 
497
- .annotationLayer :is(.linkAnnotation, .buttonWidgetAnnotation.pushButton):not(.hasBorder)
498
- > a:hover{
727
+ .annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton):not(.hasBorder) > a:hover{
499
728
  opacity:0.2;
500
729
  background-color:rgb(255 255 0);
501
730
  box-shadow:0 2px 10px rgb(255 255 0);
@@ -518,7 +747,7 @@
518
747
  left:0;
519
748
  }
520
749
 
521
- .annotationLayer .textWidgetAnnotation :is(input, textarea), .annotationLayer .choiceWidgetAnnotation select, .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input{
750
+ .annotationLayer .textWidgetAnnotation :is(input,textarea),.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{
522
751
  background-image:var(--annotation-unfocused-field-background);
523
752
  border:2px solid var(--input-unfocused-border-color);
524
753
  box-sizing:border-box;
@@ -529,7 +758,7 @@
529
758
  width:100%;
530
759
  }
531
760
 
532
- .annotationLayer .textWidgetAnnotation :is(input, textarea):required, .annotationLayer .choiceWidgetAnnotation select:required, .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:required{
761
+ .annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{
533
762
  outline:1.5px solid red;
534
763
  }
535
764
 
@@ -545,28 +774,28 @@
545
774
  resize:none;
546
775
  }
547
776
 
548
- .annotationLayer .textWidgetAnnotation [disabled]:is(input, textarea), .annotationLayer .choiceWidgetAnnotation select[disabled], .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input[disabled]{
777
+ .annotationLayer .textWidgetAnnotation [disabled]:is(input,textarea),.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input[disabled]{
549
778
  background:none;
550
779
  border:2px solid var(--input-disabled-border-color);
551
780
  cursor:not-allowed;
552
781
  }
553
782
 
554
- .annotationLayer .textWidgetAnnotation :is(input, textarea):hover, .annotationLayer .choiceWidgetAnnotation select:hover, .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:hover{
783
+ .annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:hover{
555
784
  border:2px solid var(--input-hover-border-color);
556
785
  }
557
786
 
558
- .annotationLayer .textWidgetAnnotation :is(input, textarea):hover, .annotationLayer .choiceWidgetAnnotation select:hover, .annotationLayer .buttonWidgetAnnotation.checkBox input:hover{
787
+ .annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation.checkBox input:hover{
559
788
  border-radius:2px;
560
789
  }
561
790
 
562
- .annotationLayer .textWidgetAnnotation :is(input, textarea):focus, .annotationLayer .choiceWidgetAnnotation select:focus{
791
+ .annotationLayer .textWidgetAnnotation :is(input,textarea):focus,.annotationLayer .choiceWidgetAnnotation select:focus{
563
792
  background:none;
564
793
  border:2px solid var(--input-focus-border-color);
565
794
  border-radius:2px;
566
795
  outline:var(--input-focus-outline);
567
796
  }
568
797
 
569
- .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) :focus{
798
+ .annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) :focus{
570
799
  background-image:none;
571
800
  background-color:transparent;
572
801
  }
@@ -582,17 +811,14 @@
582
811
  outline:var(--input-focus-outline);
583
812
  }
584
813
 
585
- .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before,
586
- .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after,
587
- .annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before{
814
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before{
588
815
  background-color:CanvasText;
589
816
  content:"";
590
817
  display:block;
591
818
  position:absolute;
592
819
  }
593
820
 
594
- .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before,
595
- .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after{
821
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after{
596
822
  height:80%;
597
823
  left:45%;
598
824
  width:1px;
@@ -624,7 +850,7 @@
624
850
  width:103%;
625
851
  }
626
852
 
627
- .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input{
853
+ .annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{
628
854
  -webkit-appearance:none;
629
855
  -moz-appearance:none;
630
856
  appearance:none;
@@ -716,7 +942,7 @@
716
942
  pointer-events:none;
717
943
  }
718
944
 
719
- .annotationLayer .annotationTextContent span{
945
+ :is(.annotationLayer .annotationTextContent) span{
720
946
  width:100%;
721
947
  display:inline-block;
722
948
  }
@@ -1053,76 +1279,76 @@
1053
1279
  transform:none;
1054
1280
  }
1055
1281
 
1056
- .canvasWrapper svg[data-main-rotation="90"] mask,
1057
- .canvasWrapper svg[data-main-rotation="90"] use:not(.clip, .mask){
1282
+ [data-main-rotation="90"]:is(.canvasWrapper svg) mask,[data-main-rotation="90"]:is(.canvasWrapper svg) use:not(.clip,.mask){
1058
1283
  transform:matrix(0, 1, -1, 0, 1, 0);
1059
1284
  }
1060
1285
 
1061
- .canvasWrapper svg[data-main-rotation="180"] mask,
1062
- .canvasWrapper svg[data-main-rotation="180"] use:not(.clip, .mask){
1286
+ [data-main-rotation="180"]:is(.canvasWrapper svg) mask,[data-main-rotation="180"]:is(.canvasWrapper svg) use:not(.clip,.mask){
1063
1287
  transform:matrix(-1, 0, 0, -1, 1, 1);
1064
1288
  }
1065
1289
 
1066
- .canvasWrapper svg[data-main-rotation="270"] mask,
1067
- .canvasWrapper svg[data-main-rotation="270"] use:not(.clip, .mask){
1290
+ [data-main-rotation="270"]:is(.canvasWrapper svg) mask,[data-main-rotation="270"]:is(.canvasWrapper svg) use:not(.clip,.mask){
1068
1291
  transform:matrix(0, -1, 1, 0, 0, 1);
1069
1292
  }
1070
1293
 
1071
- .canvasWrapper svg.highlight{
1294
+ .highlight:is(.canvasWrapper svg){
1072
1295
  --blend-mode:multiply;
1073
-
1074
- position:absolute;
1075
- mix-blend-mode:var(--blend-mode);
1076
1296
  }
1077
1297
 
1078
1298
  @media screen and (forced-colors: active){
1079
1299
 
1080
- .canvasWrapper svg.highlight{
1300
+ .highlight:is(.canvasWrapper svg){
1081
1301
  --blend-mode:difference;
1082
1302
  }
1083
1303
  }
1084
1304
 
1085
- .canvasWrapper svg.highlight:not(.free){
1305
+ .highlight:is(.canvasWrapper svg){
1306
+
1307
+ position:absolute;
1308
+ mix-blend-mode:var(--blend-mode);
1309
+ }
1310
+
1311
+ .highlight:is(.canvasWrapper svg):not(.free){
1086
1312
  fill-rule:evenodd;
1087
1313
  }
1088
1314
 
1089
- .canvasWrapper svg.highlightOutline{
1315
+ .highlightOutline:is(.canvasWrapper svg){
1090
1316
  position:absolute;
1091
1317
  mix-blend-mode:normal;
1092
1318
  fill-rule:evenodd;
1093
1319
  fill:none;
1094
1320
  }
1095
1321
 
1096
- .canvasWrapper svg.highlightOutline.hovered:not(.free):not(.selected){
1322
+ .highlightOutline.hovered:is(.canvasWrapper svg):not(.free):not(.selected){
1097
1323
  stroke:var(--hover-outline-color);
1098
1324
  stroke-width:var(--outline-width);
1099
1325
  }
1100
1326
 
1101
- .canvasWrapper svg.highlightOutline.selected:not(.free) .mainOutline{
1327
+ .highlightOutline.selected:is(.canvasWrapper svg):not(.free) .mainOutline{
1102
1328
  stroke:var(--outline-around-color);
1103
1329
  stroke-width:calc(
1104
1330
  var(--outline-width) + 2 * var(--outline-around-width)
1105
1331
  );
1106
1332
  }
1107
1333
 
1108
- .canvasWrapper svg.highlightOutline.selected:not(.free) .secondaryOutline{
1334
+ .highlightOutline.selected:is(.canvasWrapper svg):not(.free) .secondaryOutline{
1109
1335
  stroke:var(--outline-color);
1110
1336
  stroke-width:var(--outline-width);
1111
1337
  }
1112
1338
 
1113
- .canvasWrapper svg.highlightOutline.free.hovered:not(.selected){
1339
+ .highlightOutline.free.hovered:is(.canvasWrapper svg):not(.selected){
1114
1340
  stroke:var(--hover-outline-color);
1115
1341
  stroke-width:calc(2 * var(--outline-width));
1116
1342
  }
1117
1343
 
1118
- .canvasWrapper svg.highlightOutline.free.selected .mainOutline{
1344
+ .highlightOutline.free.selected:is(.canvasWrapper svg) .mainOutline{
1119
1345
  stroke:var(--outline-around-color);
1120
1346
  stroke-width:calc(
1121
1347
  2 * (var(--outline-width) + var(--outline-around-width))
1122
1348
  );
1123
1349
  }
1124
1350
 
1125
- .canvasWrapper svg.highlightOutline.free.selected .secondaryOutline{
1351
+ .highlightOutline.free.selected:is(.canvasWrapper svg) .secondaryOutline{
1126
1352
  stroke:var(--outline-color);
1127
1353
  stroke-width:calc(2 * var(--outline-width));
1128
1354
  }
@@ -1140,48 +1366,6 @@
1140
1366
  --size-item-small:16px;
1141
1367
  --size-item-large:32px;
1142
1368
  --color-canvas:white;
1143
-
1144
- --toggle-background-color:var(--button-background-color);
1145
- --toggle-background-color-hover:var(--button-background-color-hover);
1146
- --toggle-background-color-active:var(--button-background-color-active);
1147
- --toggle-background-color-pressed:var(--color-accent-primary);
1148
- --toggle-background-color-pressed-hover:var(--color-accent-primary-hover);
1149
- --toggle-background-color-pressed-active:var(--color-accent-primary-active);
1150
- --toggle-border-color:var(--border-interactive-color);
1151
- --toggle-border-color-hover:var(--toggle-border-color);
1152
- --toggle-border-color-active:var(--toggle-border-color);
1153
- --toggle-border-radius:var(--border-radius-circle);
1154
- --toggle-border-width:var(--border-width);
1155
- --toggle-height:var(--size-item-small);
1156
- --toggle-width:var(--size-item-large);
1157
- --toggle-dot-background-color:var(--toggle-border-color);
1158
- --toggle-dot-background-color-hover:var(--toggle-dot-background-color);
1159
- --toggle-dot-background-color-active:var(--toggle-dot-background-color);
1160
- --toggle-dot-background-color-on-pressed:var(--color-canvas);
1161
- --toggle-dot-margin:1px;
1162
- --toggle-dot-height:calc(
1163
- var(--toggle-height) - 2 * var(--toggle-dot-margin) - 2 *
1164
- var(--toggle-border-width)
1165
- );
1166
- --toggle-dot-width:var(--toggle-dot-height);
1167
- --toggle-dot-transform-x:calc(
1168
- var(--toggle-width) - 4 * var(--toggle-dot-margin) - var(--toggle-dot-width)
1169
- );
1170
-
1171
- -webkit-appearance:none;
1172
-
1173
- -moz-appearance:none;
1174
-
1175
- appearance:none;
1176
- padding:0;
1177
- margin:0;
1178
- border:var(--toggle-border-width) solid var(--toggle-border-color);
1179
- height:var(--toggle-height);
1180
- width:var(--toggle-width);
1181
- border-radius:var(--toggle-border-radius);
1182
- background:var(--toggle-background-color);
1183
- box-sizing:border-box;
1184
- flex-shrink:0;
1185
1369
  }
1186
1370
 
1187
1371
  @media (prefers-color-scheme: dark){
@@ -1240,24 +1424,69 @@
1240
1424
  }
1241
1425
  }
1242
1426
 
1243
- .toggle-button:focus-visible{
1244
- outline:var(--focus-outline);
1245
- outline-offset:var(--focus-outline-offset);
1246
- }
1427
+ .toggle-button{
1247
1428
 
1248
- .toggle-button:enabled:hover{
1249
- background:var(--toggle-background-color-hover);
1250
- border-color:var(--toggle-border-color);
1251
- }
1429
+ --toggle-background-color:var(--button-background-color);
1430
+ --toggle-background-color-hover:var(--button-background-color-hover);
1431
+ --toggle-background-color-active:var(--button-background-color-active);
1432
+ --toggle-background-color-pressed:var(--color-accent-primary);
1433
+ --toggle-background-color-pressed-hover:var(--color-accent-primary-hover);
1434
+ --toggle-background-color-pressed-active:var(--color-accent-primary-active);
1435
+ --toggle-border-color:var(--border-interactive-color);
1436
+ --toggle-border-color-hover:var(--toggle-border-color);
1437
+ --toggle-border-color-active:var(--toggle-border-color);
1438
+ --toggle-border-radius:var(--border-radius-circle);
1439
+ --toggle-border-width:var(--border-width);
1440
+ --toggle-height:var(--size-item-small);
1441
+ --toggle-width:var(--size-item-large);
1442
+ --toggle-dot-background-color:var(--toggle-border-color);
1443
+ --toggle-dot-background-color-hover:var(--toggle-dot-background-color);
1444
+ --toggle-dot-background-color-active:var(--toggle-dot-background-color);
1445
+ --toggle-dot-background-color-on-pressed:var(--color-canvas);
1446
+ --toggle-dot-margin:1px;
1447
+ --toggle-dot-height:calc(
1448
+ var(--toggle-height) - 2 * var(--toggle-dot-margin) - 2 *
1449
+ var(--toggle-border-width)
1450
+ );
1451
+ --toggle-dot-width:var(--toggle-dot-height);
1452
+ --toggle-dot-transform-x:calc(
1453
+ var(--toggle-width) - 4 * var(--toggle-dot-margin) - var(--toggle-dot-width)
1454
+ );
1252
1455
 
1253
- .toggle-button:enabled:active{
1254
- background:var(--toggle-background-color-active);
1255
- border-color:var(--toggle-border-color);
1256
- }
1456
+ -webkit-appearance:none;
1257
1457
 
1258
- .toggle-button[aria-pressed="true"]{
1259
- background:var(--toggle-background-color-pressed);
1260
- border-color:transparent;
1458
+ -moz-appearance:none;
1459
+
1460
+ appearance:none;
1461
+ padding:0;
1462
+ margin:0;
1463
+ border:var(--toggle-border-width) solid var(--toggle-border-color);
1464
+ height:var(--toggle-height);
1465
+ width:var(--toggle-width);
1466
+ border-radius:var(--toggle-border-radius);
1467
+ background:var(--toggle-background-color);
1468
+ box-sizing:border-box;
1469
+ flex-shrink:0;
1470
+ }
1471
+
1472
+ .toggle-button:focus-visible{
1473
+ outline:var(--focus-outline);
1474
+ outline-offset:var(--focus-outline-offset);
1475
+ }
1476
+
1477
+ .toggle-button:enabled:hover{
1478
+ background:var(--toggle-background-color-hover);
1479
+ border-color:var(--toggle-border-color);
1480
+ }
1481
+
1482
+ .toggle-button:enabled:active{
1483
+ background:var(--toggle-background-color-active);
1484
+ border-color:var(--toggle-border-color);
1485
+ }
1486
+
1487
+ .toggle-button[aria-pressed="true"]{
1488
+ background:var(--toggle-background-color-pressed);
1489
+ border-color:transparent;
1261
1490
  }
1262
1491
 
1263
1492
  .toggle-button[aria-pressed="true"]:enabled:hover{
@@ -1286,8 +1515,7 @@
1286
1515
  background-color:var(--toggle-dot-background-color-on-pressed);
1287
1516
  }
1288
1517
 
1289
- .toggle-button[aria-pressed="true"]:enabled:hover::before,
1290
- .toggle-button[aria-pressed="true"]:enabled:active::before{
1518
+ .toggle-button[aria-pressed="true"]:enabled:hover::before,.toggle-button[aria-pressed="true"]:enabled:active::before{
1291
1519
  background-color:var(--toggle-dot-background-color-on-pressed);
1292
1520
  }
1293
1521
 
@@ -1315,8 +1543,7 @@
1315
1543
  position:relative;
1316
1544
  }
1317
1545
 
1318
- .toggle-button[aria-pressed="true"]:enabled:hover,
1319
- .toggle-button[aria-pressed="true"]:enabled:hover:active{
1546
+ .toggle-button[aria-pressed="true"]:enabled:hover,.toggle-button[aria-pressed="true"]:enabled:hover:active{
1320
1547
  border-color:var(--toggle-border-color-hover);
1321
1548
  }
1322
1549
 
@@ -1325,8 +1552,7 @@
1325
1552
  border-color:var(--toggle-dot-background-color-hover);
1326
1553
  }
1327
1554
 
1328
- .toggle-button:hover::before,
1329
- .toggle-button:active::before{
1555
+ .toggle-button:hover::before,.toggle-button:active::before{
1330
1556
  background-color:var(--toggle-dot-background-color-hover);
1331
1557
  }
1332
1558
  }
@@ -1384,6 +1610,8 @@
1384
1610
  --editorInk-editing-cursor:url(images/cursor-editorInk.svg) 0 16, pointer;
1385
1611
  --editorHighlight-editing-cursor:url(images/cursor-editorTextHighlight.svg) 24 24, text;
1386
1612
  --editorFreeHighlight-editing-cursor:url(images/cursor-editorFreeHighlight.svg) 1 18, pointer;
1613
+
1614
+ --new-alt-text-warning-image:url(images/altText_warning.svg);
1387
1615
  }
1388
1616
  .visuallyHidden{
1389
1617
  position:absolute;
@@ -1411,6 +1639,10 @@
1411
1639
  cursor:var(--editorFreeHighlight-editing-cursor);
1412
1640
  }
1413
1641
 
1642
+ #viewerContainer.pdfPresentationMode:fullscreen .noAltTextBadge{
1643
+ display:none !important;
1644
+ }
1645
+
1414
1646
  @media (min-resolution: 1.1dppx){
1415
1647
  :root{
1416
1648
  --editorFreeText-editing-cursor:url(images/cursor-editorFreeText.svg) 0 16, text;
@@ -1488,20 +1720,20 @@
1488
1720
  border:var(--unfocus-outline);
1489
1721
  }
1490
1722
 
1491
- .annotationEditorLayer .draggable.selectedEditor:is(.freeTextEditor, .inkEditor, .stampEditor){
1723
+ .draggable.selectedEditor:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor)){
1492
1724
  cursor:move;
1493
1725
  }
1494
1726
 
1495
- .annotationEditorLayer .moving:is(.freeTextEditor, .inkEditor, .stampEditor){
1727
+ .moving:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor)){
1496
1728
  touch-action:none;
1497
1729
  }
1498
1730
 
1499
- .annotationEditorLayer .selectedEditor:is(.freeTextEditor, .inkEditor, .stampEditor){
1731
+ .selectedEditor:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor)){
1500
1732
  border:var(--focus-outline);
1501
1733
  outline:var(--focus-outline-around);
1502
1734
  }
1503
1735
 
1504
- .annotationEditorLayer .selectedEditor:is(.freeTextEditor, .inkEditor, .stampEditor)::before{
1736
+ .selectedEditor:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor))::before{
1505
1737
  content:"";
1506
1738
  position:absolute;
1507
1739
  inset:0;
@@ -1509,20 +1741,19 @@
1509
1741
  pointer-events:none;
1510
1742
  }
1511
1743
 
1512
- .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor):hover:not(.selectedEditor){
1744
+ :is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor)):hover:not(.selectedEditor){
1513
1745
  border:var(--hover-outline);
1514
1746
  outline:var(--hover-outline-around);
1515
1747
  }
1516
1748
 
1517
- .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor):hover:not(.selectedEditor)::before{
1749
+ :is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor)):hover:not(.selectedEditor)::before{
1518
1750
  content:"";
1519
1751
  position:absolute;
1520
1752
  inset:0;
1521
1753
  border:var(--focus-outline-around);
1522
1754
  }
1523
1755
 
1524
- :is(.annotationEditorLayer
1525
- :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar{
1756
+ :is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar{
1526
1757
  --editor-toolbar-delete-image:url(images/editor-toolbar-delete.svg);
1527
1758
  --editor-toolbar-bg-color:#f0f0f4;
1528
1759
  --editor-toolbar-highlight-image:url(images/toolbarButton-editorHighlight.svg);
@@ -1537,52 +1768,36 @@
1537
1768
  --editor-toolbar-vert-offset:6px;
1538
1769
  --editor-toolbar-height:28px;
1539
1770
  --editor-toolbar-padding:2px;
1540
-
1541
- display:flex;
1542
- width:-moz-fit-content;
1543
- width:fit-content;
1544
- height:var(--editor-toolbar-height);
1545
- flex-direction:column;
1546
- justify-content:center;
1547
- align-items:center;
1548
- cursor:default;
1549
- pointer-events:auto;
1550
- box-sizing:content-box;
1551
- padding:var(--editor-toolbar-padding);
1552
-
1553
- position:absolute;
1554
- inset-inline-end:0;
1555
- inset-block-start:calc(100% + var(--editor-toolbar-vert-offset));
1556
-
1557
- border-radius:6px;
1558
- background-color:var(--editor-toolbar-bg-color);
1559
- border:1px solid var(--editor-toolbar-border-color);
1560
- box-shadow:var(--editor-toolbar-shadow);
1771
+ --alt-text-done-color:#2ac3a2;
1772
+ --alt-text-warning-color:#0090ed;
1773
+ --alt-text-hover-done-color:var(--alt-text-done-color);
1774
+ --alt-text-hover-warning-color:var(--alt-text-warning-color);
1561
1775
  }
1562
1776
 
1563
1777
  @media (prefers-color-scheme: dark){
1564
1778
 
1565
- :where(html:not(.is-light)) :is(.annotationEditorLayer
1566
- :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar{
1779
+ :where(html:not(.is-light)) :is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar{
1567
1780
  --editor-toolbar-bg-color:#2b2a33;
1568
1781
  --editor-toolbar-fg-color:#fbfbfe;
1569
1782
  --editor-toolbar-hover-bg-color:#52525e;
1570
1783
  --editor-toolbar-focus-outline-color:#0df;
1784
+ --alt-text-done-color:#54ffbd;
1785
+ --alt-text-warning-color:#80ebff;
1571
1786
  }
1572
1787
  }
1573
1788
 
1574
- :where(html.is-dark) :is(.annotationEditorLayer
1575
- :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar{
1789
+ :where(html.is-dark) :is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar{
1576
1790
  --editor-toolbar-bg-color:#2b2a33;
1577
1791
  --editor-toolbar-fg-color:#fbfbfe;
1578
1792
  --editor-toolbar-hover-bg-color:#52525e;
1579
1793
  --editor-toolbar-focus-outline-color:#0df;
1794
+ --alt-text-done-color:#54ffbd;
1795
+ --alt-text-warning-color:#80ebff;
1580
1796
  }
1581
1797
 
1582
1798
  @media screen and (forced-colors: active){
1583
1799
 
1584
- :is(.annotationEditorLayer
1585
- :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar{
1800
+ :is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar{
1586
1801
  --editor-toolbar-bg-color:ButtonFace;
1587
1802
  --editor-toolbar-fg-color:ButtonText;
1588
1803
  --editor-toolbar-border-color:ButtonText;
@@ -1592,31 +1807,54 @@
1592
1807
  --editor-toolbar-hover-outline:2px solid var(--editor-toolbar-hover-border-color);
1593
1808
  --editor-toolbar-focus-outline-color:ButtonBorder;
1594
1809
  --editor-toolbar-shadow:none;
1810
+ --alt-text-done-color:var(--editor-toolbar-fg-color);
1811
+ --alt-text-warning-color:var(--editor-toolbar-fg-color);
1812
+ --alt-text-hover-done-color:var(--editor-toolbar-hover-fg-color);
1813
+ --alt-text-hover-warning-color:var(--editor-toolbar-hover-fg-color);
1595
1814
  }
1596
1815
  }
1597
1816
 
1598
- :is(.annotationEditorLayer
1599
- :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar.hidden{
1817
+ :is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar{
1818
+
1819
+ display:flex;
1820
+ width:-moz-fit-content;
1821
+ width:fit-content;
1822
+ height:var(--editor-toolbar-height);
1823
+ flex-direction:column;
1824
+ justify-content:center;
1825
+ align-items:center;
1826
+ cursor:default;
1827
+ pointer-events:auto;
1828
+ box-sizing:content-box;
1829
+ padding:var(--editor-toolbar-padding);
1830
+
1831
+ position:absolute;
1832
+ inset-inline-end:0;
1833
+ inset-block-start:calc(100% + var(--editor-toolbar-vert-offset));
1834
+
1835
+ border-radius:6px;
1836
+ background-color:var(--editor-toolbar-bg-color);
1837
+ border:1px solid var(--editor-toolbar-border-color);
1838
+ box-shadow:var(--editor-toolbar-shadow);
1839
+ }
1840
+
1841
+ .hidden:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar){
1600
1842
  display:none;
1601
1843
  }
1602
1844
 
1603
- :is(.annotationEditorLayer
1604
- :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar:has(:focus-visible){
1845
+ :is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar):has(:focus-visible){
1605
1846
  border-color:transparent;
1606
1847
  }
1607
1848
 
1608
- [dir="ltr"] :is(.annotationEditorLayer
1609
- :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar{
1849
+ [dir="ltr"] :is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar){
1610
1850
  transform-origin:100% 0;
1611
1851
  }
1612
1852
 
1613
- [dir="rtl"] :is(.annotationEditorLayer
1614
- :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar{
1853
+ [dir="rtl"] :is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar){
1615
1854
  transform-origin:0 0;
1616
1855
  }
1617
1856
 
1618
- :is(.annotationEditorLayer
1619
- :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons{
1857
+ :is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons{
1620
1858
  display:flex;
1621
1859
  justify-content:center;
1622
1860
  align-items:center;
@@ -1624,8 +1862,7 @@
1624
1862
  height:100%;
1625
1863
  }
1626
1864
 
1627
- :is(.annotationEditorLayer
1628
- :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .divider{
1865
+ :is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .divider{
1629
1866
  width:1px;
1630
1867
  height:calc(
1631
1868
  2 * var(--editor-toolbar-padding) + var(--editor-toolbar-height)
@@ -1635,13 +1872,11 @@
1635
1872
  margin-inline:2px;
1636
1873
  }
1637
1874
 
1638
- :is(.annotationEditorLayer
1639
- :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .highlightButton{
1875
+ :is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .highlightButton{
1640
1876
  width:var(--editor-toolbar-height);
1641
1877
  }
1642
1878
 
1643
- :is(.annotationEditorLayer
1644
- :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .highlightButton::before{
1879
+ :is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .highlightButton)::before{
1645
1880
  content:"";
1646
1881
  -webkit-mask-image:var(--editor-toolbar-highlight-image);
1647
1882
  mask-image:var(--editor-toolbar-highlight-image);
@@ -1655,18 +1890,15 @@
1655
1890
  height:100%;
1656
1891
  }
1657
1892
 
1658
- :is(.annotationEditorLayer
1659
- :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .highlightButton:hover::before{
1893
+ :is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .highlightButton):hover::before{
1660
1894
  background-color:var(--editor-toolbar-hover-fg-color);
1661
1895
  }
1662
1896
 
1663
- :is(.annotationEditorLayer
1664
- :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .delete{
1897
+ :is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .delete{
1665
1898
  width:var(--editor-toolbar-height);
1666
1899
  }
1667
1900
 
1668
- :is(.annotationEditorLayer
1669
- :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .delete::before{
1901
+ :is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .delete)::before{
1670
1902
  content:"";
1671
1903
  -webkit-mask-image:var(--editor-toolbar-delete-image);
1672
1904
  mask-image:var(--editor-toolbar-delete-image);
@@ -1680,25 +1912,21 @@
1680
1912
  height:100%;
1681
1913
  }
1682
1914
 
1683
- :is(.annotationEditorLayer
1684
- :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .delete:hover::before{
1915
+ :is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .delete):hover::before{
1685
1916
  background-color:var(--editor-toolbar-hover-fg-color);
1686
1917
  }
1687
1918
 
1688
- :is(.annotationEditorLayer
1689
- :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons > *{
1919
+ :is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) > *{
1690
1920
  height:var(--editor-toolbar-height);
1691
1921
  }
1692
1922
 
1693
- :is(.annotationEditorLayer
1694
- :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons > :not(.divider){
1923
+ :is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) > :not(.divider){
1695
1924
  border:none;
1696
1925
  background-color:transparent;
1697
1926
  cursor:pointer;
1698
1927
  }
1699
1928
 
1700
- :is(.annotationEditorLayer
1701
- :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons > :not(.divider):hover{
1929
+ :is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) > :not(.divider)):hover{
1702
1930
  border-radius:2px;
1703
1931
  background-color:var(--editor-toolbar-hover-bg-color);
1704
1932
  color:var(--editor-toolbar-hover-fg-color);
@@ -1706,19 +1934,16 @@
1706
1934
  outline-offset:1px;
1707
1935
  }
1708
1936
 
1709
- :is(.annotationEditorLayer
1710
- :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons > :not(.divider):hover:active{
1937
+ :is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) > :not(.divider)):hover:active{
1711
1938
  outline:none;
1712
1939
  }
1713
1940
 
1714
- :is(.annotationEditorLayer
1715
- :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons > :not(.divider):focus-visible{
1941
+ :is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) > :not(.divider)):focus-visible{
1716
1942
  border-radius:2px;
1717
1943
  outline:2px solid var(--editor-toolbar-focus-outline-color);
1718
1944
  }
1719
1945
 
1720
- :is(.annotationEditorLayer
1721
- :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText{
1946
+ :is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .altText{
1722
1947
  --alt-text-add-image:url(images/altText_add.svg);
1723
1948
  --alt-text-done-image:url(images/altText_done.svg);
1724
1949
 
@@ -1735,13 +1960,11 @@
1735
1960
  color:var(--editor-toolbar-fg-color);
1736
1961
  }
1737
1962
 
1738
- :is(.annotationEditorLayer
1739
- :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText:disabled{
1963
+ :is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .altText):disabled{
1740
1964
  pointer-events:none;
1741
1965
  }
1742
1966
 
1743
- :is(.annotationEditorLayer
1744
- :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText::before{
1967
+ :is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .altText)::before{
1745
1968
  content:"";
1746
1969
  -webkit-mask-image:var(--alt-text-add-image);
1747
1970
  mask-image:var(--alt-text-add-image);
@@ -1756,64 +1979,60 @@
1756
1979
  margin-inline-end:4px;
1757
1980
  }
1758
1981
 
1759
- :is(.annotationEditorLayer
1760
- :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText:hover::before{
1982
+ :is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .altText):hover::before{
1761
1983
  background-color:var(--editor-toolbar-hover-fg-color);
1762
1984
  }
1763
1985
 
1764
- :is(.annotationEditorLayer
1765
- :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText.done::before{
1986
+ .done:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .altText)::before{
1766
1987
  -webkit-mask-image:var(--alt-text-done-image);
1767
1988
  mask-image:var(--alt-text-done-image);
1768
1989
  }
1769
1990
 
1770
- :is(.annotationEditorLayer
1771
- :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText .tooltip{
1991
+ .new:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .altText)::before{
1992
+ width:16px;
1993
+ height:16px;
1994
+ -webkit-mask-image:var(--new-alt-text-warning-image);
1995
+ mask-image:var(--new-alt-text-warning-image);
1996
+ background-color:var(--alt-text-warning-color);
1997
+ -webkit-mask-size:cover;
1998
+ mask-size:cover;
1999
+ }
2000
+
2001
+ .new:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .altText):hover::before{
2002
+ background-color:var(--alt-text-hover-warning-color);
2003
+ }
2004
+
2005
+ .new.done:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .altText)::before{
2006
+ -webkit-mask-image:var(--alt-text-done-image);
2007
+ mask-image:var(--alt-text-done-image);
2008
+ background-color:var(--alt-text-done-color);
2009
+ }
2010
+
2011
+ .new.done:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .altText):hover::before{
2012
+ background-color:var(--alt-text-hover-done-color);
2013
+ }
2014
+
2015
+ :is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .altText) .tooltip{
1772
2016
  display:none;
1773
2017
  }
1774
2018
 
1775
- :is(.annotationEditorLayer
1776
- :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText .tooltip.show{
2019
+ .show:is(:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .altText) .tooltip){
1777
2020
  --alt-text-tooltip-bg:#f0f0f4;
1778
2021
  --alt-text-tooltip-fg:#15141a;
1779
2022
  --alt-text-tooltip-border:#8f8f9d;
1780
2023
  --alt-text-tooltip-shadow:0px 2px 6px 0px rgb(58 57 68 / 0.2);
1781
-
1782
- display:inline-flex;
1783
- flex-direction:column;
1784
- align-items:center;
1785
- justify-content:center;
1786
- position:absolute;
1787
- top:calc(100% + 2px);
1788
- inset-inline-start:0;
1789
- padding-block:2px 3px;
1790
- padding-inline:3px;
1791
- max-width:300px;
1792
- width:-moz-max-content;
1793
- width:max-content;
1794
- height:auto;
1795
- font-size:12px;
1796
-
1797
- border:0.5px solid var(--alt-text-tooltip-border);
1798
- background:var(--alt-text-tooltip-bg);
1799
- box-shadow:var(--alt-text-tooltip-shadow);
1800
- color:var(--alt-text-tooltip-fg);
1801
-
1802
- pointer-events:none;
1803
2024
  }
1804
2025
 
1805
2026
  @media (prefers-color-scheme: dark){
1806
2027
 
1807
- :where(html:not(.is-light)) :is(.annotationEditorLayer
1808
- :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText .tooltip.show{
2028
+ :where(html:not(.is-light)) .show:is(:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .altText) .tooltip){
1809
2029
  --alt-text-tooltip-bg:#1c1b22;
1810
2030
  --alt-text-tooltip-fg:#fbfbfe;
1811
2031
  --alt-text-tooltip-shadow:0px 2px 6px 0px #15141a;
1812
2032
  }
1813
2033
  }
1814
2034
 
1815
- :where(html.is-dark) :is(.annotationEditorLayer
1816
- :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText .tooltip.show{
2035
+ :where(html.is-dark) .show:is(:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .altText) .tooltip){
1817
2036
  --alt-text-tooltip-bg:#1c1b22;
1818
2037
  --alt-text-tooltip-fg:#fbfbfe;
1819
2038
  --alt-text-tooltip-shadow:0px 2px 6px 0px #15141a;
@@ -1821,8 +2040,7 @@
1821
2040
 
1822
2041
  @media screen and (forced-colors: active){
1823
2042
 
1824
- :is(.annotationEditorLayer
1825
- :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText .tooltip.show{
2043
+ .show:is(:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .altText) .tooltip){
1826
2044
  --alt-text-tooltip-bg:Canvas;
1827
2045
  --alt-text-tooltip-fg:CanvasText;
1828
2046
  --alt-text-tooltip-border:CanvasText;
@@ -1830,6 +2048,31 @@
1830
2048
  }
1831
2049
  }
1832
2050
 
2051
+ .show:is(:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor),.textLayer) .editToolbar) .buttons) .altText) .tooltip){
2052
+
2053
+ display:inline-flex;
2054
+ flex-direction:column;
2055
+ align-items:center;
2056
+ justify-content:center;
2057
+ position:absolute;
2058
+ top:calc(100% + 2px);
2059
+ inset-inline-start:0;
2060
+ padding-block:2px 3px;
2061
+ padding-inline:3px;
2062
+ max-width:300px;
2063
+ width:-moz-max-content;
2064
+ width:max-content;
2065
+ height:auto;
2066
+ font-size:12px;
2067
+
2068
+ border:0.5px solid var(--alt-text-tooltip-border);
2069
+ background:var(--alt-text-tooltip-bg);
2070
+ box-shadow:var(--alt-text-tooltip-shadow);
2071
+ color:var(--alt-text-tooltip-fg);
2072
+
2073
+ pointer-events:none;
2074
+ }
2075
+
1833
2076
  .annotationEditorLayer .freeTextEditor{
1834
2077
  padding:calc(var(--freetext-padding) * var(--scale-factor));
1835
2078
  width:auto;
@@ -1897,7 +2140,7 @@
1897
2140
  height:auto;
1898
2141
  }
1899
2142
 
1900
- .annotationEditorLayer .stampEditor canvas{
2143
+ :is(.annotationEditorLayer .stampEditor) canvas{
1901
2144
  position:absolute;
1902
2145
  width:100%;
1903
2146
  height:100%;
@@ -1906,16 +2149,77 @@
1906
2149
  left:0;
1907
2150
  }
1908
2151
 
1909
- .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers{
2152
+ :is(.annotationEditorLayer .stampEditor) .noAltTextBadge{
2153
+ --no-alt-text-badge-border-color:#f0f0f4;
2154
+ --no-alt-text-badge-bg-color:#cfcfd8;
2155
+ --no-alt-text-badge-fg-color:#5b5b66;
2156
+ }
2157
+
2158
+ @media (prefers-color-scheme: dark){
2159
+
2160
+ :where(html:not(.is-light)) :is(.annotationEditorLayer .stampEditor) .noAltTextBadge{
2161
+ --no-alt-text-badge-border-color:#52525e;
2162
+ --no-alt-text-badge-bg-color:#fbfbfe;
2163
+ --no-alt-text-badge-fg-color:#15141a;
2164
+ }
2165
+ }
2166
+
2167
+ :where(html.is-dark) :is(.annotationEditorLayer .stampEditor) .noAltTextBadge{
2168
+ --no-alt-text-badge-border-color:#52525e;
2169
+ --no-alt-text-badge-bg-color:#fbfbfe;
2170
+ --no-alt-text-badge-fg-color:#15141a;
2171
+ }
2172
+
2173
+ @media screen and (forced-colors: active){
2174
+
2175
+ :is(.annotationEditorLayer .stampEditor) .noAltTextBadge{
2176
+ --no-alt-text-badge-border-color:ButtonText;
2177
+ --no-alt-text-badge-bg-color:ButtonFace;
2178
+ --no-alt-text-badge-fg-color:ButtonText;
2179
+ }
2180
+ }
2181
+
2182
+ :is(.annotationEditorLayer .stampEditor) .noAltTextBadge{
2183
+
2184
+ position:absolute;
2185
+ inset-inline-end:5px;
2186
+ inset-block-end:5px;
2187
+ display:inline-flex;
2188
+ width:32px;
2189
+ height:32px;
2190
+ padding:3px;
2191
+ justify-content:center;
2192
+ align-items:center;
2193
+ pointer-events:none;
2194
+ z-index:1;
2195
+
2196
+ border-radius:2px;
2197
+ border:1px solid var(--no-alt-text-badge-border-color);
2198
+ background:var(--no-alt-text-badge-bg-color);
2199
+ }
2200
+
2201
+ :is(:is(.annotationEditorLayer .stampEditor) .noAltTextBadge)::before{
2202
+ content:"";
2203
+ display:inline-block;
2204
+ width:16px;
2205
+ height:16px;
2206
+ -webkit-mask-image:var(--new-alt-text-warning-image);
2207
+ mask-image:var(--new-alt-text-warning-image);
2208
+ -webkit-mask-size:cover;
2209
+ mask-size:cover;
2210
+ background-color:var(--no-alt-text-badge-fg-color);
2211
+ }
2212
+
2213
+ :is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor)) > .resizers{
1910
2214
  position:absolute;
1911
2215
  inset:0;
1912
2216
  }
1913
2217
 
1914
- .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers.hidden{
2218
+ .hidden:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor)) > .resizers){
1915
2219
  display:none;
1916
2220
  }
1917
2221
 
1918
- .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer{
2222
+ :is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor)) > .resizers) > .resizer{
1919
2223
  width:var(--resizer-size);
1920
2224
  height:var(--resizer-size);
1921
2225
  background:content-box var(--resizer-bg-color);
@@ -1924,270 +2228,108 @@
1924
2228
  position:absolute;
1925
2229
  }
1926
2230
 
1927
- .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.topLeft{
2231
+ .topLeft:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor)) > .resizers) > .resizer){
1928
2232
  top:var(--resizer-shift);
1929
2233
  left:var(--resizer-shift);
1930
2234
  }
1931
2235
 
1932
- .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.topMiddle{
2236
+ .topMiddle:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor)) > .resizers) > .resizer){
1933
2237
  top:var(--resizer-shift);
1934
2238
  left:calc(50% + var(--resizer-shift));
1935
2239
  }
1936
2240
 
1937
- .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.topRight{
2241
+ .topRight:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor)) > .resizers) > .resizer){
1938
2242
  top:var(--resizer-shift);
1939
2243
  right:var(--resizer-shift);
1940
2244
  }
1941
2245
 
1942
- .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.middleRight{
2246
+ .middleRight:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor)) > .resizers) > .resizer){
1943
2247
  top:calc(50% + var(--resizer-shift));
1944
2248
  right:var(--resizer-shift);
1945
2249
  }
1946
2250
 
1947
- .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.bottomRight{
2251
+ .bottomRight:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor)) > .resizers) > .resizer){
1948
2252
  bottom:var(--resizer-shift);
1949
2253
  right:var(--resizer-shift);
1950
2254
  }
1951
2255
 
1952
- .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.bottomMiddle{
2256
+ .bottomMiddle:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor)) > .resizers) > .resizer){
1953
2257
  bottom:var(--resizer-shift);
1954
2258
  left:calc(50% + var(--resizer-shift));
1955
2259
  }
1956
2260
 
1957
- .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.bottomLeft{
2261
+ .bottomLeft:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor)) > .resizers) > .resizer){
1958
2262
  bottom:var(--resizer-shift);
1959
2263
  left:var(--resizer-shift);
1960
2264
  }
1961
2265
 
1962
- .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.middleLeft{
2266
+ .middleLeft:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor)) > .resizers) > .resizer){
1963
2267
  top:calc(50% + var(--resizer-shift));
1964
2268
  left:var(--resizer-shift);
1965
2269
  }
1966
2270
 
1967
- .annotationEditorLayer[data-main-rotation="0"]
1968
- :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topLeft,
1969
- .annotationEditorLayer[data-main-rotation="90"]
1970
- :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topLeft,
1971
- .annotationEditorLayer[data-main-rotation="180"]
1972
- :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topLeft,
1973
- .annotationEditorLayer[data-main-rotation="270"]
1974
- :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topLeft,
1975
- .annotationEditorLayer[data-main-rotation="0"]
1976
- :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomRight,
1977
- .annotationEditorLayer[data-main-rotation="90"]
1978
- :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomRight,
1979
- .annotationEditorLayer[data-main-rotation="180"]
1980
- :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomRight,
1981
- .annotationEditorLayer[data-main-rotation="270"]
1982
- :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomRight{
2271
+ .topLeft:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="180"],[data-editor-rotation="0"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="90"],[data-editor-rotation="270"])) > .resizers > .resizer),.bottomRight:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="180"],[data-editor-rotation="0"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="90"],[data-editor-rotation="270"])) > .resizers > .resizer){
1983
2272
  cursor:nwse-resize;
1984
2273
  }
1985
2274
 
1986
- .annotationEditorLayer[data-main-rotation="0"]
1987
- :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topMiddle,
1988
- .annotationEditorLayer[data-main-rotation="90"]
1989
- :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topMiddle,
1990
- .annotationEditorLayer[data-main-rotation="180"]
1991
- :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topMiddle,
1992
- .annotationEditorLayer[data-main-rotation="270"]
1993
- :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topMiddle,
1994
- .annotationEditorLayer[data-main-rotation="0"]
1995
- :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomMiddle,
1996
- .annotationEditorLayer[data-main-rotation="90"]
1997
- :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomMiddle,
1998
- .annotationEditorLayer[data-main-rotation="180"]
1999
- :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomMiddle,
2000
- .annotationEditorLayer[data-main-rotation="270"]
2001
- :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomMiddle{
2275
+ .topMiddle:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="180"],[data-editor-rotation="0"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="90"],[data-editor-rotation="270"])) > .resizers > .resizer),.bottomMiddle:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="180"],[data-editor-rotation="0"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="90"],[data-editor-rotation="270"])) > .resizers > .resizer){
2002
2276
  cursor:ns-resize;
2003
2277
  }
2004
2278
 
2005
- .annotationEditorLayer[data-main-rotation="0"]
2006
- :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topRight,
2007
- .annotationEditorLayer[data-main-rotation="90"]
2008
- :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topRight,
2009
- .annotationEditorLayer[data-main-rotation="180"]
2010
- :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topRight,
2011
- .annotationEditorLayer[data-main-rotation="270"]
2012
- :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topRight,
2013
- .annotationEditorLayer[data-main-rotation="0"]
2014
- :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomLeft,
2015
- .annotationEditorLayer[data-main-rotation="90"]
2016
- :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomLeft,
2017
- .annotationEditorLayer[data-main-rotation="180"]
2018
- :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomLeft,
2019
- .annotationEditorLayer[data-main-rotation="270"]
2020
- :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomLeft{
2279
+ .topRight:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="180"],[data-editor-rotation="0"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="90"],[data-editor-rotation="270"])) > .resizers > .resizer),.bottomLeft:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="180"],[data-editor-rotation="0"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="90"],[data-editor-rotation="270"])) > .resizers > .resizer){
2021
2280
  cursor:nesw-resize;
2022
2281
  }
2023
2282
 
2024
- .annotationEditorLayer[data-main-rotation="0"]
2025
- :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.middleRight,
2026
- .annotationEditorLayer[data-main-rotation="90"]
2027
- :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.middleRight,
2028
- .annotationEditorLayer[data-main-rotation="180"]
2029
- :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.middleRight,
2030
- .annotationEditorLayer[data-main-rotation="270"]
2031
- :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.middleRight,
2032
- .annotationEditorLayer[data-main-rotation="0"]
2033
- :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.middleLeft,
2034
- .annotationEditorLayer[data-main-rotation="90"]
2035
- :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.middleLeft,
2036
- .annotationEditorLayer[data-main-rotation="180"]
2037
- :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.middleLeft,
2038
- .annotationEditorLayer[data-main-rotation="270"]
2039
- :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.middleLeft{
2283
+ .middleRight:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="180"],[data-editor-rotation="0"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="90"],[data-editor-rotation="270"])) > .resizers > .resizer),.middleLeft:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="180"],[data-editor-rotation="0"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="90"],[data-editor-rotation="270"])) > .resizers > .resizer){
2040
2284
  cursor:ew-resize;
2041
2285
  }
2042
2286
 
2043
- .annotationEditorLayer[data-main-rotation="0"]
2044
- :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topLeft,
2045
- .annotationEditorLayer[data-main-rotation="90"]
2046
- :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topLeft,
2047
- .annotationEditorLayer[data-main-rotation="180"]
2048
- :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topLeft,
2049
- .annotationEditorLayer[data-main-rotation="270"]
2050
- :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topLeft,
2051
- .annotationEditorLayer[data-main-rotation="0"]
2052
- :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomRight,
2053
- .annotationEditorLayer[data-main-rotation="90"]
2054
- :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomRight,
2055
- .annotationEditorLayer[data-main-rotation="180"]
2056
- :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomRight,
2057
- .annotationEditorLayer[data-main-rotation="270"]
2058
- :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomRight{
2287
+ .topLeft:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="90"],[data-editor-rotation="270"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="180"],[data-editor-rotation="0"])) > .resizers > .resizer),.bottomRight:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="90"],[data-editor-rotation="270"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="180"],[data-editor-rotation="0"])) > .resizers > .resizer){
2059
2288
  cursor:nesw-resize;
2060
2289
  }
2061
2290
 
2062
- .annotationEditorLayer[data-main-rotation="0"]
2063
- :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topMiddle,
2064
- .annotationEditorLayer[data-main-rotation="90"]
2065
- :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topMiddle,
2066
- .annotationEditorLayer[data-main-rotation="180"]
2067
- :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topMiddle,
2068
- .annotationEditorLayer[data-main-rotation="270"]
2069
- :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topMiddle,
2070
- .annotationEditorLayer[data-main-rotation="0"]
2071
- :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomMiddle,
2072
- .annotationEditorLayer[data-main-rotation="90"]
2073
- :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomMiddle,
2074
- .annotationEditorLayer[data-main-rotation="180"]
2075
- :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomMiddle,
2076
- .annotationEditorLayer[data-main-rotation="270"]
2077
- :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomMiddle{
2291
+ .topMiddle:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="90"],[data-editor-rotation="270"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="180"],[data-editor-rotation="0"])) > .resizers > .resizer),.bottomMiddle:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="90"],[data-editor-rotation="270"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="180"],[data-editor-rotation="0"])) > .resizers > .resizer){
2078
2292
  cursor:ew-resize;
2079
2293
  }
2080
2294
 
2081
- .annotationEditorLayer[data-main-rotation="0"]
2082
- :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topRight,
2083
- .annotationEditorLayer[data-main-rotation="90"]
2084
- :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topRight,
2085
- .annotationEditorLayer[data-main-rotation="180"]
2086
- :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topRight,
2087
- .annotationEditorLayer[data-main-rotation="270"]
2088
- :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topRight,
2089
- .annotationEditorLayer[data-main-rotation="0"]
2090
- :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomLeft,
2091
- .annotationEditorLayer[data-main-rotation="90"]
2092
- :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomLeft,
2093
- .annotationEditorLayer[data-main-rotation="180"]
2094
- :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomLeft,
2095
- .annotationEditorLayer[data-main-rotation="270"]
2096
- :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomLeft{
2295
+ .topRight:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="90"],[data-editor-rotation="270"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="180"],[data-editor-rotation="0"])) > .resizers > .resizer),.bottomLeft:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="90"],[data-editor-rotation="270"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="180"],[data-editor-rotation="0"])) > .resizers > .resizer){
2097
2296
  cursor:nwse-resize;
2098
2297
  }
2099
2298
 
2100
- .annotationEditorLayer[data-main-rotation="0"]
2101
- :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.middleRight,
2102
- .annotationEditorLayer[data-main-rotation="90"]
2103
- :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.middleRight,
2104
- .annotationEditorLayer[data-main-rotation="180"]
2105
- :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.middleRight,
2106
- .annotationEditorLayer[data-main-rotation="270"]
2107
- :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.middleRight,
2108
- .annotationEditorLayer[data-main-rotation="0"]
2109
- :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.middleLeft,
2110
- .annotationEditorLayer[data-main-rotation="90"]
2111
- :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.middleLeft,
2112
- .annotationEditorLayer[data-main-rotation="180"]
2113
- :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.middleLeft,
2114
- .annotationEditorLayer[data-main-rotation="270"]
2115
- :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.middleLeft{
2299
+ .middleRight:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="90"],[data-editor-rotation="270"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="180"],[data-editor-rotation="0"])) > .resizers > .resizer),.middleLeft:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="90"],[data-editor-rotation="270"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="180"],[data-editor-rotation="0"])) > .resizers > .resizer){
2116
2300
  cursor:ns-resize;
2117
2301
  }
2118
2302
 
2119
- .annotationEditorLayer
2120
- :is(
2121
- [data-main-rotation="0"] [data-editor-rotation="90"],
2122
- [data-main-rotation="90"] [data-editor-rotation="0"],
2123
- [data-main-rotation="180"] [data-editor-rotation="270"],
2124
- [data-main-rotation="270"] [data-editor-rotation="180"]
2125
- ) .editToolbar{
2303
+ :is(.annotationEditorLayer :is([data-main-rotation="0"] [data-editor-rotation="90"],[data-main-rotation="90"] [data-editor-rotation="0"],[data-main-rotation="180"] [data-editor-rotation="270"],[data-main-rotation="270"] [data-editor-rotation="180"])) .editToolbar{
2126
2304
  rotate:270deg;
2127
2305
  }
2128
2306
 
2129
- [dir="ltr"] .annotationEditorLayer
2130
- :is(
2131
- [data-main-rotation="0"] [data-editor-rotation="90"],
2132
- [data-main-rotation="90"] [data-editor-rotation="0"],
2133
- [data-main-rotation="180"] [data-editor-rotation="270"],
2134
- [data-main-rotation="270"] [data-editor-rotation="180"]
2135
- ) .editToolbar{
2307
+ [dir="ltr"] :is(:is(.annotationEditorLayer :is([data-main-rotation="0"] [data-editor-rotation="90"],[data-main-rotation="90"] [data-editor-rotation="0"],[data-main-rotation="180"] [data-editor-rotation="270"],[data-main-rotation="270"] [data-editor-rotation="180"])) .editToolbar){
2136
2308
  inset-inline-end:calc(0px - var(--editor-toolbar-vert-offset));
2137
2309
  inset-block-start:0;
2138
2310
  }
2139
2311
 
2140
- [dir="rtl"] .annotationEditorLayer
2141
- :is(
2142
- [data-main-rotation="0"] [data-editor-rotation="90"],
2143
- [data-main-rotation="90"] [data-editor-rotation="0"],
2144
- [data-main-rotation="180"] [data-editor-rotation="270"],
2145
- [data-main-rotation="270"] [data-editor-rotation="180"]
2146
- ) .editToolbar{
2312
+ [dir="rtl"] :is(:is(.annotationEditorLayer :is([data-main-rotation="0"] [data-editor-rotation="90"],[data-main-rotation="90"] [data-editor-rotation="0"],[data-main-rotation="180"] [data-editor-rotation="270"],[data-main-rotation="270"] [data-editor-rotation="180"])) .editToolbar){
2147
2313
  inset-inline-end:calc(100% + var(--editor-toolbar-vert-offset));
2148
2314
  inset-block-start:0;
2149
2315
  }
2150
2316
 
2151
- .annotationEditorLayer
2152
- :is(
2153
- [data-main-rotation="0"] [data-editor-rotation="180"],
2154
- [data-main-rotation="90"] [data-editor-rotation="90"],
2155
- [data-main-rotation="180"] [data-editor-rotation="0"],
2156
- [data-main-rotation="270"] [data-editor-rotation="270"]
2157
- ) .editToolbar{
2317
+ :is(.annotationEditorLayer :is([data-main-rotation="0"] [data-editor-rotation="180"],[data-main-rotation="90"] [data-editor-rotation="90"],[data-main-rotation="180"] [data-editor-rotation="0"],[data-main-rotation="270"] [data-editor-rotation="270"])) .editToolbar{
2158
2318
  rotate:180deg;
2159
2319
  inset-inline-end:100%;
2160
2320
  inset-block-start:calc(0pc - var(--editor-toolbar-vert-offset));
2161
2321
  }
2162
2322
 
2163
- .annotationEditorLayer
2164
- :is(
2165
- [data-main-rotation="0"] [data-editor-rotation="270"],
2166
- [data-main-rotation="90"] [data-editor-rotation="180"],
2167
- [data-main-rotation="180"] [data-editor-rotation="90"],
2168
- [data-main-rotation="270"] [data-editor-rotation="0"]
2169
- ) .editToolbar{
2323
+ :is(.annotationEditorLayer :is([data-main-rotation="0"] [data-editor-rotation="270"],[data-main-rotation="90"] [data-editor-rotation="180"],[data-main-rotation="180"] [data-editor-rotation="90"],[data-main-rotation="270"] [data-editor-rotation="0"])) .editToolbar{
2170
2324
  rotate:90deg;
2171
2325
  }
2172
2326
 
2173
- [dir="ltr"] .annotationEditorLayer
2174
- :is(
2175
- [data-main-rotation="0"] [data-editor-rotation="270"],
2176
- [data-main-rotation="90"] [data-editor-rotation="180"],
2177
- [data-main-rotation="180"] [data-editor-rotation="90"],
2178
- [data-main-rotation="270"] [data-editor-rotation="0"]
2179
- ) .editToolbar{
2327
+ [dir="ltr"] :is(:is(.annotationEditorLayer :is([data-main-rotation="0"] [data-editor-rotation="270"],[data-main-rotation="90"] [data-editor-rotation="180"],[data-main-rotation="180"] [data-editor-rotation="90"],[data-main-rotation="270"] [data-editor-rotation="0"])) .editToolbar){
2180
2328
  inset-inline-end:calc(100% + var(--editor-toolbar-vert-offset));
2181
2329
  inset-block-start:100%;
2182
2330
  }
2183
2331
 
2184
- [dir="rtl"] .annotationEditorLayer
2185
- :is(
2186
- [data-main-rotation="0"] [data-editor-rotation="270"],
2187
- [data-main-rotation="90"] [data-editor-rotation="180"],
2188
- [data-main-rotation="180"] [data-editor-rotation="90"],
2189
- [data-main-rotation="270"] [data-editor-rotation="0"]
2190
- ) .editToolbar{
2332
+ [dir="rtl"] :is(:is(.annotationEditorLayer :is([data-main-rotation="0"] [data-editor-rotation="270"],[data-main-rotation="90"] [data-editor-rotation="180"],[data-main-rotation="180"] [data-editor-rotation="90"],[data-main-rotation="270"] [data-editor-rotation="0"])) .editToolbar){
2191
2333
  inset-inline-start:calc(0px - var(--editor-toolbar-vert-offset));
2192
2334
  inset-block-start:0;
2193
2335
  }
@@ -2211,7 +2353,7 @@
2211
2353
  gap:16px;
2212
2354
  }
2213
2355
 
2214
- .dialog.altText #altTextContainer #overallDescription{
2356
+ :is(.dialog.altText #altTextContainer) #overallDescription{
2215
2357
  display:flex;
2216
2358
  flex-direction:column;
2217
2359
  align-items:flex-start;
@@ -2219,34 +2361,34 @@
2219
2361
  align-self:stretch;
2220
2362
  }
2221
2363
 
2222
- .dialog.altText #altTextContainer #overallDescription span{
2364
+ :is(:is(.dialog.altText #altTextContainer) #overallDescription) span{
2223
2365
  align-self:stretch;
2224
2366
  }
2225
2367
 
2226
- .dialog.altText #altTextContainer #overallDescription .title{
2368
+ :is(:is(.dialog.altText #altTextContainer) #overallDescription) .title{
2227
2369
  font-size:13px;
2228
2370
  font-style:normal;
2229
2371
  font-weight:590;
2230
2372
  }
2231
2373
 
2232
- .dialog.altText #altTextContainer #addDescription{
2374
+ :is(.dialog.altText #altTextContainer) #addDescription{
2233
2375
  display:flex;
2234
2376
  flex-direction:column;
2235
2377
  align-items:stretch;
2236
2378
  gap:8px;
2237
2379
  }
2238
2380
 
2239
- .dialog.altText #altTextContainer #addDescription .descriptionArea{
2381
+ :is(:is(.dialog.altText #altTextContainer) #addDescription) .descriptionArea{
2240
2382
  flex:1;
2241
2383
  padding-inline:24px 10px;
2242
2384
  }
2243
2385
 
2244
- .dialog.altText #altTextContainer #addDescription .descriptionArea textarea{
2386
+ :is(:is(:is(.dialog.altText #altTextContainer) #addDescription) .descriptionArea) textarea{
2245
2387
  width:100%;
2246
2388
  min-height:75px;
2247
2389
  }
2248
2390
 
2249
- .dialog.altText #altTextContainer #buttons{
2391
+ :is(.dialog.altText #altTextContainer) #buttons{
2250
2392
  display:flex;
2251
2393
  justify-content:flex-end;
2252
2394
  align-items:flex-start;
@@ -2254,6 +2396,210 @@
2254
2396
  align-self:stretch;
2255
2397
  }
2256
2398
 
2399
+ .dialog.newAltText{
2400
+ --new-alt-text-ai-disclaimer-icon:url(images/altText_disclaimer.svg);
2401
+ --new-alt-text-spinner-icon:url(images/altText_spinner.svg);
2402
+ --preview-image-bg-color:#f0f0f4;
2403
+ --preview-image-border:none;
2404
+ }
2405
+
2406
+ @media (prefers-color-scheme: dark){
2407
+
2408
+ :where(html:not(.is-light)) .dialog.newAltText{
2409
+ --preview-image-bg-color:#2b2a33;
2410
+ }
2411
+ }
2412
+
2413
+ :where(html.is-dark) .dialog.newAltText{
2414
+ --preview-image-bg-color:#2b2a33;
2415
+ }
2416
+
2417
+ @media screen and (forced-colors: active){
2418
+
2419
+ .dialog.newAltText{
2420
+ --preview-image-bg-color:ButtonFace;
2421
+ --preview-image-border:1px solid ButtonText;
2422
+ }
2423
+ }
2424
+
2425
+ .dialog.newAltText{
2426
+
2427
+ width:80%;
2428
+ max-width:570px;
2429
+ min-width:300px;
2430
+ padding:0;
2431
+ }
2432
+
2433
+ .dialog.newAltText.noAi #newAltTextDisclaimer,.dialog.newAltText.noAi #newAltTextCreateAutomatically{
2434
+ display:none !important;
2435
+ }
2436
+
2437
+ .dialog.newAltText.aiInstalling #newAltTextCreateAutomatically{
2438
+ display:none !important;
2439
+ }
2440
+
2441
+ .dialog.newAltText.aiInstalling #newAltTextDownloadModel{
2442
+ display:flex !important;
2443
+ }
2444
+
2445
+ .dialog.newAltText.error #newAltTextNotNow{
2446
+ display:none !important;
2447
+ }
2448
+
2449
+ .dialog.newAltText.error #newAltTextCancel{
2450
+ display:inline-block !important;
2451
+ }
2452
+
2453
+ .dialog.newAltText:not(.error) #newAltTextError{
2454
+ display:none !important;
2455
+ }
2456
+
2457
+ .dialog.newAltText #newAltTextContainer{
2458
+ display:flex;
2459
+ width:auto;
2460
+ padding:16px;
2461
+ flex-direction:column;
2462
+ justify-content:flex-end;
2463
+ align-items:flex-start;
2464
+ gap:12px;
2465
+ flex:0 1 auto;
2466
+ line-height:normal;
2467
+ }
2468
+
2469
+ :is(.dialog.newAltText #newAltTextContainer) #mainContent{
2470
+ display:flex;
2471
+ justify-content:flex-end;
2472
+ align-items:flex-start;
2473
+ gap:12px;
2474
+ align-self:stretch;
2475
+ flex:1 1 auto;
2476
+ }
2477
+
2478
+ :is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionAndSettings{
2479
+ display:flex;
2480
+ flex-direction:column;
2481
+ align-items:flex-start;
2482
+ gap:16px;
2483
+ flex:1 0 0;
2484
+ align-self:stretch;
2485
+ }
2486
+
2487
+ :is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction{
2488
+ display:flex;
2489
+ flex-direction:column;
2490
+ align-items:flex-start;
2491
+ gap:8px;
2492
+ align-self:stretch;
2493
+ flex:1 1 auto;
2494
+ }
2495
+
2496
+ :is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDescriptionContainer{
2497
+ width:100%;
2498
+ height:70px;
2499
+ position:relative;
2500
+ }
2501
+
2502
+ :is(:is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDescriptionContainer) textarea{
2503
+ width:100%;
2504
+ height:100%;
2505
+ padding:8px;
2506
+ }
2507
+
2508
+ :is(:is(:is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDescriptionContainer) textarea)::-moz-placeholder{
2509
+ color:var(--text-secondary-color);
2510
+ }
2511
+
2512
+ :is(:is(:is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDescriptionContainer) textarea)::placeholder{
2513
+ color:var(--text-secondary-color);
2514
+ }
2515
+
2516
+ :is(:is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDescriptionContainer) .altTextSpinner{
2517
+ display:none;
2518
+ position:absolute;
2519
+ width:16px;
2520
+ height:16px;
2521
+ inset-inline-start:8px;
2522
+ inset-block-start:8px;
2523
+ -webkit-mask-size:cover;
2524
+ mask-size:cover;
2525
+ background-color:var(--text-secondary-color);
2526
+ pointer-events:none;
2527
+ }
2528
+
2529
+ .loading:is(:is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDescriptionContainer) textarea::-moz-placeholder{
2530
+ color:transparent;
2531
+ }
2532
+
2533
+ .loading:is(:is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDescriptionContainer) textarea::placeholder{
2534
+ color:transparent;
2535
+ }
2536
+
2537
+ .loading:is(:is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDescriptionContainer) .altTextSpinner{
2538
+ display:inline-block;
2539
+ -webkit-mask-image:var(--new-alt-text-spinner-icon);
2540
+ mask-image:var(--new-alt-text-spinner-icon);
2541
+ }
2542
+
2543
+ :is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDescription{
2544
+ font-size:11px;
2545
+ }
2546
+
2547
+ :is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDisclaimer{
2548
+ display:flex;
2549
+ flex-direction:row;
2550
+ align-items:flex-start;
2551
+ gap:4px;
2552
+ font-size:11px;
2553
+ }
2554
+
2555
+ :is(:is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDisclaimer)::before{
2556
+ content:"";
2557
+ display:inline-block;
2558
+ width:17px;
2559
+ height:16px;
2560
+ -webkit-mask-image:var(--new-alt-text-ai-disclaimer-icon);
2561
+ mask-image:var(--new-alt-text-ai-disclaimer-icon);
2562
+ -webkit-mask-size:cover;
2563
+ mask-size:cover;
2564
+ background-color:var(--text-secondary-color);
2565
+ flex:1 0 auto;
2566
+ }
2567
+
2568
+ :is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #newAltTextDownloadModel{
2569
+ display:flex;
2570
+ align-items:center;
2571
+ gap:4px;
2572
+ align-self:stretch;
2573
+ }
2574
+
2575
+ :is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #newAltTextDownloadModel)::before{
2576
+ content:"";
2577
+ display:inline-block;
2578
+ width:16px;
2579
+ height:16px;
2580
+ -webkit-mask-image:var(--new-alt-text-spinner-icon);
2581
+ mask-image:var(--new-alt-text-spinner-icon);
2582
+ -webkit-mask-size:cover;
2583
+ mask-size:cover;
2584
+ background-color:var(--text-secondary-color);
2585
+ }
2586
+
2587
+ :is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #newAltTextImagePreview{
2588
+ width:180px;
2589
+ aspect-ratio:1;
2590
+ display:flex;
2591
+ justify-content:center;
2592
+ align-items:center;
2593
+ flex:0 0 auto;
2594
+ background-color:var(--preview-image-bg-color);
2595
+ border:var(--preview-image-border);
2596
+ }
2597
+
2598
+ :is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #newAltTextImagePreview) > canvas{
2599
+ max-width:100%;
2600
+ max-height:100%;
2601
+ }
2602
+
2257
2603
  .colorPicker{
2258
2604
  --hover-outline-color:#0250bb;
2259
2605
  --selected-outline-color:#0060df;
@@ -2294,7 +2640,7 @@
2294
2640
  forced-color-adjust:none;
2295
2641
  }
2296
2642
 
2297
- .colorPicker button:is(:hover, .selected) > .swatch{
2643
+ .colorPicker button:is(:hover,.selected) > .swatch{
2298
2644
  border:none;
2299
2645
  }
2300
2646
 
@@ -2327,11 +2673,11 @@
2327
2673
  transform-origin:0 0;
2328
2674
  }
2329
2675
 
2330
- .annotationEditorLayer .highlightEditor:not(.free){
2676
+ :is(.annotationEditorLayer .highlightEditor):not(.free){
2331
2677
  transform:none;
2332
2678
  }
2333
2679
 
2334
- .annotationEditorLayer .highlightEditor .internal{
2680
+ :is(.annotationEditorLayer .highlightEditor) .internal{
2335
2681
  position:absolute;
2336
2682
  top:0;
2337
2683
  left:0;
@@ -2340,21 +2686,21 @@
2340
2686
  pointer-events:auto;
2341
2687
  }
2342
2688
 
2343
- .annotationEditorLayer .highlightEditor.disabled .internal{
2689
+ .disabled:is(.annotationEditorLayer .highlightEditor) .internal{
2344
2690
  pointer-events:none;
2345
2691
  }
2346
2692
 
2347
- .annotationEditorLayer .highlightEditor.selectedEditor .internal{
2693
+ .selectedEditor:is(.annotationEditorLayer .highlightEditor) .internal{
2348
2694
  cursor:pointer;
2349
2695
  }
2350
2696
 
2351
- .annotationEditorLayer .highlightEditor .editToolbar{
2697
+ :is(.annotationEditorLayer .highlightEditor) .editToolbar{
2352
2698
  --editor-toolbar-colorpicker-arrow-image:url(images/toolbarButton-menuArrow.svg);
2353
2699
 
2354
2700
  transform-origin:center !important;
2355
2701
  }
2356
2702
 
2357
- .annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker{
2703
+ :is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker{
2358
2704
  position:relative;
2359
2705
  width:auto;
2360
2706
  display:flex;
@@ -2364,7 +2710,7 @@
2364
2710
  padding:4px;
2365
2711
  }
2366
2712
 
2367
- .annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker::after{
2713
+ :is(:is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker)::after{
2368
2714
  content:"";
2369
2715
  -webkit-mask-image:var(--editor-toolbar-colorpicker-arrow-image);
2370
2716
  mask-image:var(--editor-toolbar-colorpicker-arrow-image);
@@ -2378,19 +2724,19 @@
2378
2724
  height:12px;
2379
2725
  }
2380
2726
 
2381
- .annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker:hover::after{
2727
+ :is(:is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker):hover::after{
2382
2728
  background-color:var(--editor-toolbar-hover-fg-color);
2383
2729
  }
2384
2730
 
2385
- .annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker:has(.dropdown:not(.hidden)){
2731
+ :is(:is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker):has(.dropdown:not(.hidden)){
2386
2732
  background-color:var(--editor-toolbar-hover-bg-color);
2387
2733
  }
2388
2734
 
2389
- .annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker:has(.dropdown:not(.hidden))::after{
2735
+ :is(:is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker):has(.dropdown:not(.hidden))::after{
2390
2736
  scale:-1;
2391
2737
  }
2392
2738
 
2393
- .annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown{
2739
+ :is(:is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker) .dropdown{
2394
2740
  position:absolute;
2395
2741
  display:flex;
2396
2742
  justify-content:center;
@@ -2406,7 +2752,7 @@
2406
2752
  width:calc(100% + 2 * var(--editor-toolbar-padding));
2407
2753
  }
2408
2754
 
2409
- .annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown button{
2755
+ :is(:is(:is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker) .dropdown) button{
2410
2756
  width:100%;
2411
2757
  height:auto;
2412
2758
  border:none;
@@ -2417,19 +2763,19 @@
2417
2763
  background:none;
2418
2764
  }
2419
2765
 
2420
- .annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown button:is(:active, :focus-visible){
2766
+ :is(:is(:is(:is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker) .dropdown) button):is(:active,:focus-visible){
2421
2767
  outline:none;
2422
2768
  }
2423
2769
 
2424
- .annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown button > .swatch{
2770
+ :is(:is(:is(:is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker) .dropdown) button) > .swatch{
2425
2771
  outline-offset:2px;
2426
2772
  }
2427
2773
 
2428
- .annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown button[aria-selected="true"] > .swatch{
2774
+ [aria-selected="true"]:is(:is(:is(:is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker) .dropdown) button) > .swatch{
2429
2775
  outline:2px solid var(--selected-outline-color);
2430
2776
  }
2431
2777
 
2432
- .annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown button:is(:hover, :active, :focus-visible) > .swatch{
2778
+ :is(:is(:is(:is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker) .dropdown) button):is(:hover,:active,:focus-visible) > .swatch{
2433
2779
  outline:2px solid var(--hover-outline-color);
2434
2780
  }
2435
2781
 
@@ -2459,7 +2805,7 @@
2459
2805
  gap:8px;
2460
2806
  }
2461
2807
 
2462
- #highlightParamsToolbarContainer .colorPicker .dropdown{
2808
+ :is(#highlightParamsToolbarContainer .colorPicker) .dropdown{
2463
2809
  display:flex;
2464
2810
  justify-content:space-between;
2465
2811
  align-items:center;
@@ -2467,7 +2813,7 @@
2467
2813
  height:auto;
2468
2814
  }
2469
2815
 
2470
- #highlightParamsToolbarContainer .colorPicker .dropdown button{
2816
+ :is(:is(#highlightParamsToolbarContainer .colorPicker) .dropdown) button{
2471
2817
  width:auto;
2472
2818
  height:auto;
2473
2819
  border:none;
@@ -2479,20 +2825,20 @@
2479
2825
  flex:0 0 auto;
2480
2826
  }
2481
2827
 
2482
- #highlightParamsToolbarContainer .colorPicker .dropdown button .swatch{
2828
+ :is(:is(:is(#highlightParamsToolbarContainer .colorPicker) .dropdown) button) .swatch{
2483
2829
  width:24px;
2484
2830
  height:24px;
2485
2831
  }
2486
2832
 
2487
- #highlightParamsToolbarContainer .colorPicker .dropdown button:is(:active, :focus-visible){
2833
+ :is(:is(:is(#highlightParamsToolbarContainer .colorPicker) .dropdown) button):is(:active,:focus-visible){
2488
2834
  outline:none;
2489
2835
  }
2490
2836
 
2491
- #highlightParamsToolbarContainer .colorPicker .dropdown button[aria-selected="true"] > .swatch{
2837
+ [aria-selected="true"]:is(:is(:is(#highlightParamsToolbarContainer .colorPicker) .dropdown) button) > .swatch{
2492
2838
  outline:2px solid var(--selected-outline-color);
2493
2839
  }
2494
2840
 
2495
- #highlightParamsToolbarContainer .colorPicker .dropdown button:is(:hover, :active, :focus-visible) > .swatch{
2841
+ :is(:is(:is(#highlightParamsToolbarContainer .colorPicker) .dropdown) button):is(:hover,:active,:focus-visible) > .swatch{
2496
2842
  outline:2px solid var(--hover-outline-color);
2497
2843
  }
2498
2844
 
@@ -2504,13 +2850,13 @@
2504
2850
  align-self:stretch;
2505
2851
  }
2506
2852
 
2507
- #highlightParamsToolbarContainer #editorHighlightThickness .editorParamsLabel{
2853
+ :is(#highlightParamsToolbarContainer #editorHighlightThickness) .editorParamsLabel{
2508
2854
  width:100%;
2509
2855
  height:auto;
2510
2856
  align-self:stretch;
2511
2857
  }
2512
2858
 
2513
- #highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker{
2859
+ :is(#highlightParamsToolbarContainer #editorHighlightThickness) .thicknessPicker{
2514
2860
  display:flex;
2515
2861
  justify-content:space-between;
2516
2862
  align-items:center;
@@ -2521,28 +2867,27 @@
2521
2867
 
2522
2868
  @media (prefers-color-scheme: dark){
2523
2869
 
2524
- :where(html:not(.is-light)) #highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker{
2870
+ :where(html:not(.is-light)) :is(#highlightParamsToolbarContainer #editorHighlightThickness) .thicknessPicker{
2525
2871
  --example-color:#80808e;
2526
2872
  }
2527
2873
  }
2528
2874
 
2529
- :where(html.is-dark) #highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker{
2875
+ :where(html.is-dark) :is(#highlightParamsToolbarContainer #editorHighlightThickness) .thicknessPicker{
2530
2876
  --example-color:#80808e;
2531
2877
  }
2532
2878
 
2533
2879
  @media screen and (forced-colors: active){
2534
2880
 
2535
- #highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker{
2881
+ :is(#highlightParamsToolbarContainer #editorHighlightThickness) .thicknessPicker{
2536
2882
  --example-color:CanvasText;
2537
2883
  }
2538
2884
  }
2539
2885
 
2540
- :is(#highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker > .editorParamsSlider[disabled]){
2886
+ :is(:is(:is(#highlightParamsToolbarContainer #editorHighlightThickness) .thicknessPicker) > .editorParamsSlider[disabled]){
2541
2887
  opacity:0.4;
2542
2888
  }
2543
2889
 
2544
- #highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker::before,
2545
- #highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker::after{
2890
+ :is(:is(#highlightParamsToolbarContainer #editorHighlightThickness) .thicknessPicker)::before,:is(:is(#highlightParamsToolbarContainer #editorHighlightThickness) .thicknessPicker)::after{
2546
2891
  content:"";
2547
2892
  width:8px;
2548
2893
  aspect-ratio:1;
@@ -2551,11 +2896,11 @@
2551
2896
  background-color:var(--example-color);
2552
2897
  }
2553
2898
 
2554
- #highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker::after{
2899
+ :is(:is(#highlightParamsToolbarContainer #editorHighlightThickness) .thicknessPicker)::after{
2555
2900
  width:24px;
2556
2901
  }
2557
2902
 
2558
- #highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker .editorParamsSlider{
2903
+ :is(:is(#highlightParamsToolbarContainer #editorHighlightThickness) .thicknessPicker) .editorParamsSlider{
2559
2904
  width:unset;
2560
2905
  height:14px;
2561
2906
  }
@@ -2568,40 +2913,97 @@
2568
2913
  align-self:stretch;
2569
2914
  }
2570
2915
 
2571
- #highlightParamsToolbarContainer #editorHighlightVisibility .divider{
2916
+ :is(#highlightParamsToolbarContainer #editorHighlightVisibility) .divider{
2572
2917
  --divider-color:#d7d7db;
2573
-
2574
- margin-block:4px;
2575
- width:100%;
2576
- height:1px;
2577
- background-color:var(--divider-color);
2578
2918
  }
2579
2919
 
2580
2920
  @media (prefers-color-scheme: dark){
2581
2921
 
2582
- :where(html:not(.is-light)) #highlightParamsToolbarContainer #editorHighlightVisibility .divider{
2922
+ :where(html:not(.is-light)) :is(#highlightParamsToolbarContainer #editorHighlightVisibility) .divider{
2583
2923
  --divider-color:#8f8f9d;
2584
2924
  }
2585
2925
  }
2586
2926
 
2587
- :where(html.is-dark) #highlightParamsToolbarContainer #editorHighlightVisibility .divider{
2927
+ :where(html.is-dark) :is(#highlightParamsToolbarContainer #editorHighlightVisibility) .divider{
2588
2928
  --divider-color:#8f8f9d;
2589
2929
  }
2590
2930
 
2591
2931
  @media screen and (forced-colors: active){
2592
2932
 
2593
- #highlightParamsToolbarContainer #editorHighlightVisibility .divider{
2933
+ :is(#highlightParamsToolbarContainer #editorHighlightVisibility) .divider{
2594
2934
  --divider-color:CanvasText;
2595
2935
  }
2596
2936
  }
2597
2937
 
2598
- #highlightParamsToolbarContainer #editorHighlightVisibility .toggler{
2938
+ :is(#highlightParamsToolbarContainer #editorHighlightVisibility) .divider{
2939
+
2940
+ margin-block:4px;
2941
+ width:100%;
2942
+ height:1px;
2943
+ background-color:var(--divider-color);
2944
+ }
2945
+
2946
+ :is(#highlightParamsToolbarContainer #editorHighlightVisibility) .toggler{
2599
2947
  display:flex;
2600
2948
  justify-content:space-between;
2601
2949
  align-items:center;
2602
2950
  align-self:stretch;
2603
2951
  }
2604
2952
 
2953
+ #altTextSettingsDialog{
2954
+ padding:16px;
2955
+ }
2956
+
2957
+ #altTextSettingsDialog #altTextSettingsContainer{
2958
+ display:flex;
2959
+ width:573px;
2960
+ flex-direction:column;
2961
+ gap:16px;
2962
+ }
2963
+
2964
+ :is(#altTextSettingsDialog #altTextSettingsContainer) .mainContainer{
2965
+ gap:16px;
2966
+ }
2967
+
2968
+ :is(#altTextSettingsDialog #altTextSettingsContainer) .description{
2969
+ color:var(--text-secondary-color);
2970
+ }
2971
+
2972
+ :is(#altTextSettingsDialog #altTextSettingsContainer) #aiModelSettings{
2973
+ display:flex;
2974
+ flex-direction:column;
2975
+ gap:12px;
2976
+ }
2977
+
2978
+ :is(:is(#altTextSettingsDialog #altTextSettingsContainer) #aiModelSettings) button{
2979
+ width:-moz-fit-content;
2980
+ width:fit-content;
2981
+ }
2982
+
2983
+ .download:is(:is(#altTextSettingsDialog #altTextSettingsContainer) #aiModelSettings) #deleteModelButton{
2984
+ display:none;
2985
+ }
2986
+
2987
+ :is(:is(#altTextSettingsDialog #altTextSettingsContainer) #aiModelSettings):not(.download) #downloadModelButton{
2988
+ display:none;
2989
+ }
2990
+
2991
+ :is(#altTextSettingsDialog #altTextSettingsContainer) #automaticAltText,:is(#altTextSettingsDialog #altTextSettingsContainer) #altTextEditor{
2992
+ display:flex;
2993
+ flex-direction:column;
2994
+ gap:8px;
2995
+ }
2996
+
2997
+ :is(#altTextSettingsDialog #altTextSettingsContainer) #createModelDescription,:is(#altTextSettingsDialog #altTextSettingsContainer) #aiModelSettings,:is(#altTextSettingsDialog #altTextSettingsContainer) #showAltTextDialogDescription{
2998
+ padding-inline-start:40px;
2999
+ }
3000
+
3001
+ :is(#altTextSettingsDialog #altTextSettingsContainer) #automaticSettings{
3002
+ display:flex;
3003
+ flex-direction:column;
3004
+ gap:16px;
3005
+ }
3006
+
2605
3007
  :root{
2606
3008
  --viewer-container-height:0;
2607
3009
  --pdfViewer-padding-bottom:0;
@@ -2666,21 +3068,21 @@
2666
3068
  height:100%;
2667
3069
  }
2668
3070
 
2669
- .pdfViewer .canvasWrapper canvas{
3071
+ :is(.pdfViewer .canvasWrapper) canvas{
2670
3072
  margin:0;
2671
3073
  display:block;
2672
3074
  }
2673
3075
 
2674
- .pdfViewer .canvasWrapper canvas[hidden]{
3076
+ [hidden]:is(:is(.pdfViewer .canvasWrapper) canvas){
2675
3077
  display:none;
2676
3078
  }
2677
3079
 
2678
- .pdfViewer .canvasWrapper canvas[zooming]{
3080
+ [zooming]:is(:is(.pdfViewer .canvasWrapper) canvas){
2679
3081
  width:100%;
2680
3082
  height:100%;
2681
3083
  }
2682
3084
 
2683
- .pdfViewer .canvasWrapper canvas .structTree{
3085
+ :is(:is(.pdfViewer .canvasWrapper) canvas) .structTree{
2684
3086
  contain:strict;
2685
3087
  }
2686
3088
 
@@ -2811,6 +3213,7 @@
2811
3213
  --toolbar-border-color:rgb(184 184 184);
2812
3214
  --toolbar-box-shadow:0 1px 0 var(--toolbar-border-color);
2813
3215
  --toolbar-border-bottom:none;
3216
+ --toolbar-height:32px;
2814
3217
  --toolbarSidebar-box-shadow:inset calc(-1px * var(--dir-factor)) 0 0 rgb(0 0 0 / 0.25), 0 1px 0 rgb(0 0 0 / 0.15), 0 0 1px rgb(0 0 0 / 0.1);
2815
3218
  --toolbarSidebar-border-bottom:none;
2816
3219
  --button-hover-color:rgb(221 222 223);
@@ -2880,6 +3283,9 @@
2880
3283
  --secondaryToolbarButton-spreadNone-icon:url(images/secondaryToolbarButton-spreadNone.svg);
2881
3284
  --secondaryToolbarButton-spreadOdd-icon:url(images/secondaryToolbarButton-spreadOdd.svg);
2882
3285
  --secondaryToolbarButton-spreadEven-icon:url(images/secondaryToolbarButton-spreadEven.svg);
3286
+ --secondaryToolbarButton-imageAltTextSettings-icon:var(
3287
+ --toolbarButton-editorStamp-icon
3288
+ );
2883
3289
  --secondaryToolbarButton-documentProperties-icon:url(images/secondaryToolbarButton-documentProperties.svg);
2884
3290
  --editorParams-stampAddImage-icon:url(images/toolbarButton-zoomIn.svg);
2885
3291
  }
@@ -3071,7 +3477,7 @@ body.wait::before{
3071
3477
 
3072
3478
  #sidebarContainer{
3073
3479
  position:absolute;
3074
- inset-block:32px 0;
3480
+ inset-block:var(--toolbar-height) 0;
3075
3481
  inset-inline-start:calc(-1 * var(--sidebar-width));
3076
3482
  width:var(--sidebar-width);
3077
3483
  visibility:hidden;
@@ -3098,7 +3504,7 @@ body.wait::before{
3098
3504
  }
3099
3505
 
3100
3506
  #sidebarContent{
3101
- inset-block:32px 0;
3507
+ inset-block:var(--toolbar-height) 0;
3102
3508
  inset-inline-start:0;
3103
3509
  overflow:auto;
3104
3510
  position:absolute;
@@ -3109,7 +3515,7 @@ body.wait::before{
3109
3515
  #viewerContainer{
3110
3516
  overflow:auto;
3111
3517
  position:absolute;
3112
- inset:32px 0 0;
3518
+ inset:var(--toolbar-height) 0 0;
3113
3519
  outline:none;
3114
3520
  }
3115
3521
  #viewerContainer:not(.pdfPresentationMode){
@@ -3130,9 +3536,8 @@ body.wait::before{
3130
3536
  font:message-box;
3131
3537
  }
3132
3538
 
3133
- :is(.toolbar, .editorParamsToolbar, .findbar, #sidebarContainer)
3134
- :is(input, button, select),
3135
- .secondaryToolbar :is(input, button, a, select){
3539
+ :is(.toolbar, .editorParamsToolbar, #sidebarContainer)
3540
+ :is(input, button, select){
3136
3541
  outline:none;
3137
3542
  font:message-box;
3138
3543
  }
@@ -3143,7 +3548,7 @@ body.wait::before{
3143
3548
 
3144
3549
  #toolbarSidebar{
3145
3550
  width:100%;
3146
- height:32px;
3551
+ height:var(--toolbar-height);
3147
3552
  background-color:var(--sidebar-toolbar-bg-color);
3148
3553
  box-shadow:var(--toolbarSidebar-box-shadow);
3149
3554
  border-bottom:var(--toolbarSidebar-border-bottom);
@@ -3159,18 +3564,16 @@ body.wait::before{
3159
3564
  }
3160
3565
 
3161
3566
  #toolbarContainer,
3162
- .findbar,
3163
- .secondaryToolbar,
3164
3567
  .editorParamsToolbar{
3165
3568
  position:relative;
3166
- height:32px;
3569
+ height:var(--toolbar-height);
3167
3570
  background-color:var(--toolbar-bg-color);
3168
3571
  box-shadow:var(--toolbar-box-shadow);
3169
3572
  border-bottom:var(--toolbar-border-bottom);
3170
3573
  }
3171
3574
 
3172
3575
  #toolbarViewer{
3173
- height:32px;
3576
+ height:var(--toolbar-height);
3174
3577
  }
3175
3578
 
3176
3579
  #loadingBar{
@@ -3237,94 +3640,25 @@ body.wait::before{
3237
3640
  animation:progressIndeterminate 1s linear infinite;
3238
3641
  }
3239
3642
 
3240
- #outerContainer.sidebarResizing
3241
- :is(#sidebarContainer, #viewerContainer, #loadingBar){
3242
- transition-duration:0s;
3243
- }
3244
-
3245
- .findbar,
3246
- .secondaryToolbar,
3247
- .editorParamsToolbar{
3248
- top:32px;
3249
- position:absolute;
3250
- z-index:30000;
3251
- height:auto;
3252
- padding:0 4px;
3253
- margin:4px 2px;
3254
- font:message-box;
3255
- font-size:12px;
3256
- line-height:14px;
3257
- text-align:left;
3258
- cursor:default;
3259
- }
3260
-
3261
- .findbar{
3262
- inset-inline-start:64px;
3263
- min-width:300px;
3264
- background-color:var(--toolbar-bg-color);
3265
- }
3266
- .findbar > div{
3267
- height:32px;
3268
- }
3269
- .findbar > div#findbarInputContainer{
3270
- margin-inline-end:4px;
3271
- }
3272
- .findbar.wrapContainers > div,
3273
- .findbar.wrapContainers > div#findbarMessageContainer > *{
3274
- clear:both;
3275
- }
3276
- .findbar.wrapContainers > div#findbarMessageContainer{
3277
- height:auto;
3278
- }
3279
-
3280
- .findbar input[type="checkbox"]{
3281
- pointer-events:none;
3282
- }
3283
-
3284
- .findbar label{
3285
- -webkit-user-select:none;
3286
- -moz-user-select:none;
3287
- user-select:none;
3288
- }
3289
-
3290
- .findbar label:hover,
3291
- .findbar input:focus-visible + label{
3292
- color:var(--toggled-btn-color);
3293
- background-color:var(--button-hover-color);
3294
- }
3295
-
3296
- .findbar .toolbarField[type="checkbox"]:checked + .toolbarLabel{
3297
- background-color:var(--toggled-btn-bg-color) !important;
3298
- color:var(--toggled-btn-color);
3299
- }
3300
-
3301
- #findInput{
3302
- width:200px;
3303
- }
3304
-
3305
- #findInput::-moz-placeholder{
3306
- font-style:normal;
3307
- }
3308
-
3309
- #findInput::placeholder{
3310
- font-style:normal;
3311
- }
3312
-
3313
- .loadingInput:has(> #findInput[data-status="pending"])::after{
3314
- display:block;
3315
- visibility:visible;
3316
- }
3317
-
3318
- #findInput[data-status="notFound"]{
3319
- background-color:rgb(255 102 102);
3320
- }
3643
+ #outerContainer.sidebarResizing
3644
+ :is(#sidebarContainer, #viewerContainer, #loadingBar){
3645
+ transition-duration:0s;
3646
+ }
3321
3647
 
3322
- .secondaryToolbar,
3323
3648
  .editorParamsToolbar{
3324
- padding:6px 0 10px;
3325
- inset-inline-end:4px;
3326
- height:auto;
3327
3649
  background-color:var(--doorhanger-bg-color);
3650
+ top:var(--toolbar-height);
3651
+ position:absolute;
3652
+ z-index:30000;
3653
+ height:auto;
3654
+ inset-inline-end:4px;
3655
+ padding:6px 0 10px;
3656
+ margin:4px 2px;
3657
+ font:message-box;
3658
+ font-size:12px;
3659
+ line-height:14px;
3660
+ text-align:left;
3661
+ cursor:default;
3328
3662
  }
3329
3663
 
3330
3664
  .editorParamsToolbarContainer{
@@ -3377,14 +3711,6 @@ body.wait::before{
3377
3711
  background-color:white;
3378
3712
  }
3379
3713
 
3380
- #secondaryToolbarButtonContainer{
3381
- max-width:220px;
3382
- min-height:26px;
3383
- max-height:calc(var(--viewer-container-height) - 40px);
3384
- overflow-y:auto;
3385
- margin-bottom:-4px;
3386
- }
3387
-
3388
3714
  #editorStampParamsToolbar{
3389
3715
  inset-inline-end:calc(var(--editor-toolbar-base-offset) + 0px);
3390
3716
  }
@@ -3446,22 +3772,6 @@ body.wait::before{
3446
3772
  margin-inline-end:-9px;
3447
3773
  }
3448
3774
 
3449
- #findResultsCount{
3450
- background-color:rgb(217 217 217);
3451
- color:rgb(82 82 82);
3452
- text-align:center;
3453
- padding:4px 5px;
3454
- margin:5px;
3455
- }
3456
-
3457
- #findMsg[data-status="notFound"]{
3458
- font-weight:bold;
3459
- }
3460
-
3461
- :is(#findResultsCount, #findMsg):empty{
3462
- display:none;
3463
- }
3464
-
3465
3775
  #toolbarViewerMiddle{
3466
3776
  position:absolute;
3467
3777
  left:50%;
@@ -3481,8 +3791,7 @@ body.wait::before{
3481
3791
  #toolbarViewerMiddle > *,
3482
3792
  #toolbarViewerRight > *,
3483
3793
  #toolbarSidebarLeft *,
3484
- #toolbarSidebarRight *,
3485
- .findbar *{
3794
+ #toolbarSidebarRight *{
3486
3795
  position:relative;
3487
3796
  float:var(--inline-start);
3488
3797
  }
@@ -3506,7 +3815,6 @@ body.wait::before{
3506
3815
  }
3507
3816
 
3508
3817
  .toolbarButton,
3509
- .secondaryToolbarButton,
3510
3818
  .dialogButton{
3511
3819
  border:none;
3512
3820
  background:none;
@@ -3530,7 +3838,7 @@ body.wait::before{
3530
3838
  overflow:hidden;
3531
3839
  }
3532
3840
 
3533
- :is(.toolbarButton, .secondaryToolbarButton, .dialogButton)[disabled]{
3841
+ :is(.toolbarButton, .dialogButton)[disabled]{
3534
3842
  opacity:0.5;
3535
3843
  }
3536
3844
 
@@ -3556,7 +3864,6 @@ body.wait::before{
3556
3864
 
3557
3865
  .toolbarButton,
3558
3866
  .dropdownToolbarButton,
3559
- .secondaryToolbarButton,
3560
3867
  .dialogButton{
3561
3868
  min-width:16px;
3562
3869
  margin:2px 1px;
@@ -3576,27 +3883,23 @@ body.wait::before{
3576
3883
  .toolbarButton:is(:hover, :focus-visible){
3577
3884
  background-color:var(--button-hover-color);
3578
3885
  }
3579
- .secondaryToolbarButton:is(:hover, :focus-visible){
3580
- background-color:var(--doorhanger-hover-bg-color);
3581
- color:var(--doorhanger-hover-color);
3582
- }
3583
3886
 
3584
- :is(.toolbarButton, .secondaryToolbarButton).toggled,
3887
+ .toolbarButton.toggled,
3585
3888
  .splitToolbarButton.toggled > .toolbarButton.toggled{
3586
3889
  background-color:var(--toggled-btn-bg-color);
3587
3890
  color:var(--toggled-btn-color);
3588
3891
  }
3589
3892
 
3590
- :is(.toolbarButton, .secondaryToolbarButton).toggled:hover,
3893
+ .toolbarButton.toggled:hover,
3591
3894
  .splitToolbarButton.toggled > .toolbarButton.toggled:hover{
3592
3895
  outline:var(--toggled-hover-btn-outline) !important;
3593
3896
  }
3594
3897
 
3595
- :is(.toolbarButton, .secondaryToolbarButton).toggled::before{
3898
+ .toolbarButton.toggled::before{
3596
3899
  background-color:var(--toggled-btn-color);
3597
3900
  }
3598
3901
 
3599
- :is(.toolbarButton, .secondaryToolbarButton).toggled:hover:active,
3902
+ .toolbarButton.toggled:hover:active,
3600
3903
  .splitToolbarButton.toggled > .toolbarButton.toggled:hover:active{
3601
3904
  background-color:var(--toggled-hover-active-btn-color);
3602
3905
  }
@@ -3648,7 +3951,7 @@ body.wait::before{
3648
3951
  height:1px;
3649
3952
  }
3650
3953
 
3651
- :is(.toolbarButton, .secondaryToolbarButton, .treeItemToggler)::before,
3954
+ :is(.toolbarButton, .treeItemToggler)::before,
3652
3955
  .dropdownToolbarButton::after{
3653
3956
  position:absolute;
3654
3957
  display:inline-block;
@@ -3671,17 +3974,10 @@ body.wait::before{
3671
3974
  left:6px;
3672
3975
  }
3673
3976
 
3674
- .toolbarButton:is(:hover, :focus-visible)::before,
3675
- .secondaryToolbarButton:is(:hover, :focus-visible)::before{
3977
+ .toolbarButton:is(:hover, :focus-visible)::before{
3676
3978
  background-color:var(--toolbar-icon-hover-bg-color);
3677
3979
  }
3678
3980
 
3679
- .secondaryToolbarButton::before{
3680
- opacity:var(--doorhanger-icon-opacity);
3681
- top:5px;
3682
- inset-inline-start:12px;
3683
- }
3684
-
3685
3981
  #sidebarToggle::before{
3686
3982
  -webkit-mask-image:var(--toolbarButton-sidebarToggle-icon);
3687
3983
  mask-image:var(--toolbarButton-sidebarToggle-icon);
@@ -3694,16 +3990,6 @@ body.wait::before{
3694
3990
  transform:scaleX(var(--dir-factor));
3695
3991
  }
3696
3992
 
3697
- #findPrevious::before{
3698
- -webkit-mask-image:var(--findbarButton-previous-icon);
3699
- mask-image:var(--findbarButton-previous-icon);
3700
- }
3701
-
3702
- #findNext::before{
3703
- -webkit-mask-image:var(--findbarButton-next-icon);
3704
- mask-image:var(--findbarButton-next-icon);
3705
- }
3706
-
3707
3993
  #previous::before{
3708
3994
  -webkit-mask-image:var(--toolbarButton-pageUp-icon);
3709
3995
  mask-image:var(--toolbarButton-pageUp-icon);
@@ -3724,11 +4010,6 @@ body.wait::before{
3724
4010
  mask-image:var(--toolbarButton-zoomIn-icon);
3725
4011
  }
3726
4012
 
3727
- #presentationMode::before{
3728
- -webkit-mask-image:var(--toolbarButton-presentationMode-icon);
3729
- mask-image:var(--toolbarButton-presentationMode-icon);
3730
- }
3731
-
3732
4013
  #editorFreeText::before{
3733
4014
  -webkit-mask-image:var(--toolbarButton-editorFreeText-icon);
3734
4015
  mask-image:var(--toolbarButton-editorFreeText-icon);
@@ -3749,35 +4030,16 @@ body.wait::before{
3749
4030
  mask-image:var(--toolbarButton-editorStamp-icon);
3750
4031
  }
3751
4032
 
3752
- :is(#print, #secondaryPrint)::before{
4033
+ #print::before{
3753
4034
  -webkit-mask-image:var(--toolbarButton-print-icon);
3754
4035
  mask-image:var(--toolbarButton-print-icon);
3755
4036
  }
3756
4037
 
3757
- #secondaryOpenFile::before{
3758
- -webkit-mask-image:var(--toolbarButton-openFile-icon);
3759
- mask-image:var(--toolbarButton-openFile-icon);
3760
- }
3761
-
3762
- :is(#download, #secondaryDownload)::before{
4038
+ #download::before{
3763
4039
  -webkit-mask-image:var(--toolbarButton-download-icon);
3764
4040
  mask-image:var(--toolbarButton-download-icon);
3765
4041
  }
3766
4042
 
3767
- a.secondaryToolbarButton{
3768
- padding-top:5px;
3769
- text-decoration:none;
3770
- }
3771
- a:is(.toolbarButton, .secondaryToolbarButton)[href="#"]{
3772
- opacity:0.5;
3773
- pointer-events:none;
3774
- }
3775
-
3776
- #viewBookmark::before{
3777
- -webkit-mask-image:var(--toolbarButton-bookmark-icon);
3778
- mask-image:var(--toolbarButton-bookmark-icon);
3779
- }
3780
-
3781
4043
  #viewThumbnail::before{
3782
4044
  -webkit-mask-image:var(--toolbarButton-viewThumbnail-icon);
3783
4045
  mask-image:var(--toolbarButton-viewThumbnail-icon);
@@ -3822,95 +4084,6 @@ a:is(.toolbarButton, .secondaryToolbarButton)[href="#"]{
3822
4084
  border-radius:50%;
3823
4085
  }
3824
4086
 
3825
- .secondaryToolbarButton{
3826
- position:relative;
3827
- margin:0;
3828
- padding:0 0 1px;
3829
- padding-inline-start:36px;
3830
- height:auto;
3831
- min-height:26px;
3832
- width:auto;
3833
- min-width:100%;
3834
- text-align:start;
3835
- white-space:normal;
3836
- border-radius:0;
3837
- box-sizing:border-box;
3838
- display:inline-block;
3839
- }
3840
- .secondaryToolbarButton > span{
3841
- padding-inline-end:4px;
3842
- }
3843
-
3844
- #firstPage::before{
3845
- -webkit-mask-image:var(--secondaryToolbarButton-firstPage-icon);
3846
- mask-image:var(--secondaryToolbarButton-firstPage-icon);
3847
- }
3848
-
3849
- #lastPage::before{
3850
- -webkit-mask-image:var(--secondaryToolbarButton-lastPage-icon);
3851
- mask-image:var(--secondaryToolbarButton-lastPage-icon);
3852
- }
3853
-
3854
- #pageRotateCcw::before{
3855
- -webkit-mask-image:var(--secondaryToolbarButton-rotateCcw-icon);
3856
- mask-image:var(--secondaryToolbarButton-rotateCcw-icon);
3857
- }
3858
-
3859
- #pageRotateCw::before{
3860
- -webkit-mask-image:var(--secondaryToolbarButton-rotateCw-icon);
3861
- mask-image:var(--secondaryToolbarButton-rotateCw-icon);
3862
- }
3863
-
3864
- #cursorSelectTool::before{
3865
- -webkit-mask-image:var(--secondaryToolbarButton-selectTool-icon);
3866
- mask-image:var(--secondaryToolbarButton-selectTool-icon);
3867
- }
3868
-
3869
- #cursorHandTool::before{
3870
- -webkit-mask-image:var(--secondaryToolbarButton-handTool-icon);
3871
- mask-image:var(--secondaryToolbarButton-handTool-icon);
3872
- }
3873
-
3874
- #scrollPage::before{
3875
- -webkit-mask-image:var(--secondaryToolbarButton-scrollPage-icon);
3876
- mask-image:var(--secondaryToolbarButton-scrollPage-icon);
3877
- }
3878
-
3879
- #scrollVertical::before{
3880
- -webkit-mask-image:var(--secondaryToolbarButton-scrollVertical-icon);
3881
- mask-image:var(--secondaryToolbarButton-scrollVertical-icon);
3882
- }
3883
-
3884
- #scrollHorizontal::before{
3885
- -webkit-mask-image:var(--secondaryToolbarButton-scrollHorizontal-icon);
3886
- mask-image:var(--secondaryToolbarButton-scrollHorizontal-icon);
3887
- }
3888
-
3889
- #scrollWrapped::before{
3890
- -webkit-mask-image:var(--secondaryToolbarButton-scrollWrapped-icon);
3891
- mask-image:var(--secondaryToolbarButton-scrollWrapped-icon);
3892
- }
3893
-
3894
- #spreadNone::before{
3895
- -webkit-mask-image:var(--secondaryToolbarButton-spreadNone-icon);
3896
- mask-image:var(--secondaryToolbarButton-spreadNone-icon);
3897
- }
3898
-
3899
- #spreadOdd::before{
3900
- -webkit-mask-image:var(--secondaryToolbarButton-spreadOdd-icon);
3901
- mask-image:var(--secondaryToolbarButton-spreadOdd-icon);
3902
- }
3903
-
3904
- #spreadEven::before{
3905
- -webkit-mask-image:var(--secondaryToolbarButton-spreadEven-icon);
3906
- mask-image:var(--secondaryToolbarButton-spreadEven-icon);
3907
- }
3908
-
3909
- #documentProperties::before{
3910
- -webkit-mask-image:var(--secondaryToolbarButton-documentProperties-icon);
3911
- mask-image:var(--secondaryToolbarButton-documentProperties-icon);
3912
- }
3913
-
3914
4087
  .verticalToolbarSeparator{
3915
4088
  display:block;
3916
4089
  margin:5px 2px;
@@ -3960,7 +4133,7 @@ a:is(.toolbarButton, .secondaryToolbarButton)[href="#"]{
3960
4133
  -webkit-appearance:none;
3961
4134
  }
3962
4135
 
3963
- .loadingInput:has(> #pageNumber.loading)::after{
4136
+ .loadingInput:has( > .loading:is(#pageNumber))::after{
3964
4137
  display:block;
3965
4138
  visibility:visible;
3966
4139
 
@@ -4261,6 +4434,296 @@ dialog :link{
4261
4434
  z-index:50000;
4262
4435
  }
4263
4436
 
4437
+ .toolbarButton.labeled{
4438
+ border-radius:0;
4439
+ display:inline-block;
4440
+ height:auto;
4441
+ margin:0;
4442
+ padding:0 0 1px;
4443
+ padding-inline-start:36px;
4444
+ position:relative;
4445
+ min-height:26px;
4446
+ min-width:100%;
4447
+ text-align:start;
4448
+ white-space:normal;
4449
+ width:auto;
4450
+ }
4451
+
4452
+ .toolbarButton.labeled:is(a){
4453
+ padding-top:5px;
4454
+ text-decoration:none;
4455
+ }
4456
+
4457
+ .toolbarButton.labeled[href="#"]:is(a){
4458
+ opacity:0.5;
4459
+ pointer-events:none;
4460
+ }
4461
+
4462
+ .toolbarButton.labeled::before{
4463
+ inset-inline-start:12px;
4464
+ opacity:var(--doorhanger-icon-opacity);
4465
+ top:5px;
4466
+ }
4467
+
4468
+ .toolbarButton.labeled:not(.toggled):is(:hover,:focus-visible){
4469
+ background-color:var(--doorhanger-hover-bg-color);
4470
+ color:var(--doorhanger-hover-color);
4471
+ }
4472
+
4473
+ .toolbarButton.labeled > span{
4474
+ display:unset;
4475
+ padding-inline-end:4px;
4476
+ }
4477
+
4478
+ #secondaryToolbar{
4479
+ background-color:var(--doorhanger-bg-color);
4480
+ cursor:default;
4481
+ font:message-box;
4482
+ font-size:12px;
4483
+ height:auto;
4484
+ inset-inline-end:4px;
4485
+ line-height:14px;
4486
+ margin:4px 2px;
4487
+ padding:6px 0 10px;
4488
+ position:absolute;
4489
+ text-align:left;
4490
+ top:var(--toolbar-height);
4491
+ z-index:30000;
4492
+ }
4493
+
4494
+ #secondaryToolbar :is(button,a){
4495
+ font:message-box;
4496
+ outline:none;
4497
+ }
4498
+
4499
+ #secondaryToolbar #secondaryToolbarButtonContainer{
4500
+ margin-bottom:-4px;
4501
+ max-height:calc(var(--viewer-container-height) - 40px);
4502
+ max-width:220px;
4503
+ min-height:26px;
4504
+ overflow-y:auto;
4505
+ }
4506
+
4507
+ :is(#secondaryToolbar #secondaryToolbarButtonContainer) #secondaryOpenFile::before{
4508
+ -webkit-mask-image:var(--toolbarButton-openFile-icon);
4509
+ mask-image:var(--toolbarButton-openFile-icon);
4510
+ }
4511
+
4512
+ :is(#secondaryToolbar #secondaryToolbarButtonContainer) #secondaryPrint::before{
4513
+ -webkit-mask-image:var(--toolbarButton-print-icon);
4514
+ mask-image:var(--toolbarButton-print-icon);
4515
+ }
4516
+
4517
+ :is(#secondaryToolbar #secondaryToolbarButtonContainer) #secondaryDownload::before{
4518
+ -webkit-mask-image:var(--toolbarButton-download-icon);
4519
+ mask-image:var(--toolbarButton-download-icon);
4520
+ }
4521
+
4522
+ :is(#secondaryToolbar #secondaryToolbarButtonContainer) #presentationMode::before{
4523
+ -webkit-mask-image:var(--toolbarButton-presentationMode-icon);
4524
+ mask-image:var(--toolbarButton-presentationMode-icon);
4525
+ }
4526
+
4527
+ :is(#secondaryToolbar #secondaryToolbarButtonContainer) #viewBookmark::before{
4528
+ -webkit-mask-image:var(--toolbarButton-bookmark-icon);
4529
+ mask-image:var(--toolbarButton-bookmark-icon);
4530
+ }
4531
+
4532
+ :is(#secondaryToolbar #secondaryToolbarButtonContainer) #firstPage::before{
4533
+ -webkit-mask-image:var(--secondaryToolbarButton-firstPage-icon);
4534
+ mask-image:var(--secondaryToolbarButton-firstPage-icon);
4535
+ }
4536
+
4537
+ :is(#secondaryToolbar #secondaryToolbarButtonContainer) #lastPage::before{
4538
+ -webkit-mask-image:var(--secondaryToolbarButton-lastPage-icon);
4539
+ mask-image:var(--secondaryToolbarButton-lastPage-icon);
4540
+ }
4541
+
4542
+ :is(#secondaryToolbar #secondaryToolbarButtonContainer) #pageRotateCcw::before{
4543
+ -webkit-mask-image:var(--secondaryToolbarButton-rotateCcw-icon);
4544
+ mask-image:var(--secondaryToolbarButton-rotateCcw-icon);
4545
+ }
4546
+
4547
+ :is(#secondaryToolbar #secondaryToolbarButtonContainer) #pageRotateCw::before{
4548
+ -webkit-mask-image:var(--secondaryToolbarButton-rotateCw-icon);
4549
+ mask-image:var(--secondaryToolbarButton-rotateCw-icon);
4550
+ }
4551
+
4552
+ :is(#secondaryToolbar #secondaryToolbarButtonContainer) #cursorSelectTool::before{
4553
+ -webkit-mask-image:var(--secondaryToolbarButton-selectTool-icon);
4554
+ mask-image:var(--secondaryToolbarButton-selectTool-icon);
4555
+ }
4556
+
4557
+ :is(#secondaryToolbar #secondaryToolbarButtonContainer) #cursorHandTool::before{
4558
+ -webkit-mask-image:var(--secondaryToolbarButton-handTool-icon);
4559
+ mask-image:var(--secondaryToolbarButton-handTool-icon);
4560
+ }
4561
+
4562
+ :is(#secondaryToolbar #secondaryToolbarButtonContainer) #scrollPage::before{
4563
+ -webkit-mask-image:var(--secondaryToolbarButton-scrollPage-icon);
4564
+ mask-image:var(--secondaryToolbarButton-scrollPage-icon);
4565
+ }
4566
+
4567
+ :is(#secondaryToolbar #secondaryToolbarButtonContainer) #scrollVertical::before{
4568
+ -webkit-mask-image:var(--secondaryToolbarButton-scrollVertical-icon);
4569
+ mask-image:var(--secondaryToolbarButton-scrollVertical-icon);
4570
+ }
4571
+
4572
+ :is(#secondaryToolbar #secondaryToolbarButtonContainer) #scrollHorizontal::before{
4573
+ -webkit-mask-image:var(--secondaryToolbarButton-scrollHorizontal-icon);
4574
+ mask-image:var(--secondaryToolbarButton-scrollHorizontal-icon);
4575
+ }
4576
+
4577
+ :is(#secondaryToolbar #secondaryToolbarButtonContainer) #scrollWrapped::before{
4578
+ -webkit-mask-image:var(--secondaryToolbarButton-scrollWrapped-icon);
4579
+ mask-image:var(--secondaryToolbarButton-scrollWrapped-icon);
4580
+ }
4581
+
4582
+ :is(#secondaryToolbar #secondaryToolbarButtonContainer) #spreadNone::before{
4583
+ -webkit-mask-image:var(--secondaryToolbarButton-spreadNone-icon);
4584
+ mask-image:var(--secondaryToolbarButton-spreadNone-icon);
4585
+ }
4586
+
4587
+ :is(#secondaryToolbar #secondaryToolbarButtonContainer) #spreadOdd::before{
4588
+ -webkit-mask-image:var(--secondaryToolbarButton-spreadOdd-icon);
4589
+ mask-image:var(--secondaryToolbarButton-spreadOdd-icon);
4590
+ }
4591
+
4592
+ :is(#secondaryToolbar #secondaryToolbarButtonContainer) #spreadEven::before{
4593
+ -webkit-mask-image:var(--secondaryToolbarButton-spreadEven-icon);
4594
+ mask-image:var(--secondaryToolbarButton-spreadEven-icon);
4595
+ }
4596
+
4597
+ :is(#secondaryToolbar #secondaryToolbarButtonContainer) #imageAltTextSettings::before{
4598
+ -webkit-mask-image:var(--secondaryToolbarButton-imageAltTextSettings-icon);
4599
+ mask-image:var(--secondaryToolbarButton-imageAltTextSettings-icon);
4600
+ }
4601
+
4602
+ :is(#secondaryToolbar #secondaryToolbarButtonContainer) #documentProperties::before{
4603
+ -webkit-mask-image:var(--secondaryToolbarButton-documentProperties-icon);
4604
+ mask-image:var(--secondaryToolbarButton-documentProperties-icon);
4605
+ }
4606
+
4607
+ #findbar{
4608
+ background-color:var(--toolbar-bg-color);
4609
+ cursor:default;
4610
+ font:message-box;
4611
+ font-size:12px;
4612
+ height:auto;
4613
+ inset-inline-start:64px;
4614
+ line-height:14px;
4615
+ margin:4px 2px;
4616
+ min-width:300px;
4617
+ padding:0 4px;
4618
+ position:absolute;
4619
+ text-align:left;
4620
+ top:var(--toolbar-height);
4621
+ z-index:30000;
4622
+ }
4623
+
4624
+ #findbar *{
4625
+ float:var(--inline-start);
4626
+ position:relative;
4627
+ }
4628
+
4629
+ #findbar > div{
4630
+ height:var(--toolbar-height);
4631
+ }
4632
+
4633
+ #findbar :is(button,input){
4634
+ font:message-box;
4635
+ outline:none;
4636
+ }
4637
+
4638
+ [type="checkbox"]:is(#findbar input){
4639
+ pointer-events:none;
4640
+ }
4641
+
4642
+ [type="checkbox"]:is(#findbar input):checked + .toolbarLabel{
4643
+ background-color:var(--toggled-btn-bg-color) !important;
4644
+ color:var(--toggled-btn-color);
4645
+ }
4646
+
4647
+ #findbar label{
4648
+ -webkit-user-select:none;
4649
+ -moz-user-select:none;
4650
+ user-select:none;
4651
+ }
4652
+
4653
+ #findbar :is(label:hover,input:focus-visible + label){
4654
+ background-color:var(--button-hover-color);
4655
+ color:var(--toggled-btn-color);
4656
+ }
4657
+
4658
+ #findbar #findbarInputContainer{
4659
+ margin-inline-end:4px;
4660
+ }
4661
+
4662
+ :is(#findbar #findbarInputContainer) #findInput{
4663
+ width:200px;
4664
+ }
4665
+
4666
+ :is(:is(#findbar #findbarInputContainer) #findInput)::-moz-placeholder{
4667
+ font-style:normal;
4668
+ }
4669
+
4670
+ :is(:is(#findbar #findbarInputContainer) #findInput)::placeholder{
4671
+ font-style:normal;
4672
+ }
4673
+
4674
+ .loadingInput:has( > [data-status="pending"]:is(:is(#findbar #findbarInputContainer) #findInput))::after{
4675
+ display:block;
4676
+ visibility:visible;
4677
+ }
4678
+
4679
+ [data-status="notFound"]:is(:is(#findbar #findbarInputContainer) #findInput){
4680
+ background-color:rgb(255 102 102);
4681
+ }
4682
+
4683
+ :is(#findbar #findbarInputContainer) #findPrevious::before{
4684
+ -webkit-mask-image:var(--findbarButton-previous-icon);
4685
+ mask-image:var(--findbarButton-previous-icon);
4686
+ }
4687
+
4688
+ :is(#findbar #findbarInputContainer) #findNext::before{
4689
+ -webkit-mask-image:var(--findbarButton-next-icon);
4690
+ mask-image:var(--findbarButton-next-icon);
4691
+ }
4692
+
4693
+ :is(#findbar #findbarMessageContainer) #findResultsCount{
4694
+ background-color:rgb(217 217 217);
4695
+ color:rgb(82 82 82);
4696
+ margin:5px;
4697
+ padding:4px 5px;
4698
+ text-align:center;
4699
+ }
4700
+
4701
+ [data-status="notFound"]:is(:is(#findbar #findbarMessageContainer) #findMsg){
4702
+ font-weight:bold;
4703
+ }
4704
+
4705
+ :is(#findbar #findbarMessageContainer) *:empty{
4706
+ display:none;
4707
+ }
4708
+
4709
+ #findbar.wrapContainers > div{
4710
+ clear:both;
4711
+ }
4712
+
4713
+ #findbar.wrapContainers > #findbarMessageContainer{
4714
+ height:auto;
4715
+ }
4716
+
4717
+ :is(#findbar.wrapContainers > #findbarMessageContainer) > *{
4718
+ clear:both;
4719
+ }
4720
+
4721
+ @media all and (max-width: 690px){
4722
+ #findbar{
4723
+ inset-inline-start:34px;
4724
+ }
4725
+ }
4726
+
4264
4727
  @page{
4265
4728
  margin:0;
4266
4729
  }
@@ -4316,7 +4779,7 @@ dialog :link{
4316
4779
  }
4317
4780
 
4318
4781
  .visibleMediumView{
4319
- display:none;
4782
+ display:none !important;
4320
4783
  }
4321
4784
 
4322
4785
  @media all and (max-width: 900px){
@@ -4343,24 +4806,21 @@ dialog :link{
4343
4806
  --editor-toolbar-base-offset:40px;
4344
4807
  }
4345
4808
  #outerContainer .hiddenMediumView{
4346
- display:none;
4809
+ display:none !important;
4347
4810
  }
4348
4811
  #outerContainer .visibleMediumView{
4349
- display:inherit;
4812
+ display:inherit !important;
4350
4813
  }
4351
4814
  }
4352
4815
 
4353
4816
  @media all and (max-width: 690px){
4354
4817
  .hiddenSmallView,
4355
4818
  .hiddenSmallView *{
4356
- display:none;
4819
+ display:none !important;
4357
4820
  }
4358
4821
  .toolbarButtonSpacer{
4359
4822
  width:0;
4360
4823
  }
4361
- .findbar{
4362
- inset-inline-start:34px;
4363
- }
4364
4824
  }
4365
4825
 
4366
4826
  @media all and (max-width: 560px){