@itfin/components 1.2.43 → 1.2.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1414 @@
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
+ @import "colors.scss";
17
+
18
+ :root {
19
+ --sidebar-width: 200px;
20
+ --sidebar-transition-duration: #{$pdf-sidebar-transition-duration};
21
+ --sidebar-transition-timing-function: #{$pdf-sidebar-transition-timing-function};
22
+ }
23
+
24
+ .pdf-app {
25
+ height: 100%;
26
+ overflow-x: hidden;
27
+ }
28
+
29
+ .pdf-app * {
30
+ padding: 0;
31
+ margin: 0;
32
+ }
33
+
34
+ .pdf-app {
35
+ #toolbarContainer,
36
+ #secondaryToolbar,
37
+ #sidebarContainer {
38
+ button {
39
+ cursor: pointer;
40
+ }
41
+ }
42
+
43
+ #sidebarContainer {
44
+ button[disabled] {
45
+ cursor: no-drop;
46
+ }
47
+ }
48
+
49
+ #viewBookmark {
50
+ cursor: pointer;
51
+ }
52
+ }
53
+
54
+ .pdf-app input,
55
+ .pdf-app button,
56
+ .pdf-app select {
57
+ font: message-box;
58
+ outline: none;
59
+ }
60
+
61
+ .pdf-app .hidden,
62
+ .pdf-app [hidden] {
63
+ display: none !important;
64
+ }
65
+
66
+ .pdf-app .pdfViewer.enablePermissions .textLayer > span {
67
+ user-select: none !important;
68
+ cursor: not-allowed;
69
+ }
70
+
71
+ .pdf-app #viewerContainer.pdfPresentationMode:-ms-fullscreen {
72
+ top: 0px !important;
73
+ overflow: hidden !important;
74
+ }
75
+
76
+ .pdf-app #viewerContainer.pdfPresentationMode:-ms-fullscreen::-ms-backdrop {
77
+ background-color: rgba(0, 0, 0, 1);
78
+ }
79
+
80
+ .pdf-app #viewerContainer.pdfPresentationMode:fullscreen {
81
+ top: 0px;
82
+ border-top: 2px solid rgba(0, 0, 0, 0);
83
+ background-color: rgba(0, 0, 0, 1);
84
+ width: 100%;
85
+ height: 100%;
86
+ overflow: hidden;
87
+ cursor: none;
88
+ user-select: none;
89
+ }
90
+
91
+ .pdf-app .pdfPresentationMode:fullscreen a:not(.internalLink) {
92
+ display: none;
93
+ }
94
+
95
+ .pdf-app .pdfPresentationMode:fullscreen .textLayer > span {
96
+ cursor: none;
97
+ }
98
+
99
+ .pdf-app .pdfPresentationMode.pdfPresentationModeControls > *,
100
+ .pdf-app .pdfPresentationMode.pdfPresentationModeControls .textLayer > span {
101
+ cursor: default;
102
+ }
103
+
104
+ .pdf-app #outerContainer {
105
+ width: 100%;
106
+ height: 100%;
107
+ position: relative;
108
+ }
109
+
110
+ .pdf-app #sidebarContainer {
111
+ position: absolute;
112
+ top: 32px;
113
+ bottom: 0;
114
+ width: 200px;
115
+ width: var(--sidebar-width);
116
+ visibility: hidden;
117
+ z-index: 98;
118
+ transition-duration: $pdf-sidebar-transition-duration;
119
+ transition-duration: var(--sidebar-transition-duration);
120
+ transition-timing-function: $pdf-sidebar-transition-timing-function;
121
+ transition-timing-function: var(--sidebar-transition-timing-function);
122
+ }
123
+ html[dir="ltr"] .pdf-app #sidebarContainer {
124
+ transition-property: left;
125
+ left: calc(0px - 200px);
126
+ left: calc(0px - var(--sidebar-width));
127
+ }
128
+ html[dir="rtl"] .pdf-app #sidebarContainer {
129
+ transition-property: right;
130
+ right: calc(0px - 200px);
131
+ right: calc(0px - var(--sidebar-width));
132
+ }
133
+
134
+ .loadingInProgress #sidebarContainer {
135
+ top: 4px;
136
+ }
137
+
138
+ .pdf-app #outerContainer.sidebarResizing #sidebarContainer {
139
+ /* Improve responsiveness and avoid visual glitches when the sidebar is resized. */
140
+ transition-duration: 0s;
141
+ /* Prevent e.g. the thumbnails being selected when the sidebar is resized. */
142
+ user-select: none;
143
+ }
144
+
145
+ .pdf-app #outerContainer.sidebarMoving #sidebarContainer,
146
+ .pdf-app #outerContainer.sidebarOpen #sidebarContainer {
147
+ visibility: visible;
148
+ }
149
+ html[dir="ltr"] .pdf-app #outerContainer.sidebarOpen #sidebarContainer {
150
+ left: 0px;
151
+ }
152
+ html[dir="rtl"] .pdf-app #outerContainer.sidebarOpen #sidebarContainer {
153
+ right: 0px;
154
+ }
155
+
156
+ .pdf-app #mainContainer {
157
+ position: absolute;
158
+ top: 0;
159
+ right: 0;
160
+ bottom: 0;
161
+ left: 0;
162
+ }
163
+
164
+ .pdf-app #sidebarContent {
165
+ top: 32px;
166
+ bottom: 0;
167
+ overflow: auto;
168
+ -webkit-overflow-scrolling: touch;
169
+ position: absolute;
170
+ width: 100%;
171
+ }
172
+ html[dir="ltr"] .pdf-app #sidebarContent {
173
+ left: 0;
174
+ box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.25);
175
+ }
176
+ html[dir="rtl"] .pdf-app #sidebarContent {
177
+ right: 0;
178
+ box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.25);
179
+ }
180
+
181
+ .pdf-app #viewerContainer {
182
+ overflow: auto;
183
+ -webkit-overflow-scrolling: touch;
184
+ position: absolute;
185
+ top: 32px;
186
+ right: 0;
187
+ bottom: 0;
188
+ left: 0;
189
+ outline: none;
190
+ }
191
+ .pdf-app #viewerContainer:not(.pdfPresentationMode) {
192
+ transition-duration: $pdf-sidebar-transition-duration;
193
+ transition-duration: var(--sidebar-transition-duration);
194
+ transition-timing-function: $pdf-sidebar-transition-timing-function;
195
+ transition-timing-function: var(--sidebar-transition-timing-function);
196
+ }
197
+ html[dir="ltr"] .pdf-app #viewerContainer {
198
+ box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.05);
199
+ }
200
+ html[dir="rtl"] .pdf-app #viewerContainer {
201
+ box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.05);
202
+ }
203
+
204
+ .pdf-app #outerContainer.sidebarResizing #viewerContainer {
205
+ /* Improve responsiveness and avoid visual glitches when the sidebar is resized. */
206
+ transition-duration: 0s;
207
+ }
208
+
209
+ html[dir="ltr"]
210
+ .pdf-app
211
+ #outerContainer.sidebarOpen
212
+ #viewerContainer:not(.pdfPresentationMode) {
213
+ transition-property: left;
214
+ left: 200px;
215
+ left: var(--sidebar-width);
216
+ }
217
+ html[dir="rtl"]
218
+ .pdf-app
219
+ #outerContainer.sidebarOpen
220
+ #viewerContainer:not(.pdfPresentationMode) {
221
+ transition-property: right;
222
+ right: 200px;
223
+ right: var(--sidebar-width);
224
+ }
225
+
226
+ .pdf-app .toolbar {
227
+ position: relative;
228
+ left: 0;
229
+ right: 0;
230
+ z-index: 99;
231
+ cursor: default;
232
+ }
233
+
234
+ .pdf-app #toolbarContainer {
235
+ width: 100%;
236
+ }
237
+
238
+ .pdf-app #toolbarSidebar {
239
+ width: 100%;
240
+ height: 32px;
241
+ }
242
+ html[dir="ltr"] .pdf-app #toolbarSidebar {
243
+ box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.25),
244
+ inset 0 -1px 0 rgba(255, 255, 255, 0.05), 0 1px 0 rgba(0, 0, 0, 0.15),
245
+ 0 0 1px rgba(0, 0, 0, 0.1);
246
+ }
247
+ html[dir="rtl"] .pdf-app #toolbarSidebar {
248
+ box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.25),
249
+ inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 1px 0 rgba(0, 0, 0, 0.15),
250
+ 0 0 1px rgba(0, 0, 0, 0.1);
251
+ }
252
+
253
+ .pdf-app #sidebarResizer {
254
+ position: absolute;
255
+ top: 0;
256
+ bottom: 0;
257
+ width: 6px;
258
+ z-index: 200;
259
+ cursor: ew-resize;
260
+ }
261
+ html[dir="ltr"] .pdf-app #sidebarResizer {
262
+ right: -6px;
263
+ }
264
+ html[dir="rtl"] .pdf-app #sidebarResizer {
265
+ left: -6px;
266
+ }
267
+
268
+ .pdf-app #toolbarContainer,
269
+ .pdf-app .findbar,
270
+ .pdf-app .secondaryToolbar {
271
+ position: relative;
272
+ height: 36px;
273
+ }
274
+ html[dir="ltr"] .pdf-app #toolbarContainer,
275
+ .pdf-app .findbar,
276
+ .pdf-app .secondaryToolbar {
277
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.15),
278
+ inset 0 -1px 0 rgba(255, 255, 255, 0.05), 0 1px 0 rgba(0, 0, 0, 0.15),
279
+ 0 1px 1px rgba(0, 0, 0, 0.1);
280
+ }
281
+ html[dir="rtl"] .pdf-app #toolbarContainer,
282
+ .pdf-app .findbar,
283
+ .pdf-app .secondaryToolbar {
284
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.15),
285
+ inset 0 -1px 0 rgba(255, 255, 255, 0.05), 0 1px 0 rgba(0, 0, 0, 0.15),
286
+ 0 1px 1px rgba(0, 0, 0, 0.1);
287
+ }
288
+
289
+ .pdf-app #toolbarViewer {
290
+ height: 36px;
291
+ }
292
+
293
+ .pdf-app #loadingBar {
294
+ position: relative;
295
+ width: 100%;
296
+ height: 4px;
297
+ }
298
+
299
+ .pdf-app #loadingBar .progress {
300
+ position: absolute;
301
+ top: 0;
302
+ left: 0;
303
+ width: 0%;
304
+ height: 100%;
305
+ overflow: hidden;
306
+ transition: width 200ms;
307
+ }
308
+
309
+ @keyframes progressIndeterminate {
310
+ 0% {
311
+ left: -142px;
312
+ }
313
+ 100% {
314
+ left: 0;
315
+ }
316
+ }
317
+
318
+ .pdf-app #loadingBar .progress.indeterminate .glimmer {
319
+ position: absolute;
320
+ top: 0;
321
+ left: 0;
322
+ height: 100%;
323
+ width: calc(100% + 150px);
324
+ animation: progressIndeterminate 950ms linear infinite;
325
+ }
326
+
327
+ .pdf-app .findbar,
328
+ .pdf-app .secondaryToolbar {
329
+ top: 32px;
330
+ position: absolute;
331
+ z-index: 10000;
332
+ height: auto;
333
+ min-width: 16px;
334
+ padding: 0px 6px 0px 6px;
335
+ margin: 4px 2px 4px 2px;
336
+ font-size: 12px;
337
+ line-height: 14px;
338
+ text-align: left;
339
+ cursor: default;
340
+ }
341
+
342
+ .pdf-app .findbar {
343
+ min-width: 300px;
344
+ }
345
+ .pdf-app .findbar > div {
346
+ height: 32px;
347
+ }
348
+ .pdf-app .findbar.wrapContainers > div {
349
+ clear: both;
350
+ }
351
+ .pdf-app .findbar.wrapContainers > div#findbarMessageContainer {
352
+ height: auto;
353
+ }
354
+ html[dir="ltr"] .pdf-app .findbar {
355
+ left: 68px;
356
+ }
357
+ html[dir="rtl"] .pdf-app .findbar {
358
+ right: 68px;
359
+ }
360
+
361
+ .pdf-app .findbar label {
362
+ user-select: none;
363
+ }
364
+
365
+ .pdf-app #findInput {
366
+ width: 200px;
367
+ }
368
+
369
+ .pdf-app #findInput::placeholder {
370
+ font-style: italic;
371
+ }
372
+ .pdf-app #findInput[data-status="pending"] {
373
+ background-size: 16px;
374
+ background-image: url(/3rdparty/pdf-viewer/loading-icon.svg);
375
+ background-repeat: no-repeat;
376
+ background-position: right;
377
+ }
378
+ html[dir="rtl"] .pdf-app #findInput[data-status="pending"] {
379
+ background-position: left;
380
+ }
381
+
382
+ .pdf-app .secondaryToolbar {
383
+ padding: 6px;
384
+ height: auto;
385
+ z-index: 30000;
386
+ }
387
+ html[dir="ltr"] .pdf-app .secondaryToolbar {
388
+ right: 4px;
389
+ }
390
+ html[dir="rtl"] .pdf-app .secondaryToolbar {
391
+ left: 4px;
392
+ }
393
+
394
+ .pdf-app #secondaryToolbarButtonContainer {
395
+ max-width: 200px;
396
+ max-height: 400px;
397
+ overflow-y: auto;
398
+ -webkit-overflow-scrolling: touch;
399
+ margin-bottom: -4px;
400
+ }
401
+
402
+ .pdf-app
403
+ #secondaryToolbarButtonContainer.hiddenScrollModeButtons
404
+ > .scrollModeButtons,
405
+ .pdf-app
406
+ #secondaryToolbarButtonContainer.hiddenSpreadModeButtons
407
+ > .spreadModeButtons {
408
+ display: none !important;
409
+ }
410
+
411
+ .pdf-app .doorHanger,
412
+ .pdf-app .doorHangerRight {
413
+ border-radius: .5rem;
414
+ border: 1px solid rgba(0, 0, 0, 0.5);
415
+ box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
416
+ }
417
+ .pdf-app .doorHanger:after,
418
+ .pdf-app .doorHanger:before,
419
+ .pdf-app .doorHangerRight:after,
420
+ .pdf-app .doorHangerRight:before {
421
+ bottom: 100%;
422
+ border: solid rgba(0, 0, 0, 0);
423
+ content: " ";
424
+ height: 0;
425
+ width: 0;
426
+ position: absolute;
427
+ pointer-events: none;
428
+ }
429
+ .pdf-app .doorHanger:after,
430
+ .pdf-app .doorHangerRight:after {
431
+ border-width: 8px;
432
+ }
433
+ .pdf-app .doorHanger:before,
434
+ .pdf-app .doorHangerRight:before {
435
+ border-bottom-color: rgba(0, 0, 0, 0.5);
436
+ border-width: 9px;
437
+ }
438
+
439
+ html[dir="ltr"] .pdf-app .doorHanger:after,
440
+ html[dir="rtl"] .pdf-app .doorHangerRight:after {
441
+ left: 13px;
442
+ margin-left: -8px;
443
+ }
444
+
445
+ html[dir="ltr"] .pdf-app .doorHanger:before,
446
+ html[dir="rtl"] .pdf-app .doorHangerRight:before {
447
+ left: 13px;
448
+ margin-left: -9px;
449
+ }
450
+
451
+ html[dir="rtl"] .pdf-app .doorHanger:after,
452
+ html[dir="ltr"] .pdf-app .doorHangerRight:after {
453
+ right: 13px;
454
+ margin-right: -8px;
455
+ }
456
+
457
+ html[dir="rtl"] .pdf-app .doorHanger:before,
458
+ html[dir="ltr"] .pdf-app .doorHangerRight:before {
459
+ right: 13px;
460
+ margin-right: -9px;
461
+ }
462
+
463
+ .pdf-app #findResultsCount {
464
+ text-align: center;
465
+ padding: 3px 4px;
466
+ }
467
+
468
+ .pdf-app #findMsg {
469
+ font-style: italic;
470
+ }
471
+ .pdf-app #findMsg:empty {
472
+ display: none;
473
+ }
474
+
475
+ .pdf-app #toolbarViewerMiddle {
476
+ position: absolute;
477
+ left: 50%;
478
+ transform: translateX(-50%);
479
+ }
480
+ .pdf-app #toolbarViewerLeft,
481
+ .pdf-app #toolbarViewerRight,
482
+ .pdf-app #toolbarViewerMiddle {
483
+ padding: 3px;
484
+ }
485
+
486
+ html[dir="ltr"] .pdf-app #toolbarViewerLeft,
487
+ html[dir="rtl"] .pdf-app #toolbarViewerRight {
488
+ float: left;
489
+ }
490
+ html[dir="ltr"] .pdf-app #toolbarViewerRight,
491
+ html[dir="rtl"] .pdf-app #toolbarViewerLeft {
492
+ float: right;
493
+ }
494
+ html[dir="ltr"] .pdf-app #toolbarViewerLeft > *,
495
+ html[dir="ltr"] .pdf-app #toolbarViewerMiddle > *,
496
+ html[dir="ltr"] .pdf-app #toolbarViewerRight > *,
497
+ html[dir="ltr"] .pdf-app .findbar * {
498
+ position: relative;
499
+ float: left;
500
+ }
501
+ html[dir="rtl"] .pdf-app #toolbarViewerLeft > *,
502
+ html[dir="rtl"] .pdf-app #toolbarViewerMiddle > *,
503
+ html[dir="rtl"] .pdf-app #toolbarViewerRight > *,
504
+ html[dir="rtl"] .pdf-app .findbar * {
505
+ position: relative;
506
+ float: right;
507
+ }
508
+ html[dir="ltr"] .pdf-app .splitToolbarButton {
509
+ margin: 0 5px;
510
+ display: inline-block;
511
+ }
512
+ html[dir="rtl"] .pdf-app .splitToolbarButton {
513
+ margin: 0 5px;
514
+ display: inline-block;
515
+ }
516
+ html[dir="ltr"] .pdf-app .splitToolbarButton > .toolbarButton {
517
+ border-radius: 0;
518
+ float: left;
519
+ }
520
+ html[dir="rtl"] .pdf-app .splitToolbarButton > .toolbarButton {
521
+ border-radius: 0;
522
+ float: right;
523
+ }
524
+
525
+ #findbarInputContainer .splitToolbarButton {
526
+ margin: 1px 5px;
527
+ }
528
+
529
+ .pdf-app .toolbarButton,
530
+ .pdf-app .secondaryToolbarButton,
531
+ .vue-pdf-app-icon,
532
+ .pdf-app .overlayButton {
533
+ border: 0 none;
534
+ background: none;
535
+ }
536
+
537
+ .pdf-app .toolbarButton,
538
+ .pdf-app .secondaryToolbarButton,
539
+ .pdf-app .overlayButton {
540
+ width: 32px;
541
+ height: 25px;
542
+ }
543
+
544
+ .pdf-app .toolbarButton > span {
545
+ display: inline-block;
546
+ width: 0;
547
+ height: 0;
548
+ overflow: hidden;
549
+ }
550
+
551
+ .pdf-app .toolbarButton[disabled],
552
+ .pdf-app .secondaryToolbarButton[disabled],
553
+ .pdf-app .overlayButton[disabled] {
554
+ opacity: 0.5;
555
+ }
556
+
557
+ .pdf-app .splitToolbarButton.toggled .toolbarButton {
558
+ margin: 0;
559
+ }
560
+
561
+ .pdf-app .splitToolbarButton > .toolbarButton {
562
+ position: relative;
563
+ }
564
+ html[dir="ltr"] .pdf-app .splitToolbarButton > .toolbarButton:first-child,
565
+ html[dir="rtl"] .pdf-app .splitToolbarButton > .toolbarButton:last-child {
566
+ position: relative;
567
+ margin: 0;
568
+ margin-right: -1px;
569
+ border-top-left-radius: 2px;
570
+ border-bottom-left-radius: 2px;
571
+ border-right-color: rgba(0, 0, 0, 0);
572
+ }
573
+ html[dir="ltr"] .pdf-app .splitToolbarButton > .toolbarButton:last-child,
574
+ html[dir="rtl"] .pdf-app .splitToolbarButton > .toolbarButton:first-child {
575
+ position: relative;
576
+ margin: 0;
577
+ margin-left: -1px;
578
+ border-top-right-radius: 2px;
579
+ border-bottom-right-radius: 2px;
580
+ border-left-color: rgba(0, 0, 0, 0);
581
+ }
582
+ .pdf-app .splitToolbarButtonSeparator {
583
+ padding: 8px 0;
584
+ width: 1px;
585
+ z-index: 99;
586
+ display: inline-block;
587
+ margin: 5px 0;
588
+ }
589
+ html[dir="ltr"] .pdf-app .splitToolbarButtonSeparator {
590
+ float: left;
591
+ }
592
+ html[dir="rtl"] .pdf-app .splitToolbarButtonSeparator {
593
+ float: right;
594
+ }
595
+ .pdf-app .splitToolbarButton:hover > .splitToolbarButtonSeparator,
596
+ .pdf-app .splitToolbarButton.toggled > .splitToolbarButtonSeparator {
597
+ padding: 12px 0;
598
+ margin: 1px 0;
599
+ }
600
+
601
+ .pdf-app .toolbarButton,
602
+ .pdf-app .dropdownToolbarButton,
603
+ .pdf-app .secondaryToolbarButton,
604
+ .pdf-app .overlayButton {
605
+ min-width: 16px;
606
+ padding: 2px 6px 0;
607
+ font-size: 12px;
608
+ line-height: 14px;
609
+ user-select: none;
610
+ /* Opera does not support user-select, use <... unselectable="on"> instead */
611
+ cursor: default;
612
+ }
613
+
614
+ .pdf-app .findbar .toolbarButton,
615
+ .vue-pdf-app-icon {
616
+ cursor: pointer;
617
+ }
618
+
619
+ .pdf-app .dialog .overlayButton {
620
+ cursor: pointer;
621
+ border-radius: 2px;
622
+ }
623
+
624
+ html[dir="ltr"] .pdf-app .toolbarButton,
625
+ html[dir="ltr"] .pdf-app .overlayButton,
626
+ html[dir="ltr"] .pdf-app .dropdownToolbarButton {
627
+ margin: 3px 2px 4px 0;
628
+ }
629
+ html[dir="rtl"] .pdf-app .toolbarButton,
630
+ html[dir="rtl"] .pdf-app .overlayButton,
631
+ html[dir="rtl"] .pdf-app .dropdownToolbarButton {
632
+ margin: 3px 0 4px 2px;
633
+ }
634
+
635
+ .pdf-app .dropdownToolbarButton select:hover {
636
+ cursor: pointer;
637
+ }
638
+
639
+ .pdf-app .toolbarButton.toggled,
640
+ .pdf-app .splitToolbarButton.toggled > .toolbarButton.toggled,
641
+ .pdf-app .secondaryToolbarButton.toggled {
642
+ border-radius: 3px;
643
+ }
644
+
645
+ .pdf-app .dropdownToolbarButton {
646
+ width: 140px;
647
+ padding: 0;
648
+ overflow: hidden;
649
+ }
650
+ .pdf-app .dropdownToolbarButton::after {
651
+ position: absolute;
652
+ display: inline-block;
653
+ top: 6px;
654
+ }
655
+ html[dir="ltr"] .pdf-app .dropdownToolbarButton::after {
656
+ right: 0px;
657
+ }
658
+ html[dir="rtl"] .pdf-app .dropdownToolbarButton::after {
659
+ left: 0px;
660
+ }
661
+
662
+ .pdf-app .dropdownToolbarButton > select {
663
+ width: 162px;
664
+ height: 23px;
665
+ font-size: 12px;
666
+ margin: 0;
667
+ padding: 3px 2px 2px;
668
+ border: none;
669
+ }
670
+
671
+ .pdf-app #customScaleOption {
672
+ display: none;
673
+ }
674
+
675
+ .pdf-app .toolbarButtonSpacer {
676
+ width: 30px;
677
+ display: inline-block;
678
+ height: 1px;
679
+ }
680
+
681
+ .pdf-app .toolbarButton.bookmark,
682
+ .pdf-app .secondaryToolbarButton.bookmark {
683
+ box-sizing: border-box;
684
+ outline: none;
685
+ padding-top: 4px;
686
+ text-decoration: none;
687
+ }
688
+ .pdf-app .secondaryToolbarButton.bookmark {
689
+ padding-top: 5px;
690
+ }
691
+
692
+ .pdf-app .bookmark[href="#"] {
693
+ opacity: 0.5;
694
+ pointer-events: none;
695
+ }
696
+
697
+ .pdf-app .toolbarButton.pdfSidebarNotification::after {
698
+ position: absolute;
699
+ display: inline-block;
700
+ top: 1px;
701
+ /* Create a filled circle, with a diameter of 9 pixels, using only CSS: */
702
+ content: "";
703
+ background-color: rgba(112, 219, 85, 1);
704
+ height: 9px;
705
+ width: 9px;
706
+ border-radius: 50%;
707
+ }
708
+ html[dir="ltr"] .pdf-app .toolbarButton.pdfSidebarNotification::after {
709
+ left: 17px;
710
+ }
711
+ html[dir="rtl"] .pdf-app .toolbarButton.pdfSidebarNotification::after {
712
+ right: 17px;
713
+ }
714
+
715
+ .pdf-app .secondaryToolbarButton {
716
+ position: relative;
717
+ margin: 0 0 4px 0;
718
+ padding: 3px 0 1px 0;
719
+ height: auto;
720
+ min-height: 25px;
721
+ width: auto;
722
+ min-width: 100%;
723
+ white-space: normal;
724
+
725
+ > span {
726
+ vertical-align: top;
727
+ }
728
+ }
729
+ html[dir="ltr"] .pdf-app .secondaryToolbarButton {
730
+ padding-left: 14px;
731
+ text-align: left;
732
+ }
733
+ html[dir="rtl"] .pdf-app .secondaryToolbarButton {
734
+ padding-right: 14px;
735
+ text-align: right;
736
+ }
737
+ html[dir="ltr"] .pdf-app .secondaryToolbarButton > span {
738
+ padding-left: 8px;
739
+ }
740
+ html[dir="rtl"] .pdf-app .secondaryToolbarButton > span {
741
+ padding-right: 8px;
742
+ }
743
+ html[dir="rtl"] .pdf-app .secondaryToolbarButton::before {
744
+ float: right;
745
+ }
746
+
747
+ .pdf-app .verticalToolbarSeparator {
748
+ display: block;
749
+ padding: 8px 0;
750
+ margin: 8px 4px;
751
+ width: 1px;
752
+ }
753
+ html[dir="ltr"] .pdf-app .verticalToolbarSeparator {
754
+ margin-left: 2px;
755
+ }
756
+ html[dir="rtl"] .pdf-app .verticalToolbarSeparator {
757
+ margin-right: 2px;
758
+ }
759
+
760
+ .pdf-app .horizontalToolbarSeparator {
761
+ display: block;
762
+ margin: 0 0 4px 0;
763
+ height: 1px;
764
+ width: 100%;
765
+ }
766
+
767
+ .pdf-app .toolbarField {
768
+ padding: 3px 6px;
769
+ margin: 4px 0 4px 0;
770
+ border-radius: .25rem;
771
+ border-width: 1px;
772
+ border-style: solid;
773
+ border-color: rgba(0, 0, 0, 0.32) rgba(0, 0, 0, 0.38) rgba(0, 0, 0, 0.42);
774
+ font-size: 13px;
775
+ line-height: 16px;
776
+ outline-style: none;
777
+ }
778
+
779
+ .pdf-app .toolbarField[type="checkbox"] {
780
+ display: inline-block;
781
+ margin: 8px 0px;
782
+ cursor: pointer;
783
+
784
+ & + label {
785
+ cursor: pointer;
786
+ }
787
+ }
788
+
789
+ .pdf-app .toolbarField.pageNumber {
790
+ -moz-appearance: textfield; /* hides the spinner in moz */
791
+ min-width: 16px;
792
+ text-align: right;
793
+ width: 40px;
794
+ min-height: auto;
795
+ }
796
+
797
+ .pdf-app .toolbarField.pageNumber.visiblePageIsLoading {
798
+ background-image: url(/3rdparty/pdf-viewer/loading-icon.svg);
799
+ background-repeat: no-repeat;
800
+ background-position: 1px;
801
+ background-size: 16px;
802
+ }
803
+
804
+ .pdf-app .toolbarField.pageNumber::-webkit-inner-spin-button,
805
+ .pdf-app .toolbarField.pageNumber::-webkit-outer-spin-button {
806
+ -webkit-appearance: none;
807
+ margin: 0;
808
+ }
809
+
810
+ .pdf-app .toolbarLabel {
811
+ min-width: 16px;
812
+ padding: 3px 6px 3px 2px;
813
+ margin: 4px 2px 4px 0;
814
+ border: 1px solid rgba(0, 0, 0, 0);
815
+ border-radius: 2px;
816
+ font-size: 12px;
817
+ line-height: 14px;
818
+ text-align: left;
819
+ user-select: none;
820
+ cursor: default;
821
+ }
822
+
823
+ .pdf-app #thumbnailView {
824
+ position: absolute;
825
+ width: calc(100%);
826
+ top: 0;
827
+ bottom: 0;
828
+ padding: 10px 30px 0;
829
+ overflow: auto;
830
+ -webkit-overflow-scrolling: touch;
831
+ }
832
+
833
+ .pdf-app #thumbnailView > a:active,
834
+ .pdf-app #thumbnailView > a:focus {
835
+ outline: 0;
836
+ }
837
+
838
+ .pdf-app .thumbnail {
839
+ margin: 0 10px 5px 10px;
840
+ }
841
+ html[dir="ltr"] .pdf-app .thumbnail {
842
+ float: left;
843
+ }
844
+ html[dir="rtl"] .pdf-app .thumbnail {
845
+ float: right;
846
+ }
847
+
848
+ .pdf-app #thumbnailView > a:last-of-type > .thumbnail {
849
+ margin-bottom: 10px;
850
+ }
851
+
852
+ .pdf-app #thumbnailView > a:last-of-type > .thumbnail:not([data-loaded]) {
853
+ margin-bottom: 9px;
854
+ }
855
+
856
+ .pdf-app .thumbnail:not([data-loaded]) {
857
+ border: 1px dashed rgba(255, 255, 255, 0.5);
858
+ margin: -1px 9px 4px 9px;
859
+ }
860
+
861
+ .pdf-app .thumbnailImage {
862
+ border: 1px solid rgba(0, 0, 0, 0);
863
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
864
+ opacity: 0.8;
865
+ z-index: 99;
866
+ background-color: rgba(255, 255, 255, 1);
867
+ background-clip: content-box;
868
+ }
869
+
870
+ .pdf-app .thumbnailSelectionRing {
871
+ border-radius: 2px;
872
+ padding: 7px;
873
+ }
874
+
875
+ .pdf-app a:focus > .thumbnail > .thumbnailSelectionRing > .thumbnailImage,
876
+ .pdf-app .thumbnail:hover > .thumbnailSelectionRing > .thumbnailImage {
877
+ opacity: 0.9;
878
+ }
879
+
880
+ .pdf-app #outlineView,
881
+ .pdf-app #attachmentsView {
882
+ position: absolute;
883
+ width: calc(100% - 8px);
884
+ top: 0;
885
+ bottom: 0;
886
+ overflow: auto;
887
+ -webkit-overflow-scrolling: touch;
888
+ user-select: none;
889
+ }
890
+
891
+ .pdf-app #outlineView {
892
+ padding: 4px 4px 0;
893
+ }
894
+ .pdf-app #attachmentsView {
895
+ padding: 3px 4px 0;
896
+ }
897
+
898
+ html[dir="ltr"] .pdf-app .outlineWithDeepNesting > .outlineItem,
899
+ html[dir="ltr"] .pdf-app .outlineItem > .outlineItems {
900
+ margin-left: 20px;
901
+ }
902
+
903
+ html[dir="rtl"] .pdf-app .outlineWithDeepNesting > .outlineItem,
904
+ html[dir="rtl"] .pdf-app .outlineItem > .outlineItems {
905
+ margin-right: 20px;
906
+ }
907
+
908
+ .pdf-app .outlineItem > a,
909
+ .pdf-app .attachmentsItem > button {
910
+ text-decoration: none;
911
+ display: inline-block;
912
+ min-width: 95%;
913
+ min-width: calc(
914
+ 100% - 4px
915
+ ); /* Subtract the right padding (left, in RTL mode)
916
+ of the container. */
917
+ height: auto;
918
+ margin-bottom: 1px;
919
+ border-radius: 2px;
920
+ font-size: 13px;
921
+ line-height: 15px;
922
+ user-select: none;
923
+ white-space: normal;
924
+ }
925
+
926
+ .pdf-app .attachmentsItem > button {
927
+ border: 0 none;
928
+ background: none;
929
+ cursor: pointer;
930
+ width: 100%;
931
+ }
932
+
933
+ html[dir="ltr"] .pdf-app .outlineItem > a {
934
+ padding: 2px 0 5px 4px;
935
+ }
936
+ html[dir="ltr"] .pdf-app .attachmentsItem > button {
937
+ padding: 2px 0 3px 7px;
938
+ text-align: left;
939
+ }
940
+
941
+ html[dir="rtl"] .pdf-app .outlineItem > a {
942
+ padding: 2px 4px 5px 0;
943
+ }
944
+ html[dir="rtl"] .pdf-app .attachmentsItem > button {
945
+ padding: 2px 7px 3px 0;
946
+ text-align: right;
947
+ }
948
+
949
+ .pdf-app .outlineItemToggler {
950
+ position: relative;
951
+ height: 0;
952
+ width: 0;
953
+ color: rgba(255, 255, 255, 0.5);
954
+ }
955
+ .pdf-app .outlineItemToggler::before {
956
+ content: url(/3rdparty/pdf-viewer/treeitem-expanded.png);
957
+ display: inline-block;
958
+ position: absolute;
959
+ }
960
+ .pdf-app .outlineItemToggler.outlineItemsHidden::before {
961
+ content: url(/3rdparty/pdf-viewer/treeitem-collapsed.png);
962
+ }
963
+ html[dir="rtl"] .pdf-app .outlineItemToggler.outlineItemsHidden::before {
964
+ transform: scaleX(-1);
965
+ }
966
+ .pdf-app .outlineItemToggler.outlineItemsHidden ~ .outlineItems {
967
+ display: none;
968
+ }
969
+ html[dir="ltr"] .pdf-app .outlineItemToggler {
970
+ float: left;
971
+ }
972
+ html[dir="rtl"] .pdf-app .outlineItemToggler {
973
+ float: right;
974
+ }
975
+ html[dir="ltr"] .pdf-app .outlineItemToggler::before {
976
+ right: 4px;
977
+ }
978
+ html[dir="rtl"] .pdf-app .outlineItemToggler::before {
979
+ left: 4px;
980
+ }
981
+
982
+ .pdf-app .outlineItemToggler:hover,
983
+ .pdf-app .outlineItemToggler:hover + a,
984
+ .pdf-app .outlineItemToggler:hover ~ .outlineItems,
985
+ .pdf-app .outlineItem > a:hover,
986
+ .pdf-app .attachmentsItem > button:hover {
987
+ border-radius: 2px;
988
+ }
989
+
990
+ .pdf-app .noResults {
991
+ font-size: 12px;
992
+ color: rgba(255, 255, 255, 0.8);
993
+ font-style: italic;
994
+ cursor: default;
995
+ }
996
+
997
+ /* TODO: file FF bug to support ::-moz-selection:window-inactive
998
+ so we can override the opaque grey background when the window is inactive;
999
+ see https://bugzilla.mozilla.org/show_bug.cgi?id=706209 */
1000
+ .pdf-app ::selection {
1001
+ background: rgba(0, 0, 255, 0.3);
1002
+ }
1003
+
1004
+ .pdf-app #errorWrapper {
1005
+ color: rgba(255, 255, 255, 1);
1006
+ left: 0;
1007
+ position: absolute;
1008
+ right: 0;
1009
+ z-index: 101;
1010
+ padding: 3px;
1011
+ font-size: 0.8em;
1012
+ }
1013
+ .loadingInProgress #errorWrapper {
1014
+ top: 4px;
1015
+ }
1016
+
1017
+ .pdf-app #errorMessageLeft {
1018
+ float: left;
1019
+ }
1020
+
1021
+ .pdf-app #errorMessageRight {
1022
+ float: right;
1023
+ }
1024
+
1025
+ .pdf-app #errorMoreInfo {
1026
+ padding: 3px;
1027
+ margin: 3px;
1028
+ width: 98%;
1029
+ }
1030
+
1031
+ .pdf-app .overlayButton {
1032
+ width: auto;
1033
+ margin: 3px 4px 2px 4px !important;
1034
+ padding: 2px 6px 3px 6px;
1035
+ }
1036
+
1037
+ .pdf-app #overlayContainer {
1038
+ display: table;
1039
+ position: absolute;
1040
+ width: 100%;
1041
+ height: 100%;
1042
+ z-index: 40000;
1043
+ }
1044
+ .pdf-app #overlayContainer > * {
1045
+ overflow: auto;
1046
+ -webkit-overflow-scrolling: touch;
1047
+ }
1048
+
1049
+ .pdf-app #overlayContainer > .container {
1050
+ display: table-cell;
1051
+ vertical-align: middle;
1052
+ text-align: center;
1053
+ }
1054
+
1055
+ .pdf-app #overlayContainer > .container > .dialog {
1056
+ display: inline-block;
1057
+ padding: 15px;
1058
+ border-spacing: 4px;
1059
+ font-size: 12px;
1060
+ line-height: 14px;
1061
+ border: 1px solid rgba(0, 0, 0, 0.5);
1062
+ border-radius: 4px;
1063
+ }
1064
+
1065
+ .pdf-app .dialog > .row {
1066
+ display: table-row;
1067
+ }
1068
+
1069
+ .pdf-app .dialog > .row > * {
1070
+ display: table-cell;
1071
+ }
1072
+
1073
+ .pdf-app .dialog .toolbarField {
1074
+ margin: 5px 0;
1075
+ }
1076
+
1077
+ .pdf-app .dialog .separator {
1078
+ display: block;
1079
+ margin: 4px 0 4px 0;
1080
+ height: 1px;
1081
+ width: 100%;
1082
+ }
1083
+
1084
+ .pdf-app .dialog .buttonRow {
1085
+ text-align: center;
1086
+ vertical-align: middle;
1087
+ }
1088
+
1089
+ .pdf-app .dialog :link {
1090
+ color: rgba(255, 255, 255, 1);
1091
+ }
1092
+
1093
+ .pdf-app #passwordOverlay > .dialog {
1094
+ text-align: center;
1095
+ }
1096
+ .pdf-app #passwordOverlay .toolbarField {
1097
+ width: 200px;
1098
+ }
1099
+
1100
+ .pdf-app #documentPropertiesOverlay > .dialog {
1101
+ text-align: left;
1102
+ }
1103
+ .pdf-app #documentPropertiesOverlay .row > * {
1104
+ min-width: 100px;
1105
+ }
1106
+ html[dir="ltr"] .pdf-app #documentPropertiesOverlay .row > * {
1107
+ text-align: left;
1108
+ }
1109
+ html[dir="rtl"] .pdf-app #documentPropertiesOverlay .row > * {
1110
+ text-align: right;
1111
+ }
1112
+ .pdf-app #documentPropertiesOverlay .row > span {
1113
+ width: 125px;
1114
+ word-wrap: break-word;
1115
+ }
1116
+ .pdf-app #documentPropertiesOverlay .row > p {
1117
+ max-width: 225px;
1118
+ word-wrap: break-word;
1119
+ }
1120
+ .pdf-app #documentPropertiesOverlay .buttonRow {
1121
+ margin-top: 10px;
1122
+ }
1123
+
1124
+ .pdf-app .clearBoth {
1125
+ clear: both;
1126
+ }
1127
+
1128
+ .fileInput {
1129
+ display: none;
1130
+ }
1131
+
1132
+ .pdf-app #PDFBug {
1133
+ background: none repeat scroll 0 0 rgba(255, 255, 255, 1);
1134
+ border: 1px solid rgba(102, 102, 102, 1);
1135
+ position: fixed;
1136
+ top: 32px;
1137
+ right: 0;
1138
+ bottom: 0;
1139
+ font-size: 10px;
1140
+ padding: 0;
1141
+ width: 300px;
1142
+ }
1143
+ .pdf-app #PDFBug .controls {
1144
+ background: rgba(238, 238, 238, 1);
1145
+ border-bottom: 1px solid rgba(102, 102, 102, 1);
1146
+ padding: 3px;
1147
+ }
1148
+ .pdf-app #PDFBug .panels {
1149
+ bottom: 0;
1150
+ left: 0;
1151
+ overflow: auto;
1152
+ -webkit-overflow-scrolling: touch;
1153
+ position: absolute;
1154
+ right: 0;
1155
+ top: 27px;
1156
+ }
1157
+ .pdf-app #PDFBug .panels > div {
1158
+ padding: 5px;
1159
+ }
1160
+ .pdf-app #PDFBug button.active {
1161
+ font-weight: bold;
1162
+ }
1163
+ .pdf-app .debuggerShowText {
1164
+ background: none repeat scroll 0 0 rgba(255, 255, 0, 1);
1165
+ color: rgba(0, 0, 255, 1);
1166
+ }
1167
+ .pdf-app .debuggerHideText:hover {
1168
+ background: none repeat scroll 0 0 rgba(255, 255, 0, 1);
1169
+ }
1170
+ .pdf-app #PDFBug .stats {
1171
+ font-family: courier;
1172
+ font-size: 10px;
1173
+ white-space: pre;
1174
+ }
1175
+ .pdf-app #PDFBug .stats .title {
1176
+ font-weight: bold;
1177
+ }
1178
+ .pdf-app #PDFBug table {
1179
+ font-size: 10px;
1180
+ }
1181
+
1182
+ .pdf-app #viewer.textLayer-visible .textLayer {
1183
+ opacity: 1;
1184
+ }
1185
+
1186
+ .pdf-app #viewer.textLayer-visible .canvasWrapper {
1187
+ background-color: rgba(128, 255, 128, 1);
1188
+ }
1189
+
1190
+ .pdf-app #viewer.textLayer-visible .canvasWrapper canvas {
1191
+ mix-blend-mode: screen;
1192
+ }
1193
+
1194
+ .pdf-app #viewer.textLayer-visible .textLayer > span {
1195
+ background-color: rgba(255, 255, 0, 0.1);
1196
+ color: rgba(0, 0, 0, 1);
1197
+ border: solid 1px rgba(255, 0, 0, 0.5);
1198
+ box-sizing: border-box;
1199
+ }
1200
+
1201
+ .pdf-app #viewer.textLayer-hover .textLayer > span:hover {
1202
+ background-color: rgba(255, 255, 255, 1);
1203
+ color: rgba(0, 0, 0, 1);
1204
+ }
1205
+
1206
+ .pdf-app #viewer.textLayer-shadow .textLayer > span {
1207
+ background-color: rgba(255, 255, 255, 0.6);
1208
+ color: rgba(0, 0, 0, 1);
1209
+ }
1210
+
1211
+ .pdf-app .grab-to-pan-grab {
1212
+ cursor: grab !important;
1213
+ cursor: -moz-grab !important;
1214
+ cursor: -webkit-grab !important;
1215
+ cursor: url('https://github.com/bqworks/slider-pro/raw/master/dist/css/images/openhand.cur'), n-resize; /* standard */
1216
+ cursor: url('https://github.com/bqworks/slider-pro/raw/master/dist/css/images/openhand.cur'), n-resize\9; /* IE 8 and below */
1217
+ *cursor: url('https://github.com/bqworks/slider-pro/raw/master/dist/css/images/openhand.cur'), n-resize; /* IE 7 and below */
1218
+ _cursor: url('https://github.com/bqworks/slider-pro/raw/master/dist/css/images/openhand.cur'), n-resize; /* IE 6 */
1219
+ }
1220
+ .pdf-app
1221
+ .grab-to-pan-grab
1222
+ *:not(input):not(textarea):not(button):not(select):not(:link) {
1223
+ cursor: inherit !important;
1224
+ }
1225
+ .pdf-app .grab-to-pan-grab:active,
1226
+ .grab-to-pan-grabbing {
1227
+ cursor: grabbing !important;
1228
+ cursor: -moz-grabbing !important;
1229
+ cursor: -webkit-grabbing !important;
1230
+ cursor: url('https://github.com/bqworks/slider-pro/raw/master/dist/css/images/closedhand.cur'), n-resize; /* standard */
1231
+ cursor: url('https://github.com/bqworks/slider-pro/raw/master/dist/css/images/closedhand.cur'), n-resize\9; /* IE 8 and below */
1232
+ *cursor: url('https://github.com/bqworks/slider-pro/raw/master/dist/css/images/closedhand.cur'), n-resize; /* IE 7 and below */
1233
+ _cursor: url('https://github.com/bqworks/slider-pro/raw/master/dist/css/images/closedhand.cur'), n-resize; /* IE 6 */
1234
+ position: fixed;
1235
+ background: rgba(0, 0, 0, 0);
1236
+ display: block;
1237
+ top: 0;
1238
+ left: 0;
1239
+ right: 0;
1240
+ bottom: 0;
1241
+ overflow: hidden;
1242
+ z-index: 50000; /* should be higher than anything else in PDF.js! */
1243
+ }
1244
+
1245
+ @page {
1246
+ margin: 0;
1247
+ }
1248
+
1249
+ #printContainer {
1250
+ display: none;
1251
+ }
1252
+
1253
+ @media screen and (min-resolution: 1.1dppx) {
1254
+ .pdf-app .outlineItemToggler::before {
1255
+ transform: scale(0.5);
1256
+ top: -1px;
1257
+ content: url(/3rdparty/pdf-viewer/treeitem-expanded@2x.png);
1258
+ }
1259
+ .pdf-app .outlineItemToggler.outlineItemsHidden::before {
1260
+ content: url(/3rdparty/pdf-viewer/treeitem-collapsed@2x.png);
1261
+ }
1262
+ html[dir="rtl"] .pdf-app .outlineItemToggler.outlineItemsHidden::before {
1263
+ transform: scaleX(-1) scale(0.5);
1264
+ }
1265
+ }
1266
+
1267
+ @media print {
1268
+ /* General rules for printing. */
1269
+ body {
1270
+ background: rgba(0, 0, 0, 0) none;
1271
+ }
1272
+
1273
+ /* body > *:not(#printContainer) {
1274
+ display: none !important;
1275
+ } */
1276
+
1277
+ /* Rules for browsers that don't support mozPrintCallback. */
1278
+ .pdf-app #sidebarContainer,
1279
+ .pdf-app #secondaryToolbar,
1280
+ .pdf-app .toolbar,
1281
+ .pdf-app #loadingBox,
1282
+ .pdf-app #errorWrapper,
1283
+ .pdf-app .textLayer {
1284
+ display: none;
1285
+ }
1286
+ .pdf-app #viewerContainer {
1287
+ overflow: visible;
1288
+ }
1289
+
1290
+ .pdf-app #mainContainer,
1291
+ .pdf-app #viewerContainer,
1292
+ .pdf-app .page,
1293
+ .pdf-app .page canvas {
1294
+ position: static;
1295
+ padding: 0;
1296
+ margin: 0;
1297
+ }
1298
+
1299
+ .pdf-app .page {
1300
+ float: left;
1301
+ display: none;
1302
+ border: none;
1303
+ box-shadow: none;
1304
+ background-clip: content-box;
1305
+ background-color: rgba(255, 255, 255, 1);
1306
+ }
1307
+
1308
+ .pdf-app .page[data-loaded] {
1309
+ display: block;
1310
+ }
1311
+
1312
+ /* Rules for browsers that support PDF.js printing */
1313
+ body[data-pdfjsprinting] #outerContainer {
1314
+ display: none;
1315
+ }
1316
+ body[data-pdfjsprinting] #printContainer {
1317
+ display: block;
1318
+ }
1319
+ #printContainer {
1320
+ height: 100%;
1321
+ }
1322
+ /* wrapper around (scaled) print canvas elements */
1323
+ #printContainer > div {
1324
+ position: relative;
1325
+ top: 0;
1326
+ left: 0;
1327
+ width: 1px;
1328
+ height: 1px;
1329
+ overflow: visible;
1330
+ page-break-after: always;
1331
+ page-break-inside: avoid;
1332
+ }
1333
+ #printContainer canvas,
1334
+ #printContainer img {
1335
+ display: block;
1336
+ }
1337
+ }
1338
+
1339
+ .pdf-app .visibleLargeView,
1340
+ .pdf-app .visibleMediumView,
1341
+ .pdf-app .visibleSmallView {
1342
+ display: none;
1343
+ }
1344
+
1345
+ @media all and (max-width: 900px) {
1346
+ .pdf-app #toolbarViewerMiddle {
1347
+ display: table;
1348
+ margin: auto;
1349
+ left: auto;
1350
+ position: inherit;
1351
+ transform: none;
1352
+ }
1353
+ }
1354
+
1355
+ @media all and (max-width: 840px) {
1356
+ html[dir="ltr"] .pdf-app #outerContainer.sidebarOpen #viewerContainer {
1357
+ left: 0px !important;
1358
+ }
1359
+ html[dir="rtl"] .pdf-app #outerContainer.sidebarOpen #viewerContainer {
1360
+ right: 0px !important;
1361
+ }
1362
+
1363
+ .pdf-app #outerContainer .hiddenLargeView,
1364
+ .pdf-app #outerContainer .hiddenMediumView {
1365
+ display: inherit;
1366
+ }
1367
+ .pdf-app #outerContainer .visibleLargeView,
1368
+ .pdf-app #outerContainer .visibleMediumView {
1369
+ display: none;
1370
+ }
1371
+ }
1372
+
1373
+ @media all and (max-width: 770px) {
1374
+ .pdf-app #outerContainer .hiddenLargeView {
1375
+ display: none;
1376
+ }
1377
+ .pdf-app #outerContainer .visibleLargeView {
1378
+ display: inherit;
1379
+ }
1380
+ }
1381
+
1382
+ @media all and (max-width: 700px) {
1383
+ .pdf-app #outerContainer .hiddenMediumView {
1384
+ display: none;
1385
+ }
1386
+ .pdf-app #outerContainer .visibleMediumView {
1387
+ display: inherit;
1388
+ }
1389
+ }
1390
+
1391
+ @media all and (max-width: 640px) {
1392
+ .pdf-app .hiddenSmallView,
1393
+ .pdf-app .hiddenSmallView * {
1394
+ display: none;
1395
+ }
1396
+ .pdf-app .visibleSmallView {
1397
+ display: inherit;
1398
+ }
1399
+ .pdf-app .toolbarButtonSpacer {
1400
+ width: 0;
1401
+ }
1402
+ html[dir="ltr"] .pdf-app .findbar {
1403
+ left: 38px;
1404
+ }
1405
+ html[dir="rtl"] .pdf-app .findbar {
1406
+ right: 38px;
1407
+ }
1408
+ }
1409
+
1410
+ @media all and (max-width: 535px) {
1411
+ .pdf-app #scaleSelectContainer {
1412
+ display: none;
1413
+ }
1414
+ }