ofd-view 0.1.27 → 0.1.29

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. package/lib/demo.html +1 -1
  2. package/lib/ofd-view.common.js +1345 -925
  3. package/lib/ofd-view.common.js.map +1 -1
  4. package/lib/ofd-view.umd.js +1315 -930
  5. package/lib/ofd-view.umd.js.map +1 -1
  6. package/lib/ofd-view.umd.min.js +1 -1
  7. package/lib/ofd-view.umd.min.js.map +1 -1
  8. package/package.json +6 -22
  9. package/lib/images/annotation-check.svg +0 -11
  10. package/lib/images/annotation-comment.svg +0 -16
  11. package/lib/images/annotation-help.svg +0 -26
  12. package/lib/images/annotation-insert.svg +0 -10
  13. package/lib/images/annotation-key.svg +0 -11
  14. package/lib/images/annotation-newparagraph.svg +0 -11
  15. package/lib/images/annotation-noicon.svg +0 -7
  16. package/lib/images/annotation-note.svg +0 -42
  17. package/lib/images/annotation-paragraph.svg +0 -16
  18. package/lib/images/eSignature.svg +0 -1
  19. package/lib/images/findbarButton-next.svg +0 -4
  20. package/lib/images/findbarButton-previous.svg +0 -4
  21. package/lib/images/loading-dark.svg +0 -24
  22. package/lib/images/loading-icon.gif +0 -0
  23. package/lib/images/loading.svg +0 -1
  24. package/lib/images/secondaryToolbarButton-documentProperties.svg +0 -15
  25. package/lib/images/secondaryToolbarButton-firstPage.svg +0 -1
  26. package/lib/images/secondaryToolbarButton-handTool.svg +0 -1
  27. package/lib/images/secondaryToolbarButton-lastPage.svg +0 -1
  28. package/lib/images/secondaryToolbarButton-rotateCcw.svg +0 -1
  29. package/lib/images/secondaryToolbarButton-rotateCw.svg +0 -4
  30. package/lib/images/secondaryToolbarButton-scrollHorizontal.svg +0 -1
  31. package/lib/images/secondaryToolbarButton-scrollPage.svg +0 -1
  32. package/lib/images/secondaryToolbarButton-scrollVertical.svg +0 -1
  33. package/lib/images/secondaryToolbarButton-scrollWrapped.svg +0 -1
  34. package/lib/images/secondaryToolbarButton-selectTool.svg +0 -4
  35. package/lib/images/secondaryToolbarButton-spreadEven.svg +0 -1
  36. package/lib/images/secondaryToolbarButton-spreadNone.svg +0 -1
  37. package/lib/images/secondaryToolbarButton-spreadOdd.svg +0 -1
  38. package/lib/images/shadow.png +0 -0
  39. package/lib/images/toolbarButton-bookmark.svg +0 -1
  40. package/lib/images/toolbarButton-currentOutlineItem.svg +0 -1
  41. package/lib/images/toolbarButton-download.svg +0 -4
  42. package/lib/images/toolbarButton-menuArrow.svg +0 -1
  43. package/lib/images/toolbarButton-openFile.svg +0 -4
  44. package/lib/images/toolbarButton-pageDown.svg +0 -7
  45. package/lib/images/toolbarButton-pageUp.svg +0 -12
  46. package/lib/images/toolbarButton-presentationMode.svg +0 -1
  47. package/lib/images/toolbarButton-print.svg +0 -4
  48. package/lib/images/toolbarButton-search.svg +0 -4
  49. package/lib/images/toolbarButton-secondaryToolbarToggle.svg +0 -4
  50. package/lib/images/toolbarButton-sidebarToggle.svg +0 -4
  51. package/lib/images/toolbarButton-viewAttachments.svg +0 -1
  52. package/lib/images/toolbarButton-viewLayers.svg +0 -1
  53. package/lib/images/toolbarButton-viewOutline.svg +0 -1
  54. package/lib/images/toolbarButton-viewSignatures.svg +0 -1
  55. package/lib/images/toolbarButton-viewThumbnail.svg +0 -4
  56. package/lib/images/toolbarButton-zoomIn.svg +0 -4
  57. package/lib/images/toolbarButton-zoomOut.svg +0 -4
  58. package/lib/images/treeitem-collapsed.svg +0 -1
  59. package/lib/images/treeitem-expanded.svg +0 -1
  60. package/lib/viewer.css +0 -3208
package/lib/viewer.css DELETED
@@ -1,3208 +0,0 @@
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-decoration: none;
2633
- display: inline-block;
2634
- min-width: 95%;
2635
- /* Subtract the right padding (left, in RTL mode) of the container: */
2636
- min-width: calc(100% - 4px);
2637
- height: auto;
2638
- margin-bottom: 1px;
2639
- padding: 2px 0 5px;
2640
- -webkit-padding-start: 4px;
2641
- padding-inline-start: 4px;
2642
- border-radius: 2px;
2643
- color: var(--treeitem-color);
2644
- font-size: 13px;
2645
- line-height: 15px;
2646
- -webkit-user-select: none;
2647
- -moz-user-select: none;
2648
- -ms-user-select: none;
2649
- user-select: none;
2650
- white-space: normal;
2651
- cursor: pointer;
2652
- }
2653
-
2654
- #layersView .treeItem > a > * {
2655
- cursor: pointer;
2656
- }
2657
- [dir="ltr"] #layersView .treeItem > a > label {
2658
- padding-left: 4px;
2659
- }
2660
- [dir="rtl"] #layersView .treeItem > a > label {
2661
- padding-right: 4px;
2662
- }
2663
- #layersView .treeItem > a > label {
2664
- -webkit-padding-start: 4px;
2665
- padding-inline-start: 4px;
2666
- }
2667
-
2668
- [dir="ltr"] .treeItemToggler {
2669
- float: left;
2670
- }
2671
-
2672
- [dir="rtl"] .treeItemToggler {
2673
- float: right;
2674
- }
2675
-
2676
- .treeItemToggler {
2677
- position: relative;
2678
- float: inline-start;
2679
- height: 0;
2680
- width: 0;
2681
- color: rgba(255, 255, 255, 0.5);
2682
- }
2683
- [dir="ltr"] .treeItemToggler::before {
2684
- right: 4px;
2685
- }
2686
- [dir="rtl"] .treeItemToggler::before {
2687
- left: 4px;
2688
- }
2689
- .treeItemToggler::before {
2690
- inset-inline-end: 4px;
2691
- -webkit-mask-image: var(--treeitem-expanded-icon);
2692
- mask-image: var(--treeitem-expanded-icon);
2693
- }
2694
- .treeItemToggler.treeItemsHidden::before {
2695
- -webkit-mask-image: var(--treeitem-collapsed-icon);
2696
- mask-image: var(--treeitem-collapsed-icon);
2697
- -webkit-transform: scaleX(var(--dir-factor));
2698
- transform: scaleX(var(--dir-factor));
2699
- }
2700
- .treeItemToggler.treeItemsHidden ~ .treeItems {
2701
- display: none;
2702
- }
2703
-
2704
- .treeItem.selected > a {
2705
- background-color: var(--treeitem-selected-bg-color);
2706
- color: var(--treeitem-selected-color);
2707
- }
2708
-
2709
- .treeItemToggler:hover,
2710
- .treeItemToggler:hover + a,
2711
- .treeItemToggler:hover ~ .treeItems,
2712
- .treeItem > a:hover {
2713
- background-color: var(--sidebaritem-bg-color);
2714
- background-clip: padding-box;
2715
- border-radius: 2px;
2716
- color: var(--treeitem-hover-color);
2717
- }
2718
-
2719
- /* TODO: file FF bug to support ::-moz-selection:window-inactive
2720
- so we can override the opaque grey background when the window is inactive;
2721
- see https://bugzilla.mozilla.org/show_bug.cgi?id=706209 */
2722
- ::-moz-selection {
2723
- background: rgba(0, 0, 255, 0.3);
2724
- }
2725
- ::selection {
2726
- background: rgba(0, 0, 255, 0.3);
2727
- }
2728
-
2729
- #errorWrapper {
2730
- background: none repeat scroll 0 0 var(--errorWrapper-bg-color);
2731
- color: var(--main-color);
2732
- left: 0;
2733
- position: absolute;
2734
- right: 0;
2735
- z-index: 1000;
2736
- padding: 3px 6px;
2737
- }
2738
-
2739
- #errorMessageLeft {
2740
- float: left;
2741
- }
2742
- #errorMessageRight {
2743
- float: right;
2744
- }
2745
-
2746
- #errorMoreInfo {
2747
- background-color: var(--field-bg-color);
2748
- color: var(--field-color);
2749
- border: 1px solid var(--field-border-color);
2750
- padding: 3px;
2751
- margin: 3px;
2752
- width: 98%;
2753
- }
2754
-
2755
- .dialogButton {
2756
- width: auto;
2757
- margin: 3px 4px 2px !important;
2758
- padding: 2px 11px;
2759
- color: var(--main-color);
2760
- background-color: var(--dialog-button-bg-color);
2761
- border: var(--dialog-button-border) !important;
2762
- }
2763
-
2764
- dialog {
2765
- margin: auto;
2766
- padding: 15px;
2767
- border-spacing: 4px;
2768
- color: var(--main-color);
2769
- font-size: 12px;
2770
- line-height: 14px;
2771
- background-color: var(--doorhanger-bg-color);
2772
- border: 1px solid rgba(0, 0, 0, 0.5);
2773
- border-radius: 4px;
2774
- -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
2775
- box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
2776
- }
2777
- dialog::-webkit-backdrop {
2778
- background-color: rgba(0, 0, 0, 0.2);
2779
- -webkit-user-select: none;
2780
- user-select: none;
2781
- }
2782
- dialog::backdrop {
2783
- background-color: rgba(0, 0, 0, 0.2);
2784
- -webkit-user-select: none;
2785
- -moz-user-select: none;
2786
- -ms-user-select: none;
2787
- user-select: none;
2788
- }
2789
-
2790
- dialog > .row {
2791
- display: table-row;
2792
- }
2793
-
2794
- dialog > .row > * {
2795
- display: table-cell;
2796
- }
2797
-
2798
- dialog .toolbarField {
2799
- margin: 5px 0;
2800
- }
2801
-
2802
- dialog .separator {
2803
- display: block;
2804
- margin: 4px 0;
2805
- height: 1px;
2806
- width: 100%;
2807
- background-color: var(--separator-color);
2808
- }
2809
-
2810
- dialog .buttonRow {
2811
- text-align: center;
2812
- vertical-align: middle;
2813
- }
2814
-
2815
- dialog :link {
2816
- color: rgba(255, 255, 255, 1);
2817
- }
2818
-
2819
- #passwordDialog {
2820
- text-align: center;
2821
- }
2822
- #passwordDialog .toolbarField {
2823
- width: 200px;
2824
- }
2825
-
2826
- #documentPropertiesDialog {
2827
- text-align: left;
2828
- }
2829
- [dir="ltr"] #documentPropertiesDialog .row > * {
2830
- text-align: left;
2831
- }
2832
- [dir="rtl"] #documentPropertiesDialog .row > * {
2833
- text-align: right;
2834
- }
2835
- #documentPropertiesDialog .row > * {
2836
- min-width: 100px;
2837
- text-align: start;
2838
- }
2839
- #documentPropertiesDialog .row > span {
2840
- width: 125px;
2841
- word-wrap: break-word;
2842
- }
2843
- #documentPropertiesDialog .row > p {
2844
- max-width: 225px;
2845
- word-wrap: break-word;
2846
- }
2847
- #documentPropertiesDialog .buttonRow {
2848
- margin-top: 10px;
2849
- }
2850
-
2851
- #signaturePropertiesDialog {
2852
- text-align: left;
2853
- }
2854
- [dir="ltr"] #signaturePropertiesDialog .row > * {
2855
- text-align: left;
2856
- }
2857
- [dir="rtl"] #signaturePropertiesDialog .row > * {
2858
- text-align: right;
2859
- }
2860
- #signaturePropertiesDialog .row > * {
2861
- min-width: 100px;
2862
- text-align: start;
2863
- }
2864
- #signaturePropertiesDialog .row > span {
2865
- width: 125px;
2866
- word-wrap: break-word;
2867
- }
2868
- #signaturePropertiesDialog .row > p {
2869
- max-width: 225px;
2870
- word-wrap: break-word;
2871
- }
2872
- #signaturePropertiesDialog .buttonRow {
2873
- margin-top: 10px;
2874
- }
2875
-
2876
- .clearBoth {
2877
- clear: both;
2878
- }
2879
-
2880
- .fileInput {
2881
- background: rgba(255, 255, 255, 1);
2882
- color: rgba(0, 0, 0, 1);
2883
- margin-top: 5px;
2884
- visibility: hidden;
2885
- position: fixed;
2886
- right: 0;
2887
- top: 0;
2888
- }
2889
-
2890
- #PDFBug {
2891
- background: none repeat scroll 0 0 rgba(255, 255, 255, 1);
2892
- border: 1px solid rgba(102, 102, 102, 1);
2893
- position: fixed;
2894
- top: 32px;
2895
- right: 0;
2896
- bottom: 0;
2897
- font-size: 10px;
2898
- padding: 0;
2899
- width: 300px;
2900
- }
2901
- #PDFBug .controls {
2902
- background: rgba(238, 238, 238, 1);
2903
- border-bottom: 1px solid rgba(102, 102, 102, 1);
2904
- padding: 3px;
2905
- }
2906
- #PDFBug .panels {
2907
- bottom: 0;
2908
- left: 0;
2909
- overflow: auto;
2910
- position: absolute;
2911
- right: 0;
2912
- top: 27px;
2913
- }
2914
- #PDFBug .panels > div {
2915
- padding: 5px;
2916
- }
2917
- #PDFBug button.active {
2918
- font-weight: bold;
2919
- }
2920
- .debuggerShowText {
2921
- background: none repeat scroll 0 0 rgba(255, 255, 0, 1);
2922
- color: rgba(0, 0, 255, 1);
2923
- }
2924
- .debuggerHideText:hover {
2925
- background: none repeat scroll 0 0 rgba(255, 255, 0, 1);
2926
- }
2927
- #PDFBug .stats {
2928
- font-family: courier;
2929
- font-size: 10px;
2930
- white-space: pre;
2931
- }
2932
- #PDFBug .stats .title {
2933
- font-weight: bold;
2934
- }
2935
- #PDFBug table {
2936
- font-size: 10px;
2937
- white-space: pre;
2938
- }
2939
- #PDFBug table.showText {
2940
- border-collapse: collapse;
2941
- text-align: center;
2942
- }
2943
- #PDFBug table.showText,
2944
- #PDFBug table.showText tr,
2945
- #PDFBug table.showText td {
2946
- border: 1px solid black;
2947
- padding: 1px;
2948
- }
2949
- #PDFBug table.showText td.advance {
2950
- color: grey;
2951
- }
2952
-
2953
- #viewer.textLayer-visible .textLayer {
2954
- opacity: 1;
2955
- }
2956
-
2957
- #viewer.textLayer-visible .canvasWrapper {
2958
- background-color: rgba(128, 255, 128, 1);
2959
- }
2960
-
2961
- #viewer.textLayer-visible .canvasWrapper canvas {
2962
- mix-blend-mode: screen;
2963
- }
2964
-
2965
- #viewer.textLayer-visible .textLayer span {
2966
- background-color: rgba(255, 255, 0, 0.1);
2967
- color: rgba(0, 0, 0, 1);
2968
- border: solid 1px rgba(255, 0, 0, 0.5);
2969
- -webkit-box-sizing: border-box;
2970
- box-sizing: border-box;
2971
- }
2972
-
2973
- #viewer.textLayer-hover .textLayer span:hover {
2974
- background-color: rgba(255, 255, 255, 1);
2975
- color: rgba(0, 0, 0, 1);
2976
- }
2977
-
2978
- #viewer.textLayer-shadow .textLayer span {
2979
- background-color: rgba(255, 255, 255, 0.6);
2980
- color: rgba(0, 0, 0, 1);
2981
- }
2982
-
2983
- .grab-to-pan-grab {
2984
- cursor: -webkit-grab !important;
2985
- cursor: grab !important;
2986
- }
2987
- .grab-to-pan-grab
2988
- *:not(input):not(textarea):not(button):not(select):not(:link) {
2989
- cursor: inherit !important;
2990
- }
2991
- .grab-to-pan-grab:active,
2992
- .grab-to-pan-grabbing {
2993
- cursor: -webkit-grabbing !important;
2994
- cursor: grabbing !important;
2995
- position: fixed;
2996
- background: rgba(0, 0, 0, 0);
2997
- display: block;
2998
- top: 0;
2999
- left: 0;
3000
- right: 0;
3001
- bottom: 0;
3002
- overflow: hidden;
3003
- z-index: 50000; /* should be higher than anything else in PDF.js! */
3004
- }
3005
-
3006
- @page {
3007
- margin: 0;
3008
- }
3009
-
3010
- #printContainer {
3011
- display: none;
3012
- }
3013
-
3014
- @media print {
3015
- /* General rules for printing. */
3016
- body {
3017
- background: rgba(0, 0, 0, 0) none;
3018
- }
3019
-
3020
- /* Rules for browsers that don't support mozPrintCallback. */
3021
- #sidebarContainer,
3022
- #secondaryToolbar,
3023
- .toolbar,
3024
- #loadingBox,
3025
- #errorWrapper,
3026
- .textLayer,
3027
- .canvasWrapper {
3028
- display: none;
3029
- }
3030
- #viewerContainer {
3031
- overflow: visible;
3032
- }
3033
-
3034
- #mainContainer,
3035
- #viewerContainer,
3036
- .page,
3037
- .page canvas {
3038
- position: static;
3039
- padding: 0;
3040
- margin: 0;
3041
- }
3042
-
3043
- .page {
3044
- float: left;
3045
- display: none;
3046
- border: none;
3047
- -webkit-box-shadow: none;
3048
- box-shadow: none;
3049
- background-clip: content-box;
3050
- background-color: rgba(255, 255, 255, 1);
3051
- }
3052
-
3053
- .page[data-loaded] {
3054
- display: block;
3055
- }
3056
-
3057
- .fileInput {
3058
- display: none;
3059
- }
3060
-
3061
- /* Rules for browsers that support PDF.js printing */
3062
- body[data-pdfjsprinting] #outerContainer {
3063
- display: none;
3064
- }
3065
- body[data-pdfjsprinting] #printContainer {
3066
- display: block;
3067
- }
3068
- #printContainer {
3069
- height: 100%;
3070
- }
3071
- /* wrapper around (scaled) print canvas elements */
3072
- #printContainer > .printedPage {
3073
- page-break-after: always;
3074
- page-break-inside: avoid;
3075
-
3076
- /* The wrapper always cover the whole page. */
3077
- height: 100%;
3078
- width: 100%;
3079
-
3080
- display: -webkit-box;
3081
-
3082
- display: -ms-flexbox;
3083
-
3084
- display: flex;
3085
- -webkit-box-orient: vertical;
3086
- -webkit-box-direction: normal;
3087
- -ms-flex-direction: column;
3088
- flex-direction: column;
3089
- -webkit-box-pack: center;
3090
- -ms-flex-pack: center;
3091
- justify-content: center;
3092
- -webkit-box-align: center;
3093
- -ms-flex-align: center;
3094
- align-items: center;
3095
- }
3096
-
3097
- #printContainer > .xfaPrintedPage .xfaPage {
3098
- position: absolute;
3099
- }
3100
-
3101
- #printContainer > .xfaPrintedPage {
3102
- page-break-after: always;
3103
- page-break-inside: avoid;
3104
- width: 100%;
3105
- height: 100%;
3106
- position: relative;
3107
- }
3108
-
3109
- #printContainer > .printedPage canvas,
3110
- #printContainer > .printedPage img {
3111
- /* The intrinsic canvas / image size will make sure that we fit the page. */
3112
- max-width: 100%;
3113
- max-height: 100%;
3114
-
3115
- direction: ltr;
3116
- display: block;
3117
- }
3118
- }
3119
-
3120
- .visibleLargeView,
3121
- .visibleMediumView,
3122
- .visibleSmallView {
3123
- display: none;
3124
- }
3125
-
3126
- @media all and (max-width: 900px) {
3127
- #toolbarViewerMiddle {
3128
- display: table;
3129
- margin: auto;
3130
- left: auto;
3131
- position: inherit;
3132
- -webkit-transform: none;
3133
- transform: none;
3134
- }
3135
- }
3136
-
3137
- @media all and (max-width: 840px) {
3138
- #sidebarContainer {
3139
- background-color: var(--sidebar-narrow-bg-color);
3140
- }
3141
-
3142
- [dir="ltr"] #outerContainer.sidebarOpen #viewerContainer {
3143
- left: 0 !important;
3144
- }
3145
-
3146
- [dir="rtl"] #outerContainer.sidebarOpen #viewerContainer {
3147
- right: 0 !important;
3148
- }
3149
-
3150
- #outerContainer.sidebarOpen #viewerContainer {
3151
- inset-inline-start: 0 !important;
3152
- }
3153
-
3154
- #outerContainer .hiddenLargeView,
3155
- #outerContainer .hiddenMediumView {
3156
- display: inherit;
3157
- }
3158
- #outerContainer .visibleLargeView,
3159
- #outerContainer .visibleMediumView {
3160
- display: none;
3161
- }
3162
- }
3163
-
3164
- @media all and (max-width: 770px) {
3165
- #outerContainer .hiddenLargeView {
3166
- display: none;
3167
- }
3168
- #outerContainer .visibleLargeView {
3169
- display: inherit;
3170
- }
3171
- }
3172
-
3173
- @media all and (max-width: 700px) {
3174
- #outerContainer .hiddenMediumView {
3175
- display: none;
3176
- }
3177
- #outerContainer .visibleMediumView {
3178
- display: inherit;
3179
- }
3180
- }
3181
-
3182
- @media all and (max-width: 640px) {
3183
- .hiddenSmallView,
3184
- .hiddenSmallView * {
3185
- display: none;
3186
- }
3187
- .visibleSmallView {
3188
- display: inherit;
3189
- }
3190
- .toolbarButtonSpacer {
3191
- width: 0;
3192
- }
3193
- [dir="ltr"] .findbar {
3194
- left: 34px;
3195
- }
3196
- [dir="rtl"] .findbar {
3197
- right: 34px;
3198
- }
3199
- .findbar {
3200
- inset-inline-start: 34px;
3201
- }
3202
- }
3203
-
3204
- @media all and (max-width: 535px) {
3205
- #scaleSelectContainer {
3206
- display: none;
3207
- }
3208
- }