PluginProbe
E2Pdf – Export Pdf Tool for WordPress / 1.02.02
E2Pdf – Export Pdf Tool for WordPress v1.02.02
1.32.53 1.32.51 1.32.49 1.32.48 1.32.43 1.32.40 1.32.34 1.32.32 1.32.31 1.32.26 1.32.22 1.32.23 1.32.18 1.32.17 1.32.15 trunk 1.00.00 1.00.13 1.01.01 1.02.02 1.03.07 1.04.07 1.05.03 1.06.02 1.07.11 All 74 releases
e2pdf / assets / pdf.js / web / viewer.css

viewer.css in E2Pdf – Export Pdf Tool for WordPress 1.02.02, at assets/pdf.js/web/viewer.css

2,227 lines 50.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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 left: 0;
19 top: 0;
20 right: 0;
21 bottom: 0;
22 overflow: hidden;
23 opacity: 0.2;
24 line-height: 1.0;
25 }
26
27 .textLayer > div {
28 color: transparent;
29 position: absolute;
30 white-space: pre;
31 cursor: text;
32 -webkit-transform-origin: 0% 0%;
33 -moz-transform-origin: 0% 0%;
34 -o-transform-origin: 0% 0%;
35 -ms-transform-origin: 0% 0%;
36 transform-origin: 0% 0%;
37 }
38
39 .textLayer .highlight {
40 margin: -1px;
41 padding: 1px;
42
43 background-color: rgb(180, 0, 170);
44 border-radius: 4px;
45 }
46
47 .textLayer .highlight.begin {
48 border-radius: 4px 0px 0px 4px;
49 }
50
51 .textLayer .highlight.end {
52 border-radius: 0px 4px 4px 0px;
53 }
54
55 .textLayer .highlight.middle {
56 border-radius: 0px;
57 }
58
59 .textLayer .highlight.selected {
60 background-color: rgb(0, 100, 0);
61 }
62
63 .textLayer ::selection { background: rgb(0,0,255); }
64 .textLayer ::-moz-selection { background: rgb(0,0,255); }
65
66 .textLayer .endOfContent {
67 display: block;
68 position: absolute;
69 left: 0px;
70 top: 100%;
71 right: 0px;
72 bottom: 0px;
73 z-index: -1;
74 cursor: default;
75 -webkit-user-select: none;
76 -ms-user-select: none;
77 -moz-user-select: none;
78 }
79
80 .textLayer .endOfContent.active {
81 top: 0px;
82 }
83
84
85 .annotationLayer section {
86 position: absolute;
87 }
88
89 .annotationLayer .linkAnnotation > a {
90 position: absolute;
91 font-size: 1em;
92 top: 0;
93 left: 0;
94 width: 100%;
95 height: 100%;
96 }
97
98 .annotationLayer .linkAnnotation > a /* -ms-a */ {
99 background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7") 0 0 repeat;
100 }
101
102 .annotationLayer .linkAnnotation > a:hover {
103 opacity: 0.2;
104 background: #ff0;
105 box-shadow: 0px 2px 10px #ff0;
106 }
107
108 .annotationLayer .textAnnotation img {
109 position: absolute;
110 cursor: pointer;
111 }
112
113 .annotationLayer .textWidgetAnnotation input,
114 .annotationLayer .textWidgetAnnotation textarea,
115 .annotationLayer .choiceWidgetAnnotation select,
116 .annotationLayer .buttonWidgetAnnotation.checkBox input,
117 .annotationLayer .buttonWidgetAnnotation.radioButton input {
118 background-color: rgba(0, 54, 255, 0.13);
119 border: 1px solid transparent;
120 box-sizing: border-box;
121 font-size: 9px;
122 height: 100%;
123 padding: 0 3px;
124 vertical-align: top;
125 width: 100%;
126 }
127
128 .annotationLayer .textWidgetAnnotation textarea {
129 font: message-box;
130 font-size: 9px;
131 resize: none;
132 }
133
134 .annotationLayer .textWidgetAnnotation input[disabled],
135 .annotationLayer .textWidgetAnnotation textarea[disabled],
136 .annotationLayer .choiceWidgetAnnotation select[disabled],
137 .annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],
138 .annotationLayer .buttonWidgetAnnotation.radioButton input[disabled] {
139 background: none;
140 border: 1px solid transparent;
141 cursor: not-allowed;
142 }
143
144 .annotationLayer .textWidgetAnnotation input:hover,
145 .annotationLayer .textWidgetAnnotation textarea:hover,
146 .annotationLayer .choiceWidgetAnnotation select:hover,
147 .annotationLayer .buttonWidgetAnnotation.checkBox input:hover,
148 .annotationLayer .buttonWidgetAnnotation.radioButton input:hover {
149 border: 1px solid #000;
150 }
151
152 .annotationLayer .textWidgetAnnotation input:focus,
153 .annotationLayer .textWidgetAnnotation textarea:focus,
154 .annotationLayer .choiceWidgetAnnotation select:focus {
155 background: none;
156 border: 1px solid transparent;
157 }
158
159 .annotationLayer .textWidgetAnnotation input.comb {
160 font-family: monospace;
161 padding-left: 2px;
162 padding-right: 0;
163 }
164
165 .annotationLayer .textWidgetAnnotation input.comb:focus {
166 /*
167 * Letter spacing is placed on the right side of each character. Hence, the
168 * letter spacing of the last character may be placed outside the visible
169 * area, causing horizontal scrolling. We avoid this by extending the width
170 * when the element has focus and revert this when it loses focus.
171 */
172 width: 115%;
173 }
174
175 .annotationLayer .buttonWidgetAnnotation.checkBox input,
176 .annotationLayer .buttonWidgetAnnotation.radioButton input {
177 -webkit-appearance: none;
178 -moz-appearance: none;
179 -ms-appearance: none;
180 appearance: none;
181 }
182
183 .annotationLayer .popupWrapper {
184 position: absolute;
185 width: 20em;
186 }
187
188 .annotationLayer .popup {
189 position: absolute;
190 z-index: 200;
191 max-width: 20em;
192 background-color: #FFFF99;
193 box-shadow: 0px 2px 5px #333;
194 border-radius: 2px;
195 padding: 0.6em;
196 margin-left: 5px;
197 cursor: pointer;
198 word-wrap: break-word;
199 }
200
201 .annotationLayer .popup h1 {
202 font-size: 1em;
203 border-bottom: 1px solid #000000;
204 padding-bottom: 0.2em;
205 }
206
207 .annotationLayer .popup p {
208 padding-top: 0.2em;
209 }
210
211 .annotationLayer .highlightAnnotation,
212 .annotationLayer .underlineAnnotation,
213 .annotationLayer .squigglyAnnotation,
214 .annotationLayer .strikeoutAnnotation,
215 .annotationLayer .lineAnnotation svg line,
216 .annotationLayer .fileAttachmentAnnotation {
217 cursor: pointer;
218 }
219
220 .pdfViewer .canvasWrapper {
221 overflow: hidden;
222 }
223
224 .pdfViewer .page {
225 direction: ltr;
226 width: 816px;
227 height: 1056px;
228 margin: 1px auto -8px auto;
229 position: relative;
230 overflow: visible;
231 border: 9px solid transparent;
232 background-clip: content-box;
233 border-image: url(images/shadow.png) 9 9 repeat;
234 background-color: white;
235 }
236
237 .pdfViewer.removePageBorders .page {
238 margin: 0px auto 10px auto;
239 border: none;
240 }
241
242 .pdfViewer.singlePageView {
243 display: inline-block;
244 }
245
246 .pdfViewer.singlePageView .page {
247 margin: 0;
248 border: none;
249 }
250
251 .pdfViewer .page canvas {
252 margin: 0;
253 display: block;
254 }
255
256 .pdfViewer .page canvas[hidden] {
257 display: none;
258 }
259
260 .pdfViewer .page .loadingIcon {
261 position: absolute;
262 display: block;
263 left: 0;
264 top: 0;
265 right: 0;
266 bottom: 0;
267 background: url('images/loading-icon.gif') center no-repeat;
268 }
269
270 .pdfPresentationMode:-webkit-full-screen .pdfViewer .page {
271 margin-bottom: 100%;
272 border: 0;
273 }
274
275 .pdfPresentationMode:-moz-full-screen .pdfViewer .page {
276 margin-bottom: 100%;
277 border: 0;
278 }
279
280 .pdfPresentationMode:-ms-fullscreen .pdfViewer .page {
281 margin-bottom: 100% !important;
282 border: 0;
283 }
284
285 .pdfPresentationMode:fullscreen .pdfViewer .page {
286 margin-bottom: 100%;
287 border: 0;
288 }
289
290 * {
291 padding: 0;
292 margin: 0;
293 }
294
295 html {
296 height: 100%;
297 width: 100%;
298 /* Font size is needed to make the activity bar the correct size. */
299 font-size: 10px;
300 }
301
302 body {
303 height: 100%;
304 width: 100%;
305 background-color: #404040;
306 background-image: url(images/texture.png);
307 }
308
309 body,
310 input,
311 button,
312 select {
313 font: message-box;
314 outline: none;
315 }
316
317 .hidden {
318 display: none !important;
319 }
320 [hidden] {
321 display: none !important;
322 }
323
324 #viewerContainer.pdfPresentationMode:-webkit-full-screen {
325 top: 0px;
326 border-top: 2px solid transparent;
327 background-color: #000;
328 width: 100%;
329 height: 100%;
330 overflow: hidden;
331 cursor: none;
332 -webkit-user-select: none;
333 }
334
335 #viewerContainer.pdfPresentationMode:-moz-full-screen {
336 top: 0px;
337 border-top: 2px solid transparent;
338 background-color: #000;
339 width: 100%;
340 height: 100%;
341 overflow: hidden;
342 cursor: none;
343 -moz-user-select: none;
344 }
345
346 #viewerContainer.pdfPresentationMode:-ms-fullscreen {
347 top: 0px !important;
348 border-top: 2px solid transparent;
349 width: 100%;
350 height: 100%;
351 overflow: hidden !important;
352 cursor: none;
353 -ms-user-select: none;
354 }
355
356 #viewerContainer.pdfPresentationMode:-ms-fullscreen::-ms-backdrop {
357 background-color: #000;
358 }
359
360 #viewerContainer.pdfPresentationMode:fullscreen {
361 top: 0px;
362 border-top: 2px solid transparent;
363 background-color: #000;
364 width: 100%;
365 height: 100%;
366 overflow: hidden;
367 cursor: none;
368 -webkit-user-select: none;
369 -moz-user-select: none;
370 -ms-user-select: none;
371 }
372
373 .pdfPresentationMode:-webkit-full-screen a:not(.internalLink) {
374 display: none;
375 }
376
377 .pdfPresentationMode:-moz-full-screen a:not(.internalLink) {
378 display: none;
379 }
380
381 .pdfPresentationMode:-ms-fullscreen a:not(.internalLink) {
382 display: none !important;
383 }
384
385 .pdfPresentationMode:fullscreen a:not(.internalLink) {
386 display: none;
387 }
388
389 .pdfPresentationMode:-webkit-full-screen .textLayer > div {
390 cursor: none;
391 }
392
393 .pdfPresentationMode:-moz-full-screen .textLayer > div {
394 cursor: none;
395 }
396
397 .pdfPresentationMode:-ms-fullscreen .textLayer > div {
398 cursor: none;
399 }
400
401 .pdfPresentationMode:fullscreen .textLayer > div {
402 cursor: none;
403 }
404
405 .pdfPresentationMode.pdfPresentationModeControls > *,
406 .pdfPresentationMode.pdfPresentationModeControls .textLayer > div {
407 cursor: default;
408 }
409
410 #outerContainer {
411 width: 100%;
412 height: 100%;
413 position: relative;
414 }
415
416 #sidebarContainer {
417 position: absolute;
418 top: 0;
419 bottom: 0;
420 width: 200px;
421 visibility: hidden;
422 -webkit-transition-duration: 200ms;
423 -webkit-transition-timing-function: ease;
424 transition-duration: 200ms;
425 transition-timing-function: ease;
426
427 }
428 html[dir='ltr'] #sidebarContainer {
429 -webkit-transition-property: left;
430 transition-property: left;
431 left: -200px;
432 }
433 html[dir='rtl'] #sidebarContainer {
434 -webkit-transition-property: right;
435 transition-property: right;
436 right: -200px;
437 }
438
439 #outerContainer.sidebarMoving > #sidebarContainer,
440 #outerContainer.sidebarOpen > #sidebarContainer {
441 visibility: visible;
442 }
443 html[dir='ltr'] #outerContainer.sidebarOpen > #sidebarContainer {
444 left: 0px;
445 }
446 html[dir='rtl'] #outerContainer.sidebarOpen > #sidebarContainer {
447 right: 0px;
448 }
449
450 #mainContainer {
451 position: absolute;
452 top: 0;
453 right: 0;
454 bottom: 0;
455 left: 0;
456 min-width: 320px;
457 -webkit-transition-duration: 200ms;
458 -webkit-transition-timing-function: ease;
459 transition-duration: 200ms;
460 transition-timing-function: ease;
461 }
462 html[dir='ltr'] #outerContainer.sidebarOpen > #mainContainer {
463 -webkit-transition-property: left;
464 transition-property: left;
465 left: 200px;
466 }
467 html[dir='rtl'] #outerContainer.sidebarOpen > #mainContainer {
468 -webkit-transition-property: right;
469 transition-property: right;
470 right: 200px;
471 }
472
473 #sidebarContent {
474 top: 32px;
475 bottom: 0;
476 overflow: auto;
477 -webkit-overflow-scrolling: touch;
478 position: absolute;
479 width: 200px;
480 background-color: hsla(0,0%,0%,.1);
481 }
482 html[dir='ltr'] #sidebarContent {
483 left: 0;
484 box-shadow: inset -1px 0 0 hsla(0,0%,0%,.25);
485 }
486 html[dir='rtl'] #sidebarContent {
487 right: 0;
488 box-shadow: inset 1px 0 0 hsla(0,0%,0%,.25);
489 }
490
491 #viewerContainer {
492 overflow: auto;
493 -webkit-overflow-scrolling: touch;
494 position: absolute;
495 top: 32px;
496 right: 0;
497 bottom: 0;
498 left: 0;
499 outline: none;
500 }
501 html[dir='ltr'] #viewerContainer {
502 box-shadow: inset 1px 0 0 hsla(0,0%,100%,.05);
503 }
504 html[dir='rtl'] #viewerContainer {
505 box-shadow: inset -1px 0 0 hsla(0,0%,100%,.05);
506 }
507
508 .toolbar {
509 position: relative;
510 left: 0;
511 right: 0;
512 z-index: 9999;
513 cursor: default;
514 }
515
516 #toolbarContainer {
517 width: 100%;
518 }
519
520 #toolbarSidebar {
521 width: 200px;
522 height: 32px;
523 background-color: #424242; /* fallback */
524 background-image: url(images/texture.png),
525 linear-gradient(hsla(0,0%,30%,.99), hsla(0,0%,25%,.95));
526 }
527 html[dir='ltr'] #toolbarSidebar {
528 box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.25),
529 inset 0 -1px 0 hsla(0,0%,100%,.05),
530 0 1px 0 hsla(0,0%,0%,.15),
531 0 0 1px hsla(0,0%,0%,.1);
532 }
533 html[dir='rtl'] #toolbarSidebar {
534 box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.25),
535 inset 0 1px 0 hsla(0,0%,100%,.05),
536 0 1px 0 hsla(0,0%,0%,.15),
537 0 0 1px hsla(0,0%,0%,.1);
538 }
539
540 #toolbarContainer, .findbar, .secondaryToolbar {
541 position: relative;
542 height: 32px;
543 background-color: #474747; /* fallback */
544 background-image: url(images/texture.png),
545 linear-gradient(hsla(0,0%,32%,.99), hsla(0,0%,27%,.95));
546 }
547 html[dir='ltr'] #toolbarContainer, .findbar, .secondaryToolbar {
548 box-shadow: inset 1px 0 0 hsla(0,0%,100%,.08),
549 inset 0 1px 1px hsla(0,0%,0%,.15),
550 inset 0 -1px 0 hsla(0,0%,100%,.05),
551 0 1px 0 hsla(0,0%,0%,.15),
552 0 1px 1px hsla(0,0%,0%,.1);
553 }
554 html[dir='rtl'] #toolbarContainer, .findbar, .secondaryToolbar {
555 box-shadow: inset -1px 0 0 hsla(0,0%,100%,.08),
556 inset 0 1px 1px hsla(0,0%,0%,.15),
557 inset 0 -1px 0 hsla(0,0%,100%,.05),
558 0 1px 0 hsla(0,0%,0%,.15),
559 0 1px 1px hsla(0,0%,0%,.1);
560 }
561
562 #toolbarViewer {
563 height: 32px;
564 }
565
566 #loadingBar {
567 position: relative;
568 width: 100%;
569 height: 4px;
570 background-color: #333;
571 border-bottom: 1px solid #333;
572 }
573
574 #loadingBar .progress {
575 position: absolute;
576 top: 0;
577 left: 0;
578 width: 0%;
579 height: 100%;
580 background-color: #ddd;
581 overflow: hidden;
582 -webkit-transition: width 200ms;
583 transition: width 200ms;
584 }
585
586 @-webkit-keyframes progressIndeterminate {
587 0% { left: -142px; }
588 100% { left: 0; }
589 }
590
591 @keyframes progressIndeterminate {
592 0% { left: -142px; }
593 100% { left: 0; }
594 }
595
596 #loadingBar .progress.indeterminate {
597 background-color: #999;
598 -webkit-transition: none;
599 transition: none;
600 }
601
602 #loadingBar .progress.indeterminate .glimmer {
603 position: absolute;
604 top: 0;
605 left: 0;
606 height: 100%;
607 width: calc(100% + 150px);
608
609 background: repeating-linear-gradient(135deg,
610 #bbb 0, #999 5px,
611 #999 45px, #ddd 55px,
612 #ddd 95px, #bbb 100px);
613
614 -webkit-animation: progressIndeterminate 950ms linear infinite;
615 animation: progressIndeterminate 950ms linear infinite;
616 }
617
618 .findbar, .secondaryToolbar {
619 top: 32px;
620 position: absolute;
621 z-index: 10000;
622 height: auto;
623 min-width: 16px;
624 padding: 0px 6px 0px 6px;
625 margin: 4px 2px 4px 2px;
626 color: hsl(0,0%,85%);
627 font-size: 12px;
628 line-height: 14px;
629 text-align: left;
630 cursor: default;
631 }
632
633 .findbar {
634 min-width: 300px;
635 }
636 .findbar > div {
637 height: 32px;
638 }
639 .findbar.wrapContainers > div {
640 clear: both;
641 }
642 .findbar.wrapContainers > div#findbarMessageContainer {
643 height: auto;
644 }
645 html[dir='ltr'] .findbar {
646 left: 68px;
647 }
648 html[dir='rtl'] .findbar {
649 right: 68px;
650 }
651
652 .findbar label {
653 -webkit-user-select: none;
654 -moz-user-select: none;
655 }
656
657 #findInput {
658 width: 200px;
659 }
660 #findInput::-webkit-input-placeholder {
661 font-style: italic;
662 }
663 #findInput::-moz-placeholder {
664 font-style: italic;
665 }
666 #findInput:-ms-input-placeholder {
667 font-style: italic;
668 }
669 #findInput::placeholder {
670 font-style: italic;
671 }
672 #findInput[data-status="pending"] {
673 background-image: url(images/loading-small.png);
674 background-repeat: no-repeat;
675 background-position: right;
676 }
677 html[dir='rtl'] #findInput[data-status="pending"] {
678 background-position: left;
679 }
680
681 .secondaryToolbar {
682 padding: 6px;
683 height: auto;
684 z-index: 30000;
685 }
686 html[dir='ltr'] .secondaryToolbar {
687 right: 4px;
688 }
689 html[dir='rtl'] .secondaryToolbar {
690 left: 4px;
691 }
692
693 #secondaryToolbarButtonContainer {
694 max-width: 200px;
695 max-height: 400px;
696 overflow-y: auto;
697 -webkit-overflow-scrolling: touch;
698 margin-bottom: -4px;
699 }
700
701 .doorHanger,
702 .doorHangerRight {
703 border: 1px solid hsla(0,0%,0%,.5);
704 border-radius: 2px;
705 box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
706 }
707 .doorHanger:after, .doorHanger:before,
708 .doorHangerRight:after, .doorHangerRight:before {
709 bottom: 100%;
710 border: solid transparent;
711 content: " ";
712 height: 0;
713 width: 0;
714 position: absolute;
715 pointer-events: none;
716 }
717 .doorHanger:after,
718 .doorHangerRight:after {
719 border-bottom-color: hsla(0,0%,32%,.99);
720 border-width: 8px;
721 }
722 .doorHanger:before,
723 .doorHangerRight:before {
724 border-bottom-color: hsla(0,0%,0%,.5);
725 border-width: 9px;
726 }
727
728 html[dir='ltr'] .doorHanger:after,
729 html[dir='rtl'] .doorHangerRight:after {
730 left: 13px;
731 margin-left: -8px;
732 }
733
734 html[dir='ltr'] .doorHanger:before,
735 html[dir='rtl'] .doorHangerRight:before {
736 left: 13px;
737 margin-left: -9px;
738 }
739
740 html[dir='rtl'] .doorHanger:after,
741 html[dir='ltr'] .doorHangerRight:after {
742 right: 13px;
743 margin-right: -8px;
744 }
745
746 html[dir='rtl'] .doorHanger:before,
747 html[dir='ltr'] .doorHangerRight:before {
748 right: 13px;
749 margin-right: -9px;
750 }
751
752 #findResultsCount {
753 background-color: hsl(0, 0%, 85%);
754 color: hsl(0, 0%, 32%);
755 text-align: center;
756 padding: 3px 4px;
757 }
758
759 #findMsg {
760 font-style: italic;
761 color: #A6B7D0;
762 }
763 #findMsg:empty {
764 display: none;
765 }
766
767 #findInput.notFound {
768 background-color: rgb(255, 102, 102);
769 }
770
771 #toolbarViewerMiddle {
772 position: absolute;
773 left: 50%;
774 transform: translateX(-50%);
775 }
776
777 html[dir='ltr'] #toolbarViewerLeft,
778 html[dir='rtl'] #toolbarViewerRight {
779 float: left;
780 }
781 html[dir='ltr'] #toolbarViewerRight,
782 html[dir='rtl'] #toolbarViewerLeft {
783 float: right;
784 }
785 html[dir='ltr'] #toolbarViewerLeft > *,
786 html[dir='ltr'] #toolbarViewerMiddle > *,
787 html[dir='ltr'] #toolbarViewerRight > *,
788 html[dir='ltr'] .findbar * {
789 position: relative;
790 float: left;
791 }
792 html[dir='rtl'] #toolbarViewerLeft > *,
793 html[dir='rtl'] #toolbarViewerMiddle > *,
794 html[dir='rtl'] #toolbarViewerRight > *,
795 html[dir='rtl'] .findbar * {
796 position: relative;
797 float: right;
798 }
799
800 html[dir='ltr'] .splitToolbarButton {
801 margin: 3px 2px 4px 0;
802 display: inline-block;
803 }
804 html[dir='rtl'] .splitToolbarButton {
805 margin: 3px 0 4px 2px;
806 display: inline-block;
807 }
808 html[dir='ltr'] .splitToolbarButton > .toolbarButton {
809 border-radius: 0;
810 float: left;
811 }
812 html[dir='rtl'] .splitToolbarButton > .toolbarButton {
813 border-radius: 0;
814 float: right;
815 }
816
817 .toolbarButton,
818 .secondaryToolbarButton,
819 .overlayButton {
820 border: 0 none;
821 background: none;
822 width: 32px;
823 height: 25px;
824 }
825
826 .toolbarButton > span {
827 display: inline-block;
828 width: 0;
829 height: 0;
830 overflow: hidden;
831 }
832
833 .toolbarButton[disabled],
834 .secondaryToolbarButton[disabled],
835 .overlayButton[disabled] {
836 opacity: .5;
837 }
838
839 .splitToolbarButton.toggled .toolbarButton {
840 margin: 0;
841 }
842
843 .splitToolbarButton:hover > .toolbarButton,
844 .splitToolbarButton:focus > .toolbarButton,
845 .splitToolbarButton.toggled > .toolbarButton,
846 .toolbarButton.textButton {
847 background-color: hsla(0,0%,0%,.12);
848 background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
849 background-clip: padding-box;
850 border: 1px solid hsla(0,0%,0%,.35);
851 border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42);
852 box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
853 0 0 1px hsla(0,0%,100%,.15) inset,
854 0 1px 0 hsla(0,0%,100%,.05);
855 -webkit-transition-property: background-color, border-color, box-shadow;
856 -webkit-transition-duration: 150ms;
857 -webkit-transition-timing-function: ease;
858 transition-property: background-color, border-color, box-shadow;
859 transition-duration: 150ms;
860 transition-timing-function: ease;
861
862 }
863 .splitToolbarButton > .toolbarButton:hover,
864 .splitToolbarButton > .toolbarButton:focus,
865 .dropdownToolbarButton:hover,
866 .overlayButton:hover,
867 .overlayButton:focus,
868 .toolbarButton.textButton:hover,
869 .toolbarButton.textButton:focus {
870 background-color: hsla(0,0%,0%,.2);
871 box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
872 0 0 1px hsla(0,0%,100%,.15) inset,
873 0 0 1px hsla(0,0%,0%,.05);
874 z-index: 199;
875 }
876 .splitToolbarButton > .toolbarButton {
877 position: relative;
878 }
879 html[dir='ltr'] .splitToolbarButton > .toolbarButton:first-child,
880 html[dir='rtl'] .splitToolbarButton > .toolbarButton:last-child {
881 position: relative;
882 margin: 0;
883 margin-right: -1px;
884 border-top-left-radius: 2px;
885 border-bottom-left-radius: 2px;
886 border-right-color: transparent;
887 }
888 html[dir='ltr'] .splitToolbarButton > .toolbarButton:last-child,
889 html[dir='rtl'] .splitToolbarButton > .toolbarButton:first-child {
890 position: relative;
891 margin: 0;
892 margin-left: -1px;
893 border-top-right-radius: 2px;
894 border-bottom-right-radius: 2px;
895 border-left-color: transparent;
896 }
897 .splitToolbarButtonSeparator {
898 padding: 8px 0;
899 width: 1px;
900 background-color: hsla(0,0%,0%,.5);
901 z-index: 99;
902 box-shadow: 0 0 0 1px hsla(0,0%,100%,.08);
903 display: inline-block;
904 margin: 5px 0;
905 }
906 html[dir='ltr'] .splitToolbarButtonSeparator {
907 float: left;
908 }
909 html[dir='rtl'] .splitToolbarButtonSeparator {
910 float: right;
911 }
912 .splitToolbarButton:hover > .splitToolbarButtonSeparator,
913 .splitToolbarButton.toggled > .splitToolbarButtonSeparator {
914 padding: 12px 0;
915 margin: 1px 0;
916 box-shadow: 0 0 0 1px hsla(0,0%,100%,.03);
917 -webkit-transition-property: padding;
918 -webkit-transition-duration: 10ms;
919 -webkit-transition-timing-function: ease;
920 transition-property: padding;
921 transition-duration: 10ms;
922 transition-timing-function: ease;
923 }
924
925 .toolbarButton,
926 .dropdownToolbarButton,
927 .secondaryToolbarButton,
928 .overlayButton {
929 min-width: 16px;
930 padding: 2px 6px 0;
931 border: 1px solid transparent;
932 border-radius: 2px;
933 color: hsla(0,0%,100%,.8);
934 font-size: 12px;
935 line-height: 14px;
936 -webkit-user-select: none;
937 -moz-user-select: none;
938 -ms-user-select: none;
939 /* Opera does not support user-select, use <... unselectable="on"> instead */
940 cursor: default;
941 -webkit-transition-property: background-color, border-color, box-shadow;
942 -webkit-transition-duration: 150ms;
943 -webkit-transition-timing-function: ease;
944 transition-property: background-color, border-color, box-shadow;
945 transition-duration: 150ms;
946 transition-timing-function: ease;
947 }
948
949 html[dir='ltr'] .toolbarButton,
950 html[dir='ltr'] .overlayButton,
951 html[dir='ltr'] .dropdownToolbarButton {
952 margin: 3px 2px 4px 0;
953 }
954 html[dir='rtl'] .toolbarButton,
955 html[dir='rtl'] .overlayButton,
956 html[dir='rtl'] .dropdownToolbarButton {
957 margin: 3px 0 4px 2px;
958 }
959
960 .toolbarButton:hover,
961 .toolbarButton:focus,
962 .dropdownToolbarButton,
963 .overlayButton,
964 .secondaryToolbarButton:hover,
965 .secondaryToolbarButton:focus {
966 background-color: hsla(0,0%,0%,.12);
967 background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
968 background-clip: padding-box;
969 border: 1px solid hsla(0,0%,0%,.35);
970 border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42);
971 box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
972 0 0 1px hsla(0,0%,100%,.15) inset,
973 0 1px 0 hsla(0,0%,100%,.05);
974 }
975
976 .toolbarButton:hover:active,
977 .overlayButton:hover:active,
978 .dropdownToolbarButton:hover:active,
979 .secondaryToolbarButton:hover:active {
980 background-color: hsla(0,0%,0%,.2);
981 background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
982 border-color: hsla(0,0%,0%,.35) hsla(0,0%,0%,.4) hsla(0,0%,0%,.45);
983 box-shadow: 0 1px 1px hsla(0,0%,0%,.1) inset,
984 0 0 1px hsla(0,0%,0%,.2) inset,
985 0 1px 0 hsla(0,0%,100%,.05);
986 -webkit-transition-property: background-color, border-color, box-shadow;
987 -webkit-transition-duration: 10ms;
988 -webkit-transition-timing-function: linear;
989 transition-property: background-color, border-color, box-shadow;
990 transition-duration: 10ms;
991 transition-timing-function: linear;
992 }
993
994 .toolbarButton.toggled,
995 .splitToolbarButton.toggled > .toolbarButton.toggled,
996 .secondaryToolbarButton.toggled {
997 background-color: hsla(0,0%,0%,.3);
998 background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
999 border-color: hsla(0,0%,0%,.4) hsla(0,0%,0%,.45) hsla(0,0%,0%,.5);
1000 box-shadow: 0 1px 1px hsla(0,0%,0%,.1) inset,
1001 0 0 1px hsla(0,0%,0%,.2) inset,
1002 0 1px 0 hsla(0,0%,100%,.05);
1003 -webkit-transition-property: background-color, border-color, box-shadow;
1004 -webkit-transition-duration: 10ms;
1005 -webkit-transition-timing-function: linear;
1006 transition-property: background-color, border-color, box-shadow;
1007 transition-duration: 10ms;
1008 transition-timing-function: linear;
1009 }
1010
1011 .toolbarButton.toggled:hover:active,
1012 .splitToolbarButton.toggled > .toolbarButton.toggled:hover:active,
1013 .secondaryToolbarButton.toggled:hover:active {
1014 background-color: hsla(0,0%,0%,.4);
1015 border-color: hsla(0,0%,0%,.4) hsla(0,0%,0%,.5) hsla(0,0%,0%,.55);
1016 box-shadow: 0 1px 1px hsla(0,0%,0%,.2) inset,
1017 0 0 1px hsla(0,0%,0%,.3) inset,
1018 0 1px 0 hsla(0,0%,100%,.05);
1019 }
1020
1021 .dropdownToolbarButton {
1022 width: 120px;
1023 max-width: 120px;
1024 padding: 0;
1025 overflow: hidden;
1026 background: url(images/toolbarButton-menuArrows.png) no-repeat;
1027 }
1028 html[dir='ltr'] .dropdownToolbarButton {
1029 background-position: 95%;
1030 }
1031 html[dir='rtl'] .dropdownToolbarButton {
1032 background-position: 5%;
1033 }
1034
1035 .dropdownToolbarButton > select {
1036 min-width: 140px;
1037 font-size: 12px;
1038 color: hsl(0,0%,95%);
1039 margin: 0;
1040 padding: 3px 2px 2px;
1041 border: none;
1042 background: rgba(0,0,0,0); /* Opera does not support 'transparent' <select> background */
1043 }
1044
1045 .dropdownToolbarButton > select > option {
1046 background: hsl(0,0%,24%);
1047 }
1048
1049 #customScaleOption {
1050 display: none;
1051 }
1052
1053 #pageWidthOption {
1054 border-bottom: 1px rgba(255, 255, 255, .5) solid;
1055 }
1056
1057 html[dir='ltr'] .splitToolbarButton:first-child,
1058 html[dir='ltr'] .toolbarButton:first-child,
1059 html[dir='rtl'] .splitToolbarButton:last-child,
1060 html[dir='rtl'] .toolbarButton:last-child {
1061 margin-left: 4px;
1062 }
1063 html[dir='ltr'] .splitToolbarButton:last-child,
1064 html[dir='ltr'] .toolbarButton:last-child,
1065 html[dir='rtl'] .splitToolbarButton:first-child,
1066 html[dir='rtl'] .toolbarButton:first-child {
1067 margin-right: 4px;
1068 }
1069
1070 .toolbarButtonSpacer {
1071 width: 30px;
1072 display: inline-block;
1073 height: 1px;
1074 }
1075
1076 html[dir='ltr'] #findPrevious {
1077 margin-left: 3px;
1078 }
1079 html[dir='ltr'] #findNext {
1080 margin-right: 3px;
1081 }
1082
1083 html[dir='rtl'] #findPrevious {
1084 margin-right: 3px;
1085 }
1086 html[dir='rtl'] #findNext {
1087 margin-left: 3px;
1088 }
1089
1090 .toolbarButton::before,
1091 .secondaryToolbarButton::before {
1092 /* All matching images have a size of 16x16
1093 * All relevant containers have a size of 32x25 */
1094 position: absolute;
1095 display: inline-block;
1096 top: 4px;
1097 left: 7px;
1098 }
1099
1100 html[dir="ltr"] .secondaryToolbarButton::before {
1101 left: 4px;
1102 }
1103 html[dir="rtl"] .secondaryToolbarButton::before {
1104 right: 4px;
1105 }
1106
1107 html[dir='ltr'] .toolbarButton#sidebarToggle::before {
1108 content: url(images/toolbarButton-sidebarToggle.png);
1109 }
1110 html[dir='rtl'] .toolbarButton#sidebarToggle::before {
1111 content: url(images/toolbarButton-sidebarToggle-rtl.png);
1112 }
1113
1114 html[dir='ltr'] .toolbarButton#secondaryToolbarToggle::before {
1115 content: url(images/toolbarButton-secondaryToolbarToggle.png);
1116 }
1117 html[dir='rtl'] .toolbarButton#secondaryToolbarToggle::before {
1118 content: url(images/toolbarButton-secondaryToolbarToggle-rtl.png);
1119 }
1120
1121 html[dir='ltr'] .toolbarButton.findPrevious::before {
1122 content: url(images/findbarButton-previous.png);
1123 }
1124 html[dir='rtl'] .toolbarButton.findPrevious::before {
1125 content: url(images/findbarButton-previous-rtl.png);
1126 }
1127
1128 html[dir='ltr'] .toolbarButton.findNext::before {
1129 content: url(images/findbarButton-next.png);
1130 }
1131 html[dir='rtl'] .toolbarButton.findNext::before {
1132 content: url(images/findbarButton-next-rtl.png);
1133 }
1134
1135 html[dir='ltr'] .toolbarButton.pageUp::before {
1136 content: url(images/toolbarButton-pageUp.png);
1137 }
1138 html[dir='rtl'] .toolbarButton.pageUp::before {
1139 content: url(images/toolbarButton-pageUp-rtl.png);
1140 }
1141
1142 html[dir='ltr'] .toolbarButton.pageDown::before {
1143 content: url(images/toolbarButton-pageDown.png);
1144 }
1145 html[dir='rtl'] .toolbarButton.pageDown::before {
1146 content: url(images/toolbarButton-pageDown-rtl.png);
1147 }
1148
1149 .toolbarButton.zoomOut::before {
1150 content: url(images/toolbarButton-zoomOut.png);
1151 }
1152
1153 .toolbarButton.zoomIn::before {
1154 content: url(images/toolbarButton-zoomIn.png);
1155 }
1156
1157 .toolbarButton.presentationMode::before,
1158 .secondaryToolbarButton.presentationMode::before {
1159 content: url(images/toolbarButton-presentationMode.png);
1160 }
1161
1162 .toolbarButton.print::before,
1163 .secondaryToolbarButton.print::before {
1164 content: url(images/toolbarButton-print.png);
1165 }
1166
1167 .toolbarButton.openFile::before,
1168 .secondaryToolbarButton.openFile::before {
1169 content: url(images/toolbarButton-openFile.png);
1170 }
1171
1172 .toolbarButton.download::before,
1173 .secondaryToolbarButton.download::before {
1174 content: url(images/toolbarButton-download.png);
1175 }
1176
1177 .toolbarButton.bookmark,
1178 .secondaryToolbarButton.bookmark {
1179 -webkit-box-sizing: border-box;
1180 -moz-box-sizing: border-box;
1181 box-sizing: border-box;
1182 outline: none;
1183 padding-top: 4px;
1184 text-decoration: none;
1185 }
1186 .secondaryToolbarButton.bookmark {
1187 padding-top: 5px;
1188 }
1189
1190 .bookmark[href='#'] {
1191 opacity: .5;
1192 pointer-events: none;
1193 }
1194
1195 .toolbarButton.bookmark::before,
1196 .secondaryToolbarButton.bookmark::before {
1197 content: url(images/toolbarButton-bookmark.png);
1198 }
1199
1200 #viewThumbnail.toolbarButton::before {
1201 content: url(images/toolbarButton-viewThumbnail.png);
1202 }
1203
1204 html[dir="ltr"] #viewOutline.toolbarButton::before {
1205 content: url(images/toolbarButton-viewOutline.png);
1206 }
1207 html[dir="rtl"] #viewOutline.toolbarButton::before {
1208 content: url(images/toolbarButton-viewOutline-rtl.png);
1209 }
1210
1211 #viewAttachments.toolbarButton::before {
1212 content: url(images/toolbarButton-viewAttachments.png);
1213 }
1214
1215 #viewFind.toolbarButton::before {
1216 content: url(images/toolbarButton-search.png);
1217 }
1218
1219 .toolbarButton.pdfSidebarNotification::after {
1220 position: absolute;
1221 display: inline-block;
1222 top: 1px;
1223 /* Create a filled circle, with a diameter of 9 pixels, using only CSS: */
1224 content: '';
1225 background-color: #70DB55;
1226 height: 9px;
1227 width: 9px;
1228 border-radius: 50%;
1229 }
1230 html[dir='ltr'] .toolbarButton.pdfSidebarNotification::after {
1231 left: 17px;
1232 }
1233 html[dir='rtl'] .toolbarButton.pdfSidebarNotification::after {
1234 right: 17px;
1235 }
1236
1237 .secondaryToolbarButton {
1238 position: relative;
1239 margin: 0 0 4px 0;
1240 padding: 3px 0 1px 0;
1241 height: auto;
1242 min-height: 25px;
1243 width: auto;
1244 min-width: 100%;
1245 white-space: normal;
1246 }
1247 html[dir="ltr"] .secondaryToolbarButton {
1248 padding-left: 24px;
1249 text-align: left;
1250 }
1251 html[dir="rtl"] .secondaryToolbarButton {
1252 padding-right: 24px;
1253 text-align: right;
1254 }
1255 html[dir="ltr"] .secondaryToolbarButton.bookmark {
1256 padding-left: 27px;
1257 }
1258 html[dir="rtl"] .secondaryToolbarButton.bookmark {
1259 padding-right: 27px;
1260 }
1261
1262 html[dir="ltr"] .secondaryToolbarButton > span {
1263 padding-right: 4px;
1264 }
1265 html[dir="rtl"] .secondaryToolbarButton > span {
1266 padding-left: 4px;
1267 }
1268
1269 .secondaryToolbarButton.firstPage::before {
1270 content: url(images/secondaryToolbarButton-firstPage.png);
1271 }
1272
1273 .secondaryToolbarButton.lastPage::before {
1274 content: url(images/secondaryToolbarButton-lastPage.png);
1275 }
1276
1277 .secondaryToolbarButton.rotateCcw::before {
1278 content: url(images/secondaryToolbarButton-rotateCcw.png);
1279 }
1280
1281 .secondaryToolbarButton.rotateCw::before {
1282 content: url(images/secondaryToolbarButton-rotateCw.png);
1283 }
1284
1285 .secondaryToolbarButton.selectTool::before {
1286 content: url(images/secondaryToolbarButton-selectTool.png);
1287 }
1288
1289 .secondaryToolbarButton.handTool::before {
1290 content: url(images/secondaryToolbarButton-handTool.png);
1291 }
1292
1293 .secondaryToolbarButton.documentProperties::before {
1294 content: url(images/secondaryToolbarButton-documentProperties.png);
1295 }
1296
1297 .verticalToolbarSeparator {
1298 display: block;
1299 padding: 8px 0;
1300 margin: 8px 4px;
1301 width: 1px;
1302 background-color: hsla(0,0%,0%,.5);
1303 box-shadow: 0 0 0 1px hsla(0,0%,100%,.08);
1304 }
1305 html[dir='ltr'] .verticalToolbarSeparator {
1306 margin-left: 2px;
1307 }
1308 html[dir='rtl'] .verticalToolbarSeparator {
1309 margin-right: 2px;
1310 }
1311
1312 .horizontalToolbarSeparator {
1313 display: block;
1314 margin: 0 0 4px 0;
1315 height: 1px;
1316 width: 100%;
1317 background-color: hsla(0,0%,0%,.5);
1318 box-shadow: 0 0 0 1px hsla(0,0%,100%,.08);
1319 }
1320
1321 .toolbarField {
1322 padding: 3px 6px;
1323 margin: 4px 0 4px 0;
1324 border: 1px solid transparent;
1325 border-radius: 2px;
1326 background-color: hsla(0,0%,100%,.09);
1327 background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
1328 background-clip: padding-box;
1329 border: 1px solid hsla(0,0%,0%,.35);
1330 border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42);
1331 box-shadow: 0 1px 0 hsla(0,0%,0%,.05) inset,
1332 0 1px 0 hsla(0,0%,100%,.05);
1333 color: hsl(0,0%,95%);
1334 font-size: 12px;
1335 line-height: 14px;
1336 outline-style: none;
1337 transition-property: background-color, border-color, box-shadow;
1338 transition-duration: 150ms;
1339 transition-timing-function: ease;
1340 }
1341
1342 .toolbarField[type=checkbox] {
1343 display: inline-block;
1344 margin: 8px 0px;
1345 }
1346
1347 .toolbarField.pageNumber {
1348 -moz-appearance: textfield; /* hides the spinner in moz */
1349 min-width: 16px;
1350 text-align: right;
1351 width: 40px;
1352 }
1353
1354 .toolbarField.pageNumber.visiblePageIsLoading {
1355 background-image: url(images/loading-small.png);
1356 background-repeat: no-repeat;
1357 background-position: 1px;
1358 }
1359
1360 .toolbarField.pageNumber::-webkit-inner-spin-button,
1361 .toolbarField.pageNumber::-webkit-outer-spin-button {
1362 -webkit-appearance: none;
1363 margin: 0;
1364 }
1365
1366 .toolbarField:hover {
1367 background-color: hsla(0,0%,100%,.11);
1368 border-color: hsla(0,0%,0%,.4) hsla(0,0%,0%,.43) hsla(0,0%,0%,.45);
1369 }
1370
1371 .toolbarField:focus {
1372 background-color: hsla(0,0%,100%,.15);
1373 border-color: hsla(204,100%,65%,.8) hsla(204,100%,65%,.85) hsla(204,100%,65%,.9);
1374 }
1375
1376 .toolbarLabel {
1377 min-width: 16px;
1378 padding: 3px 6px 3px 2px;
1379 margin: 4px 2px 4px 0;
1380 border: 1px solid transparent;
1381 border-radius: 2px;
1382 color: hsl(0,0%,85%);
1383 font-size: 12px;
1384 line-height: 14px;
1385 text-align: left;
1386 -webkit-user-select: none;
1387 -moz-user-select: none;
1388 cursor: default;
1389 }
1390
1391 #thumbnailView {
1392 position: absolute;
1393 width: 120px;
1394 top: 0;
1395 bottom: 0;
1396 padding: 10px 40px 0;
1397 overflow: auto;
1398 -webkit-overflow-scrolling: touch;
1399 }
1400
1401 .thumbnail {
1402 float: left;
1403 margin-bottom: 5px;
1404 }
1405
1406 #thumbnailView > a:last-of-type > .thumbnail {
1407 margin-bottom: 10px;
1408 }
1409
1410 #thumbnailView > a:last-of-type > .thumbnail:not([data-loaded]) {
1411 margin-bottom: 9px;
1412 }
1413
1414 .thumbnail:not([data-loaded]) {
1415 border: 1px dashed rgba(255, 255, 255, 0.5);
1416 margin: -1px -1px 4px -1px;
1417 }
1418
1419 .thumbnailImage {
1420 border: 1px solid transparent;
1421 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
1422 opacity: 0.8;
1423 z-index: 99;
1424 background-color: white;
1425 background-clip: content-box;
1426 }
1427
1428 .thumbnailSelectionRing {
1429 border-radius: 2px;
1430 padding: 7px;
1431 }
1432
1433 a:focus > .thumbnail > .thumbnailSelectionRing > .thumbnailImage,
1434 .thumbnail:hover > .thumbnailSelectionRing > .thumbnailImage {
1435 opacity: .9;
1436 }
1437
1438 a:focus > .thumbnail > .thumbnailSelectionRing,
1439 .thumbnail:hover > .thumbnailSelectionRing {
1440 background-color: hsla(0,0%,100%,.15);
1441 background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
1442 background-clip: padding-box;
1443 box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
1444 0 0 1px hsla(0,0%,100%,.2) inset,
1445 0 0 1px hsla(0,0%,0%,.2);
1446 color: hsla(0,0%,100%,.9);
1447 }
1448
1449 .thumbnail.selected > .thumbnailSelectionRing > .thumbnailImage {
1450 box-shadow: 0 0 0 1px hsla(0,0%,0%,.5);
1451 opacity: 1;
1452 }
1453
1454 .thumbnail.selected > .thumbnailSelectionRing {
1455 background-color: hsla(0,0%,100%,.3);
1456 background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
1457 background-clip: padding-box;
1458 box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
1459 0 0 1px hsla(0,0%,100%,.1) inset,
1460 0 0 1px hsla(0,0%,0%,.2);
1461 color: hsla(0,0%,100%,1);
1462 }
1463
1464 #outlineView,
1465 #attachmentsView {
1466 position: absolute;
1467 width: 192px;
1468 top: 0;
1469 bottom: 0;
1470 overflow: auto;
1471 -webkit-overflow-scrolling: touch;
1472 -webkit-user-select: none;
1473 -moz-user-select: none;
1474 }
1475
1476 #outlineView {
1477 padding: 4px 4px 0;
1478 }
1479 #attachmentsView {
1480 padding: 3px 4px 0;
1481 }
1482
1483 html[dir='ltr'] .outlineWithDeepNesting > .outlineItem,
1484 html[dir='ltr'] .outlineItem > .outlineItems {
1485 margin-left: 20px;
1486 }
1487
1488 html[dir='rtl'] .outlineWithDeepNesting > .outlineItem,
1489 html[dir='rtl'] .outlineItem > .outlineItems {
1490 margin-right: 20px;
1491 }
1492
1493 .outlineItem > a,
1494 .attachmentsItem > button {
1495 text-decoration: none;
1496 display: inline-block;
1497 min-width: 95%;
1498 min-width: calc(100% - 4px); /* Subtract the right padding (left, in RTL mode)
1499 of the container. */
1500 height: auto;
1501 margin-bottom: 1px;
1502 border-radius: 2px;
1503 color: hsla(0,0%,100%,.8);
1504 font-size: 13px;
1505 line-height: 15px;
1506 -moz-user-select: none;
1507 white-space: normal;
1508 }
1509
1510 .attachmentsItem > button {
1511 border: 0 none;
1512 background: none;
1513 cursor: pointer;
1514 width: 100%;
1515 }
1516
1517 html[dir='ltr'] .outlineItem > a {
1518 padding: 2px 0 5px 4px;
1519 }
1520 html[dir='ltr'] .attachmentsItem > button {
1521 padding: 2px 0 3px 7px;
1522 text-align: left;
1523 }
1524
1525 html[dir='rtl'] .outlineItem > a {
1526 padding: 2px 4px 5px 0;
1527 }
1528 html[dir='rtl'] .attachmentsItem > button {
1529 padding: 2px 7px 3px 0;
1530 text-align: right;
1531 }
1532
1533 .outlineItemToggler {
1534 position: relative;
1535 height: 0;
1536 width: 0;
1537 color: hsla(0,0%,100%,.5);
1538 }
1539 .outlineItemToggler::before {
1540 content: url(images/treeitem-expanded.png);
1541 display: inline-block;
1542 position: absolute;
1543 }
1544 html[dir='ltr'] .outlineItemToggler.outlineItemsHidden::before {
1545 content: url(images/treeitem-collapsed.png);
1546 }
1547 html[dir='rtl'] .outlineItemToggler.outlineItemsHidden::before {
1548 content: url(images/treeitem-collapsed-rtl.png);
1549 }
1550 .outlineItemToggler.outlineItemsHidden ~ .outlineItems {
1551 display: none;
1552 }
1553 html[dir='ltr'] .outlineItemToggler {
1554 float: left;
1555 }
1556 html[dir='rtl'] .outlineItemToggler {
1557 float: right;
1558 }
1559 html[dir='ltr'] .outlineItemToggler::before {
1560 right: 4px;
1561 }
1562 html[dir='rtl'] .outlineItemToggler::before {
1563 left: 4px;
1564 }
1565
1566 .outlineItemToggler:hover,
1567 .outlineItemToggler:hover + a,
1568 .outlineItemToggler:hover ~ .outlineItems,
1569 .outlineItem > a:hover,
1570 .attachmentsItem > button:hover {
1571 background-color: hsla(0,0%,100%,.02);
1572 background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
1573 background-clip: padding-box;
1574 box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
1575 0 0 1px hsla(0,0%,100%,.2) inset,
1576 0 0 1px hsla(0,0%,0%,.2);
1577 border-radius: 2px;
1578 color: hsla(0,0%,100%,.9);
1579 }
1580
1581 .outlineItem.selected {
1582 background-color: hsla(0,0%,100%,.08);
1583 background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
1584 background-clip: padding-box;
1585 box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
1586 0 0 1px hsla(0,0%,100%,.1) inset,
1587 0 0 1px hsla(0,0%,0%,.2);
1588 color: hsla(0,0%,100%,1);
1589 }
1590
1591 .noResults {
1592 font-size: 12px;
1593 color: hsla(0,0%,100%,.8);
1594 font-style: italic;
1595 cursor: default;
1596 }
1597
1598 /* TODO: file FF bug to support ::-moz-selection:window-inactive
1599 so we can override the opaque grey background when the window is inactive;
1600 see https://bugzilla.mozilla.org/show_bug.cgi?id=706209 */
1601 ::selection { background: rgba(0,0,255,0.3); }
1602 ::-moz-selection { background: rgba(0,0,255,0.3); }
1603
1604 #errorWrapper {
1605 background: none repeat scroll 0 0 #FF5555;
1606 color: white;
1607 left: 0;
1608 position: absolute;
1609 right: 0;
1610 z-index: 1000;
1611 padding: 3px;
1612 font-size: 0.8em;
1613 }
1614 .loadingInProgress #errorWrapper {
1615 top: 37px;
1616 }
1617
1618 #errorMessageLeft {
1619 float: left;
1620 }
1621
1622 #errorMessageRight {
1623 float: right;
1624 }
1625
1626 #errorMoreInfo {
1627 background-color: #FFFFFF;
1628 color: black;
1629 padding: 3px;
1630 margin: 3px;
1631 width: 98%;
1632 }
1633
1634 .overlayButton {
1635 width: auto;
1636 margin: 3px 4px 2px 4px !important;
1637 padding: 2px 6px 3px 6px;
1638 }
1639
1640 #overlayContainer {
1641 display: table;
1642 position: absolute;
1643 width: 100%;
1644 height: 100%;
1645 background-color: hsla(0,0%,0%,.2);
1646 z-index: 40000;
1647 }
1648 #overlayContainer > * {
1649 overflow: auto;
1650 -webkit-overflow-scrolling: touch;
1651 }
1652
1653 #overlayContainer > .container {
1654 display: table-cell;
1655 vertical-align: middle;
1656 text-align: center;
1657 }
1658
1659 #overlayContainer > .container > .dialog {
1660 display: inline-block;
1661 padding: 15px;
1662 border-spacing: 4px;
1663 color: hsl(0,0%,85%);
1664 font-size: 12px;
1665 line-height: 14px;
1666 background-color: #474747; /* fallback */
1667 background-image: url(images/texture.png),
1668 linear-gradient(hsla(0,0%,32%,.99), hsla(0,0%,27%,.95));
1669 box-shadow: inset 1px 0 0 hsla(0,0%,100%,.08),
1670 inset 0 1px 1px hsla(0,0%,0%,.15),
1671 inset 0 -1px 0 hsla(0,0%,100%,.05),
1672 0 1px 0 hsla(0,0%,0%,.15),
1673 0 1px 1px hsla(0,0%,0%,.1);
1674 border: 1px solid hsla(0,0%,0%,.5);
1675 border-radius: 4px;
1676 box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
1677 }
1678
1679 .dialog > .row {
1680 display: table-row;
1681 }
1682
1683 .dialog > .row > * {
1684 display: table-cell;
1685 }
1686
1687 .dialog .toolbarField {
1688 margin: 5px 0;
1689 }
1690
1691 .dialog .separator {
1692 display: block;
1693 margin: 4px 0 4px 0;
1694 height: 1px;
1695 width: 100%;
1696 background-color: hsla(0,0%,0%,.5);
1697 box-shadow: 0 0 0 1px hsla(0,0%,100%,.08);
1698 }
1699
1700 .dialog .buttonRow {
1701 text-align: center;
1702 vertical-align: middle;
1703 }
1704
1705 .dialog :link {
1706 color: white;
1707 }
1708
1709 #passwordOverlay > .dialog {
1710 text-align: center;
1711 }
1712 #passwordOverlay .toolbarField {
1713 width: 200px;
1714 }
1715
1716 #documentPropertiesOverlay > .dialog {
1717 text-align: left;
1718 }
1719 #documentPropertiesOverlay .row > * {
1720 min-width: 100px;
1721 }
1722 html[dir='ltr'] #documentPropertiesOverlay .row > * {
1723 text-align: left;
1724 }
1725 html[dir='rtl'] #documentPropertiesOverlay .row > * {
1726 text-align: right;
1727 }
1728 #documentPropertiesOverlay .row > span {
1729 width: 125px;
1730 word-wrap: break-word;
1731 }
1732 #documentPropertiesOverlay .row > p {
1733 max-width: 225px;
1734 word-wrap: break-word;
1735 }
1736 #documentPropertiesOverlay .buttonRow {
1737 margin-top: 10px;
1738 }
1739
1740 .clearBoth {
1741 clear: both;
1742 }
1743
1744 .fileInput {
1745 background: white;
1746 color: black;
1747 margin-top: 5px;
1748 visibility: hidden;
1749 position: fixed;
1750 right: 0;
1751 top: 0;
1752 }
1753
1754 #PDFBug {
1755 background: none repeat scroll 0 0 white;
1756 border: 1px solid #666666;
1757 position: fixed;
1758 top: 32px;
1759 right: 0;
1760 bottom: 0;
1761 font-size: 10px;
1762 padding: 0;
1763 width: 300px;
1764 }
1765 #PDFBug .controls {
1766 background:#EEEEEE;
1767 border-bottom: 1px solid #666666;
1768 padding: 3px;
1769 }
1770 #PDFBug .panels {
1771 bottom: 0;
1772 left: 0;
1773 overflow: auto;
1774 -webkit-overflow-scrolling: touch;
1775 position: absolute;
1776 right: 0;
1777 top: 27px;
1778 }
1779 #PDFBug button.active {
1780 font-weight: bold;
1781 }
1782 .debuggerShowText {
1783 background: none repeat scroll 0 0 yellow;
1784 color: blue;
1785 }
1786 .debuggerHideText:hover {
1787 background: none repeat scroll 0 0 yellow;
1788 }
1789 #PDFBug .stats {
1790 font-family: courier;
1791 font-size: 10px;
1792 white-space: pre;
1793 }
1794 #PDFBug .stats .title {
1795 font-weight: bold;
1796 }
1797 #PDFBug table {
1798 font-size: 10px;
1799 }
1800
1801 #viewer.textLayer-visible .textLayer {
1802 opacity: 1.0;
1803 }
1804
1805 #viewer.textLayer-visible .canvasWrapper {
1806 background-color: rgb(128,255,128);
1807 }
1808
1809 #viewer.textLayer-visible .canvasWrapper canvas {
1810 mix-blend-mode: screen;
1811 }
1812
1813 #viewer.textLayer-visible .textLayer > div {
1814 background-color: rgba(255, 255, 0, 0.1);
1815 color: black;
1816 border: solid 1px rgba(255, 0, 0, 0.5);
1817 -webkit-box-sizing: border-box;
1818 -moz-box-sizing: border-box;
1819 box-sizing: border-box;
1820 }
1821
1822 #viewer.textLayer-hover .textLayer > div:hover {
1823 background-color: white;
1824 color: black;
1825 }
1826
1827 #viewer.textLayer-shadow .textLayer > div {
1828 background-color: rgba(255,255,255, .6);
1829 color: black;
1830 }
1831
1832 .grab-to-pan-grab {
1833 cursor: url("images/grab.cur"), move !important;
1834 cursor: -webkit-grab !important;
1835 cursor: -moz-grab !important;
1836 cursor: grab !important;
1837 }
1838 .grab-to-pan-grab *:not(input):not(textarea):not(button):not(select):not(:link) {
1839 cursor: inherit !important;
1840 }
1841 .grab-to-pan-grab:active,
1842 .grab-to-pan-grabbing {
1843 cursor: url("images/grabbing.cur"), move !important;
1844 cursor: -webkit-grabbing !important;
1845 cursor: -moz-grabbing !important;
1846 cursor: grabbing !important;
1847
1848 position: fixed;
1849 background: transparent;
1850 display: block;
1851 top: 0;
1852 left: 0;
1853 right: 0;
1854 bottom: 0;
1855 overflow: hidden;
1856 z-index: 50000; /* should be higher than anything else in PDF.js! */
1857 }
1858
1859 @page { {
1860 margin: 0;
1861 }
1862
1863 #printContainer {
1864 display: none;
1865 }
1866
1867 @media screen and (min-resolution: 2dppx) {
1868 /* Rules for Retina screens */
1869 .toolbarButton::before {
1870 -webkit-transform: scale(0.5);
1871 transform: scale(0.5);
1872 top: -5px;
1873 }
1874
1875 .secondaryToolbarButton::before {
1876 -webkit-transform: scale(0.5);
1877 transform: scale(0.5);
1878 top: -4px;
1879 }
1880
1881 html[dir='ltr'] .toolbarButton::before,
1882 html[dir='rtl'] .toolbarButton::before {
1883 left: -1px;
1884 }
1885
1886 html[dir='ltr'] .secondaryToolbarButton::before {
1887 left: -2px;
1888 }
1889 html[dir='rtl'] .secondaryToolbarButton::before {
1890 left: 186px;
1891 }
1892
1893 .toolbarField.pageNumber.visiblePageIsLoading,
1894 #findInput[data-status="pending"] {
1895 background-image: url(images/[email protected]);
1896 background-size: 16px 17px;
1897 }
1898
1899 .dropdownToolbarButton {
1900 background: url(images/[email protected]) no-repeat;
1901 background-size: 7px 16px;
1902 }
1903
1904 html[dir='ltr'] .toolbarButton#sidebarToggle::before {
1905 content: url(images/[email protected]);
1906 }
1907 html[dir='rtl'] .toolbarButton#sidebarToggle::before {
1908 content: url(images/[email protected]);
1909 }
1910
1911 html[dir='ltr'] .toolbarButton#secondaryToolbarToggle::before {
1912 content: url(images/[email protected]);
1913 }
1914 html[dir='rtl'] .toolbarButton#secondaryToolbarToggle::before {
1915 content: url(images/[email protected]);
1916 }
1917
1918 html[dir='ltr'] .toolbarButton.findPrevious::before {
1919 content: url(images/[email protected]);
1920 }
1921 html[dir='rtl'] .toolbarButton.findPrevious::before {
1922 content: url(images/[email protected]);
1923 }
1924
1925 html[dir='ltr'] .toolbarButton.findNext::before {
1926 content: url(images/[email protected]);
1927 }
1928 html[dir='rtl'] .toolbarButton.findNext::before {
1929 content: url(images/[email protected]);
1930 }
1931
1932 html[dir='ltr'] .toolbarButton.pageUp::before {
1933 content: url(images/[email protected]);
1934 }
1935 html[dir='rtl'] .toolbarButton.pageUp::before {
1936 content: url(images/[email protected]);
1937 }
1938
1939 html[dir='ltr'] .toolbarButton.pageDown::before {
1940 content: url(images/[email protected]);
1941 }
1942 html[dir='rtl'] .toolbarButton.pageDown::before {
1943 content: url(images/[email protected]);
1944 }
1945
1946 .toolbarButton.zoomIn::before {
1947 content: url(images/[email protected]);
1948 }
1949
1950 .toolbarButton.zoomOut::before {
1951 content: url(images/[email protected]);
1952 }
1953
1954 .toolbarButton.presentationMode::before,
1955 .secondaryToolbarButton.presentationMode::before {
1956 content: url(images/[email protected]);
1957 }
1958
1959 .toolbarButton.print::before,
1960 .secondaryToolbarButton.print::before {
1961 content: url(images/[email protected]);
1962 }
1963
1964 .toolbarButton.openFile::before,
1965 .secondaryToolbarButton.openFile::before {
1966 content: url(images/[email protected]);
1967 }
1968
1969 .toolbarButton.download::before,
1970 .secondaryToolbarButton.download::before {
1971 content: url(images/[email protected]);
1972 }
1973
1974 .toolbarButton.bookmark::before,
1975 .secondaryToolbarButton.bookmark::before {
1976 content: url(images/[email protected]);
1977 }
1978
1979 #viewThumbnail.toolbarButton::before {
1980 content: url(images/[email protected]);
1981 }
1982
1983 html[dir="ltr"] #viewOutline.toolbarButton::before {
1984 content: url(images/[email protected]);
1985 }
1986 html[dir="rtl"] #viewOutline.toolbarButton::before {
1987 content: url(images/[email protected]);
1988 }
1989
1990 #viewAttachments.toolbarButton::before {
1991 content: url(images/[email protected]);
1992 }
1993
1994 #viewFind.toolbarButton::before {
1995 content: url(images/[email protected]);
1996 }
1997
1998 .secondaryToolbarButton.firstPage::before {
1999 content: url(images/[email protected]);
2000 }
2001
2002 .secondaryToolbarButton.lastPage::before {
2003 content: url(images/[email protected]);
2004 }
2005
2006 .secondaryToolbarButton.rotateCcw::before {
2007 content: url(images/[email protected]);
2008 }
2009
2010 .secondaryToolbarButton.rotateCw::before {
2011 content: url(images/[email protected]);
2012 }
2013
2014 .secondaryToolbarButton.selectTool::before {
2015 content: url(images/[email protected]);
2016 }
2017
2018 .secondaryToolbarButton.handTool::before {
2019 content: url(images/[email protected]);
2020 }
2021
2022 .secondaryToolbarButton.documentProperties::before {
2023 content: url(images/[email protected]);
2024 }
2025
2026 .outlineItemToggler::before {
2027 -webkit-transform: scale(0.5);
2028 transform: scale(0.5);
2029 top: -1px;
2030 content: url(images/[email protected]);
2031 }
2032 html[dir='ltr'] .outlineItemToggler.outlineItemsHidden::before {
2033 content: url(images/[email protected]);
2034 }
2035 html[dir='rtl'] .outlineItemToggler.outlineItemsHidden::before {
2036 content: url(images/[email protected]);
2037 }
2038 html[dir='ltr'] .outlineItemToggler::before {
2039 right: 0;
2040 }
2041 html[dir='rtl'] .outlineItemToggler::before {
2042 left: 0;
2043 }
2044 }
2045
2046 @media print {
2047 /* General rules for printing. */
2048 body {
2049 background: transparent none;
2050 }
2051
2052 /* Rules for browsers that don't support mozPrintCallback. */
2053 #sidebarContainer, #secondaryToolbar, .toolbar, #loadingBox, #errorWrapper, .textLayer {
2054 display: none;
2055 }
2056 #viewerContainer {
2057 overflow: visible;
2058 }
2059
2060 #mainContainer, #viewerContainer, .page, .page canvas {
2061 position: static;
2062 padding: 0;
2063 margin: 0;
2064 }
2065
2066 .page {
2067 float: left;
2068 display: none;
2069 border: none;
2070 box-shadow: none;
2071 background-clip: content-box;
2072 background-color: white;
2073 }
2074
2075 .page[data-loaded] {
2076 display: block;
2077 }
2078
2079 .fileInput {
2080 display: none;
2081 }
2082
2083 /* Rules for browsers that support PDF.js printing */
2084 body[data-pdfjsprinting] #outerContainer {
2085 display: none;
2086 }
2087 body[data-pdfjsprinting] #printContainer {
2088 display: block;
2089 }
2090 #printContainer {
2091 height: 100%;
2092 }
2093 /* wrapper around (scaled) print canvas elements */
2094 #printContainer > div {
2095 position: relative;
2096 top: 0;
2097 left: 0;
2098 width: 1px;
2099 height: 1px;
2100 overflow: visible;
2101 page-break-after: always;
2102 page-break-inside: avoid;
2103 }
2104 #printContainer canvas,
2105 #printContainer img {
2106 display: block;
2107 }
2108 }
2109
2110 .visibleLargeView,
2111 .visibleMediumView,
2112 .visibleSmallView {
2113 display: none;
2114 }
2115
2116 @media all and (max-width: 1040px) {
2117 #outerContainer.sidebarMoving #toolbarViewerMiddle,
2118 #outerContainer.sidebarOpen #toolbarViewerMiddle {
2119 display: table;
2120 margin: auto;
2121 left: auto;
2122 position: inherit;
2123 transform: none;
2124 }
2125 }
2126
2127 @media all and (max-width: 980px) {
2128 .sidebarMoving .hiddenLargeView,
2129 .sidebarOpen .hiddenLargeView {
2130 display: none;
2131 }
2132 .sidebarMoving .visibleLargeView,
2133 .sidebarOpen .visibleLargeView {
2134 display: inherit;
2135 }
2136 }
2137
2138 @media all and (max-width: 900px) {
2139 #toolbarViewerMiddle {
2140 display: table;
2141 margin: auto;
2142 left: auto;
2143 position: inherit;
2144 transform: none;
2145 }
2146 .sidebarMoving .hiddenMediumView,
2147 .sidebarOpen .hiddenMediumView {
2148 display: none;
2149 }
2150 .sidebarMoving .visibleMediumView,
2151 .sidebarOpen .visibleMediumView {
2152 display: inherit;
2153 }
2154 }
2155
2156 @media all and (max-width: 840px) {
2157 #sidebarContainer {
2158 top: 32px;
2159 z-index: 100;
2160 }
2161 .loadingInProgress #sidebarContainer {
2162 top: 37px;
2163 }
2164 #sidebarContent {
2165 top: 32px;
2166 background-color: hsla(0,0%,0%,.7);
2167 }
2168
2169 html[dir='ltr'] #outerContainer.sidebarOpen > #mainContainer {
2170 left: 0px;
2171 }
2172 html[dir='rtl'] #outerContainer.sidebarOpen > #mainContainer {
2173 right: 0px;
2174 }
2175
2176 #outerContainer .hiddenLargeView,
2177 #outerContainer .hiddenMediumView {
2178 display: inherit;
2179 }
2180 #outerContainer .visibleLargeView,
2181 #outerContainer .visibleMediumView {
2182 display: none;
2183 }
2184 }
2185
2186 @media all and (max-width: 770px) {
2187 #outerContainer .hiddenLargeView {
2188 display: none;
2189 }
2190 #outerContainer .visibleLargeView {
2191 display: inherit;
2192 }
2193 }
2194
2195 @media all and (max-width: 700px) {
2196 #outerContainer .hiddenMediumView {
2197 display: none;
2198 }
2199 #outerContainer .visibleMediumView {
2200 display: inherit;
2201 }
2202 }
2203
2204 @media all and (max-width: 640px) {
2205 .hiddenSmallView, .hiddenSmallView * {
2206 display: none;
2207 }
2208 .visibleSmallView {
2209 display: inherit;
2210 }
2211 .toolbarButtonSpacer {
2212 width: 0;
2213 }
2214 html[dir='ltr'] .findbar {
2215 left: 38px;
2216 }
2217 html[dir='rtl'] .findbar {
2218 right: 38px;
2219 }
2220 }
2221
2222 @media all and (max-width: 535px) {
2223 #scaleSelectContainer {
2224 display: none;
2225 }
2226 }
2227