ofd-view 0.1.55 → 0.1.56

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. package/lib/images/annotation-check.svg +11 -0
  2. package/lib/images/annotation-comment.svg +16 -0
  3. package/lib/images/annotation-help.svg +26 -0
  4. package/lib/images/annotation-insert.svg +10 -0
  5. package/lib/images/annotation-key.svg +11 -0
  6. package/lib/images/annotation-newparagraph.svg +11 -0
  7. package/lib/images/annotation-noicon.svg +7 -0
  8. package/lib/images/annotation-note.svg +42 -0
  9. package/lib/images/annotation-paragraph.svg +16 -0
  10. package/lib/images/eSignature.svg +1 -0
  11. package/lib/images/findbarButton-next.svg +4 -0
  12. package/lib/images/findbarButton-previous.svg +4 -0
  13. package/lib/images/loading-dark.svg +24 -0
  14. package/lib/images/loading-icon.gif +0 -0
  15. package/lib/images/loading.svg +1 -0
  16. package/lib/images/secondaryToolbarButton-documentProperties.svg +15 -0
  17. package/lib/images/secondaryToolbarButton-firstPage.svg +1 -0
  18. package/lib/images/secondaryToolbarButton-handTool.svg +1 -0
  19. package/lib/images/secondaryToolbarButton-lastPage.svg +1 -0
  20. package/lib/images/secondaryToolbarButton-rotateCcw.svg +1 -0
  21. package/lib/images/secondaryToolbarButton-rotateCw.svg +4 -0
  22. package/lib/images/secondaryToolbarButton-scrollHorizontal.svg +1 -0
  23. package/lib/images/secondaryToolbarButton-scrollPage.svg +1 -0
  24. package/lib/images/secondaryToolbarButton-scrollVertical.svg +1 -0
  25. package/lib/images/secondaryToolbarButton-scrollWrapped.svg +1 -0
  26. package/lib/images/secondaryToolbarButton-selectTool.svg +4 -0
  27. package/lib/images/secondaryToolbarButton-spreadEven.svg +1 -0
  28. package/lib/images/secondaryToolbarButton-spreadNone.svg +1 -0
  29. package/lib/images/secondaryToolbarButton-spreadOdd.svg +1 -0
  30. package/lib/images/shadow.png +0 -0
  31. package/lib/images/toolbarButton-bookmark.svg +1 -0
  32. package/lib/images/toolbarButton-currentOutlineItem.svg +1 -0
  33. package/lib/images/toolbarButton-download.svg +4 -0
  34. package/lib/images/toolbarButton-menuArrow.svg +1 -0
  35. package/lib/images/toolbarButton-openFile.svg +4 -0
  36. package/lib/images/toolbarButton-pageDown.svg +7 -0
  37. package/lib/images/toolbarButton-pageUp.svg +12 -0
  38. package/lib/images/toolbarButton-presentationMode.svg +1 -0
  39. package/lib/images/toolbarButton-print.svg +4 -0
  40. package/lib/images/toolbarButton-search.svg +4 -0
  41. package/lib/images/toolbarButton-secondaryToolbarToggle.svg +4 -0
  42. package/lib/images/toolbarButton-sidebarToggle.svg +4 -0
  43. package/lib/images/toolbarButton-viewAttachments.svg +1 -0
  44. package/lib/images/toolbarButton-viewLayers.svg +1 -0
  45. package/lib/images/toolbarButton-viewOutline.svg +1 -0
  46. package/lib/images/toolbarButton-viewSignatures.svg +1 -0
  47. package/lib/images/toolbarButton-viewThumbnail.svg +4 -0
  48. package/lib/images/toolbarButton-zoomIn.svg +4 -0
  49. package/lib/images/toolbarButton-zoomOut.svg +4 -0
  50. package/lib/images/treeitem-collapsed.svg +1 -0
  51. package/lib/images/treeitem-expanded.svg +1 -0
  52. package/lib/viewer.css +3284 -0
  53. package/package.json +1 -1
package/lib/viewer.css ADDED
@@ -0,0 +1,3284 @@
1
+ /* Copyright 2014 Mozilla Foundation
2
+ *
3
+ * Licensed under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License.
5
+ * You may obtain a copy of the License at
6
+ *
7
+ * http://www.apache.org/licenses/LICENSE-2.0
8
+ *
9
+ * Unless required by applicable law or agreed to in writing, software
10
+ * distributed under the License is distributed on an "AS IS" BASIS,
11
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ * See the License for the specific language governing permissions and
13
+ * limitations under the License.
14
+ */
15
+
16
+ .textLayer {
17
+ position: absolute;
18
+ text-align: initial;
19
+ left: 0;
20
+ top: 0;
21
+ right: 0;
22
+ bottom: 0;
23
+ overflow: hidden;
24
+ opacity: 0.2;
25
+ line-height: 1;
26
+ -webkit-text-size-adjust: none;
27
+ -moz-text-size-adjust: none;
28
+ -ms-text-size-adjust: none;
29
+ text-size-adjust: none;
30
+ forced-color-adjust: none;
31
+ }
32
+
33
+ .textLayer span,
34
+ .textLayer br {
35
+ color: transparent;
36
+ position: absolute;
37
+ white-space: pre;
38
+ cursor: text;
39
+ -webkit-transform-origin: 0% 0%;
40
+ transform-origin: 0% 0%;
41
+ }
42
+
43
+ /* Only necessary in Google Chrome, see issue 14205, and most unfortunately
44
+ * the problem doesn't show up in "text" reference tests. */
45
+ .textLayer span.markedContent {
46
+ top: 0;
47
+ height: 0;
48
+ }
49
+
50
+ .textLayer .highlight {
51
+ margin: -1px;
52
+ padding: 1px;
53
+ background-color: rgba(180, 0, 170, 1);
54
+ border-radius: 4px;
55
+ }
56
+
57
+ .textLayer .highlight.appended {
58
+ position: initial;
59
+ }
60
+
61
+ .textLayer .highlight.begin {
62
+ border-radius: 4px 0 0 4px;
63
+ }
64
+
65
+ .textLayer .highlight.end {
66
+ border-radius: 0 4px 4px 0;
67
+ }
68
+
69
+ .textLayer .highlight.middle {
70
+ border-radius: 0;
71
+ }
72
+
73
+ .textLayer .highlight.selected {
74
+ background-color: rgba(0, 100, 0, 1);
75
+ }
76
+
77
+ .textLayer ::-moz-selection {
78
+ background: rgba(0, 0, 255, 1);
79
+ }
80
+
81
+ .textLayer ::selection {
82
+ background: rgba(0, 0, 255, 1);
83
+ }
84
+
85
+ /* Avoids https://github.com/mozilla/pdf.js/issues/13840 in Chrome */
86
+ .textLayer br::-moz-selection {
87
+ background: transparent;
88
+ }
89
+ .textLayer br::selection {
90
+ background: transparent;
91
+ }
92
+
93
+ .textLayer .endOfContent {
94
+ display: block;
95
+ position: absolute;
96
+ left: 0;
97
+ top: 100%;
98
+ right: 0;
99
+ bottom: 0;
100
+ z-index: -1;
101
+ cursor: default;
102
+ -webkit-user-select: none;
103
+ -moz-user-select: none;
104
+ -ms-user-select: none;
105
+ user-select: none;
106
+ }
107
+
108
+ .textLayer .endOfContent.active {
109
+ top: 0;
110
+ }
111
+
112
+
113
+ :root {
114
+ --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>");
115
+ }
116
+
117
+ .annotationLayer section {
118
+ position: absolute;
119
+ text-align: initial;
120
+ }
121
+
122
+ .annotationLayer .linkAnnotation > a,
123
+ .annotationLayer .buttonWidgetAnnotation.pushButton > a {
124
+ position: absolute;
125
+ font-size: 1em;
126
+ top: 0;
127
+ left: 0;
128
+ width: 100%;
129
+ height: 100%;
130
+ }
131
+
132
+ .annotationLayer .buttonWidgetAnnotation.pushButton > canvas {
133
+ position: relative;
134
+ top: 0;
135
+ left: 0;
136
+ z-index: -1;
137
+ }
138
+
139
+ .annotationLayer .linkAnnotation > a:hover,
140
+ .annotationLayer .buttonWidgetAnnotation.pushButton > a:hover {
141
+ opacity: 0.2;
142
+ background: rgba(255, 255, 0, 1);
143
+ -webkit-box-shadow: 0 2px 10px rgba(255, 255, 0, 1);
144
+ box-shadow: 0 2px 10px rgba(255, 255, 0, 1);
145
+ }
146
+
147
+ .annotationLayer .textAnnotation img {
148
+ position: absolute;
149
+ cursor: pointer;
150
+ }
151
+
152
+ .annotationLayer .textWidgetAnnotation input,
153
+ .annotationLayer .textWidgetAnnotation textarea,
154
+ .annotationLayer .choiceWidgetAnnotation select,
155
+ .annotationLayer .buttonWidgetAnnotation.checkBox input,
156
+ .annotationLayer .buttonWidgetAnnotation.radioButton input {
157
+ background-image: var(--annotation-unfocused-field-background);
158
+ border: 1px solid transparent;
159
+ -webkit-box-sizing: border-box;
160
+ box-sizing: border-box;
161
+ font-size: 9px;
162
+ height: 100%;
163
+ margin: 0;
164
+ padding: 0 3px;
165
+ vertical-align: top;
166
+ width: 100%;
167
+ }
168
+
169
+ .annotationLayer .choiceWidgetAnnotation select option {
170
+ padding: 0;
171
+ }
172
+
173
+ .annotationLayer .buttonWidgetAnnotation.radioButton input {
174
+ border-radius: 50%;
175
+ }
176
+
177
+ .annotationLayer .textWidgetAnnotation textarea {
178
+ font: message-box;
179
+ font-size: 9px;
180
+ resize: none;
181
+ }
182
+
183
+ .annotationLayer .textWidgetAnnotation input[disabled],
184
+ .annotationLayer .textWidgetAnnotation textarea[disabled],
185
+ .annotationLayer .choiceWidgetAnnotation select[disabled],
186
+ .annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],
187
+ .annotationLayer .buttonWidgetAnnotation.radioButton input[disabled] {
188
+ background: none;
189
+ border: 1px solid transparent;
190
+ cursor: not-allowed;
191
+ }
192
+
193
+ .annotationLayer .textWidgetAnnotation input:hover,
194
+ .annotationLayer .textWidgetAnnotation textarea:hover,
195
+ .annotationLayer .choiceWidgetAnnotation select:hover,
196
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:hover,
197
+ .annotationLayer .buttonWidgetAnnotation.radioButton input:hover {
198
+ border: 1px solid rgba(0, 0, 0, 1);
199
+ }
200
+
201
+ .annotationLayer .textWidgetAnnotation input:focus,
202
+ .annotationLayer .textWidgetAnnotation textarea:focus,
203
+ .annotationLayer .choiceWidgetAnnotation select:focus {
204
+ background: none;
205
+ border: 1px solid transparent;
206
+ }
207
+
208
+ .annotationLayer .textWidgetAnnotation input :focus,
209
+ .annotationLayer .textWidgetAnnotation textarea :focus,
210
+ .annotationLayer .choiceWidgetAnnotation select :focus,
211
+ .annotationLayer .buttonWidgetAnnotation.checkBox :focus,
212
+ .annotationLayer .buttonWidgetAnnotation.radioButton :focus {
213
+ background-image: none;
214
+ background-color: transparent;
215
+ outline: auto;
216
+ }
217
+
218
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,
219
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,
220
+ .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before {
221
+ background-color: rgba(0, 0, 0, 1);
222
+ content: "";
223
+ display: block;
224
+ position: absolute;
225
+ }
226
+
227
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,
228
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after {
229
+ height: 80%;
230
+ left: 45%;
231
+ width: 1px;
232
+ }
233
+
234
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before {
235
+ -webkit-transform: rotate(45deg);
236
+ transform: rotate(45deg);
237
+ }
238
+
239
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after {
240
+ -webkit-transform: rotate(-45deg);
241
+ transform: rotate(-45deg);
242
+ }
243
+
244
+ .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before {
245
+ border-radius: 50%;
246
+ height: 50%;
247
+ left: 30%;
248
+ top: 20%;
249
+ width: 50%;
250
+ }
251
+
252
+ .annotationLayer .textWidgetAnnotation input.comb {
253
+ font-family: monospace;
254
+ padding-left: 2px;
255
+ padding-right: 0;
256
+ }
257
+
258
+ .annotationLayer .textWidgetAnnotation input.comb:focus {
259
+ /*
260
+ * Letter spacing is placed on the right side of each character. Hence, the
261
+ * letter spacing of the last character may be placed outside the visible
262
+ * area, causing horizontal scrolling. We avoid this by extending the width
263
+ * when the element has focus and revert this when it loses focus.
264
+ */
265
+ width: 103%;
266
+ }
267
+
268
+ .annotationLayer .buttonWidgetAnnotation.checkBox input,
269
+ .annotationLayer .buttonWidgetAnnotation.radioButton input {
270
+ -webkit-appearance: none;
271
+ -moz-appearance: none;
272
+ appearance: none;
273
+ padding: 0;
274
+ }
275
+
276
+ .annotationLayer .popupWrapper {
277
+ position: absolute;
278
+ width: 20em;
279
+ }
280
+
281
+ .annotationLayer .popup {
282
+ position: absolute;
283
+ z-index: 200;
284
+ max-width: 20em;
285
+ background-color: rgba(255, 255, 153, 1);
286
+ -webkit-box-shadow: 0 2px 5px rgba(136, 136, 136, 1);
287
+ box-shadow: 0 2px 5px rgba(136, 136, 136, 1);
288
+ border-radius: 2px;
289
+ padding: 6px;
290
+ margin-left: 5px;
291
+ cursor: pointer;
292
+ font: message-box;
293
+ font-size: 9px;
294
+ white-space: normal;
295
+ word-wrap: break-word;
296
+ }
297
+
298
+ .annotationLayer .popup > * {
299
+ font-size: 9px;
300
+ }
301
+
302
+ .annotationLayer .popup h1 {
303
+ display: inline-block;
304
+ }
305
+
306
+ .annotationLayer .popupDate {
307
+ display: inline-block;
308
+ margin-left: 5px;
309
+ }
310
+
311
+ .annotationLayer .popupContent {
312
+ border-top: 1px solid rgba(51, 51, 51, 1);
313
+ margin-top: 2px;
314
+ padding-top: 2px;
315
+ }
316
+
317
+ .annotationLayer .richText > * {
318
+ white-space: pre-wrap;
319
+ }
320
+
321
+ .annotationLayer .highlightAnnotation,
322
+ .annotationLayer .underlineAnnotation,
323
+ .annotationLayer .squigglyAnnotation,
324
+ .annotationLayer .strikeoutAnnotation,
325
+ .annotationLayer .freeTextAnnotation,
326
+ .annotationLayer .lineAnnotation svg line,
327
+ .annotationLayer .squareAnnotation svg rect,
328
+ .annotationLayer .circleAnnotation svg ellipse,
329
+ .annotationLayer .polylineAnnotation svg polyline,
330
+ .annotationLayer .polygonAnnotation svg polygon,
331
+ .annotationLayer .caretAnnotation,
332
+ .annotationLayer .inkAnnotation svg polyline,
333
+ .annotationLayer .stampAnnotation,
334
+ .annotationLayer .fileAttachmentAnnotation {
335
+ cursor: pointer;
336
+ }
337
+
338
+
339
+ :root {
340
+ --xfa-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");
341
+ }
342
+
343
+ .xfaLayer .highlight {
344
+ margin: -1px;
345
+ padding: 1px;
346
+ background-color: rgba(239, 203, 237, 1);
347
+ border-radius: 4px;
348
+ }
349
+
350
+ .xfaLayer .highlight.appended {
351
+ position: initial;
352
+ }
353
+
354
+ .xfaLayer .highlight.begin {
355
+ border-radius: 4px 0 0 4px;
356
+ }
357
+
358
+ .xfaLayer .highlight.end {
359
+ border-radius: 0 4px 4px 0;
360
+ }
361
+
362
+ .xfaLayer .highlight.middle {
363
+ border-radius: 0;
364
+ }
365
+
366
+ .xfaLayer .highlight.selected {
367
+ background-color: rgba(203, 223, 203, 1);
368
+ }
369
+
370
+ .xfaLayer ::-moz-selection {
371
+ background: rgba(0, 0, 255, 1);
372
+ }
373
+
374
+ .xfaLayer ::selection {
375
+ background: rgba(0, 0, 255, 1);
376
+ }
377
+
378
+ .xfaPage {
379
+ overflow: hidden;
380
+ position: relative;
381
+ }
382
+
383
+ .xfaContentarea {
384
+ position: absolute;
385
+ }
386
+
387
+ .xfaPrintOnly {
388
+ display: none;
389
+ }
390
+
391
+ .xfaLayer {
392
+ position: absolute;
393
+ text-align: initial;
394
+ top: 0;
395
+ left: 0;
396
+ -webkit-transform-origin: 0 0;
397
+ transform-origin: 0 0;
398
+ line-height: 1.2;
399
+ }
400
+
401
+ .xfaLayer * {
402
+ color: inherit;
403
+ font: inherit;
404
+ font-style: inherit;
405
+ font-weight: inherit;
406
+ -webkit-font-kerning: inherit;
407
+ font-kerning: inherit;
408
+ letter-spacing: -0.01px;
409
+ text-align: inherit;
410
+ text-decoration: inherit;
411
+ -webkit-box-sizing: border-box;
412
+ box-sizing: border-box;
413
+ background-color: transparent;
414
+ padding: 0;
415
+ margin: 0;
416
+ pointer-events: auto;
417
+ line-height: inherit;
418
+ }
419
+
420
+ .xfaLayer div {
421
+ pointer-events: none;
422
+ }
423
+
424
+ .xfaLayer svg {
425
+ pointer-events: none;
426
+ }
427
+
428
+ .xfaLayer svg * {
429
+ pointer-events: none;
430
+ }
431
+
432
+ .xfaLayer a {
433
+ color: blue;
434
+ }
435
+
436
+ .xfaRich li {
437
+ margin-left: 3em;
438
+ }
439
+
440
+ .xfaFont {
441
+ color: black;
442
+ font-weight: normal;
443
+ -webkit-font-kerning: none;
444
+ font-kerning: none;
445
+ font-size: 10px;
446
+ font-style: normal;
447
+ letter-spacing: 0;
448
+ text-decoration: none;
449
+ vertical-align: 0;
450
+ }
451
+
452
+ .xfaCaption {
453
+ overflow: hidden;
454
+ -webkit-box-flex: 0;
455
+ -ms-flex: 0 0 auto;
456
+ flex: 0 0 auto;
457
+ }
458
+
459
+ .xfaCaptionForCheckButton {
460
+ overflow: hidden;
461
+ -webkit-box-flex: 1;
462
+ -ms-flex: 1 1 auto;
463
+ flex: 1 1 auto;
464
+ }
465
+
466
+ .xfaLabel {
467
+ height: 100%;
468
+ width: 100%;
469
+ }
470
+
471
+ .xfaLeft {
472
+ display: -webkit-box;
473
+ display: -ms-flexbox;
474
+ display: flex;
475
+ -webkit-box-orient: horizontal;
476
+ -webkit-box-direction: normal;
477
+ -ms-flex-direction: row;
478
+ flex-direction: row;
479
+ -webkit-box-align: center;
480
+ -ms-flex-align: center;
481
+ align-items: center;
482
+ }
483
+
484
+ .xfaRight {
485
+ display: -webkit-box;
486
+ display: -ms-flexbox;
487
+ display: flex;
488
+ -webkit-box-orient: horizontal;
489
+ -webkit-box-direction: reverse;
490
+ -ms-flex-direction: row-reverse;
491
+ flex-direction: row-reverse;
492
+ -webkit-box-align: center;
493
+ -ms-flex-align: center;
494
+ align-items: center;
495
+ }
496
+
497
+ .xfaLeft > .xfaCaption,
498
+ .xfaLeft > .xfaCaptionForCheckButton,
499
+ .xfaRight > .xfaCaption,
500
+ .xfaRight > .xfaCaptionForCheckButton {
501
+ max-height: 100%;
502
+ }
503
+
504
+ .xfaTop {
505
+ display: -webkit-box;
506
+ display: -ms-flexbox;
507
+ display: flex;
508
+ -webkit-box-orient: vertical;
509
+ -webkit-box-direction: normal;
510
+ -ms-flex-direction: column;
511
+ flex-direction: column;
512
+ -webkit-box-align: start;
513
+ -ms-flex-align: start;
514
+ align-items: flex-start;
515
+ }
516
+
517
+ .xfaBottom {
518
+ display: -webkit-box;
519
+ display: -ms-flexbox;
520
+ display: flex;
521
+ -webkit-box-orient: vertical;
522
+ -webkit-box-direction: reverse;
523
+ -ms-flex-direction: column-reverse;
524
+ flex-direction: column-reverse;
525
+ -webkit-box-align: start;
526
+ -ms-flex-align: start;
527
+ align-items: flex-start;
528
+ }
529
+
530
+ .xfaTop > .xfaCaption,
531
+ .xfaTop > .xfaCaptionForCheckButton,
532
+ .xfaBottom > .xfaCaption,
533
+ .xfaBottom > .xfaCaptionForCheckButton {
534
+ width: 100%;
535
+ }
536
+
537
+ .xfaBorder {
538
+ background-color: transparent;
539
+ position: absolute;
540
+ pointer-events: none;
541
+ }
542
+
543
+ .xfaWrapped {
544
+ width: 100%;
545
+ height: 100%;
546
+ }
547
+
548
+ .xfaTextfield:focus,
549
+ .xfaSelect:focus {
550
+ background-image: none;
551
+ background-color: transparent;
552
+ outline: auto;
553
+ outline-offset: -1px;
554
+ }
555
+
556
+ .xfaCheckbox:focus,
557
+ .xfaRadio:focus {
558
+ outline: auto;
559
+ }
560
+
561
+ .xfaTextfield,
562
+ .xfaSelect {
563
+ height: 100%;
564
+ width: 100%;
565
+ -webkit-box-flex: 1;
566
+ -ms-flex: 1 1 auto;
567
+ flex: 1 1 auto;
568
+ border: none;
569
+ resize: none;
570
+ background-image: var(--xfa-unfocused-field-background);
571
+ }
572
+
573
+ .xfaTop > .xfaTextfield,
574
+ .xfaTop > .xfaSelect,
575
+ .xfaBottom > .xfaTextfield,
576
+ .xfaBottom > .xfaSelect {
577
+ -webkit-box-flex: 0;
578
+ -ms-flex: 0 1 auto;
579
+ flex: 0 1 auto;
580
+ }
581
+
582
+ .xfaButton {
583
+ cursor: pointer;
584
+ width: 100%;
585
+ height: 100%;
586
+ border: none;
587
+ text-align: center;
588
+ }
589
+
590
+ .xfaLink {
591
+ width: 100%;
592
+ height: 100%;
593
+ position: absolute;
594
+ top: 0;
595
+ left: 0;
596
+ }
597
+
598
+ .xfaCheckbox,
599
+ .xfaRadio {
600
+ width: 100%;
601
+ height: 100%;
602
+ -webkit-box-flex: 0;
603
+ -ms-flex: 0 0 auto;
604
+ flex: 0 0 auto;
605
+ border: none;
606
+ }
607
+
608
+ .xfaRich {
609
+ white-space: pre-wrap;
610
+ width: 100%;
611
+ height: 100%;
612
+ }
613
+
614
+ .xfaImage {
615
+ -o-object-position: left top;
616
+ object-position: left top;
617
+ -o-object-fit: contain;
618
+ object-fit: contain;
619
+ width: 100%;
620
+ height: 100%;
621
+ }
622
+
623
+ .xfaLrTb,
624
+ .xfaRlTb,
625
+ .xfaTb {
626
+ display: -webkit-box;
627
+ display: -ms-flexbox;
628
+ display: flex;
629
+ -webkit-box-orient: vertical;
630
+ -webkit-box-direction: normal;
631
+ -ms-flex-direction: column;
632
+ flex-direction: column;
633
+ -webkit-box-align: stretch;
634
+ -ms-flex-align: stretch;
635
+ align-items: stretch;
636
+ }
637
+
638
+ .xfaLr {
639
+ display: -webkit-box;
640
+ display: -ms-flexbox;
641
+ display: flex;
642
+ -webkit-box-orient: horizontal;
643
+ -webkit-box-direction: normal;
644
+ -ms-flex-direction: row;
645
+ flex-direction: row;
646
+ -webkit-box-align: stretch;
647
+ -ms-flex-align: stretch;
648
+ align-items: stretch;
649
+ }
650
+
651
+ .xfaRl {
652
+ display: -webkit-box;
653
+ display: -ms-flexbox;
654
+ display: flex;
655
+ -webkit-box-orient: horizontal;
656
+ -webkit-box-direction: reverse;
657
+ -ms-flex-direction: row-reverse;
658
+ flex-direction: row-reverse;
659
+ -webkit-box-align: stretch;
660
+ -ms-flex-align: stretch;
661
+ align-items: stretch;
662
+ }
663
+
664
+ .xfaTb > div {
665
+ -webkit-box-pack: left;
666
+ -ms-flex-pack: left;
667
+ justify-content: left;
668
+ }
669
+
670
+ .xfaPosition {
671
+ position: relative;
672
+ }
673
+
674
+ .xfaArea {
675
+ position: relative;
676
+ }
677
+
678
+ .xfaValignMiddle {
679
+ display: -webkit-box;
680
+ display: -ms-flexbox;
681
+ display: flex;
682
+ -webkit-box-align: center;
683
+ -ms-flex-align: center;
684
+ align-items: center;
685
+ }
686
+
687
+ .xfaTable {
688
+ display: -webkit-box;
689
+ display: -ms-flexbox;
690
+ display: flex;
691
+ -webkit-box-orient: vertical;
692
+ -webkit-box-direction: normal;
693
+ -ms-flex-direction: column;
694
+ flex-direction: column;
695
+ -webkit-box-align: stretch;
696
+ -ms-flex-align: stretch;
697
+ align-items: stretch;
698
+ }
699
+
700
+ .xfaTable .xfaRow {
701
+ display: -webkit-box;
702
+ display: -ms-flexbox;
703
+ display: flex;
704
+ -webkit-box-orient: horizontal;
705
+ -webkit-box-direction: normal;
706
+ -ms-flex-direction: row;
707
+ flex-direction: row;
708
+ -webkit-box-align: stretch;
709
+ -ms-flex-align: stretch;
710
+ align-items: stretch;
711
+ }
712
+
713
+ .xfaTable .xfaRlRow {
714
+ display: -webkit-box;
715
+ display: -ms-flexbox;
716
+ display: flex;
717
+ -webkit-box-orient: horizontal;
718
+ -webkit-box-direction: reverse;
719
+ -ms-flex-direction: row-reverse;
720
+ flex-direction: row-reverse;
721
+ -webkit-box-align: stretch;
722
+ -ms-flex-align: stretch;
723
+ align-items: stretch;
724
+ -webkit-box-flex: 1;
725
+ -ms-flex: 1;
726
+ flex: 1;
727
+ }
728
+
729
+ .xfaTable .xfaRlRow > div {
730
+ -webkit-box-flex: 1;
731
+ -ms-flex: 1;
732
+ flex: 1;
733
+ }
734
+
735
+ .xfaNonInteractive input,
736
+ .xfaNonInteractive textarea,
737
+ .xfaDisabled input,
738
+ .xfaDisabled textarea,
739
+ .xfaReadOnly input,
740
+ .xfaReadOnly textarea {
741
+ background: initial;
742
+ }
743
+
744
+ @media print {
745
+ .xfaTextfield,
746
+ .xfaSelect {
747
+ background: transparent;
748
+ }
749
+
750
+ .xfaSelect {
751
+ -webkit-appearance: none;
752
+ -moz-appearance: none;
753
+ appearance: none;
754
+ text-indent: 1px;
755
+ text-overflow: "";
756
+ }
757
+ }
758
+
759
+ :root {
760
+ --pdfViewer-padding-bottom: 0;
761
+ --page-margin: 1px auto -8px;
762
+ --page-border: 9px solid transparent;
763
+ --spreadHorizontalWrapped-margin-LR: -3.5px;
764
+ --zoom-factor: 1;
765
+ --viewport-scale-factor: 1;
766
+ }
767
+
768
+ @media screen and (forced-colors: active) {
769
+ :root {
770
+ --pdfViewer-padding-bottom: 9px;
771
+ --page-margin: 9px auto 0;
772
+ --page-border: none;
773
+ --spreadHorizontalWrapped-margin-LR: 4.5px;
774
+ }
775
+ }
776
+
777
+ .pdfViewer {
778
+ padding-bottom: var(--pdfViewer-padding-bottom);
779
+ }
780
+
781
+ .pdfViewer .canvasWrapper {
782
+ overflow: hidden;
783
+ }
784
+
785
+ .pdfViewer .page {
786
+ direction: ltr;
787
+ width: 816px;
788
+ height: 1056px;
789
+ margin: var(--page-margin);
790
+ position: relative;
791
+ overflow: visible;
792
+ border: var(--page-border);
793
+ background-clip: content-box;
794
+ -o-border-image: url(images/shadow.png) 9 9 repeat;
795
+ border-image: url(images/shadow.png) 9 9 repeat;
796
+ background-color: rgba(255, 255, 255, 1);
797
+ }
798
+
799
+ .pdfViewer .dummyPage {
800
+ position: relative;
801
+ width: 0;
802
+ /* The height is set via JS, see `BaseViewer.#ensurePageViewVisible`. */
803
+ }
804
+
805
+ .pdfViewer.removePageBorders .page {
806
+ margin: 0 auto 10px;
807
+ border: none;
808
+ }
809
+
810
+ .pdfViewer.singlePageView {
811
+ display: inline-block;
812
+ }
813
+
814
+ .pdfViewer.singlePageView .page {
815
+ margin: 0;
816
+ border: none;
817
+ }
818
+
819
+ .pdfViewer.scrollHorizontal,
820
+ .pdfViewer.scrollWrapped,
821
+ .spread {
822
+ margin-left: 3.5px;
823
+ margin-right: 3.5px;
824
+ text-align: center;
825
+ }
826
+
827
+ .pdfViewer.scrollHorizontal,
828
+ .spread {
829
+ white-space: nowrap;
830
+ }
831
+
832
+ .pdfViewer.removePageBorders,
833
+ .pdfViewer.scrollHorizontal .spread,
834
+ .pdfViewer.scrollWrapped .spread {
835
+ margin-left: 0;
836
+ margin-right: 0;
837
+ }
838
+
839
+ .spread .page,
840
+ .spread .dummyPage,
841
+ .pdfViewer.scrollHorizontal .page,
842
+ .pdfViewer.scrollWrapped .page,
843
+ .pdfViewer.scrollHorizontal .spread,
844
+ .pdfViewer.scrollWrapped .spread {
845
+ display: inline-block;
846
+ vertical-align: middle;
847
+ }
848
+
849
+ .spread .page,
850
+ .pdfViewer.scrollHorizontal .page,
851
+ .pdfViewer.scrollWrapped .page {
852
+ margin-left: var(--spreadHorizontalWrapped-margin-LR);
853
+ margin-right: var(--spreadHorizontalWrapped-margin-LR);
854
+ }
855
+
856
+ .pdfViewer.removePageBorders .spread .page,
857
+ .pdfViewer.removePageBorders.scrollHorizontal .page,
858
+ .pdfViewer.removePageBorders.scrollWrapped .page {
859
+ margin-left: 5px;
860
+ margin-right: 5px;
861
+ }
862
+
863
+ .pdfViewer .page canvas {
864
+ margin: 0;
865
+ display: block;
866
+ }
867
+
868
+ .pdfViewer .page canvas[hidden] {
869
+ display: none;
870
+ }
871
+
872
+ .pdfViewer .page .loadingIcon {
873
+ position: absolute;
874
+ display: block;
875
+ left: 0;
876
+ top: 0;
877
+ right: 0;
878
+ bottom: 0;
879
+ background: url("images/loading-icon.gif") center no-repeat;
880
+ }
881
+ .pdfViewer .page .loadingIcon.notVisible {
882
+ background: none;
883
+ }
884
+
885
+ .pdfViewer.enablePermissions .textLayer span {
886
+ -webkit-user-select: none !important;
887
+ -moz-user-select: none !important;
888
+ -ms-user-select: none !important;
889
+ user-select: none !important;
890
+ cursor: not-allowed;
891
+ }
892
+
893
+ .pdfPresentationMode .pdfViewer {
894
+ padding-bottom: 0;
895
+ }
896
+
897
+ .pdfPresentationMode .spread {
898
+ margin: 0;
899
+ }
900
+
901
+ .pdfPresentationMode .pdfViewer .page {
902
+ margin: 0 auto;
903
+ border: 2px solid transparent;
904
+ }
905
+
906
+ :root {
907
+ --dir-factor: 1;
908
+ --sidebar-width: 200px;
909
+ --sidebar-transition-duration: 200ms;
910
+ --sidebar-transition-timing-function: ease;
911
+ --scale-select-container-width: 140px;
912
+ --scale-select-overflow: 22px;
913
+ --loadingBar-end-offset: 0;
914
+
915
+ --toolbar-icon-opacity: 0.7;
916
+ --doorhanger-icon-opacity: 0.9;
917
+
918
+ --main-color: rgba(12, 12, 13, 1);
919
+ --body-bg-color: rgba(237, 237, 240, 1);
920
+ --errorWrapper-bg-color: rgba(255, 110, 110, 1);
921
+ --progressBar-color: rgba(10, 132, 255, 1);
922
+ --progressBar-indeterminate-bg-color: rgba(221, 221, 222, 1);
923
+ --progressBar-indeterminate-blend-color: rgba(116, 177, 239, 1);
924
+ --scrollbar-color: auto;
925
+ --scrollbar-bg-color: auto;
926
+ --toolbar-icon-bg-color: rgba(0, 0, 0, 1);
927
+ --toolbar-icon-hover-bg-color: rgba(0, 0, 0, 1);
928
+
929
+ --sidebar-narrow-bg-color: rgba(237, 237, 240, 0.9);
930
+ --sidebar-toolbar-bg-color: rgba(245, 246, 247, 1);
931
+ --toolbar-bg-color: rgba(249, 249, 250, 1);
932
+ --toolbar-border-color: rgba(204, 204, 204, 1);
933
+ --button-hover-color: rgba(221, 222, 223, 1);
934
+ --toggled-btn-color: rgba(0, 0, 0, 1);
935
+ --toggled-btn-bg-color: rgba(0, 0, 0, 0.3);
936
+ --toggled-hover-active-btn-color: rgba(0, 0, 0, 0.4);
937
+ --dropdown-btn-bg-color: rgba(215, 215, 219, 1);
938
+ --separator-color: rgba(0, 0, 0, 0.3);
939
+ --field-color: rgba(6, 6, 6, 1);
940
+ --field-bg-color: rgba(255, 255, 255, 1);
941
+ --field-border-color: rgba(187, 187, 188, 1);
942
+ --findbar-nextprevious-btn-bg-color: rgba(227, 228, 230, 1);
943
+ --treeitem-color: rgba(0, 0, 0, 0.8);
944
+ --treeitem-hover-color: rgba(0, 0, 0, 0.9);
945
+ --treeitem-selected-color: rgba(0, 0, 0, 0.9);
946
+ --treeitem-selected-bg-color: rgba(0, 0, 0, 0.25);
947
+ --sidebaritem-bg-color: rgba(0, 0, 0, 0.15);
948
+ --doorhanger-bg-color: rgba(255, 255, 255, 1);
949
+ --doorhanger-border-color: rgba(12, 12, 13, 0.2);
950
+ --doorhanger-hover-color: rgba(12, 12, 13, 1);
951
+ --doorhanger-hover-bg-color: rgba(237, 237, 237, 1);
952
+ --doorhanger-separator-color: rgba(222, 222, 222, 1);
953
+ --dialog-button-border: 0 none;
954
+ --dialog-button-bg-color: rgba(12, 12, 13, 0.1);
955
+ --dialog-button-hover-bg-color: rgba(12, 12, 13, 0.3);
956
+
957
+ --loading-icon: url(images/loading.svg);
958
+ --treeitem-expanded-icon: url(images/treeitem-expanded.svg);
959
+ --treeitem-collapsed-icon: url(images/treeitem-collapsed.svg);
960
+ --toolbarButton-menuArrow-icon: url(images/toolbarButton-menuArrow.svg);
961
+ --toolbarButton-sidebarToggle-icon: url(images/toolbarButton-sidebarToggle.svg);
962
+ --toolbarButton-secondaryToolbarToggle-icon: url(images/toolbarButton-secondaryToolbarToggle.svg);
963
+ --toolbarButton-pageUp-icon: url(images/toolbarButton-pageUp.svg);
964
+ --toolbarButton-pageDown-icon: url(images/toolbarButton-pageDown.svg);
965
+ --toolbarButton-zoomOut-icon: url(images/toolbarButton-zoomOut.svg);
966
+ --toolbarButton-zoomIn-icon: url(images/toolbarButton-zoomIn.svg);
967
+ --toolbarButton-presentationMode-icon: url(images/toolbarButton-presentationMode.svg);
968
+ --toolbarButton-print-icon: url(images/toolbarButton-print.svg);
969
+ --toolbarButton-openFile-icon: url(images/toolbarButton-openFile.svg);
970
+ --toolbarButton-download-icon: url(images/toolbarButton-download.svg);
971
+ --toolbarButton-bookmark-icon: url(images/toolbarButton-bookmark.svg);
972
+ --toolbarButton-viewThumbnail-icon: url(images/toolbarButton-viewThumbnail.svg);
973
+ --toolbarButton-viewOutline-icon: url(images/toolbarButton-viewOutline.svg);
974
+ --toolbarButton-viewAttachments-icon: url(images/toolbarButton-viewAttachments.svg);
975
+ --toolbarButton-viewLayers-icon: url(images/toolbarButton-viewLayers.svg);
976
+ --toolbarButton-viewSignatures-icon: url(images/toolbarButton-viewSignatures.svg);
977
+ --eSignature-icon: url(images/eSignature.svg);
978
+ --toolbarButton-currentOutlineItem-icon: url(images/toolbarButton-currentOutlineItem.svg);
979
+ --toolbarButton-search-icon: url(images/toolbarButton-search.svg);
980
+ --findbarButton-previous-icon: url(images/findbarButton-previous.svg);
981
+ --findbarButton-next-icon: url(images/findbarButton-next.svg);
982
+ --secondaryToolbarButton-firstPage-icon: url(images/secondaryToolbarButton-firstPage.svg);
983
+ --secondaryToolbarButton-lastPage-icon: url(images/secondaryToolbarButton-lastPage.svg);
984
+ --secondaryToolbarButton-rotateCcw-icon: url(images/secondaryToolbarButton-rotateCcw.svg);
985
+ --secondaryToolbarButton-rotateCw-icon: url(images/secondaryToolbarButton-rotateCw.svg);
986
+ --secondaryToolbarButton-selectTool-icon: url(images/secondaryToolbarButton-selectTool.svg);
987
+ --secondaryToolbarButton-handTool-icon: url(images/secondaryToolbarButton-handTool.svg);
988
+ --secondaryToolbarButton-scrollPage-icon: url(images/secondaryToolbarButton-scrollPage.svg);
989
+ --secondaryToolbarButton-scrollVertical-icon: url(images/secondaryToolbarButton-scrollVertical.svg);
990
+ --secondaryToolbarButton-scrollHorizontal-icon: url(images/secondaryToolbarButton-scrollHorizontal.svg);
991
+ --secondaryToolbarButton-scrollWrapped-icon: url(images/secondaryToolbarButton-scrollWrapped.svg);
992
+ --secondaryToolbarButton-spreadNone-icon: url(images/secondaryToolbarButton-spreadNone.svg);
993
+ --secondaryToolbarButton-spreadOdd-icon: url(images/secondaryToolbarButton-spreadOdd.svg);
994
+ --secondaryToolbarButton-spreadEven-icon: url(images/secondaryToolbarButton-spreadEven.svg);
995
+ --secondaryToolbarButton-documentProperties-icon: url(images/secondaryToolbarButton-documentProperties.svg);
996
+ }
997
+
998
+ [dir="rtl"]:root {
999
+ --dir-factor: -1;
1000
+ }
1001
+
1002
+ @media (prefers-color-scheme: dark) {
1003
+ :root {
1004
+ --main-color: rgba(249, 249, 250, 1);
1005
+ --body-bg-color: rgba(42, 42, 46, 1);
1006
+ --errorWrapper-bg-color: rgba(169, 14, 14, 1);
1007
+ --progressBar-color: rgba(0, 96, 223, 1);
1008
+ --progressBar-indeterminate-bg-color: rgba(40, 40, 43, 1);
1009
+ --progressBar-indeterminate-blend-color: rgba(20, 68, 133, 1);
1010
+ --scrollbar-color: rgba(121, 121, 123, 1);
1011
+ --scrollbar-bg-color: rgba(35, 35, 39, 1);
1012
+ --toolbar-icon-bg-color: rgba(255, 255, 255, 1);
1013
+ --toolbar-icon-hover-bg-color: rgba(255, 255, 255, 1);
1014
+
1015
+ --sidebar-narrow-bg-color: rgba(42, 42, 46, 0.9);
1016
+ --sidebar-toolbar-bg-color: rgba(50, 50, 52, 1);
1017
+ --toolbar-bg-color: rgba(56, 56, 61, 1);
1018
+ --toolbar-border-color: rgba(12, 12, 13, 1);
1019
+ --button-hover-color: rgba(102, 102, 103, 1);
1020
+ --toggled-btn-color: rgba(255, 255, 255, 1);
1021
+ --toggled-btn-bg-color: rgba(0, 0, 0, 0.3);
1022
+ --toggled-hover-active-btn-color: rgba(0, 0, 0, 0.4);
1023
+ --dropdown-btn-bg-color: rgba(74, 74, 79, 1);
1024
+ --separator-color: rgba(0, 0, 0, 0.3);
1025
+ --field-color: rgba(250, 250, 250, 1);
1026
+ --field-bg-color: rgba(64, 64, 68, 1);
1027
+ --field-border-color: rgba(115, 115, 115, 1);
1028
+ --findbar-nextprevious-btn-bg-color: rgba(89, 89, 89, 1);
1029
+ --treeitem-color: rgba(255, 255, 255, 0.8);
1030
+ --treeitem-hover-color: rgba(255, 255, 255, 0.9);
1031
+ --treeitem-selected-color: rgba(255, 255, 255, 0.9);
1032
+ --treeitem-selected-bg-color: rgba(255, 255, 255, 0.25);
1033
+ --sidebaritem-bg-color: rgba(255, 255, 255, 0.15);
1034
+ --doorhanger-bg-color: rgba(74, 74, 79, 1);
1035
+ --doorhanger-border-color: rgba(39, 39, 43, 1);
1036
+ --doorhanger-hover-color: rgba(249, 249, 250, 1);
1037
+ --doorhanger-hover-bg-color: rgba(93, 94, 98, 1);
1038
+ --doorhanger-separator-color: rgba(92, 92, 97, 1);
1039
+ --dialog-button-bg-color: rgba(92, 92, 97, 1);
1040
+ --dialog-button-hover-bg-color: rgba(115, 115, 115, 1);
1041
+
1042
+ /* This image is used in <input> elements, which unfortunately means that
1043
+ * the `mask-image` approach used with all of the other images doesn't work
1044
+ * here; hence why we still have two versions of this particular image. */
1045
+ --loading-icon: url(images/loading-dark.svg);
1046
+ }
1047
+ }
1048
+
1049
+ @media screen and (forced-colors: active) {
1050
+ :root {
1051
+ --button-hover-color: Highlight;
1052
+ --doorhanger-hover-bg-color: Highlight;
1053
+ --toolbar-icon-opacity: 1;
1054
+ --toolbar-icon-bg-color: ButtonText;
1055
+ --toolbar-icon-hover-bg-color: ButtonFace;
1056
+ --toggled-btn-color: HighlightText;
1057
+ --toggled-btn-bg-color: LinkText;
1058
+ --doorhanger-hover-color: ButtonFace;
1059
+ --doorhanger-border-color-whcm: 1px solid ButtonText;
1060
+ --doorhanger-triangle-opacity-whcm: 0;
1061
+ --dialog-button-border: 1px solid Highlight;
1062
+ --dialog-button-hover-bg-color: Highlight;
1063
+ --dialog-button-hover-color: ButtonFace;
1064
+ --field-border-color: ButtonText;
1065
+ }
1066
+ }
1067
+
1068
+ * {
1069
+ padding: 0;
1070
+ margin: 0;
1071
+ }
1072
+
1073
+ html {
1074
+ height: 100%;
1075
+ width: 100%;
1076
+ }
1077
+
1078
+ body {
1079
+ height: 100%;
1080
+ width: 100%;
1081
+ background-color: var(--body-bg-color);
1082
+ }
1083
+
1084
+ body,
1085
+ input,
1086
+ button,
1087
+ select {
1088
+ font: message-box;
1089
+ outline: none;
1090
+ scrollbar-color: var(--scrollbar-color) var(--scrollbar-bg-color);
1091
+ }
1092
+
1093
+ .hidden {
1094
+ display: none !important;
1095
+ }
1096
+ [hidden] {
1097
+ display: none !important;
1098
+ }
1099
+
1100
+ #viewerContainer.pdfPresentationMode:-webkit-full-screen {
1101
+ top: 0;
1102
+ background-color: rgba(0, 0, 0, 1);
1103
+ width: 100%;
1104
+ height: 100%;
1105
+ overflow: hidden;
1106
+ cursor: none;
1107
+ -webkit-user-select: none;
1108
+ user-select: none;
1109
+ }
1110
+
1111
+ #viewerContainer.pdfPresentationMode:-ms-fullscreen {
1112
+ top: 0;
1113
+ background-color: rgba(0, 0, 0, 1);
1114
+ width: 100%;
1115
+ height: 100%;
1116
+ overflow: hidden;
1117
+ cursor: none;
1118
+ -ms-user-select: none;
1119
+ user-select: none;
1120
+ }
1121
+
1122
+ #viewerContainer.pdfPresentationMode:fullscreen {
1123
+ top: 0;
1124
+ background-color: rgba(0, 0, 0, 1);
1125
+ width: 100%;
1126
+ height: 100%;
1127
+ overflow: hidden;
1128
+ cursor: none;
1129
+ -webkit-user-select: none;
1130
+ -moz-user-select: none;
1131
+ -ms-user-select: none;
1132
+ user-select: none;
1133
+ }
1134
+
1135
+ .pdfPresentationMode:-webkit-full-screen a:not(.internalLink) {
1136
+ display: none;
1137
+ }
1138
+
1139
+ .pdfPresentationMode:-ms-fullscreen a:not(.internalLink) {
1140
+ display: none;
1141
+ }
1142
+
1143
+ .pdfPresentationMode:fullscreen a:not(.internalLink) {
1144
+ display: none;
1145
+ }
1146
+
1147
+ .pdfPresentationMode:-webkit-full-screen .textLayer span {
1148
+ cursor: none;
1149
+ }
1150
+
1151
+ .pdfPresentationMode:-ms-fullscreen .textLayer span {
1152
+ cursor: none;
1153
+ }
1154
+
1155
+ .pdfPresentationMode:fullscreen .textLayer span {
1156
+ cursor: none;
1157
+ }
1158
+
1159
+ .pdfPresentationMode.pdfPresentationModeControls > *,
1160
+ .pdfPresentationMode.pdfPresentationModeControls .textLayer span {
1161
+ cursor: default;
1162
+ }
1163
+
1164
+ #outerContainer {
1165
+ width: 100%;
1166
+ height: 100%;
1167
+ position: relative;
1168
+ }
1169
+
1170
+ [dir="ltr"] #sidebarContainer {
1171
+ left: calc(-1 * var(--sidebar-width));
1172
+ }
1173
+
1174
+ [dir="rtl"] #sidebarContainer {
1175
+ right: calc(-1 * var(--sidebar-width));
1176
+ }
1177
+
1178
+ [dir="ltr"] #sidebarContainer {
1179
+ border-right: var(--doorhanger-border-color-whcm);
1180
+ }
1181
+
1182
+ [dir="rtl"] #sidebarContainer {
1183
+ border-left: var(--doorhanger-border-color-whcm);
1184
+ }
1185
+
1186
+ [dir="ltr"] #sidebarContainer {
1187
+ -webkit-transition-property: left;
1188
+ transition-property: left;
1189
+ }
1190
+
1191
+ [dir="rtl"] #sidebarContainer {
1192
+ -webkit-transition-property: right;
1193
+ transition-property: right;
1194
+ }
1195
+
1196
+ #sidebarContainer {
1197
+ position: absolute;
1198
+ top: 32px;
1199
+ bottom: 0;
1200
+ inset-inline-start: calc(-1 * var(--sidebar-width));
1201
+ width: var(--sidebar-width);
1202
+ visibility: hidden;
1203
+ z-index: 100;
1204
+ border-top: 1px solid rgba(51, 51, 51, 1);
1205
+ -webkit-border-end: var(--doorhanger-border-color-whcm);
1206
+ border-inline-end: var(--doorhanger-border-color-whcm);
1207
+ -webkit-transition-property: inset-inline-start;
1208
+ transition-property: inset-inline-start;
1209
+ -webkit-transition-duration: var(--sidebar-transition-duration);
1210
+ transition-duration: var(--sidebar-transition-duration);
1211
+ -webkit-transition-timing-function: var(--sidebar-transition-timing-function);
1212
+ transition-timing-function: var(--sidebar-transition-timing-function);
1213
+ }
1214
+
1215
+ #outerContainer.sidebarResizing #sidebarContainer {
1216
+ /* Improve responsiveness and avoid visual glitches when the sidebar is resized. */
1217
+ -webkit-transition-duration: 0s;
1218
+ transition-duration: 0s;
1219
+ /* Prevent e.g. the thumbnails being selected when the sidebar is resized. */
1220
+ -webkit-user-select: none;
1221
+ -moz-user-select: none;
1222
+ -ms-user-select: none;
1223
+ user-select: none;
1224
+ }
1225
+
1226
+ #outerContainer.sidebarMoving #sidebarContainer,
1227
+ #outerContainer.sidebarOpen #sidebarContainer {
1228
+ visibility: visible;
1229
+ }
1230
+ [dir="ltr"] #outerContainer.sidebarOpen #sidebarContainer {
1231
+ left: 0;
1232
+ }
1233
+ [dir="rtl"] #outerContainer.sidebarOpen #sidebarContainer {
1234
+ right: 0;
1235
+ }
1236
+ #outerContainer.sidebarOpen #sidebarContainer {
1237
+ inset-inline-start: 0;
1238
+ }
1239
+
1240
+ #mainContainer {
1241
+ position: absolute;
1242
+ top: 0;
1243
+ right: 0;
1244
+ bottom: 0;
1245
+ left: 0;
1246
+ min-width: 320px;
1247
+ }
1248
+
1249
+ [dir="ltr"] #sidebarContent {
1250
+ left: 0;
1251
+ }
1252
+
1253
+ [dir="rtl"] #sidebarContent {
1254
+ right: 0;
1255
+ }
1256
+
1257
+ #sidebarContent {
1258
+ top: 32px;
1259
+ bottom: 0;
1260
+ inset-inline-start: 0;
1261
+ overflow: auto;
1262
+ position: absolute;
1263
+ width: 100%;
1264
+ background-color: rgba(0, 0, 0, 0.1);
1265
+ -webkit-box-shadow: inset calc(-1px * var(--dir-factor)) 0 0 rgba(0, 0, 0, 0.25);
1266
+ box-shadow: inset calc(-1px * var(--dir-factor)) 0 0 rgba(0, 0, 0, 0.25);
1267
+ }
1268
+
1269
+ #viewerContainer {
1270
+ overflow: auto;
1271
+ position: absolute;
1272
+ top: 32px;
1273
+ right: 0;
1274
+ bottom: 0;
1275
+ left: 0;
1276
+ outline: none;
1277
+ }
1278
+ #viewerContainer:not(.pdfPresentationMode) {
1279
+ -webkit-transition-duration: var(--sidebar-transition-duration);
1280
+ transition-duration: var(--sidebar-transition-duration);
1281
+ -webkit-transition-timing-function: var(--sidebar-transition-timing-function);
1282
+ transition-timing-function: var(--sidebar-transition-timing-function);
1283
+ }
1284
+
1285
+ #outerContainer.sidebarResizing #viewerContainer {
1286
+ /* Improve responsiveness and avoid visual glitches when the sidebar is resized. */
1287
+ -webkit-transition-duration: 0s;
1288
+ transition-duration: 0s;
1289
+ }
1290
+
1291
+ [dir="ltr"] #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode) {
1292
+ left: var(--sidebar-width);
1293
+ }
1294
+
1295
+ [dir="rtl"] #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode) {
1296
+ right: var(--sidebar-width);
1297
+ }
1298
+
1299
+ [dir="ltr"] #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode) {
1300
+ -webkit-transition-property: left;
1301
+ transition-property: left;
1302
+ }
1303
+
1304
+ [dir="rtl"] #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode) {
1305
+ -webkit-transition-property: right;
1306
+ transition-property: right;
1307
+ }
1308
+
1309
+ #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode) {
1310
+ inset-inline-start: var(--sidebar-width);
1311
+ -webkit-transition-property: inset-inline-start;
1312
+ transition-property: inset-inline-start;
1313
+ }
1314
+
1315
+ .toolbar {
1316
+ position: relative;
1317
+ left: 0;
1318
+ right: 0;
1319
+ z-index: 9999;
1320
+ cursor: default;
1321
+ }
1322
+
1323
+ #toolbarContainer {
1324
+ width: 100%;
1325
+ }
1326
+
1327
+ #toolbarSidebar {
1328
+ width: 100%;
1329
+ height: 32px;
1330
+ background-color: var(--sidebar-toolbar-bg-color);
1331
+ -webkit-box-shadow: inset calc(-1px * var(--dir-factor)) 0 0 rgba(0, 0, 0, 0.25),
1332
+ 0 1px 0 rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.1);
1333
+ box-shadow: inset calc(-1px * var(--dir-factor)) 0 0 rgba(0, 0, 0, 0.25),
1334
+ 0 1px 0 rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.1);
1335
+ }
1336
+
1337
+ [dir="ltr"] #toolbarSidebar .toolbarButton {
1338
+ margin-right: 2px !important;
1339
+ }
1340
+
1341
+ [dir="rtl"] #toolbarSidebar .toolbarButton {
1342
+ margin-left: 2px !important;
1343
+ }
1344
+
1345
+ #toolbarSidebar .toolbarButton {
1346
+ -webkit-margin-end: 2px !important;
1347
+ margin-inline-end: 2px !important;
1348
+ }
1349
+ [dir="ltr"] #toolbarSidebarRight .toolbarButton {
1350
+ margin-right: 3px !important;
1351
+ }
1352
+ [dir="rtl"] #toolbarSidebarRight .toolbarButton {
1353
+ margin-left: 3px !important;
1354
+ }
1355
+ #toolbarSidebarRight .toolbarButton {
1356
+ -webkit-margin-end: 3px !important;
1357
+ margin-inline-end: 3px !important;
1358
+ }
1359
+
1360
+ [dir="ltr"] #sidebarResizer {
1361
+ right: -6px;
1362
+ }
1363
+
1364
+ [dir="rtl"] #sidebarResizer {
1365
+ left: -6px;
1366
+ }
1367
+
1368
+ #sidebarResizer {
1369
+ position: absolute;
1370
+ top: 0;
1371
+ bottom: 0;
1372
+ inset-inline-end: -6px;
1373
+ width: 6px;
1374
+ z-index: 200;
1375
+ cursor: ew-resize;
1376
+ }
1377
+
1378
+ #toolbarContainer,
1379
+ .findbar,
1380
+ .secondaryToolbar {
1381
+ position: relative;
1382
+ height: 32px;
1383
+ background-color: var(--toolbar-bg-color);
1384
+ -webkit-box-shadow: 0 1px 0 var(--toolbar-border-color);
1385
+ box-shadow: 0 1px 0 var(--toolbar-border-color);
1386
+ }
1387
+
1388
+ #toolbarViewer {
1389
+ height: 32px;
1390
+ }
1391
+
1392
+ [dir="ltr"] #loadingBar {
1393
+ left: 0;
1394
+ right: var(--loadingBar-end-offset);
1395
+ }
1396
+
1397
+ [dir="rtl"] #loadingBar {
1398
+ right: 0;
1399
+ left: var(--loadingBar-end-offset);
1400
+ }
1401
+
1402
+ [dir="ltr"] #loadingBar {
1403
+ -webkit-transition-property: left;
1404
+ transition-property: left;
1405
+ }
1406
+
1407
+ [dir="rtl"] #loadingBar {
1408
+ -webkit-transition-property: right;
1409
+ transition-property: right;
1410
+ }
1411
+
1412
+ #loadingBar {
1413
+ position: absolute;
1414
+ inset-inline: 0 var(--loadingBar-end-offset);
1415
+ height: 4px;
1416
+ background-color: var(--body-bg-color);
1417
+ border-bottom: 1px solid var(--toolbar-border-color);
1418
+ -webkit-transition-property: inset-inline-start;
1419
+ transition-property: inset-inline-start;
1420
+ -webkit-transition-duration: var(--sidebar-transition-duration);
1421
+ transition-duration: var(--sidebar-transition-duration);
1422
+ -webkit-transition-timing-function: var(--sidebar-transition-timing-function);
1423
+ transition-timing-function: var(--sidebar-transition-timing-function);
1424
+ }
1425
+
1426
+ [dir="ltr"] #outerContainer.sidebarOpen #loadingBar {
1427
+ left: var(--sidebar-width);
1428
+ }
1429
+
1430
+ [dir="rtl"] #outerContainer.sidebarOpen #loadingBar {
1431
+ right: var(--sidebar-width);
1432
+ }
1433
+
1434
+ #outerContainer.sidebarOpen #loadingBar {
1435
+ inset-inline-start: var(--sidebar-width);
1436
+ }
1437
+
1438
+ #outerContainer.sidebarResizing #loadingBar {
1439
+ /* Improve responsiveness and avoid visual glitches when the sidebar is resized. */
1440
+ -webkit-transition-duration: 0s;
1441
+ transition-duration: 0s;
1442
+ }
1443
+
1444
+ #loadingBar .progress {
1445
+ position: absolute;
1446
+ top: 0;
1447
+ left: 0;
1448
+ width: 0%;
1449
+ height: 100%;
1450
+ background-color: var(--progressBar-color);
1451
+ overflow: hidden;
1452
+ -webkit-transition: width 200ms;
1453
+ transition: width 200ms;
1454
+ }
1455
+
1456
+ @-webkit-keyframes progressIndeterminate {
1457
+ 0% {
1458
+ left: -142px;
1459
+ }
1460
+ 100% {
1461
+ left: 0;
1462
+ }
1463
+ }
1464
+
1465
+ @keyframes progressIndeterminate {
1466
+ 0% {
1467
+ left: -142px;
1468
+ }
1469
+ 100% {
1470
+ left: 0;
1471
+ }
1472
+ }
1473
+
1474
+ #loadingBar .progress.indeterminate {
1475
+ background-color: var(--progressBar-indeterminate-bg-color);
1476
+ -webkit-transition: none;
1477
+ transition: none;
1478
+ }
1479
+
1480
+ #loadingBar .progress.indeterminate .glimmer {
1481
+ position: absolute;
1482
+ top: 0;
1483
+ left: 0;
1484
+ height: 100%;
1485
+ width: calc(100% + 150px);
1486
+ background: repeating-linear-gradient(
1487
+ 135deg,
1488
+ var(--progressBar-indeterminate-blend-color) 0,
1489
+ var(--progressBar-indeterminate-bg-color) 5px,
1490
+ var(--progressBar-indeterminate-bg-color) 45px,
1491
+ var(--progressBar-color) 55px,
1492
+ var(--progressBar-color) 95px,
1493
+ var(--progressBar-indeterminate-blend-color) 100px
1494
+ );
1495
+ -webkit-animation: progressIndeterminate 1s linear infinite;
1496
+ animation: progressIndeterminate 1s linear infinite;
1497
+ }
1498
+
1499
+ .findbar,
1500
+ .secondaryToolbar {
1501
+ top: 32px;
1502
+ position: absolute;
1503
+ z-index: 10000;
1504
+ height: auto;
1505
+ min-width: 16px;
1506
+ padding: 0 4px;
1507
+ margin: 4px 2px;
1508
+ color: rgba(217, 217, 217, 1);
1509
+ font-size: 12px;
1510
+ line-height: 14px;
1511
+ text-align: left;
1512
+ cursor: default;
1513
+ }
1514
+
1515
+ [dir="ltr"] .findbar {
1516
+ left: 64px;
1517
+ }
1518
+
1519
+ [dir="rtl"] .findbar {
1520
+ right: 64px;
1521
+ }
1522
+
1523
+ .findbar {
1524
+ inset-inline-start: 64px;
1525
+ min-width: 300px;
1526
+ background-color: var(--toolbar-bg-color);
1527
+ }
1528
+ .findbar > div {
1529
+ height: 32px;
1530
+ }
1531
+ .findbar.wrapContainers > div {
1532
+ clear: both;
1533
+ }
1534
+ .findbar.wrapContainers > div.findbarMessageContainer {
1535
+ height: auto;
1536
+ }
1537
+
1538
+ [dir="ltr"] .findbar .splitToolbarButton {
1539
+ margin-left: 0;
1540
+ margin-right: 5px;
1541
+ }
1542
+
1543
+ [dir="rtl"] .findbar .splitToolbarButton {
1544
+ margin-right: 0;
1545
+ margin-left: 5px;
1546
+ }
1547
+
1548
+ .findbar .splitToolbarButton {
1549
+ margin-top: 3px;
1550
+ margin-inline: 0 5px;
1551
+ }
1552
+
1553
+ .findbar .splitToolbarButton > .toolbarButton {
1554
+ background-color: var(--findbar-nextprevious-btn-bg-color);
1555
+ border-radius: 0;
1556
+ height: 26px;
1557
+ border-top: 1px solid var(--field-border-color);
1558
+ border-bottom: 1px solid var(--field-border-color);
1559
+ }
1560
+
1561
+ .findbar .splitToolbarButton > .toolbarButton::before {
1562
+ top: 5px;
1563
+ }
1564
+
1565
+ [dir="ltr"] .findbar .splitToolbarButton > .findNext {
1566
+ border-top-right-radius: 2px;
1567
+ }
1568
+
1569
+ [dir="rtl"] .findbar .splitToolbarButton > .findNext {
1570
+ border-top-left-radius: 2px;
1571
+ }
1572
+
1573
+ [dir="ltr"] .findbar .splitToolbarButton > .findNext {
1574
+ border-bottom-right-radius: 2px;
1575
+ }
1576
+
1577
+ [dir="rtl"] .findbar .splitToolbarButton > .findNext {
1578
+ border-bottom-left-radius: 2px;
1579
+ }
1580
+
1581
+ [dir="ltr"] .findbar .splitToolbarButton > .findNext {
1582
+ border-right: 1px solid var(--field-border-color);
1583
+ }
1584
+
1585
+ [dir="rtl"] .findbar .splitToolbarButton > .findNext {
1586
+ border-left: 1px solid var(--field-border-color);
1587
+ }
1588
+
1589
+ .findbar .splitToolbarButton > .findNext {
1590
+ width: 29px;
1591
+ border-start-end-radius: 2px;
1592
+ border-end-end-radius: 2px;
1593
+ -webkit-border-end: 1px solid var(--field-border-color);
1594
+ border-inline-end: 1px solid var(--field-border-color);
1595
+ }
1596
+
1597
+ .findbar input[type="checkbox"] {
1598
+ pointer-events: none;
1599
+ }
1600
+
1601
+ .findbar label {
1602
+ -webkit-user-select: none;
1603
+ -moz-user-select: none;
1604
+ -ms-user-select: none;
1605
+ user-select: none;
1606
+ }
1607
+
1608
+ .findbar label:hover,
1609
+ .findbar input:focus-visible + label {
1610
+ color: var(--toggled-btn-color);
1611
+ background-color: var(--button-hover-color);
1612
+ }
1613
+
1614
+ .findbar .toolbarField[type="checkbox"]:checked + .toolbarLabel {
1615
+ background-color: var(--toggled-btn-bg-color) !important;
1616
+ color: var(--toggled-btn-color);
1617
+ }
1618
+
1619
+ [dir="ltr"] #findInput {
1620
+ border-top-right-radius: 0;
1621
+ }
1622
+
1623
+ [dir="rtl"] #findInput {
1624
+ border-top-left-radius: 0;
1625
+ }
1626
+
1627
+ [dir="ltr"] #findInput {
1628
+ border-bottom-right-radius: 0;
1629
+ }
1630
+
1631
+ [dir="rtl"] #findInput {
1632
+ border-bottom-left-radius: 0;
1633
+ }
1634
+
1635
+ #findInput {
1636
+ width: 200px;
1637
+ border-start-end-radius: 0;
1638
+ border-end-end-radius: 0;
1639
+ }
1640
+ #findInput::-webkit-input-placeholder {
1641
+ color: rgba(191, 191, 191, 1);
1642
+ }
1643
+ #findInput::-moz-placeholder {
1644
+ font-style: normal;
1645
+ }
1646
+ #findInput:-ms-input-placeholder {
1647
+ font-style: normal;
1648
+ }
1649
+ #findInput::-ms-input-placeholder {
1650
+ font-style: normal;
1651
+ }
1652
+ #findInput::placeholder {
1653
+ font-style: normal;
1654
+ }
1655
+ #findInput[data-status="pending"] {
1656
+ background-image: var(--loading-icon);
1657
+ background-repeat: no-repeat;
1658
+ background-position: calc(50% + 48% * var(--dir-factor));
1659
+ }
1660
+ #findInput[data-status="notFound"] {
1661
+ background-color: rgba(255, 102, 102, 1);
1662
+ }
1663
+
1664
+ [dir="ltr"] .secondaryToolbar {
1665
+ right: 4px;
1666
+ }
1667
+
1668
+ [dir="rtl"] .secondaryToolbar {
1669
+ left: 4px;
1670
+ }
1671
+
1672
+ .secondaryToolbar {
1673
+ padding: 6px 0 10px;
1674
+ inset-inline-end: 4px;
1675
+ height: auto;
1676
+ z-index: 30000;
1677
+ background-color: var(--doorhanger-bg-color);
1678
+ }
1679
+
1680
+ #secondaryToolbarButtonContainer {
1681
+ max-width: 220px;
1682
+ max-height: 400px;
1683
+ overflow-y: auto;
1684
+ margin-bottom: -4px;
1685
+ }
1686
+
1687
+ .doorHanger,
1688
+ .doorHangerRight {
1689
+ border-radius: 2px;
1690
+ -webkit-box-shadow: 0 1px 5px var(--doorhanger-border-color),
1691
+ 0 0 0 1px var(--doorhanger-border-color);
1692
+ box-shadow: 0 1px 5px var(--doorhanger-border-color),
1693
+ 0 0 0 1px var(--doorhanger-border-color);
1694
+ border: var(--doorhanger-border-color-whcm);
1695
+ }
1696
+ .doorHanger:after,
1697
+ .doorHanger:before,
1698
+ .doorHangerRight:after,
1699
+ .doorHangerRight:before {
1700
+ bottom: 100%;
1701
+ border: 8px solid rgba(0, 0, 0, 0);
1702
+ content: " ";
1703
+ height: 0;
1704
+ width: 0;
1705
+ position: absolute;
1706
+ pointer-events: none;
1707
+ opacity: var(--doorhanger-triangle-opacity-whcm);
1708
+ }
1709
+ [dir="ltr"] .doorHanger:after {
1710
+ left: 10px;
1711
+ }
1712
+ [dir="rtl"] .doorHanger:after {
1713
+ right: 10px;
1714
+ }
1715
+ [dir="ltr"] .doorHanger:after {
1716
+ margin-left: -8px;
1717
+ }
1718
+ [dir="rtl"] .doorHanger:after {
1719
+ margin-right: -8px;
1720
+ }
1721
+ .doorHanger:after {
1722
+ inset-inline-start: 10px;
1723
+ -webkit-margin-start: -8px;
1724
+ margin-inline-start: -8px;
1725
+ border-bottom-color: var(--toolbar-bg-color);
1726
+ }
1727
+ [dir="ltr"] .doorHangerRight:after {
1728
+ right: 10px;
1729
+ }
1730
+ [dir="rtl"] .doorHangerRight:after {
1731
+ left: 10px;
1732
+ }
1733
+ [dir="ltr"] .doorHangerRight:after {
1734
+ margin-right: -8px;
1735
+ }
1736
+ [dir="rtl"] .doorHangerRight:after {
1737
+ margin-left: -8px;
1738
+ }
1739
+ .doorHangerRight:after {
1740
+ inset-inline-end: 10px;
1741
+ -webkit-margin-end: -8px;
1742
+ margin-inline-end: -8px;
1743
+ border-bottom-color: var(--doorhanger-bg-color);
1744
+ }
1745
+ .doorHanger:before,
1746
+ .doorHangerRight:before {
1747
+ border-bottom-color: var(--doorhanger-border-color);
1748
+ border-width: 9px;
1749
+ }
1750
+ [dir="ltr"] .doorHanger:before {
1751
+ left: 10px;
1752
+ }
1753
+ [dir="rtl"] .doorHanger:before {
1754
+ right: 10px;
1755
+ }
1756
+ [dir="ltr"] .doorHanger:before {
1757
+ margin-left: -9px;
1758
+ }
1759
+ [dir="rtl"] .doorHanger:before {
1760
+ margin-right: -9px;
1761
+ }
1762
+ .doorHanger:before {
1763
+ inset-inline-start: 10px;
1764
+ -webkit-margin-start: -9px;
1765
+ margin-inline-start: -9px;
1766
+ }
1767
+ [dir="ltr"] .doorHangerRight:before {
1768
+ right: 10px;
1769
+ }
1770
+ [dir="rtl"] .doorHangerRight:before {
1771
+ left: 10px;
1772
+ }
1773
+ [dir="ltr"] .doorHangerRight:before {
1774
+ margin-right: -9px;
1775
+ }
1776
+ [dir="rtl"] .doorHangerRight:before {
1777
+ margin-left: -9px;
1778
+ }
1779
+ .doorHangerRight:before {
1780
+ inset-inline-end: 10px;
1781
+ -webkit-margin-end: -9px;
1782
+ margin-inline-end: -9px;
1783
+ }
1784
+
1785
+ #findResultsCount {
1786
+ background-color: rgba(217, 217, 217, 1);
1787
+ color: rgba(82, 82, 82, 1);
1788
+ text-align: center;
1789
+ padding: 4px 5px;
1790
+ margin: 5px;
1791
+ }
1792
+
1793
+ #findMsg {
1794
+ color: rgba(251, 0, 0, 1);
1795
+ }
1796
+
1797
+ #findResultsCount:empty,
1798
+ #findMsg:empty {
1799
+ display: none;
1800
+ }
1801
+
1802
+ #toolbarViewerMiddle {
1803
+ position: absolute;
1804
+ left: 50%;
1805
+ -webkit-transform: translateX(-50%);
1806
+ transform: translateX(-50%);
1807
+ }
1808
+
1809
+ [dir="ltr"] #toolbarViewerLeft,[dir="ltr"]
1810
+ #toolbarSidebarLeft {
1811
+ float: left;
1812
+ }
1813
+
1814
+ [dir="rtl"] #toolbarViewerLeft,[dir="rtl"]
1815
+ #toolbarSidebarLeft {
1816
+ float: right;
1817
+ }
1818
+
1819
+ #toolbarViewerLeft,
1820
+ #toolbarSidebarLeft {
1821
+ float: inline-start;
1822
+ }
1823
+ [dir="ltr"] #toolbarViewerRight,[dir="ltr"]
1824
+ #toolbarSidebarRight {
1825
+ float: right;
1826
+ }
1827
+ [dir="rtl"] #toolbarViewerRight,[dir="rtl"]
1828
+ #toolbarSidebarRight {
1829
+ float: left;
1830
+ }
1831
+ #toolbarViewerRight,
1832
+ #toolbarSidebarRight {
1833
+ float: inline-end;
1834
+ }
1835
+
1836
+ [dir="ltr"] #toolbarViewerLeft > *,[dir="ltr"]
1837
+ #toolbarViewerMiddle > *,[dir="ltr"]
1838
+ #toolbarViewerRight > *,[dir="ltr"]
1839
+ #toolbarSidebarLeft *,[dir="ltr"]
1840
+ #toolbarSidebarRight *,[dir="ltr"]
1841
+ .findbar * {
1842
+ float: left;
1843
+ }
1844
+
1845
+ [dir="rtl"] #toolbarViewerLeft > *,[dir="rtl"]
1846
+ #toolbarViewerMiddle > *,[dir="rtl"]
1847
+ #toolbarViewerRight > *,[dir="rtl"]
1848
+ #toolbarSidebarLeft *,[dir="rtl"]
1849
+ #toolbarSidebarRight *,[dir="rtl"]
1850
+ .findbar * {
1851
+ float: right;
1852
+ }
1853
+
1854
+ #toolbarViewerLeft > *,
1855
+ #toolbarViewerMiddle > *,
1856
+ #toolbarViewerRight > *,
1857
+ #toolbarSidebarLeft *,
1858
+ #toolbarSidebarRight *,
1859
+ .findbar * {
1860
+ position: relative;
1861
+ float: inline-start;
1862
+ }
1863
+
1864
+ .splitToolbarButton {
1865
+ margin: 2px 2px 0;
1866
+ display: inline-block;
1867
+ }
1868
+ [dir="ltr"] .splitToolbarButton > .toolbarButton {
1869
+ float: left;
1870
+ }
1871
+ [dir="rtl"] .splitToolbarButton > .toolbarButton {
1872
+ float: right;
1873
+ }
1874
+ .splitToolbarButton > .toolbarButton {
1875
+ float: inline-start;
1876
+ }
1877
+
1878
+ .toolbarButton,
1879
+ .secondaryToolbarButton,
1880
+ .dialogButton {
1881
+ border: 0 none;
1882
+ background: none;
1883
+ width: 28px;
1884
+ height: 28px;
1885
+ }
1886
+
1887
+ .dialogButton:hover,
1888
+ .dialogButton:focus-visible {
1889
+ background-color: var(--dialog-button-hover-bg-color);
1890
+ }
1891
+
1892
+ .dialogButton:hover > span,
1893
+ .dialogButton:focus-visible > span {
1894
+ color: var(--dialog-button-hover-color);
1895
+ }
1896
+
1897
+ .toolbarButton > span {
1898
+ display: inline-block;
1899
+ width: 0;
1900
+ height: 0;
1901
+ overflow: hidden;
1902
+ }
1903
+
1904
+ .toolbarButton[disabled],
1905
+ .secondaryToolbarButton[disabled],
1906
+ .dialogButton[disabled] {
1907
+ opacity: 0.5;
1908
+ }
1909
+
1910
+ .splitToolbarButton.toggled .toolbarButton {
1911
+ margin: 0;
1912
+ }
1913
+
1914
+ .splitToolbarButton > .toolbarButton:hover,
1915
+ .splitToolbarButton > .toolbarButton:focus-visible,
1916
+ .dropdownToolbarButton:hover,
1917
+ .toolbarButton.textButton:hover,
1918
+ .toolbarButton.textButton:focus-visible {
1919
+ background-color: var(--button-hover-color);
1920
+ z-index: 199;
1921
+ }
1922
+ .splitToolbarButton > .toolbarButton {
1923
+ position: relative;
1924
+ }
1925
+ .splitToolbarButton > .toolbarButton:first-child,
1926
+ .splitToolbarButton > .toolbarButton:last-child {
1927
+ margin: 0;
1928
+ }
1929
+
1930
+ [dir="ltr"] .splitToolbarButtonSeparator {
1931
+ float: left;
1932
+ }
1933
+
1934
+ [dir="rtl"] .splitToolbarButtonSeparator {
1935
+ float: right;
1936
+ }
1937
+
1938
+ .splitToolbarButtonSeparator {
1939
+ float: inline-start;
1940
+ padding: 10px 0;
1941
+ width: 1px;
1942
+ background-color: var(--separator-color);
1943
+ z-index: 99;
1944
+ display: inline-block;
1945
+ margin: 4px 0;
1946
+ }
1947
+
1948
+ .findbar .splitToolbarButtonSeparator {
1949
+ background-color: var(--field-border-color);
1950
+ margin: 0;
1951
+ padding: 13px 0;
1952
+ }
1953
+
1954
+ .toolbarButton,
1955
+ .dropdownToolbarButton,
1956
+ .secondaryToolbarButton,
1957
+ .dialogButton {
1958
+ min-width: 16px;
1959
+ margin: 2px 1px;
1960
+ padding: 2px 6px 0;
1961
+ border: none;
1962
+ border-radius: 2px;
1963
+ color: var(--main-color);
1964
+ font-size: 12px;
1965
+ line-height: 14px;
1966
+ -webkit-user-select: none;
1967
+ -moz-user-select: none;
1968
+ -ms-user-select: none;
1969
+ user-select: none;
1970
+ cursor: default;
1971
+ -webkit-box-sizing: border-box;
1972
+ box-sizing: border-box;
1973
+ }
1974
+
1975
+ [dir="ltr"] #toolbarViewerLeft > .toolbarButton:first-child {
1976
+ margin-left: 2px;
1977
+ }
1978
+
1979
+ [dir="rtl"] #toolbarViewerLeft > .toolbarButton:first-child {
1980
+ margin-right: 2px;
1981
+ }
1982
+
1983
+ #toolbarViewerLeft > .toolbarButton:first-child {
1984
+ -webkit-margin-start: 2px;
1985
+ margin-inline-start: 2px;
1986
+ }
1987
+ [dir="ltr"] #toolbarViewerRight > .toolbarButton:last-child {
1988
+ margin-right: 2px;
1989
+ }
1990
+ [dir="rtl"] #toolbarViewerRight > .toolbarButton:last-child {
1991
+ margin-left: 2px;
1992
+ }
1993
+ #toolbarViewerRight > .toolbarButton:last-child {
1994
+ -webkit-margin-end: 2px;
1995
+ margin-inline-end: 2px;
1996
+ }
1997
+
1998
+ .toolbarButton:hover,
1999
+ .toolbarButton:focus-visible {
2000
+ background-color: var(--button-hover-color);
2001
+ }
2002
+ .secondaryToolbarButton:hover,
2003
+ .secondaryToolbarButton:focus-visible {
2004
+ background-color: var(--doorhanger-hover-bg-color);
2005
+ color: var(--doorhanger-hover-color);
2006
+ }
2007
+
2008
+ .toolbarButton.toggled,
2009
+ .splitToolbarButton.toggled > .toolbarButton.toggled,
2010
+ .secondaryToolbarButton.toggled {
2011
+ background-color: var(--toggled-btn-bg-color);
2012
+ color: var(--toggled-btn-color);
2013
+ }
2014
+
2015
+ .secondaryToolbarButton.toggled::before {
2016
+ background-color: var(--toggled-btn-color);
2017
+ }
2018
+
2019
+ .toolbarButton.toggled::before {
2020
+ background-color: var(--toggled-btn-color);
2021
+ }
2022
+
2023
+ .toolbarButton.toggled:hover:active,
2024
+ .splitToolbarButton.toggled > .toolbarButton.toggled:hover:active,
2025
+ .secondaryToolbarButton.toggled:hover:active {
2026
+ background-color: var(--toggled-hover-active-btn-color);
2027
+ }
2028
+
2029
+ .dropdownToolbarButton {
2030
+ width: var(--scale-select-container-width);
2031
+ padding: 0;
2032
+ overflow: hidden;
2033
+ background-color: var(--dropdown-btn-bg-color);
2034
+ margin-top: 2px !important;
2035
+ }
2036
+ [dir="ltr"] .dropdownToolbarButton::after {
2037
+ right: 7px;
2038
+ }
2039
+ [dir="rtl"] .dropdownToolbarButton::after {
2040
+ left: 7px;
2041
+ }
2042
+ .dropdownToolbarButton::after {
2043
+ top: 6px;
2044
+ inset-inline-end: 7px;
2045
+ pointer-events: none;
2046
+ -webkit-mask-image: var(--toolbarButton-menuArrow-icon);
2047
+ mask-image: var(--toolbarButton-menuArrow-icon);
2048
+ }
2049
+
2050
+ [dir="ltr"] .dropdownToolbarButton > select {
2051
+ padding-left: 4px;
2052
+ }
2053
+
2054
+ [dir="rtl"] .dropdownToolbarButton > select {
2055
+ padding-right: 4px;
2056
+ }
2057
+
2058
+ .dropdownToolbarButton > select {
2059
+ width: calc(
2060
+ var(--scale-select-container-width) + var(--scale-select-overflow)
2061
+ );
2062
+ height: 28px;
2063
+ font-size: 12px;
2064
+ color: var(--main-color);
2065
+ margin: 0;
2066
+ padding: 1px 0 2px;
2067
+ -webkit-padding-start: 4px;
2068
+ padding-inline-start: 4px;
2069
+ border: none;
2070
+ background-color: var(--dropdown-btn-bg-color);
2071
+ }
2072
+ .dropdownToolbarButton > select:hover,
2073
+ .dropdownToolbarButton > select:focus-visible {
2074
+ background-color: var(--button-hover-color);
2075
+ color: var(--toggled-btn-color);
2076
+ }
2077
+ .dropdownToolbarButton > select > option {
2078
+ background: var(--doorhanger-bg-color);
2079
+ color: var(--main-color);
2080
+ }
2081
+
2082
+ #customScaleOption {
2083
+ display: none;
2084
+ }
2085
+
2086
+ #pageWidthOption {
2087
+ border-bottom: 1px rgba(255, 255, 255, 0.5) solid;
2088
+ }
2089
+
2090
+ .toolbarButtonSpacer {
2091
+ width: 30px;
2092
+ display: inline-block;
2093
+ height: 1px;
2094
+ }
2095
+
2096
+ .toolbarButton::before,
2097
+ .secondaryToolbarButton::before,
2098
+ .dropdownToolbarButton::after,
2099
+ .treeItemToggler::before {
2100
+ /* All matching images have a size of 16x16
2101
+ * All relevant containers have a size of 28x28 */
2102
+ position: absolute;
2103
+ display: inline-block;
2104
+ width: 16px;
2105
+ height: 16px;
2106
+
2107
+ content: "";
2108
+ background-color: var(--toolbar-icon-bg-color);
2109
+ -webkit-mask-size: cover;
2110
+ mask-size: cover;
2111
+ }
2112
+
2113
+ .dropdownToolbarButton:hover::after,
2114
+ .dropdownToolbarButton:focus-visible::after,
2115
+ .dropdownToolbarButton:active::after {
2116
+ background-color: var(--toolbar-icon-hover-bg-color);
2117
+ }
2118
+
2119
+ .toolbarButton::before {
2120
+ opacity: var(--toolbar-icon-opacity);
2121
+ top: 6px;
2122
+ left: 6px;
2123
+ }
2124
+
2125
+ .toolbarButton:hover::before,
2126
+ .toolbarButton:focus-visible::before,
2127
+ .secondaryToolbarButton:hover::before,
2128
+ .secondaryToolbarButton:focus-visible::before {
2129
+ background-color: var(--toolbar-icon-hover-bg-color);
2130
+ }
2131
+
2132
+ [dir="ltr"] .secondaryToolbarButton::before {
2133
+ left: 12px;
2134
+ }
2135
+
2136
+ [dir="rtl"] .secondaryToolbarButton::before {
2137
+ right: 12px;
2138
+ }
2139
+
2140
+ .secondaryToolbarButton::before {
2141
+ opacity: var(--doorhanger-icon-opacity);
2142
+ top: 5px;
2143
+ inset-inline-start: 12px;
2144
+ }
2145
+
2146
+ .toolbarButton#sidebarToggle::before {
2147
+ -webkit-mask-image: var(--toolbarButton-sidebarToggle-icon);
2148
+ mask-image: var(--toolbarButton-sidebarToggle-icon);
2149
+ -webkit-transform: scaleX(var(--dir-factor));
2150
+ transform: scaleX(var(--dir-factor));
2151
+ }
2152
+
2153
+ .toolbarButton#secondaryToolbarToggle::before {
2154
+ -webkit-mask-image: var(--toolbarButton-secondaryToolbarToggle-icon);
2155
+ mask-image: var(--toolbarButton-secondaryToolbarToggle-icon);
2156
+ -webkit-transform: scaleX(var(--dir-factor));
2157
+ transform: scaleX(var(--dir-factor));
2158
+ }
2159
+
2160
+ .toolbarButton.findPrevious::before {
2161
+ -webkit-mask-image: var(--findbarButton-previous-icon);
2162
+ mask-image: var(--findbarButton-previous-icon);
2163
+ }
2164
+
2165
+ .toolbarButton.findNext::before {
2166
+ -webkit-mask-image: var(--findbarButton-next-icon);
2167
+ mask-image: var(--findbarButton-next-icon);
2168
+ }
2169
+
2170
+ .toolbarButton.pageUp::before {
2171
+ -webkit-mask-image: var(--toolbarButton-pageUp-icon);
2172
+ mask-image: var(--toolbarButton-pageUp-icon);
2173
+ }
2174
+
2175
+ .toolbarButton.pageDown::before {
2176
+ -webkit-mask-image: var(--toolbarButton-pageDown-icon);
2177
+ mask-image: var(--toolbarButton-pageDown-icon);
2178
+ }
2179
+
2180
+ .toolbarButton.zoomOut::before {
2181
+ -webkit-mask-image: var(--toolbarButton-zoomOut-icon);
2182
+ mask-image: var(--toolbarButton-zoomOut-icon);
2183
+ }
2184
+
2185
+ .toolbarButton.zoomIn::before {
2186
+ -webkit-mask-image: var(--toolbarButton-zoomIn-icon);
2187
+ mask-image: var(--toolbarButton-zoomIn-icon);
2188
+ }
2189
+
2190
+ .toolbarButton.presentationMode::before,
2191
+ .secondaryToolbarButton.presentationMode::before {
2192
+ -webkit-mask-image: var(--toolbarButton-presentationMode-icon);
2193
+ mask-image: var(--toolbarButton-presentationMode-icon);
2194
+ }
2195
+
2196
+ .toolbarButton.print::before,
2197
+ .secondaryToolbarButton.print::before {
2198
+ -webkit-mask-image: var(--toolbarButton-print-icon);
2199
+ mask-image: var(--toolbarButton-print-icon);
2200
+ }
2201
+
2202
+ .toolbarButton.openFile::before,
2203
+ .secondaryToolbarButton.openFile::before {
2204
+ -webkit-mask-image: var(--toolbarButton-openFile-icon);
2205
+ mask-image: var(--toolbarButton-openFile-icon);
2206
+ }
2207
+
2208
+ .toolbarButton.download::before,
2209
+ .secondaryToolbarButton.download::before {
2210
+ -webkit-mask-image: var(--toolbarButton-download-icon);
2211
+ mask-image: var(--toolbarButton-download-icon);
2212
+ }
2213
+
2214
+ .secondaryToolbarButton.bookmark {
2215
+ padding-top: 6px;
2216
+ text-decoration: none;
2217
+ }
2218
+
2219
+ .bookmark[href="#"] {
2220
+ opacity: 0.5;
2221
+ pointer-events: none;
2222
+ }
2223
+
2224
+ .toolbarButton.bookmark::before,
2225
+ .secondaryToolbarButton.bookmark::before {
2226
+ -webkit-mask-image: var(--toolbarButton-bookmark-icon);
2227
+ mask-image: var(--toolbarButton-bookmark-icon);
2228
+ }
2229
+
2230
+ #viewThumbnail.toolbarButton::before {
2231
+ -webkit-mask-image: var(--toolbarButton-viewThumbnail-icon);
2232
+ mask-image: var(--toolbarButton-viewThumbnail-icon);
2233
+ }
2234
+
2235
+ #viewOutline.toolbarButton::before {
2236
+ -webkit-mask-image: var(--toolbarButton-viewOutline-icon);
2237
+ mask-image: var(--toolbarButton-viewOutline-icon);
2238
+ -webkit-transform: scaleX(var(--dir-factor));
2239
+ transform: scaleX(var(--dir-factor));
2240
+ }
2241
+
2242
+ #viewAttachments.toolbarButton::before {
2243
+ -webkit-mask-image: var(--toolbarButton-viewAttachments-icon);
2244
+ mask-image: var(--toolbarButton-viewAttachments-icon);
2245
+ }
2246
+
2247
+ #viewLayers.toolbarButton::before {
2248
+ -webkit-mask-image: var(--toolbarButton-viewLayers-icon);
2249
+ mask-image: var(--toolbarButton-viewLayers-icon);
2250
+ }
2251
+
2252
+ #viewSignatures.toolbarButton::before {
2253
+ -webkit-mask-image: var(--toolbarButton-viewSignatures-icon);
2254
+ mask-image: var(--toolbarButton-viewSignatures-icon);
2255
+ }
2256
+
2257
+ #currentOutlineItem.toolbarButton::before {
2258
+ -webkit-mask-image: var(--toolbarButton-currentOutlineItem-icon);
2259
+ mask-image: var(--toolbarButton-currentOutlineItem-icon);
2260
+ -webkit-transform: scaleX(var(--dir-factor));
2261
+ transform: scaleX(var(--dir-factor));
2262
+ }
2263
+
2264
+ #viewFind.toolbarButton::before {
2265
+ -webkit-mask-image: var(--toolbarButton-search-icon);
2266
+ mask-image: var(--toolbarButton-search-icon);
2267
+ }
2268
+
2269
+ [dir="ltr"] .toolbarButton.pdfSidebarNotification::after {
2270
+ left: 17px;
2271
+ }
2272
+
2273
+ [dir="rtl"] .toolbarButton.pdfSidebarNotification::after {
2274
+ right: 17px;
2275
+ }
2276
+
2277
+ .toolbarButton.pdfSidebarNotification::after {
2278
+ position: absolute;
2279
+ display: inline-block;
2280
+ top: 1px;
2281
+ inset-inline-start: 17px;
2282
+ /* Create a filled circle, with a diameter of 9 pixels, using only CSS: */
2283
+ content: "";
2284
+ background-color: rgba(112, 219, 85, 1);
2285
+ height: 9px;
2286
+ width: 9px;
2287
+ border-radius: 50%;
2288
+ }
2289
+
2290
+ [dir="ltr"] .secondaryToolbarButton {
2291
+ padding-left: 36px;
2292
+ }
2293
+
2294
+ [dir="rtl"] .secondaryToolbarButton {
2295
+ padding-right: 36px;
2296
+ }
2297
+
2298
+ [dir="ltr"] .secondaryToolbarButton {
2299
+ text-align: left;
2300
+ }
2301
+
2302
+ [dir="rtl"] .secondaryToolbarButton {
2303
+ text-align: right;
2304
+ }
2305
+
2306
+ .secondaryToolbarButton {
2307
+ position: relative;
2308
+ margin: 0;
2309
+ padding: 0 0 1px;
2310
+ -webkit-padding-start: 36px;
2311
+ padding-inline-start: 36px;
2312
+ height: auto;
2313
+ min-height: 26px;
2314
+ width: auto;
2315
+ min-width: 100%;
2316
+ text-align: start;
2317
+ white-space: normal;
2318
+ border-radius: 0;
2319
+ -webkit-box-sizing: border-box;
2320
+ box-sizing: border-box;
2321
+ }
2322
+ [dir="ltr"] .secondaryToolbarButton > span {
2323
+ padding-right: 4px;
2324
+ }
2325
+ [dir="rtl"] .secondaryToolbarButton > span {
2326
+ padding-left: 4px;
2327
+ }
2328
+ .secondaryToolbarButton > span {
2329
+ -webkit-padding-end: 4px;
2330
+ padding-inline-end: 4px;
2331
+ }
2332
+
2333
+ .secondaryToolbarButton.firstPage::before {
2334
+ -webkit-mask-image: var(--secondaryToolbarButton-firstPage-icon);
2335
+ mask-image: var(--secondaryToolbarButton-firstPage-icon);
2336
+ }
2337
+
2338
+ .secondaryToolbarButton.lastPage::before {
2339
+ -webkit-mask-image: var(--secondaryToolbarButton-lastPage-icon);
2340
+ mask-image: var(--secondaryToolbarButton-lastPage-icon);
2341
+ }
2342
+
2343
+ .secondaryToolbarButton.rotateCcw::before {
2344
+ -webkit-mask-image: var(--secondaryToolbarButton-rotateCcw-icon);
2345
+ mask-image: var(--secondaryToolbarButton-rotateCcw-icon);
2346
+ }
2347
+
2348
+ .secondaryToolbarButton.rotateCw::before {
2349
+ -webkit-mask-image: var(--secondaryToolbarButton-rotateCw-icon);
2350
+ mask-image: var(--secondaryToolbarButton-rotateCw-icon);
2351
+ }
2352
+
2353
+ .secondaryToolbarButton.selectTool::before {
2354
+ -webkit-mask-image: var(--secondaryToolbarButton-selectTool-icon);
2355
+ mask-image: var(--secondaryToolbarButton-selectTool-icon);
2356
+ }
2357
+
2358
+ .secondaryToolbarButton.handTool::before {
2359
+ -webkit-mask-image: var(--secondaryToolbarButton-handTool-icon);
2360
+ mask-image: var(--secondaryToolbarButton-handTool-icon);
2361
+ }
2362
+
2363
+ .secondaryToolbarButton.scrollPage::before {
2364
+ -webkit-mask-image: var(--secondaryToolbarButton-scrollPage-icon);
2365
+ mask-image: var(--secondaryToolbarButton-scrollPage-icon);
2366
+ }
2367
+
2368
+ .secondaryToolbarButton.scrollVertical::before {
2369
+ -webkit-mask-image: var(--secondaryToolbarButton-scrollVertical-icon);
2370
+ mask-image: var(--secondaryToolbarButton-scrollVertical-icon);
2371
+ }
2372
+
2373
+ .secondaryToolbarButton.scrollHorizontal::before {
2374
+ -webkit-mask-image: var(--secondaryToolbarButton-scrollHorizontal-icon);
2375
+ mask-image: var(--secondaryToolbarButton-scrollHorizontal-icon);
2376
+ }
2377
+
2378
+ .secondaryToolbarButton.scrollWrapped::before {
2379
+ -webkit-mask-image: var(--secondaryToolbarButton-scrollWrapped-icon);
2380
+ mask-image: var(--secondaryToolbarButton-scrollWrapped-icon);
2381
+ }
2382
+
2383
+ .secondaryToolbarButton.spreadNone::before {
2384
+ -webkit-mask-image: var(--secondaryToolbarButton-spreadNone-icon);
2385
+ mask-image: var(--secondaryToolbarButton-spreadNone-icon);
2386
+ }
2387
+
2388
+ .secondaryToolbarButton.spreadOdd::before {
2389
+ -webkit-mask-image: var(--secondaryToolbarButton-spreadOdd-icon);
2390
+ mask-image: var(--secondaryToolbarButton-spreadOdd-icon);
2391
+ }
2392
+
2393
+ .secondaryToolbarButton.spreadEven::before {
2394
+ -webkit-mask-image: var(--secondaryToolbarButton-spreadEven-icon);
2395
+ mask-image: var(--secondaryToolbarButton-spreadEven-icon);
2396
+ }
2397
+
2398
+ .secondaryToolbarButton.documentProperties::before {
2399
+ -webkit-mask-image: var(--secondaryToolbarButton-documentProperties-icon);
2400
+ mask-image: var(--secondaryToolbarButton-documentProperties-icon);
2401
+ }
2402
+
2403
+ .verticalToolbarSeparator {
2404
+ display: block;
2405
+ padding: 11px 0;
2406
+ margin: 5px 2px;
2407
+ width: 1px;
2408
+ background-color: var(--separator-color);
2409
+ }
2410
+
2411
+ .horizontalToolbarSeparator {
2412
+ display: block;
2413
+ margin: 6px 0 5px;
2414
+ height: 1px;
2415
+ width: 100%;
2416
+ border-top: 1px solid var(--doorhanger-separator-color);
2417
+ }
2418
+
2419
+ .toolbarField {
2420
+ padding: 4px 7px;
2421
+ margin: 3px 0;
2422
+ border-radius: 2px;
2423
+ background-color: var(--field-bg-color);
2424
+ background-clip: padding-box;
2425
+ border-width: 1px;
2426
+ border-style: solid;
2427
+ border-color: var(--field-border-color);
2428
+ -webkit-box-shadow: none;
2429
+ box-shadow: none;
2430
+ color: var(--field-color);
2431
+ font-size: 12px;
2432
+ line-height: 16px;
2433
+ outline-style: none;
2434
+ }
2435
+
2436
+ [dir="ltr"] .toolbarField[type="checkbox"] {
2437
+ margin-left: 7px;
2438
+ }
2439
+
2440
+ [dir="rtl"] .toolbarField[type="checkbox"] {
2441
+ margin-right: 7px;
2442
+ }
2443
+
2444
+ .toolbarField[type="checkbox"] {
2445
+ opacity: 0;
2446
+ position: absolute !important;
2447
+ left: 0;
2448
+ margin: 10px 0 3px;
2449
+ -webkit-margin-start: 7px;
2450
+ margin-inline-start: 7px;
2451
+ }
2452
+
2453
+ .toolbarField.pageNumber {
2454
+ -moz-appearance: textfield; /* hides the spinner in moz */
2455
+ min-width: 16px;
2456
+ text-align: right;
2457
+ width: 40px;
2458
+ }
2459
+
2460
+ .toolbarField.pageNumber.visiblePageIsLoading {
2461
+ background-image: var(--loading-icon);
2462
+ background-repeat: no-repeat;
2463
+ background-position: 3px;
2464
+ }
2465
+
2466
+ .toolbarField.pageNumber::-webkit-inner-spin-button {
2467
+ -webkit-appearance: none;
2468
+ }
2469
+
2470
+ .toolbarField:focus {
2471
+ border-color: #0a84ff;
2472
+ }
2473
+
2474
+ .toolbarLabel {
2475
+ min-width: 16px;
2476
+ padding: 7px;
2477
+ margin: 2px;
2478
+ border-radius: 2px;
2479
+ color: var(--main-color);
2480
+ font-size: 12px;
2481
+ line-height: 14px;
2482
+ text-align: left;
2483
+ -webkit-user-select: none;
2484
+ -moz-user-select: none;
2485
+ -ms-user-select: none;
2486
+ user-select: none;
2487
+ cursor: default;
2488
+ }
2489
+
2490
+ [dir="ltr"] #numPages.toolbarLabel {
2491
+ padding-left: 3px;
2492
+ }
2493
+
2494
+ [dir="rtl"] #numPages.toolbarLabel {
2495
+ padding-right: 3px;
2496
+ }
2497
+
2498
+ #numPages.toolbarLabel {
2499
+ -webkit-padding-start: 3px;
2500
+ padding-inline-start: 3px;
2501
+ }
2502
+
2503
+ #thumbnailView {
2504
+ position: absolute;
2505
+ width: calc(100% - 60px);
2506
+ top: 0;
2507
+ bottom: 0;
2508
+ padding: 10px 30px 0;
2509
+ overflow: auto;
2510
+ }
2511
+
2512
+ #thumbnailView > a:active,
2513
+ #thumbnailView > a:focus {
2514
+ outline: 0;
2515
+ }
2516
+
2517
+ [dir="ltr"] .thumbnail {
2518
+ float: left;
2519
+ }
2520
+
2521
+ [dir="rtl"] .thumbnail {
2522
+ float: right;
2523
+ }
2524
+
2525
+ .thumbnail {
2526
+ float: inline-start;
2527
+ margin: 0 10px 5px;
2528
+ }
2529
+
2530
+ #thumbnailView > a:last-of-type > .thumbnail {
2531
+ margin-bottom: 10px;
2532
+ }
2533
+ #thumbnailView > a:last-of-type > .thumbnail:not([data-loaded]) {
2534
+ margin-bottom: 9px;
2535
+ }
2536
+
2537
+ .thumbnail:not([data-loaded]) {
2538
+ border: 1px dashed rgba(132, 132, 132, 1);
2539
+ margin: -1px 9px 4px;
2540
+ }
2541
+
2542
+ .thumbnailImage {
2543
+ border: 1px solid rgba(0, 0, 0, 0);
2544
+ -webkit-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
2545
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
2546
+ opacity: 0.8;
2547
+ z-index: 99;
2548
+ background-color: rgba(255, 255, 255, 1);
2549
+ background-clip: content-box;
2550
+ }
2551
+
2552
+ .thumbnailSelectionRing {
2553
+ border-radius: 2px;
2554
+ padding: 7px;
2555
+ }
2556
+
2557
+ a:focus > .thumbnail > .thumbnailSelectionRing > .thumbnailImage,
2558
+ .thumbnail:hover > .thumbnailSelectionRing > .thumbnailImage {
2559
+ opacity: 0.9;
2560
+ }
2561
+
2562
+ a:focus > .thumbnail > .thumbnailSelectionRing,
2563
+ .thumbnail:hover > .thumbnailSelectionRing {
2564
+ background-color: var(--sidebaritem-bg-color);
2565
+ background-clip: padding-box;
2566
+ color: rgba(255, 255, 255, 0.9);
2567
+ }
2568
+
2569
+ .thumbnail.selected > .thumbnailSelectionRing > .thumbnailImage {
2570
+ opacity: 1;
2571
+ }
2572
+
2573
+ .thumbnail.selected > .thumbnailSelectionRing {
2574
+ background-color: var(--sidebaritem-bg-color);
2575
+ background-clip: padding-box;
2576
+ color: rgba(255, 255, 255, 1);
2577
+ }
2578
+
2579
+ .page.selected {
2580
+ background-color: var(--sidebaritem-bg-color);
2581
+ background-clip: padding-box;
2582
+ color: rgba(255, 255, 255, 1);
2583
+ }
2584
+
2585
+ .eSignature {
2586
+ background: var(--eSignature-icon);
2587
+ -webkit-mask-image: var(--eSignature-icon);
2588
+ mask-image: var(--eSignature-icon);
2589
+ }
2590
+
2591
+ #outlineView,
2592
+ #attachmentsView,
2593
+ #layersView
2594
+ #signaturesView{
2595
+ position: absolute;
2596
+ width: calc(100% - 8px);
2597
+ top: 0;
2598
+ bottom: 0;
2599
+ padding: 4px 4px 0;
2600
+ overflow: auto;
2601
+ -webkit-user-select: none;
2602
+ -moz-user-select: none;
2603
+ -ms-user-select: none;
2604
+ user-select: none;
2605
+ }
2606
+
2607
+ [dir="ltr"] .treeWithDeepNesting > .treeItem,[dir="ltr"]
2608
+ .treeItem > .treeItems {
2609
+ margin-left: 20px;
2610
+ }
2611
+
2612
+ [dir="rtl"] .treeWithDeepNesting > .treeItem,[dir="rtl"]
2613
+ .treeItem > .treeItems {
2614
+ margin-right: 20px;
2615
+ }
2616
+
2617
+ .treeWithDeepNesting > .treeItem,
2618
+ .treeItem > .treeItems {
2619
+ -webkit-margin-start: 20px;
2620
+ margin-inline-start: 20px;
2621
+ }
2622
+
2623
+ [dir="ltr"] .treeItem > a {
2624
+ padding-left: 4px;
2625
+ }
2626
+
2627
+ [dir="rtl"] .treeItem > a {
2628
+ padding-right: 4px;
2629
+ }
2630
+
2631
+ .treeItem > a {
2632
+ text-align: left;
2633
+ text-decoration: none;
2634
+ display: inline-block;
2635
+ min-width: 95%;
2636
+ /* Subtract the right padding (left, in RTL mode) of the container: */
2637
+ min-width: calc(100% - 4px);
2638
+ height: auto;
2639
+ margin-bottom: 1px;
2640
+ padding: 2px 0 5px;
2641
+ -webkit-padding-start: 4px;
2642
+ padding-inline-start: 4px;
2643
+ border-radius: 2px;
2644
+ color: var(--treeitem-color);
2645
+ font-size: 13px;
2646
+ line-height: 15px;
2647
+ -webkit-user-select: none;
2648
+ -moz-user-select: none;
2649
+ -ms-user-select: none;
2650
+ user-select: none;
2651
+ white-space: normal;
2652
+ cursor: pointer;
2653
+ }
2654
+
2655
+ #layersView .treeItem > a > * {
2656
+ cursor: pointer;
2657
+ }
2658
+ [dir="ltr"] #layersView .treeItem > a > label {
2659
+ padding-left: 4px;
2660
+ }
2661
+ [dir="rtl"] #layersView .treeItem > a > label {
2662
+ padding-right: 4px;
2663
+ }
2664
+ #layersView .treeItem > a > label {
2665
+ -webkit-padding-start: 4px;
2666
+ padding-inline-start: 4px;
2667
+ }
2668
+
2669
+ [dir="ltr"] .treeItemToggler {
2670
+ float: left;
2671
+ }
2672
+
2673
+ [dir="rtl"] .treeItemToggler {
2674
+ float: right;
2675
+ }
2676
+
2677
+ .treeItemToggler {
2678
+ position: relative;
2679
+ float: inline-start;
2680
+ height: 0;
2681
+ width: 0;
2682
+ color: rgba(255, 255, 255, 0.5);
2683
+ }
2684
+ [dir="ltr"] .treeItemToggler::before {
2685
+ right: 4px;
2686
+ }
2687
+ [dir="rtl"] .treeItemToggler::before {
2688
+ left: 4px;
2689
+ }
2690
+ .treeItemToggler::before {
2691
+ inset-inline-end: 4px;
2692
+ -webkit-mask-image: var(--treeitem-expanded-icon);
2693
+ mask-image: var(--treeitem-expanded-icon);
2694
+ }
2695
+ .treeItemToggler.treeItemsHidden::before {
2696
+ -webkit-mask-image: var(--treeitem-collapsed-icon);
2697
+ mask-image: var(--treeitem-collapsed-icon);
2698
+ -webkit-transform: scaleX(var(--dir-factor));
2699
+ transform: scaleX(var(--dir-factor));
2700
+ }
2701
+ .treeItemToggler.treeItemsHidden ~ .treeItems {
2702
+ display: none;
2703
+ }
2704
+
2705
+ .treeItem.selected > a {
2706
+ background-color: var(--treeitem-selected-bg-color);
2707
+ color: var(--treeitem-selected-color);
2708
+ }
2709
+
2710
+ .treeItemToggler:hover,
2711
+ .treeItemToggler:hover + a,
2712
+ .treeItemToggler:hover ~ .treeItems,
2713
+ .treeItem > a:hover {
2714
+ background-color: var(--sidebaritem-bg-color);
2715
+ background-clip: padding-box;
2716
+ border-radius: 2px;
2717
+ color: var(--treeitem-hover-color);
2718
+ }
2719
+
2720
+ /* TODO: file FF bug to support ::-moz-selection:window-inactive
2721
+ so we can override the opaque grey background when the window is inactive;
2722
+ see https://bugzilla.mozilla.org/show_bug.cgi?id=706209 */
2723
+ ::-moz-selection {
2724
+ background: rgba(0, 0, 255, 0.3);
2725
+ }
2726
+ ::selection {
2727
+ background: rgba(0, 0, 255, 0.3);
2728
+ }
2729
+
2730
+ #errorWrapper {
2731
+ background: none repeat scroll 0 0 var(--errorWrapper-bg-color);
2732
+ color: var(--main-color);
2733
+ left: 0;
2734
+ position: absolute;
2735
+ right: 0;
2736
+ z-index: 1000;
2737
+ padding: 3px 6px;
2738
+ }
2739
+
2740
+ #errorMessageLeft {
2741
+ float: left;
2742
+ }
2743
+ #errorMessageRight {
2744
+ float: right;
2745
+ }
2746
+
2747
+ #errorMoreInfo {
2748
+ background-color: var(--field-bg-color);
2749
+ color: var(--field-color);
2750
+ border: 1px solid var(--field-border-color);
2751
+ padding: 3px;
2752
+ margin: 3px;
2753
+ width: 98%;
2754
+ }
2755
+
2756
+ .dialogButton {
2757
+ width: auto;
2758
+ margin: 3px 4px 2px !important;
2759
+ padding: 2px 11px;
2760
+ color: var(--main-color);
2761
+ background-color: var(--dialog-button-bg-color);
2762
+ border: var(--dialog-button-border) !important;
2763
+ }
2764
+
2765
+ dialog {
2766
+ margin: auto;
2767
+ padding: 15px;
2768
+ border-spacing: 4px;
2769
+ color: var(--main-color);
2770
+ font-size: 12px;
2771
+ line-height: 14px;
2772
+ background-color: var(--doorhanger-bg-color);
2773
+ border: 1px solid rgba(0, 0, 0, 0.5);
2774
+ border-radius: 4px;
2775
+ -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
2776
+ box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
2777
+ }
2778
+ dialog::-webkit-backdrop {
2779
+ background-color: rgba(0, 0, 0, 0.2);
2780
+ -webkit-user-select: none;
2781
+ user-select: none;
2782
+ }
2783
+ dialog::backdrop {
2784
+ background-color: rgba(0, 0, 0, 0.2);
2785
+ -webkit-user-select: none;
2786
+ -moz-user-select: none;
2787
+ -ms-user-select: none;
2788
+ user-select: none;
2789
+ }
2790
+
2791
+ dialog > .row {
2792
+ display: table-row;
2793
+ }
2794
+
2795
+ dialog > .row > * {
2796
+ display: table-cell;
2797
+ }
2798
+
2799
+ dialog .toolbarField {
2800
+ margin: 5px 0;
2801
+ }
2802
+
2803
+ dialog .separator {
2804
+ display: block;
2805
+ margin: 4px 0;
2806
+ height: 1px;
2807
+ width: 100%;
2808
+ background-color: var(--separator-color);
2809
+ }
2810
+
2811
+ dialog .buttonRow {
2812
+ text-align: center;
2813
+ vertical-align: middle;
2814
+ }
2815
+
2816
+ dialog :link {
2817
+ color: rgba(255, 255, 255, 1);
2818
+ }
2819
+
2820
+ #passwordDialog {
2821
+ text-align: center;
2822
+ }
2823
+ #passwordDialog .toolbarField {
2824
+ width: 200px;
2825
+ }
2826
+
2827
+ #documentPropertiesDialog {
2828
+ text-align: left;
2829
+ }
2830
+ [dir="ltr"] #documentPropertiesDialog .row > * {
2831
+ text-align: left;
2832
+ }
2833
+ [dir="rtl"] #documentPropertiesDialog .row > * {
2834
+ text-align: right;
2835
+ }
2836
+ #documentPropertiesDialog .row > * {
2837
+ min-width: 100px;
2838
+ text-align: start;
2839
+ }
2840
+ #documentPropertiesDialog .row > span {
2841
+ width: 125px;
2842
+ word-wrap: break-word;
2843
+ }
2844
+ #documentPropertiesDialog .row > p {
2845
+ max-width: 225px;
2846
+ word-wrap: break-word;
2847
+ }
2848
+ #documentPropertiesDialog .buttonRow {
2849
+ margin-top: 10px;
2850
+ }
2851
+
2852
+ #signaturePropertiesDialog {
2853
+ text-align: left;
2854
+ }
2855
+ [dir="ltr"] #signaturePropertiesDialog .row > * {
2856
+ text-align: left;
2857
+ }
2858
+ [dir="rtl"] #signaturePropertiesDialog .row > * {
2859
+ text-align: right;
2860
+ }
2861
+ #signaturePropertiesDialog .row > * {
2862
+ min-width: 100px;
2863
+ text-align: start;
2864
+ }
2865
+ #signaturePropertiesDialog .row > span {
2866
+ width: 125px;
2867
+ word-wrap: break-word;
2868
+ }
2869
+ #signaturePropertiesDialog .row > p {
2870
+ max-width: 225px;
2871
+ word-wrap: break-word;
2872
+ }
2873
+ #signaturePropertiesDialog .buttonRow {
2874
+ margin-top: 10px;
2875
+ }
2876
+
2877
+ .clearBoth {
2878
+ clear: both;
2879
+ }
2880
+
2881
+ .fileInput {
2882
+ background: rgba(255, 255, 255, 1);
2883
+ color: rgba(0, 0, 0, 1);
2884
+ margin-top: 5px;
2885
+ visibility: hidden;
2886
+ position: fixed;
2887
+ right: 0;
2888
+ top: 0;
2889
+ }
2890
+
2891
+ #PDFBug {
2892
+ background: none repeat scroll 0 0 rgba(255, 255, 255, 1);
2893
+ border: 1px solid rgba(102, 102, 102, 1);
2894
+ position: fixed;
2895
+ top: 32px;
2896
+ right: 0;
2897
+ bottom: 0;
2898
+ font-size: 10px;
2899
+ padding: 0;
2900
+ width: 300px;
2901
+ }
2902
+ #PDFBug .controls {
2903
+ background: rgba(238, 238, 238, 1);
2904
+ border-bottom: 1px solid rgba(102, 102, 102, 1);
2905
+ padding: 3px;
2906
+ }
2907
+ #PDFBug .panels {
2908
+ bottom: 0;
2909
+ left: 0;
2910
+ overflow: auto;
2911
+ position: absolute;
2912
+ right: 0;
2913
+ top: 27px;
2914
+ }
2915
+ #PDFBug .panels > div {
2916
+ padding: 5px;
2917
+ }
2918
+ #PDFBug button.active {
2919
+ font-weight: bold;
2920
+ }
2921
+ .debuggerShowText {
2922
+ background: none repeat scroll 0 0 rgba(255, 255, 0, 1);
2923
+ color: rgba(0, 0, 255, 1);
2924
+ }
2925
+ .debuggerHideText:hover {
2926
+ background: none repeat scroll 0 0 rgba(255, 255, 0, 1);
2927
+ }
2928
+ #PDFBug .stats {
2929
+ font-family: courier;
2930
+ font-size: 10px;
2931
+ white-space: pre;
2932
+ }
2933
+ #PDFBug .stats .title {
2934
+ font-weight: bold;
2935
+ }
2936
+ #PDFBug table {
2937
+ font-size: 10px;
2938
+ white-space: pre;
2939
+ }
2940
+ #PDFBug table.showText {
2941
+ border-collapse: collapse;
2942
+ text-align: center;
2943
+ }
2944
+ #PDFBug table.showText,
2945
+ #PDFBug table.showText tr,
2946
+ #PDFBug table.showText td {
2947
+ border: 1px solid black;
2948
+ padding: 1px;
2949
+ }
2950
+ #PDFBug table.showText td.advance {
2951
+ color: grey;
2952
+ }
2953
+
2954
+ #viewer.textLayer-visible .textLayer {
2955
+ opacity: 1;
2956
+ }
2957
+
2958
+ #viewer.textLayer-visible .canvasWrapper {
2959
+ background-color: rgba(128, 255, 128, 1);
2960
+ }
2961
+
2962
+ #viewer.textLayer-visible .canvasWrapper canvas {
2963
+ mix-blend-mode: screen;
2964
+ }
2965
+
2966
+ #viewer.textLayer-visible .textLayer span {
2967
+ background-color: rgba(255, 255, 0, 0.1);
2968
+ color: rgba(0, 0, 0, 1);
2969
+ border: solid 1px rgba(255, 0, 0, 0.5);
2970
+ -webkit-box-sizing: border-box;
2971
+ box-sizing: border-box;
2972
+ }
2973
+
2974
+ #viewer.textLayer-hover .textLayer span:hover {
2975
+ background-color: rgba(255, 255, 255, 1);
2976
+ color: rgba(0, 0, 0, 1);
2977
+ }
2978
+
2979
+ #viewer.textLayer-shadow .textLayer span {
2980
+ background-color: rgba(255, 255, 255, 0.6);
2981
+ color: rgba(0, 0, 0, 1);
2982
+ }
2983
+
2984
+ .grab-to-pan-grab {
2985
+ cursor: -webkit-grab !important;
2986
+ cursor: grab !important;
2987
+ }
2988
+ .grab-to-pan-grab
2989
+ *:not(input):not(textarea):not(button):not(select):not(:link) {
2990
+ cursor: inherit !important;
2991
+ }
2992
+ .grab-to-pan-grab:active,
2993
+ .grab-to-pan-grabbing {
2994
+ cursor: -webkit-grabbing !important;
2995
+ cursor: grabbing !important;
2996
+ position: fixed;
2997
+ background: rgba(0, 0, 0, 0);
2998
+ display: block;
2999
+ top: 0;
3000
+ left: 0;
3001
+ right: 0;
3002
+ bottom: 0;
3003
+ overflow: hidden;
3004
+ z-index: 50000; /* should be higher than anything else in PDF.js! */
3005
+ }
3006
+
3007
+ @page {
3008
+ margin: 0;
3009
+ }
3010
+
3011
+ #printContainer {
3012
+ display: none;
3013
+ }
3014
+
3015
+ @media print {
3016
+ /* General rules for printing. */
3017
+ body {
3018
+ background: rgba(0, 0, 0, 0) none;
3019
+ }
3020
+
3021
+ /* Rules for browsers that don't support mozPrintCallback. */
3022
+ #sidebarContainer,
3023
+ #secondaryToolbar,
3024
+ .toolbar,
3025
+ #loadingBox,
3026
+ #errorWrapper,
3027
+ .textLayer,
3028
+ .canvasWrapper {
3029
+ display: none;
3030
+ }
3031
+ #viewerContainer {
3032
+ overflow: visible;
3033
+ }
3034
+
3035
+ #mainContainer,
3036
+ #viewerContainer,
3037
+ .page,
3038
+ .page canvas {
3039
+ position: static;
3040
+ padding: 0;
3041
+ margin: 0;
3042
+ }
3043
+
3044
+ .page {
3045
+ float: left;
3046
+ display: none;
3047
+ border: none;
3048
+ -webkit-box-shadow: none;
3049
+ box-shadow: none;
3050
+ background-clip: content-box;
3051
+ background-color: rgba(255, 255, 255, 1);
3052
+ }
3053
+
3054
+ .page[data-loaded] {
3055
+ display: block;
3056
+ }
3057
+
3058
+ .fileInput {
3059
+ display: none;
3060
+ }
3061
+
3062
+ /* Rules for browsers that support PDF.js printing */
3063
+ body[data-pdfjsprinting] #outerContainer {
3064
+ display: none;
3065
+ }
3066
+ body[data-pdfjsprinting] #printContainer {
3067
+ display: block;
3068
+ }
3069
+ #printContainer {
3070
+ height: 100%;
3071
+ }
3072
+ /* wrapper around (scaled) print canvas elements */
3073
+ #printContainer > .printedPage {
3074
+ page-break-after: always;
3075
+ page-break-inside: avoid;
3076
+
3077
+ /* The wrapper always cover the whole page. */
3078
+ height: 100%;
3079
+ width: 100%;
3080
+
3081
+ display: -webkit-box;
3082
+
3083
+ display: -ms-flexbox;
3084
+
3085
+ display: flex;
3086
+ -webkit-box-orient: vertical;
3087
+ -webkit-box-direction: normal;
3088
+ -ms-flex-direction: column;
3089
+ flex-direction: column;
3090
+ -webkit-box-pack: center;
3091
+ -ms-flex-pack: center;
3092
+ justify-content: center;
3093
+ -webkit-box-align: center;
3094
+ -ms-flex-align: center;
3095
+ align-items: center;
3096
+ }
3097
+
3098
+ #printContainer > .xfaPrintedPage .xfaPage {
3099
+ position: absolute;
3100
+ }
3101
+
3102
+ #printContainer > .xfaPrintedPage {
3103
+ page-break-after: always;
3104
+ page-break-inside: avoid;
3105
+ width: 100%;
3106
+ height: 100%;
3107
+ position: relative;
3108
+ }
3109
+
3110
+ #printContainer > .printedPage canvas,
3111
+ #printContainer > .printedPage img {
3112
+ /* The intrinsic canvas / image size will make sure that we fit the page. */
3113
+ max-width: 100%;
3114
+ max-height: 100%;
3115
+
3116
+ direction: ltr;
3117
+ display: block;
3118
+ }
3119
+ }
3120
+
3121
+ .visibleLargeView,
3122
+ .visibleMediumView,
3123
+ .visibleSmallView {
3124
+ display: none;
3125
+ }
3126
+
3127
+ @media all and (max-width: 900px) {
3128
+ #toolbarViewerMiddle {
3129
+ display: table;
3130
+ margin: auto;
3131
+ left: auto;
3132
+ position: inherit;
3133
+ -webkit-transform: none;
3134
+ transform: none;
3135
+ }
3136
+ }
3137
+
3138
+ @media all and (max-width: 840px) {
3139
+ #sidebarContainer {
3140
+ background-color: var(--sidebar-narrow-bg-color);
3141
+ }
3142
+
3143
+ [dir="ltr"] #outerContainer.sidebarOpen #viewerContainer {
3144
+ left: 0 !important;
3145
+ }
3146
+
3147
+ [dir="rtl"] #outerContainer.sidebarOpen #viewerContainer {
3148
+ right: 0 !important;
3149
+ }
3150
+
3151
+ #outerContainer.sidebarOpen #viewerContainer {
3152
+ inset-inline-start: 0 !important;
3153
+ }
3154
+
3155
+ #outerContainer .hiddenLargeView,
3156
+ #outerContainer .hiddenMediumView {
3157
+ display: inherit;
3158
+ }
3159
+ #outerContainer .visibleLargeView,
3160
+ #outerContainer .visibleMediumView {
3161
+ display: none;
3162
+ }
3163
+ }
3164
+
3165
+ @media all and (max-width: 770px) {
3166
+ #outerContainer .hiddenLargeView {
3167
+ display: none;
3168
+ }
3169
+ #outerContainer .visibleLargeView {
3170
+ display: inherit;
3171
+ }
3172
+ }
3173
+
3174
+ @media all and (max-width: 700px) {
3175
+ #outerContainer .hiddenMediumView {
3176
+ display: none;
3177
+ }
3178
+ #outerContainer .visibleMediumView {
3179
+ display: inherit;
3180
+ }
3181
+ }
3182
+
3183
+ @media all and (max-width: 640px) {
3184
+ .hiddenSmallView,
3185
+ .hiddenSmallView * {
3186
+ display: none;
3187
+ }
3188
+ .visibleSmallView {
3189
+ display: inherit;
3190
+ }
3191
+ .toolbarButtonSpacer {
3192
+ width: 0;
3193
+ }
3194
+ [dir="ltr"] .findbar {
3195
+ left: 34px;
3196
+ }
3197
+ [dir="rtl"] .findbar {
3198
+ right: 34px;
3199
+ }
3200
+ .findbar {
3201
+ inset-inline-start: 34px;
3202
+ }
3203
+ }
3204
+
3205
+ @media all and (max-width: 535px) {
3206
+ #scaleSelectContainer {
3207
+ display: none;
3208
+ }
3209
+ }
3210
+
3211
+ .gray {
3212
+ -webkit-filter: grayscale(100%);
3213
+ -moz-filter: grayscale(100%);
3214
+ -ms-filter: grayscale(100%);
3215
+ -o-filter: grayscale(100%);
3216
+ filter: grayscale(100%);
3217
+ filter: gray;
3218
+ }
3219
+
3220
+ .big-close {
3221
+ position: absolute;
3222
+ width: 100%;
3223
+ height: 100%;
3224
+ left: 0;
3225
+ top: 0
3226
+ }
3227
+
3228
+ .big-close::before,
3229
+ .big-close::after {
3230
+ position: absolute;
3231
+ content: ' ';
3232
+ background-color: black;
3233
+ left: 50%;
3234
+ width: 2px;
3235
+ height: 100%;
3236
+ }
3237
+
3238
+ .big-close::before {
3239
+ transform: rotate(45deg);
3240
+ }
3241
+
3242
+ .big-close::after {
3243
+ transform: rotate(-45deg);
3244
+ }
3245
+
3246
+ .highLight {
3247
+ background-color: rgba(255,255,0,.3);
3248
+ }
3249
+
3250
+ .overlayContainer{
3251
+ display: flex;
3252
+ flex-direction: column;
3253
+ position: fixed;
3254
+ width: 100%;
3255
+ height: 100%;
3256
+ top: 0;
3257
+ left: 0;
3258
+ flex: 1;
3259
+ z-index: 9999;
3260
+ align-items: center;
3261
+ justify-content: center;
3262
+ background: rgba(0,0,0, 0.5);
3263
+ }
3264
+
3265
+ div.text { position:absolute; }
3266
+ div.text span {
3267
+ position:absolute;
3268
+ white-space:pre;
3269
+ line-height:1;
3270
+ color:transparent;
3271
+ }
3272
+
3273
+ div.links { position:absolute; }
3274
+ div.links a { position:absolute; }
3275
+ div.links a:hover { outline: 1px dotted blue; }
3276
+
3277
+ #outline { margin:0; padding:1ex; padding-left:2ex; list-style-type: none; font-size: 10pt; }
3278
+ #outline ul { margin:0; padding:0; padding-left:3ex; list-style-type: none; }
3279
+ #outline a { text-decoration:none; color: black; }
3280
+ #outline a:hover { text-decoration:underline; }
3281
+
3282
+ div.searchHitList { position:absolute; }
3283
+ div.searchHit { position:absolute; pointer-events:none; outline: 1px solid hotpink; background-color: lightpink; mix-blend-mode: multiply; }
3284
+