Mercurial > hg > orthanc-stone
comparison StoneWebViewer/Resources/Styles/wv-pdf-viewer.scss @ 1495:fb74ed5d8c22
initial commit of the Stone Web viewer
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 25 Jun 2020 16:51:10 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1494:5a3ef478deb6 | 1495:fb74ed5d8c22 |
---|---|
1 wv-pdf-viewer { | |
2 display: block; | |
3 width: 100%; | |
4 height: 100%; | |
5 } | |
6 | |
7 #toolbarContainer > #toolbarViewer > #toolbarViewerLeft > .wv-pdf-viewer-closebutton { // We need high priority, !important keywords don't work | |
8 background-color: inherit; | |
9 color: hsl(0, 0%, 100%); | |
10 border: none; | |
11 | |
12 padding: 2px; | |
13 margin-left: 4px; | |
14 margin-right: 2px; | |
15 | |
16 &:hover { | |
17 color: black; | |
18 } | |
19 } | |
20 | |
21 .fa.fa-window-close.wv-pdf-viewer-closebuttonicon { // We need high priority | |
22 font-size: 2rem; | |
23 line-height: 28px; // pdf.js toolbar size (- closebutton margin) | |
24 } | |
25 | |
26 // The following code has been generated via: | |
27 // | |
28 // ```bash | |
29 // cd bower_components/pdf.js-viewer/ | |
30 // lessc --global-var='pdfjsImagePath="../images/pdf.js-viewer"' viewer.less viewer.css | |
31 // ``` | |
32 | |
33 .pdfjs .textLayer { | |
34 position: absolute; | |
35 left: 0; | |
36 top: 0; | |
37 right: 0; | |
38 bottom: 0; | |
39 overflow: hidden; | |
40 opacity: 0.2; | |
41 } | |
42 .pdfjs .textLayer > div { | |
43 color: transparent; | |
44 position: absolute; | |
45 white-space: pre; | |
46 cursor: text; | |
47 -webkit-transform-origin: 0 0; | |
48 -moz-transform-origin: 0 0; | |
49 -o-transform-origin: 0 0; | |
50 -ms-transform-origin: 0 0; | |
51 transform-origin: 0 0; | |
52 } | |
53 .pdfjs .textLayer .highlight { | |
54 margin: -1px; | |
55 padding: 1px; | |
56 background-color: #b400aa; | |
57 border-radius: 4px; | |
58 } | |
59 .pdfjs .textLayer .highlight.begin { | |
60 border-radius: 4px 0 0 4px; | |
61 } | |
62 .pdfjs .textLayer .highlight.end { | |
63 border-radius: 0 4px 4px 0; | |
64 } | |
65 .pdfjs .textLayer .highlight.middle { | |
66 border-radius: 0; | |
67 } | |
68 .pdfjs .textLayer .highlight.selected { | |
69 background-color: #006400; | |
70 } | |
71 .pdfjs .textLayer ::selection { | |
72 background: #00f; | |
73 } | |
74 .pdfjs .textLayer ::-moz-selection { | |
75 background: #00f; | |
76 } | |
77 .pdfjs .pdfViewer .canvasWrapper { | |
78 overflow: hidden; | |
79 } | |
80 .pdfjs .pdfViewer .page { | |
81 direction: ltr; | |
82 width: 816px; | |
83 height: 1056px; | |
84 margin: 1px auto -8px; | |
85 position: relative; | |
86 overflow: visible; | |
87 border: 9px solid transparent; | |
88 background-clip: content-box; | |
89 border-image: url('../images/pdf.js-viewer/shadow.png') 9 9 repeat; | |
90 background-color: #fff; | |
91 } | |
92 body { | |
93 height: 100%; | |
94 } | |
95 .pdfjs .pdfViewer.removePageBorders .page { | |
96 margin: 0 auto 10px; | |
97 border: none; | |
98 } | |
99 .pdfjs .pdfViewer .page canvas { | |
100 margin: 0; | |
101 display: block; | |
102 } | |
103 .pdfjs .pdfViewer .page .loadingIcon { | |
104 position: absolute; | |
105 display: block; | |
106 left: 0; | |
107 top: 0; | |
108 right: 0; | |
109 bottom: 0; | |
110 background: url('../images/pdf.js-viewer/loading-icon.gif') center no-repeat; | |
111 } | |
112 .pdfjs .pdfViewer .page .annotLink > a:hover { | |
113 opacity: .2; | |
114 background: #ff0; | |
115 box-shadow: 0 2px 10px #ff0; | |
116 } | |
117 .pdfjs .pdfPresentationMode:-webkit-full-screen .pdfViewer .page { | |
118 margin-bottom: 100%; | |
119 border: 0; | |
120 } | |
121 .pdfjs .pdfPresentationMode:-moz-full-screen .pdfViewer .page { | |
122 margin-bottom: 100%; | |
123 border: 0; | |
124 } | |
125 .pdfjs .pdfPresentationMode:-ms-fullscreen .pdfViewer .page { | |
126 margin-bottom: 100%!important; | |
127 border: 0; | |
128 } | |
129 .pdfjs .pdfPresentationMode:fullscreen .pdfViewer .page { | |
130 margin-bottom: 100%; | |
131 border: 0; | |
132 } | |
133 .pdfjs .pdfViewer .page .annotText > img { | |
134 position: absolute; | |
135 cursor: pointer; | |
136 } | |
137 .pdfjs .pdfViewer .page .annotTextContentWrapper { | |
138 position: absolute; | |
139 width: 20em; | |
140 } | |
141 .pdfjs .pdfViewer .page .annotTextContent { | |
142 z-index: 200; | |
143 float: left; | |
144 max-width: 20em; | |
145 background-color: #FF9; | |
146 box-shadow: 0 2px 5px #333; | |
147 border-radius: 2px; | |
148 padding: .6em; | |
149 cursor: pointer; | |
150 } | |
151 .pdfjs .pdfViewer .page .annotTextContent > h1 { | |
152 font-size: 1em; | |
153 border-bottom: 1px solid #000; | |
154 padding-bottom: 0.2em; | |
155 } | |
156 .pdfjs .pdfViewer .page .annotTextContent > p { | |
157 padding-top: 0.2em; | |
158 } | |
159 .pdfjs .pdfViewer .page .annotLink > a { | |
160 position: absolute; | |
161 font-size: 1em; | |
162 top: 0; | |
163 left: 0; | |
164 width: 100%; | |
165 height: 100%; | |
166 } | |
167 .pdfjs .pdfViewer .page .annotLink > a { | |
168 background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAA\ LAAAAAABAAEAAAIBRAA7") 0 0 repeat; | |
169 } | |
170 .pdfjs * { | |
171 padding: 0; | |
172 margin: 0; | |
173 } | |
174 html { | |
175 height: 100%; | |
176 font-size: 10px; | |
177 } | |
178 .pdfjs input, | |
179 .pdfjs button, | |
180 .pdfjs select { | |
181 font: message-box; | |
182 outline: none; | |
183 } | |
184 .pdfjs .hidden { | |
185 display: none !important; | |
186 } | |
187 .pdfjs [hidden] { | |
188 display: none !important; | |
189 } | |
190 .pdfjs #viewerContainer.pdfPresentationMode:-webkit-full-screen { | |
191 top: 0; | |
192 border-top: 2px solid transparent; | |
193 background-color: #000; | |
194 width: 100%; | |
195 height: 100%; | |
196 overflow: hidden; | |
197 cursor: none; | |
198 -webkit-user-select: none; | |
199 } | |
200 .pdfjs #viewerContainer.pdfPresentationMode:-moz-full-screen { | |
201 top: 0; | |
202 border-top: 2px solid transparent; | |
203 background-color: #000; | |
204 width: 100%; | |
205 height: 100%; | |
206 overflow: hidden; | |
207 cursor: none; | |
208 -moz-user-select: none; | |
209 } | |
210 .pdfjs #viewerContainer.pdfPresentationMode:-ms-fullscreen { | |
211 top: 0!important; | |
212 border-top: 2px solid transparent; | |
213 width: 100%; | |
214 height: 100%; | |
215 overflow: hidden!important; | |
216 cursor: none; | |
217 -ms-user-select: none; | |
218 } | |
219 .pdfjs #viewerContainer.pdfPresentationMode:-ms-fullscreen::-ms-backdrop { | |
220 background-color: #000; | |
221 } | |
222 .pdfjs #viewerContainer.pdfPresentationMode:fullscreen { | |
223 top: 0; | |
224 border-top: 2px solid transparent; | |
225 background-color: #000; | |
226 width: 100%; | |
227 height: 100%; | |
228 overflow: hidden; | |
229 cursor: none; | |
230 -webkit-user-select: none; | |
231 -moz-user-select: none; | |
232 -ms-user-select: none; | |
233 } | |
234 .pdfjs .pdfPresentationMode:-webkit-full-screen a:not(.internalLink) { | |
235 display: none; | |
236 } | |
237 .pdfjs .pdfPresentationMode:-moz-full-screen a:not(.internalLink) { | |
238 display: none; | |
239 } | |
240 .pdfjs .pdfPresentationMode:-ms-fullscreen a:not(.internalLink) { | |
241 display: none !important; | |
242 } | |
243 .pdfjs .pdfPresentationMode:fullscreen a:not(.internalLink) { | |
244 display: none; | |
245 } | |
246 .pdfjs .pdfPresentationMode:-webkit-full-screen .textLayer > div { | |
247 cursor: none; | |
248 } | |
249 .pdfjs .pdfPresentationMode:-moz-full-screen .textLayer > div { | |
250 cursor: none; | |
251 } | |
252 .pdfjs .pdfPresentationMode:-ms-fullscreen .textLayer > div { | |
253 cursor: none; | |
254 } | |
255 .pdfjs .pdfPresentationMode:fullscreen .textLayer > div { | |
256 cursor: none; | |
257 } | |
258 .pdfjs .pdfPresentationMode.pdfPresentationModeControls > *, | |
259 .pdfjs .pdfPresentationMode.pdfPresentationModeControls .textLayer > div { | |
260 cursor: default; | |
261 } | |
262 .pdfjs .outerCenter { | |
263 pointer-events: none; | |
264 position: relative; | |
265 } | |
266 html[dir='ltr'] .pdfjs .outerCenter { | |
267 float: right; | |
268 right: 50%; | |
269 } | |
270 html[dir='rtl'] .pdfjs .outerCenter { | |
271 float: left; | |
272 left: 50%; | |
273 } | |
274 .pdfjs .innerCenter { | |
275 pointer-events: auto; | |
276 position: relative; | |
277 } | |
278 html[dir='ltr'] .pdfjs .innerCenter { | |
279 float: right; | |
280 right: -50%; | |
281 } | |
282 html[dir='rtl'] .pdfjs .innerCenter { | |
283 float: left; | |
284 left: -50%; | |
285 } | |
286 .pdfjs #outerContainer { | |
287 width: 100%; | |
288 height: 100%; | |
289 position: relative; | |
290 background-color: #404040; | |
291 background-image: url('../images/pdf.js-viewer/texture.png'); | |
292 } | |
293 .pdfjs #sidebarContainer { | |
294 position: absolute; | |
295 top: 0; | |
296 bottom: 0; | |
297 width: 200px; | |
298 visibility: hidden; | |
299 -webkit-transition-duration: 200ms; | |
300 -webkit-transition-timing-function: ease; | |
301 transition-duration: 200ms; | |
302 transition-timing-function: ease; | |
303 } | |
304 html[dir='ltr'] .pdfjs #sidebarContainer { | |
305 -webkit-transition-property: left; | |
306 transition-property: left; | |
307 left: -200px; | |
308 } | |
309 html[dir='rtl'] .pdfjs #sidebarContainer { | |
310 -webkit-transition-property: right; | |
311 transition-property: right; | |
312 right: -200px; | |
313 } | |
314 .pdfjs #outerContainer.sidebarMoving > #sidebarContainer, | |
315 .pdfjs #outerContainer.sidebarOpen > #sidebarContainer { | |
316 visibility: visible; | |
317 } | |
318 html[dir='ltr'] .pdfjs #outerContainer.sidebarOpen > #sidebarContainer { | |
319 left: 0; | |
320 } | |
321 html[dir='rtl'] .pdfjs #outerContainer.sidebarOpen > #sidebarContainer { | |
322 right: 0; | |
323 } | |
324 .pdfjs #mainContainer { | |
325 position: absolute; | |
326 top: 0; | |
327 right: 0; | |
328 bottom: 0; | |
329 left: 0; | |
330 min-width: 320px; | |
331 -webkit-transition-duration: 200ms; | |
332 -webkit-transition-timing-function: ease; | |
333 transition-duration: 200ms; | |
334 transition-timing-function: ease; | |
335 } | |
336 html[dir='ltr'] .pdfjs #outerContainer.sidebarOpen > #mainContainer { | |
337 -webkit-transition-property: left; | |
338 transition-property: left; | |
339 left: 200px; | |
340 } | |
341 html[dir='rtl'] .pdfjs #outerContainer.sidebarOpen > #mainContainer { | |
342 -webkit-transition-property: right; | |
343 transition-property: right; | |
344 right: 200px; | |
345 } | |
346 .pdfjs #sidebarContent { | |
347 top: 32px; | |
348 bottom: 0; | |
349 overflow: auto; | |
350 -webkit-overflow-scrolling: touch; | |
351 position: absolute; | |
352 width: 200px; | |
353 background-color: rgba(0, 0, 0, 0.1); | |
354 } | |
355 html[dir='ltr'] .pdfjs #sidebarContent { | |
356 left: 0; | |
357 box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.25); | |
358 } | |
359 html[dir='rtl'] .pdfjs #sidebarContent { | |
360 right: 0; | |
361 box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.25); | |
362 } | |
363 .pdfjs #viewerContainer { | |
364 overflow: auto; | |
365 -webkit-overflow-scrolling: touch; | |
366 position: absolute; | |
367 top: 32px; | |
368 right: 0; | |
369 bottom: 0; | |
370 left: 0; | |
371 outline: none; | |
372 } | |
373 html[dir='ltr'] .pdfjs #viewerContainer { | |
374 box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.05); | |
375 } | |
376 html[dir='rtl'] .pdfjs #viewerContainer { | |
377 box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.05); | |
378 } | |
379 .pdfjs .toolbar { | |
380 position: relative; | |
381 left: 0; | |
382 right: 0; | |
383 // z-index: 9999; | |
384 cursor: default; | |
385 } | |
386 .pdfjs #toolbarContainer { | |
387 width: 100%; | |
388 } | |
389 .pdfjs #toolbarSidebar { | |
390 width: 200px; | |
391 height: 32px; | |
392 background-color: #424242; | |
393 background-image: url('../images/pdf.js-viewer/texture.png'), linear-gradient(rgba(77, 77, 77, 0.99), rgba(64, 64, 64, 0.95)); | |
394 } | |
395 html[dir='ltr'] .pdfjs #toolbarSidebar { | |
396 box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(255, 255, 255, 0.05), 0 1px 0 rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.1); | |
397 } | |
398 html[dir='rtl'] .pdfjs #toolbarSidebar { | |
399 box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 1px 0 rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.1); | |
400 } | |
401 .pdfjs #toolbarContainer, | |
402 .pdfjs .findbar, | |
403 .pdfjs .secondaryToolbar { | |
404 position: relative; | |
405 height: 32px; | |
406 background-color: #474747; | |
407 background-image: url('../images/pdf.js-viewer/texture.png'), linear-gradient(rgba(82, 82, 82, 0.99), rgba(69, 69, 69, 0.95)); | |
408 } | |
409 html[dir='ltr'] .pdfjs #toolbarContainer, | |
410 .pdfjs .findbar, | |
411 .pdfjs .secondaryToolbar { | |
412 box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.08), inset 0 1px 1px rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(255, 255, 255, 0.05), 0 1px 0 rgba(0, 0, 0, 0.15), 0 1px 1px rgba(0, 0, 0, 0.1); | |
413 } | |
414 html[dir='rtl'] .pdfjs #toolbarContainer, | |
415 .pdfjs .findbar, | |
416 .pdfjs .secondaryToolbar { | |
417 box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.08), inset 0 1px 1px rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(255, 255, 255, 0.05), 0 1px 0 rgba(0, 0, 0, 0.15), 0 1px 1px rgba(0, 0, 0, 0.1); | |
418 } | |
419 .pdfjs #toolbarViewer { | |
420 height: 32px; | |
421 } | |
422 .pdfjs #loadingBar { | |
423 position: relative; | |
424 width: 100%; | |
425 height: 4px; | |
426 background-color: #333; | |
427 border-bottom: 1px solid #333; | |
428 } | |
429 .pdfjs #loadingBar .progress { | |
430 position: absolute; | |
431 top: 0; | |
432 left: 0; | |
433 width: 0; | |
434 height: 100%; | |
435 background-color: #ddd; | |
436 overflow: hidden; | |
437 -webkit-transition: width 200ms; | |
438 transition: width 200ms; | |
439 } | |
440 @-webkit-keyframes progressIndeterminate { | |
441 0% { | |
442 left: 0; | |
443 } | |
444 50% { | |
445 left: 100%; | |
446 } | |
447 100% { | |
448 left: 100%; | |
449 } | |
450 } | |
451 @keyframes progressIndeterminate { | |
452 0% { | |
453 left: 0; | |
454 } | |
455 50% { | |
456 left: 100%; | |
457 } | |
458 100% { | |
459 left: 100%; | |
460 } | |
461 } | |
462 .pdfjs #loadingBar .progress.indeterminate { | |
463 background-color: #999; | |
464 -webkit-transition: none; | |
465 transition: none; | |
466 } | |
467 .pdfjs #loadingBar .indeterminate .glimmer { | |
468 position: absolute; | |
469 top: 0; | |
470 left: 0; | |
471 height: 100%; | |
472 width: 50px; | |
473 background-image: linear-gradient(to right, #999 0%, #fff 50%, #999 100%); | |
474 background-size: 100% 100%; | |
475 background-repeat: no-repeat; | |
476 -webkit-animation: progressIndeterminate 2s linear infinite; | |
477 animation: progressIndeterminate 2s linear infinite; | |
478 } | |
479 .pdfjs .findbar, | |
480 .pdfjs .secondaryToolbar { | |
481 top: 32px; | |
482 position: absolute; | |
483 z-index: 10000; | |
484 height: 32px; | |
485 min-width: 16px; | |
486 padding: 0 6px; | |
487 margin: 4px 2px; | |
488 color: #d9d9d9; | |
489 font-size: 12px; | |
490 line-height: 14px; | |
491 text-align: left; | |
492 cursor: default; | |
493 } | |
494 html[dir='ltr'] .pdfjs .findbar { | |
495 left: 68px; | |
496 } | |
497 html[dir='rtl'] .pdfjs .findbar { | |
498 right: 68px; | |
499 } | |
500 .pdfjs .findbar label { | |
501 -webkit-user-select: none; | |
502 -moz-user-select: none; | |
503 } | |
504 .pdfjs #findInput[data-status="pending"] { | |
505 background-image: url('../images/pdf.js-viewer/loading-small.png'); | |
506 background-repeat: no-repeat; | |
507 background-position: right; | |
508 } | |
509 html[dir='rtl'] .pdfjs #findInput[data-status="pending"] { | |
510 background-position: left; | |
511 } | |
512 .pdfjs .secondaryToolbar { | |
513 padding: 6px; | |
514 height: auto; | |
515 z-index: 30000; | |
516 } | |
517 html[dir='ltr'] .pdfjs .secondaryToolbar { | |
518 right: 4px; | |
519 } | |
520 html[dir='rtl'] .pdfjs .secondaryToolbar { | |
521 left: 4px; | |
522 } | |
523 .pdfjs #secondaryToolbarButtonContainer { | |
524 max-width: 200px; | |
525 max-height: 400px; | |
526 overflow-y: auto; | |
527 -webkit-overflow-scrolling: touch; | |
528 margin-bottom: -4px; | |
529 } | |
530 .pdfjs .doorHanger, | |
531 .pdfjs .doorHangerRight { | |
532 border: 1px solid rgba(0, 0, 0, 0.5); | |
533 border-radius: 2px; | |
534 box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); | |
535 } | |
536 .pdfjs .doorHanger:after, | |
537 .pdfjs .doorHanger:before, | |
538 .pdfjs .doorHangerRight:after, | |
539 .pdfjs .doorHangerRight:before { | |
540 bottom: 100%; | |
541 border: solid transparent; | |
542 content: " "; | |
543 height: 0; | |
544 width: 0; | |
545 position: absolute; | |
546 pointer-events: none; | |
547 } | |
548 .pdfjs .doorHanger:after, | |
549 .pdfjs .doorHangerRight:after { | |
550 border-bottom-color: rgba(82, 82, 82, 0.99); | |
551 border-width: 8px; | |
552 } | |
553 .pdfjs .doorHanger:before, | |
554 .pdfjs .doorHangerRight:before { | |
555 border-bottom-color: rgba(0, 0, 0, 0.5); | |
556 border-width: 9px; | |
557 } | |
558 html[dir='ltr'] .pdfjs .doorHanger:after, | |
559 html[dir='rtl'] .pdfjs .doorHangerRight:after { | |
560 left: 13px; | |
561 margin-left: -8px; | |
562 } | |
563 html[dir='ltr'] .pdfjs .doorHanger:before, | |
564 html[dir='rtl'] .pdfjs .doorHangerRight:before { | |
565 left: 13px; | |
566 margin-left: -9px; | |
567 } | |
568 html[dir='rtl'] .pdfjs .doorHanger:after, | |
569 html[dir='ltr'] .pdfjs .doorHangerRight:after { | |
570 right: 13px; | |
571 margin-right: -8px; | |
572 } | |
573 html[dir='rtl'] .pdfjs .doorHanger:before, | |
574 html[dir='ltr'] .pdfjs .doorHangerRight:before { | |
575 right: 13px; | |
576 margin-right: -9px; | |
577 } | |
578 .pdfjs #findMsg { | |
579 font-style: italic; | |
580 color: #A6B7D0; | |
581 } | |
582 .pdfjs #findInput.notFound { | |
583 background-color: #f66; | |
584 } | |
585 html[dir='ltr'] .pdfjs #toolbarViewerLeft { | |
586 margin-left: -1px; | |
587 } | |
588 html[dir='rtl'] .pdfjs #toolbarViewerRight { | |
589 margin-right: -1px; | |
590 } | |
591 html[dir='ltr'] .pdfjs #toolbarViewerLeft, | |
592 html[dir='rtl'] .pdfjs #toolbarViewerRight { | |
593 position: absolute; | |
594 top: 0; | |
595 left: 0; | |
596 } | |
597 html[dir='ltr'] .pdfjs #toolbarViewerRight, | |
598 html[dir='rtl'] .pdfjs #toolbarViewerLeft { | |
599 position: absolute; | |
600 top: 0; | |
601 right: 0; | |
602 } | |
603 html[dir='ltr'] .pdfjs #toolbarViewerLeft > *, | |
604 html[dir='ltr'] .pdfjs #toolbarViewerMiddle > *, | |
605 html[dir='ltr'] .pdfjs #toolbarViewerRight > *, | |
606 html[dir='ltr'] .pdfjs .findbar > * { | |
607 position: relative; | |
608 float: left; | |
609 } | |
610 html[dir='rtl'] .pdfjs #toolbarViewerLeft > *, | |
611 html[dir='rtl'] .pdfjs #toolbarViewerMiddle > *, | |
612 html[dir='rtl'] .pdfjs #toolbarViewerRight > *, | |
613 html[dir='rtl'] .pdfjs .findbar > * { | |
614 position: relative; | |
615 float: right; | |
616 } | |
617 html[dir='ltr'] .pdfjs .splitToolbarButton { | |
618 margin: 3px 2px 4px 0; | |
619 display: inline-block; | |
620 } | |
621 html[dir='rtl'] .pdfjs .splitToolbarButton { | |
622 margin: 3px 0 4px 2px; | |
623 display: inline-block; | |
624 } | |
625 html[dir='ltr'] .pdfjs .splitToolbarButton > .toolbarButton { | |
626 border-radius: 0; | |
627 float: left; | |
628 } | |
629 html[dir='rtl'] .pdfjs .splitToolbarButton > .toolbarButton { | |
630 border-radius: 0; | |
631 float: right; | |
632 } | |
633 .pdfjs .toolbarButton, | |
634 .pdfjs .secondaryToolbarButton, | |
635 .pdfjs .overlayButton { | |
636 border: 0 none; | |
637 background: none; | |
638 width: 32px; | |
639 height: 25px; | |
640 } | |
641 .pdfjs .toolbarButton > span { | |
642 display: inline-block; | |
643 width: 0; | |
644 height: 0; | |
645 overflow: hidden; | |
646 } | |
647 .pdfjs .toolbarButton[disabled], | |
648 .pdfjs .secondaryToolbarButton[disabled], | |
649 .pdfjs .overlayButton[disabled] { | |
650 opacity: 0.5; | |
651 } | |
652 .pdfjs .toolbarButton.group { | |
653 margin-right: 0; | |
654 } | |
655 .pdfjs .splitToolbarButton.toggled .toolbarButton { | |
656 margin: 0; | |
657 } | |
658 .pdfjs .splitToolbarButton:hover > .toolbarButton, | |
659 .pdfjs .splitToolbarButton:focus > .toolbarButton, | |
660 .pdfjs .splitToolbarButton.toggled > .toolbarButton, | |
661 .pdfjs .toolbarButton.textButton { | |
662 background-color: rgba(0, 0, 0, 0.12); | |
663 background-image: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0)); | |
664 background-clip: padding-box; | |
665 border: 1px solid rgba(0, 0, 0, 0.35); | |
666 border-color: rgba(0, 0, 0, 0.32) rgba(0, 0, 0, 0.38) rgba(0, 0, 0, 0.42); | |
667 box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 0 rgba(255, 255, 255, 0.05); | |
668 -webkit-transition-property: background-color, border-color, box-shadow; | |
669 -webkit-transition-duration: 150ms; | |
670 -webkit-transition-timing-function: ease; | |
671 transition-property: background-color, border-color, box-shadow; | |
672 transition-duration: 150ms; | |
673 transition-timing-function: ease; | |
674 } | |
675 .pdfjs .splitToolbarButton > .toolbarButton:hover, | |
676 .pdfjs .splitToolbarButton > .toolbarButton:focus, | |
677 .pdfjs .dropdownToolbarButton:hover, | |
678 .pdfjs .overlayButton:hover, | |
679 .pdfjs .toolbarButton.textButton:hover, | |
680 .pdfjs .toolbarButton.textButton:focus { | |
681 background-color: rgba(0, 0, 0, 0.2); | |
682 box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 0 1px rgba(0, 0, 0, 0.05); | |
683 z-index: 199; | |
684 } | |
685 .pdfjs .splitToolbarButton > .toolbarButton { | |
686 position: relative; | |
687 } | |
688 html[dir='ltr'] .pdfjs .splitToolbarButton > .toolbarButton:first-child, | |
689 html[dir='rtl'] .pdfjs .splitToolbarButton > .toolbarButton:last-child { | |
690 position: relative; | |
691 margin: 0; | |
692 margin-right: -1px; | |
693 border-top-left-radius: 2px; | |
694 border-bottom-left-radius: 2px; | |
695 border-right-color: transparent; | |
696 } | |
697 html[dir='ltr'] .pdfjs .splitToolbarButton > .toolbarButton:last-child, | |
698 html[dir='rtl'] .pdfjs .splitToolbarButton > .toolbarButton:first-child { | |
699 position: relative; | |
700 margin: 0; | |
701 margin-left: -1px; | |
702 border-top-right-radius: 2px; | |
703 border-bottom-right-radius: 2px; | |
704 border-left-color: transparent; | |
705 } | |
706 .pdfjs .splitToolbarButtonSeparator { | |
707 padding: 8px 0; | |
708 width: 1px; | |
709 background-color: rgba(0, 0, 0, 0.5); | |
710 z-index: 99; | |
711 box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); | |
712 display: inline-block; | |
713 margin: 5px 0; | |
714 } | |
715 html[dir='ltr'] .pdfjs .splitToolbarButtonSeparator { | |
716 float: left; | |
717 } | |
718 html[dir='rtl'] .pdfjs .splitToolbarButtonSeparator { | |
719 float: right; | |
720 } | |
721 .pdfjs .splitToolbarButton:hover > .splitToolbarButtonSeparator, | |
722 .pdfjs .splitToolbarButton.toggled > .splitToolbarButtonSeparator { | |
723 padding: 12px 0; | |
724 margin: 1px 0; | |
725 box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03); | |
726 -webkit-transition-property: padding; | |
727 -webkit-transition-duration: 10ms; | |
728 -webkit-transition-timing-function: ease; | |
729 transition-property: padding; | |
730 transition-duration: 10ms; | |
731 transition-timing-function: ease; | |
732 } | |
733 .pdfjs .toolbarButton, | |
734 .pdfjs .dropdownToolbarButton, | |
735 .pdfjs .secondaryToolbarButton, | |
736 .pdfjs .overlayButton { | |
737 min-width: 16px; | |
738 padding: 2px 6px 0; | |
739 border: 1px solid transparent; | |
740 border-radius: 2px; | |
741 color: rgba(255, 255, 255, 0.8); | |
742 font-size: 12px; | |
743 line-height: 14px; | |
744 -webkit-user-select: none; | |
745 -moz-user-select: none; | |
746 -ms-user-select: none; | |
747 cursor: default; | |
748 -webkit-transition-property: background-color, border-color, box-shadow; | |
749 -webkit-transition-duration: 150ms; | |
750 -webkit-transition-timing-function: ease; | |
751 transition-property: background-color, border-color, box-shadow; | |
752 transition-duration: 150ms; | |
753 transition-timing-function: ease; | |
754 } | |
755 html[dir='ltr'] .pdfjs .toolbarButton, | |
756 html[dir='ltr'] .pdfjs .overlayButton, | |
757 html[dir='ltr'] .pdfjs .dropdownToolbarButton { | |
758 margin: 3px 2px 4px 0; | |
759 } | |
760 html[dir='rtl'] .pdfjs .toolbarButton, | |
761 html[dir='rtl'] .pdfjs .overlayButton, | |
762 html[dir='rtl'] .pdfjs .dropdownToolbarButton { | |
763 margin: 3px 0 4px 2px; | |
764 } | |
765 .pdfjs .toolbarButton:hover, | |
766 .pdfjs .toolbarButton:focus, | |
767 .pdfjs .dropdownToolbarButton, | |
768 .pdfjs .overlayButton, | |
769 .pdfjs .secondaryToolbarButton:hover, | |
770 .pdfjs .secondaryToolbarButton:focus { | |
771 background-color: rgba(0, 0, 0, 0.12); | |
772 background-image: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0)); | |
773 background-clip: padding-box; | |
774 border: 1px solid rgba(0, 0, 0, 0.35); | |
775 border-color: rgba(0, 0, 0, 0.32) rgba(0, 0, 0, 0.38) rgba(0, 0, 0, 0.42); | |
776 box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 0 rgba(255, 255, 255, 0.05); | |
777 } | |
778 .pdfjs .toolbarButton:hover:active, | |
779 .pdfjs .overlayButton:hover:active, | |
780 .pdfjs .dropdownToolbarButton:hover:active, | |
781 .pdfjs .secondaryToolbarButton:hover:active { | |
782 background-color: rgba(0, 0, 0, 0.2); | |
783 background-image: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0)); | |
784 border-color: rgba(0, 0, 0, 0.35) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.45); | |
785 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1) inset, 0 0 1px rgba(0, 0, 0, 0.2) inset, 0 1px 0 rgba(255, 255, 255, 0.05); | |
786 -webkit-transition-property: background-color, border-color, box-shadow; | |
787 -webkit-transition-duration: 10ms; | |
788 -webkit-transition-timing-function: linear; | |
789 transition-property: background-color, border-color, box-shadow; | |
790 transition-duration: 10ms; | |
791 transition-timing-function: linear; | |
792 } | |
793 .pdfjs .toolbarButton.toggled, | |
794 .pdfjs .splitToolbarButton.toggled > .toolbarButton.toggled, | |
795 .pdfjs .secondaryToolbarButton.toggled { | |
796 background-color: rgba(0, 0, 0, 0.3); | |
797 background-image: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0)); | |
798 border-color: rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.45) rgba(0, 0, 0, 0.5); | |
799 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1) inset, 0 0 1px rgba(0, 0, 0, 0.2) inset, 0 1px 0 rgba(255, 255, 255, 0.05); | |
800 -webkit-transition-property: background-color, border-color, box-shadow; | |
801 -webkit-transition-duration: 10ms; | |
802 -webkit-transition-timing-function: linear; | |
803 transition-property: background-color, border-color, box-shadow; | |
804 transition-duration: 10ms; | |
805 transition-timing-function: linear; | |
806 } | |
807 .pdfjs .toolbarButton.toggled:hover:active, | |
808 .pdfjs .splitToolbarButton.toggled > .toolbarButton.toggled:hover:active, | |
809 .pdfjs .secondaryToolbarButton.toggled:hover:active { | |
810 background-color: rgba(0, 0, 0, 0.4); | |
811 border-color: rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.5) rgba(0, 0, 0, 0.55); | |
812 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2) inset, 0 0 1px rgba(0, 0, 0, 0.3) inset, 0 1px 0 rgba(255, 255, 255, 0.05); | |
813 } | |
814 .pdfjs .dropdownToolbarButton { | |
815 width: 120px; | |
816 max-width: 120px; | |
817 padding: 0; | |
818 overflow: hidden; | |
819 background: url('../images/pdf.js-viewer/toolbarButton-menuArrows.png') no-repeat; | |
820 } | |
821 html[dir='ltr'] .pdfjs .dropdownToolbarButton { | |
822 background-position: 95%; | |
823 } | |
824 html[dir='rtl'] .pdfjs .dropdownToolbarButton { | |
825 background-position: 5%; | |
826 } | |
827 .pdfjs .dropdownToolbarButton > select { | |
828 min-width: 140px; | |
829 font-size: 12px; | |
830 color: #f2f2f2; | |
831 margin: 0; | |
832 padding: 3px 2px 2px; | |
833 border: none; | |
834 background: rgba(0, 0, 0, 0); | |
835 } | |
836 .pdfjs .dropdownToolbarButton > select > option { | |
837 background: #3d3d3d; | |
838 } | |
839 .pdfjs #customScaleOption { | |
840 display: none; | |
841 } | |
842 .pdfjs #pageWidthOption { | |
843 border-bottom: 1px rgba(255, 255, 255, 0.5) solid; | |
844 } | |
845 html[dir='ltr'] .pdfjs .splitToolbarButton:first-child, | |
846 html[dir='ltr'] .pdfjs .toolbarButton:first-child, | |
847 html[dir='rtl'] .pdfjs .splitToolbarButton:last-child, | |
848 html[dir='rtl'] .pdfjs .toolbarButton:last-child { | |
849 margin-left: 4px; | |
850 } | |
851 html[dir='ltr'] .pdfjs .splitToolbarButton:last-child, | |
852 html[dir='ltr'] .pdfjs .toolbarButton:last-child, | |
853 html[dir='rtl'] .pdfjs .splitToolbarButton:first-child, | |
854 html[dir='rtl'] .pdfjs .toolbarButton:first-child { | |
855 margin-right: 4px; | |
856 } | |
857 .pdfjs .toolbarButtonSpacer { | |
858 width: 30px; | |
859 display: inline-block; | |
860 height: 1px; | |
861 } | |
862 .pdfjs .toolbarButtonFlexibleSpacer { | |
863 -webkit-box-flex: 1; | |
864 -moz-box-flex: 1; | |
865 min-width: 30px; | |
866 } | |
867 html[dir='ltr'] .pdfjs #findPrevious { | |
868 margin-left: 3px; | |
869 } | |
870 html[dir='ltr'] .pdfjs #findNext { | |
871 margin-right: 3px; | |
872 } | |
873 html[dir='rtl'] .pdfjs #findPrevious { | |
874 margin-right: 3px; | |
875 } | |
876 html[dir='rtl'] .pdfjs #findNext { | |
877 margin-left: 3px; | |
878 } | |
879 .pdfjs .toolbarButton::before, | |
880 .pdfjs .secondaryToolbarButton::before { | |
881 position: absolute; | |
882 display: inline-block; | |
883 top: 4px; | |
884 left: 7px; | |
885 } | |
886 html[dir="ltr"] .pdfjs .secondaryToolbarButton::before { | |
887 left: 4px; | |
888 } | |
889 html[dir="rtl"] .pdfjs .secondaryToolbarButton::before { | |
890 right: 4px; | |
891 } | |
892 html[dir='ltr'] .pdfjs .toolbarButton#sidebarToggle::before { | |
893 content: url('../images/pdf.js-viewer/toolbarButton-sidebarToggle.png'); | |
894 } | |
895 html[dir='rtl'] .pdfjs .toolbarButton#sidebarToggle::before { | |
896 content: url('../images/pdf.js-viewer/toolbarButton-sidebarToggle-rtl.png'); | |
897 } | |
898 html[dir='ltr'] .pdfjs .toolbarButton#secondaryToolbarToggle::before { | |
899 content: url('../images/pdf.js-viewer/toolbarButton-secondaryToolbarToggle.png'); | |
900 } | |
901 html[dir='rtl'] .pdfjs .toolbarButton#secondaryToolbarToggle::before { | |
902 content: url('../images/pdf.js-viewer/toolbarButton-secondaryToolbarToggle-rtl.png'); | |
903 } | |
904 html[dir='ltr'] .pdfjs .toolbarButton.findPrevious::before { | |
905 content: url('../images/pdf.js-viewer/findbarButton-previous.png'); | |
906 } | |
907 html[dir='rtl'] .pdfjs .toolbarButton.findPrevious::before { | |
908 content: url('../images/pdf.js-viewer/findbarButton-previous-rtl.png'); | |
909 } | |
910 html[dir='ltr'] .pdfjs .toolbarButton.findNext::before { | |
911 content: url('../images/pdf.js-viewer/findbarButton-next.png'); | |
912 } | |
913 html[dir='rtl'] .pdfjs .toolbarButton.findNext::before { | |
914 content: url('../images/pdf.js-viewer/findbarButton-next-rtl.png'); | |
915 } | |
916 html[dir='ltr'] .pdfjs .toolbarButton.pageUp::before { | |
917 content: url('../images/pdf.js-viewer/toolbarButton-pageUp.png'); | |
918 } | |
919 html[dir='rtl'] .pdfjs .toolbarButton.pageUp::before { | |
920 content: url('../images/pdf.js-viewer/toolbarButton-pageUp-rtl.png'); | |
921 } | |
922 html[dir='ltr'] .pdfjs .toolbarButton.pageDown::before { | |
923 content: url('../images/pdf.js-viewer/toolbarButton-pageDown.png'); | |
924 } | |
925 html[dir='rtl'] .pdfjs .toolbarButton.pageDown::before { | |
926 content: url('../images/pdf.js-viewer/toolbarButton-pageDown-rtl.png'); | |
927 } | |
928 .pdfjs .toolbarButton.zoomOut::before { | |
929 content: url('../images/pdf.js-viewer/toolbarButton-zoomOut.png'); | |
930 } | |
931 .pdfjs .toolbarButton.zoomIn::before { | |
932 content: url('../images/pdf.js-viewer/toolbarButton-zoomIn.png'); | |
933 } | |
934 .pdfjs .toolbarButton.presentationMode::before, | |
935 .pdfjs .secondaryToolbarButton.presentationMode::before { | |
936 content: url('../images/pdf.js-viewer/toolbarButton-presentationMode.png'); | |
937 } | |
938 .pdfjs .toolbarButton.print::before, | |
939 .pdfjs .secondaryToolbarButton.print::before { | |
940 content: url('../images/pdf.js-viewer/toolbarButton-print.png'); | |
941 } | |
942 .pdfjs .toolbarButton.openFile::before, | |
943 .pdfjs .secondaryToolbarButton.openFile::before { | |
944 content: url('../images/pdf.js-viewer/toolbarButton-openFile.png'); | |
945 } | |
946 .pdfjs .toolbarButton.download::before, | |
947 .pdfjs .secondaryToolbarButton.download::before { | |
948 content: url('../images/pdf.js-viewer/toolbarButton-download.png'); | |
949 } | |
950 .pdfjs .toolbarButton.bookmark, | |
951 .pdfjs .secondaryToolbarButton.bookmark { | |
952 -webkit-box-sizing: border-box; | |
953 -moz-box-sizing: border-box; | |
954 box-sizing: border-box; | |
955 outline: none; | |
956 padding-top: 4px; | |
957 text-decoration: none; | |
958 } | |
959 .pdfjs .secondaryToolbarButton.bookmark { | |
960 padding-top: 5px; | |
961 } | |
962 .pdfjs .bookmark[href='#'] { | |
963 opacity: .5; | |
964 pointer-events: none; | |
965 } | |
966 .pdfjs .toolbarButton.bookmark::before, | |
967 .pdfjs .secondaryToolbarButton.bookmark::before { | |
968 content: url('../images/pdf.js-viewer/toolbarButton-bookmark.png'); | |
969 } | |
970 .pdfjs #viewThumbnail.toolbarButton::before { | |
971 content: url('../images/pdf.js-viewer/toolbarButton-viewThumbnail.png'); | |
972 } | |
973 html[dir="ltr"] .pdfjs #viewOutline.toolbarButton::before { | |
974 content: url('../images/pdf.js-viewer/toolbarButton-viewOutline.png'); | |
975 } | |
976 html[dir="rtl"] .pdfjs #viewOutline.toolbarButton::before { | |
977 content: url('../images/pdf.js-viewer/toolbarButton-viewOutline-rtl.png'); | |
978 } | |
979 .pdfjs #viewAttachments.toolbarButton::before { | |
980 content: url('../images/pdf.js-viewer/toolbarButton-viewAttachments.png'); | |
981 } | |
982 .pdfjs #viewFind.toolbarButton::before { | |
983 content: url('../images/pdf.js-viewer/toolbarButton-search.png'); | |
984 } | |
985 .pdfjs .secondaryToolbarButton { | |
986 position: relative; | |
987 margin: 0 0 4px; | |
988 padding: 3px 0 1px; | |
989 height: auto; | |
990 min-height: 25px; | |
991 width: auto; | |
992 min-width: 100%; | |
993 white-space: normal; | |
994 } | |
995 html[dir="ltr"] .pdfjs .secondaryToolbarButton { | |
996 padding-left: 24px; | |
997 text-align: left; | |
998 } | |
999 html[dir="rtl"] .pdfjs .secondaryToolbarButton { | |
1000 padding-right: 24px; | |
1001 text-align: right; | |
1002 } | |
1003 html[dir="ltr"] .pdfjs .secondaryToolbarButton.bookmark { | |
1004 padding-left: 27px; | |
1005 } | |
1006 html[dir="rtl"] .pdfjs .secondaryToolbarButton.bookmark { | |
1007 padding-right: 27px; | |
1008 } | |
1009 html[dir="ltr"] .pdfjs .secondaryToolbarButton > span { | |
1010 padding-right: 4px; | |
1011 } | |
1012 html[dir="rtl"] .pdfjs .secondaryToolbarButton > span { | |
1013 padding-left: 4px; | |
1014 } | |
1015 .pdfjs .secondaryToolbarButton.firstPage::before { | |
1016 content: url('../images/pdf.js-viewer/secondaryToolbarButton-firstPage.png'); | |
1017 } | |
1018 .pdfjs .secondaryToolbarButton.lastPage::before { | |
1019 content: url('../images/pdf.js-viewer/secondaryToolbarButton-lastPage.png'); | |
1020 } | |
1021 .pdfjs .secondaryToolbarButton.rotateCcw::before { | |
1022 content: url('../images/pdf.js-viewer/secondaryToolbarButton-rotateCcw.png'); | |
1023 } | |
1024 .pdfjs .secondaryToolbarButton.rotateCw::before { | |
1025 content: url('../images/pdf.js-viewer/secondaryToolbarButton-rotateCw.png'); | |
1026 } | |
1027 .pdfjs .secondaryToolbarButton.handTool::before { | |
1028 content: url('../images/pdf.js-viewer/secondaryToolbarButton-handTool.png'); | |
1029 } | |
1030 .pdfjs .secondaryToolbarButton.documentProperties::before { | |
1031 content: url('../images/pdf.js-viewer/secondaryToolbarButton-documentProperties.png'); | |
1032 } | |
1033 .pdfjs .verticalToolbarSeparator { | |
1034 display: block; | |
1035 padding: 8px 0; | |
1036 margin: 8px 4px; | |
1037 width: 1px; | |
1038 background-color: rgba(0, 0, 0, 0.5); | |
1039 box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); | |
1040 } | |
1041 html[dir='ltr'] .pdfjs .verticalToolbarSeparator { | |
1042 margin-left: 2px; | |
1043 } | |
1044 html[dir='rtl'] .pdfjs .verticalToolbarSeparator { | |
1045 margin-right: 2px; | |
1046 } | |
1047 .pdfjs .horizontalToolbarSeparator { | |
1048 display: block; | |
1049 margin: 0 0 4px; | |
1050 height: 1px; | |
1051 width: 100%; | |
1052 background-color: rgba(0, 0, 0, 0.5); | |
1053 box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); | |
1054 } | |
1055 .pdfjs .toolbarField { | |
1056 padding: 3px 6px; | |
1057 margin: 4px 0; | |
1058 border: 1px solid transparent; | |
1059 border-radius: 2px; | |
1060 background-color: rgba(255, 255, 255, 0.09); | |
1061 background-image: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0)); | |
1062 background-clip: padding-box; | |
1063 border: 1px solid rgba(0, 0, 0, 0.35); | |
1064 border-color: rgba(0, 0, 0, 0.32) rgba(0, 0, 0, 0.38) rgba(0, 0, 0, 0.42); | |
1065 box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05) inset, 0 1px 0 rgba(255, 255, 255, 0.05); | |
1066 color: #f2f2f2; | |
1067 font-size: 12px; | |
1068 line-height: 14px; | |
1069 outline-style: none; | |
1070 transition-property: background-color, border-color, box-shadow; | |
1071 transition-duration: 150ms; | |
1072 transition-timing-function: ease; | |
1073 } | |
1074 .pdfjs .toolbarField[type=checkbox] { | |
1075 display: inline-block; | |
1076 margin: 8px 0; | |
1077 } | |
1078 .pdfjs .toolbarField.pageNumber { | |
1079 -moz-appearance: textfield; | |
1080 min-width: 16px; | |
1081 text-align: right; | |
1082 width: 40px; | |
1083 } | |
1084 .pdfjs .toolbarField.pageNumber.visiblePageIsLoading { | |
1085 background-image: url('../images/pdf.js-viewer/loading-small.png'); | |
1086 background-repeat: no-repeat; | |
1087 background-position: 1px; | |
1088 } | |
1089 .pdfjs .toolbarField.pageNumber::-webkit-inner-spin-button, | |
1090 .pdfjs .toolbarField.pageNumber::-webkit-outer-spin-button { | |
1091 -webkit-appearance: none; | |
1092 margin: 0; | |
1093 } | |
1094 .pdfjs .toolbarField:hover { | |
1095 background-color: rgba(255, 255, 255, 0.11); | |
1096 border-color: rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.43) rgba(0, 0, 0, 0.45); | |
1097 } | |
1098 .pdfjs .toolbarField:focus { | |
1099 background-color: rgba(255, 255, 255, 0.15); | |
1100 border-color: rgba(77, 184, 255, 0.8) rgba(77, 184, 255, 0.85) rgba(77, 184, 255, 0.9); | |
1101 } | |
1102 .pdfjs .toolbarLabel { | |
1103 min-width: 16px; | |
1104 padding: 3px 6px 3px 2px; | |
1105 margin: 4px 2px 4px 0; | |
1106 border: 1px solid transparent; | |
1107 border-radius: 2px; | |
1108 color: #d9d9d9; | |
1109 font-size: 12px; | |
1110 line-height: 14px; | |
1111 text-align: left; | |
1112 -webkit-user-select: none; | |
1113 -moz-user-select: none; | |
1114 cursor: default; | |
1115 } | |
1116 .pdfjs #thumbnailView { | |
1117 position: absolute; | |
1118 width: 120px; | |
1119 top: 0; | |
1120 bottom: 0; | |
1121 padding: 10px 40px 0; | |
1122 overflow: auto; | |
1123 -webkit-overflow-scrolling: touch; | |
1124 } | |
1125 .pdfjs .thumbnail { | |
1126 float: left; | |
1127 margin-bottom: 5px; | |
1128 } | |
1129 .pdfjs #thumbnailView > a:last-of-type > .thumbnail { | |
1130 margin-bottom: 10px; | |
1131 } | |
1132 .pdfjs #thumbnailView > a:last-of-type > .thumbnail:not([data-loaded]) { | |
1133 margin-bottom: 9px; | |
1134 } | |
1135 .pdfjs .thumbnail:not([data-loaded]) { | |
1136 border: 1px dashed rgba(255, 255, 255, 0.5); | |
1137 margin: -1px -1px 4px; | |
1138 } | |
1139 .pdfjs .thumbnailImage { | |
1140 border: 1px solid transparent; | |
1141 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3); | |
1142 opacity: .8; | |
1143 z-index: 99; | |
1144 background-color: #fff; | |
1145 background-clip: content-box; | |
1146 } | |
1147 .pdfjs .thumbnailSelectionRing { | |
1148 border-radius: 2px; | |
1149 padding: 7px; | |
1150 } | |
1151 .pdfjs a:focus > .thumbnail > .thumbnailSelectionRing > .thumbnailImage, | |
1152 .pdfjs .thumbnail:hover > .thumbnailSelectionRing > .thumbnailImage { | |
1153 opacity: 0.9; | |
1154 } | |
1155 .pdfjs a:focus > .thumbnail > .thumbnailSelectionRing, | |
1156 .pdfjs .thumbnail:hover > .thumbnailSelectionRing { | |
1157 background-color: rgba(255, 255, 255, 0.15); | |
1158 background-image: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0)); | |
1159 background-clip: padding-box; | |
1160 box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 0 1px rgba(255, 255, 255, 0.2) inset, 0 0 1px rgba(0, 0, 0, 0.2); | |
1161 color: rgba(255, 255, 255, 0.9); | |
1162 } | |
1163 .pdfjs .thumbnail.selected > .thumbnailSelectionRing > .thumbnailImage { | |
1164 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5); | |
1165 opacity: 1; | |
1166 } | |
1167 .pdfjs .thumbnail.selected > .thumbnailSelectionRing { | |
1168 background-color: rgba(255, 255, 255, 0.3); | |
1169 background-image: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0)); | |
1170 background-clip: padding-box; | |
1171 box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 0 1px rgba(0, 0, 0, 0.2); | |
1172 color: #ffffff; | |
1173 } | |
1174 .pdfjs #outlineView, | |
1175 .pdfjs #attachmentsView { | |
1176 position: absolute; | |
1177 width: 192px; | |
1178 top: 0; | |
1179 bottom: 0; | |
1180 overflow: auto; | |
1181 -webkit-overflow-scrolling: touch; | |
1182 -webkit-user-select: none; | |
1183 -moz-user-select: none; | |
1184 } | |
1185 .pdfjs #outlineView { | |
1186 padding: 4px 4px 0; | |
1187 } | |
1188 .pdfjs #attachmentsView { | |
1189 padding: 3px 4px 0; | |
1190 } | |
1191 html[dir='ltr'] .pdfjs .outlineItem > .outlineItems { | |
1192 margin-left: 20px; | |
1193 } | |
1194 html[dir='rtl'] .pdfjs .outlineItem > .outlineItems { | |
1195 margin-right: 20px; | |
1196 } | |
1197 .pdfjs .outlineItem > a, | |
1198 .pdfjs .attachmentsItem > button { | |
1199 text-decoration: none; | |
1200 display: inline-block; | |
1201 min-width: 95%; | |
1202 height: auto; | |
1203 margin-bottom: 1px; | |
1204 border-radius: 2px; | |
1205 color: rgba(255, 255, 255, 0.8); | |
1206 font-size: 13px; | |
1207 line-height: 15px; | |
1208 -moz-user-select: none; | |
1209 white-space: normal; | |
1210 } | |
1211 .pdfjs .attachmentsItem > button { | |
1212 border: 0 none; | |
1213 background: none; | |
1214 cursor: pointer; | |
1215 width: 100%; | |
1216 } | |
1217 html[dir='ltr'] .pdfjs .outlineItem > a { | |
1218 padding: 2px 0 5px 10px; | |
1219 } | |
1220 html[dir='ltr'] .pdfjs .attachmentsItem > button { | |
1221 padding: 2px 0 3px 7px; | |
1222 text-align: left; | |
1223 } | |
1224 html[dir='rtl'] .pdfjs .outlineItem > a { | |
1225 padding: 2px 10px 5px 0; | |
1226 } | |
1227 html[dir='rtl'] .pdfjs .attachmentsItem > button { | |
1228 padding: 2px 7px 3px 0; | |
1229 text-align: right; | |
1230 } | |
1231 .pdfjs .outlineItem > a:hover, | |
1232 .pdfjs .attachmentsItem > button:hover { | |
1233 background-color: rgba(255, 255, 255, 0.02); | |
1234 background-image: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0)); | |
1235 background-clip: padding-box; | |
1236 box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 0 1px rgba(255, 255, 255, 0.2) inset, 0 0 1px rgba(0, 0, 0, 0.2); | |
1237 color: rgba(255, 255, 255, 0.9); | |
1238 } | |
1239 .pdfjs .outlineItem.selected { | |
1240 background-color: rgba(255, 255, 255, 0.08); | |
1241 background-image: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0)); | |
1242 background-clip: padding-box; | |
1243 box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 0 1px rgba(0, 0, 0, 0.2); | |
1244 color: #ffffff; | |
1245 } | |
1246 .pdfjs .noResults { | |
1247 font-size: 12px; | |
1248 color: rgba(255, 255, 255, 0.8); | |
1249 font-style: italic; | |
1250 cursor: default; | |
1251 } | |
1252 .pdfjs ::selection { | |
1253 background: rgba(0, 0, 255, 0.3); | |
1254 } | |
1255 .pdfjs ::-moz-selection { | |
1256 background: rgba(0, 0, 255, 0.3); | |
1257 } | |
1258 .pdfjs #errorWrapper { | |
1259 background: none repeat scroll 0 0 #F55; | |
1260 color: #fff; | |
1261 left: 0; | |
1262 position: absolute; | |
1263 right: 0; | |
1264 z-index: 1000; | |
1265 padding: 3px; | |
1266 font-size: 0.8em; | |
1267 } | |
1268 .pdfjs .loadingInProgress #errorWrapper { | |
1269 top: 37px; | |
1270 } | |
1271 .pdfjs #errorMessageLeft { | |
1272 float: left; | |
1273 } | |
1274 .pdfjs #errorMessageRight { | |
1275 float: right; | |
1276 } | |
1277 .pdfjs #errorMoreInfo { | |
1278 background-color: #FFF; | |
1279 color: #000; | |
1280 padding: 3px; | |
1281 margin: 3px; | |
1282 width: 98%; | |
1283 } | |
1284 .pdfjs .overlayButton { | |
1285 width: auto; | |
1286 margin: 3px 4px 2px!important; | |
1287 padding: 2px 6px 3px; | |
1288 } | |
1289 .pdfjs #overlayContainer { | |
1290 display: table; | |
1291 position: absolute; | |
1292 width: 100%; | |
1293 height: 100%; | |
1294 background-color: rgba(0, 0, 0, 0.2); | |
1295 z-index: 40000; | |
1296 } | |
1297 .pdfjs #overlayContainer > * { | |
1298 overflow: auto; | |
1299 -webkit-overflow-scrolling: touch; | |
1300 } | |
1301 .pdfjs #overlayContainer > .container { | |
1302 display: table-cell; | |
1303 vertical-align: middle; | |
1304 text-align: center; | |
1305 } | |
1306 .pdfjs #overlayContainer > .container > .dialog { | |
1307 display: inline-block; | |
1308 padding: 15px; | |
1309 border-spacing: 4px; | |
1310 color: #d9d9d9; | |
1311 font-size: 12px; | |
1312 line-height: 14px; | |
1313 background-color: #474747; | |
1314 background-image: url('../images/pdf.js-viewer/texture.png'), linear-gradient(rgba(82, 82, 82, 0.99), rgba(69, 69, 69, 0.95)); | |
1315 box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.08), inset 0 1px 1px rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(255, 255, 255, 0.05), 0 1px 0 rgba(0, 0, 0, 0.15), 0 1px 1px rgba(0, 0, 0, 0.1); | |
1316 border: 1px solid rgba(0, 0, 0, 0.5); | |
1317 border-radius: 4px; | |
1318 box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); | |
1319 } | |
1320 .pdfjs .dialog > .row { | |
1321 display: table-row; | |
1322 } | |
1323 .pdfjs .dialog > .row > * { | |
1324 display: table-cell; | |
1325 } | |
1326 .pdfjs .dialog .toolbarField { | |
1327 margin: 5px 0; | |
1328 } | |
1329 .pdfjs .dialog .separator { | |
1330 display: block; | |
1331 margin: 4px 0; | |
1332 height: 1px; | |
1333 width: 100%; | |
1334 background-color: rgba(0, 0, 0, 0.5); | |
1335 box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); | |
1336 } | |
1337 .pdfjs .dialog .buttonRow { | |
1338 text-align: center; | |
1339 vertical-align: middle; | |
1340 } | |
1341 .pdfjs #passwordOverlay > .dialog { | |
1342 text-align: center; | |
1343 } | |
1344 .pdfjs #passwordOverlay .toolbarField { | |
1345 width: 200px; | |
1346 } | |
1347 .pdfjs #documentPropertiesOverlay > .dialog { | |
1348 text-align: left; | |
1349 } | |
1350 .pdfjs #documentPropertiesOverlay .row > * { | |
1351 min-width: 100px; | |
1352 } | |
1353 html[dir='ltr'] .pdfjs #documentPropertiesOverlay .row > * { | |
1354 text-align: left; | |
1355 } | |
1356 html[dir='rtl'] .pdfjs #documentPropertiesOverlay .row > * { | |
1357 text-align: right; | |
1358 } | |
1359 .pdfjs #documentPropertiesOverlay .row > span { | |
1360 width: 125px; | |
1361 word-wrap: break-word; | |
1362 } | |
1363 .pdfjs #documentPropertiesOverlay .row > p { | |
1364 max-width: 225px; | |
1365 word-wrap: break-word; | |
1366 } | |
1367 .pdfjs #documentPropertiesOverlay .buttonRow { | |
1368 margin-top: 10px; | |
1369 } | |
1370 .pdfjs .clearBoth { | |
1371 clear: both; | |
1372 } | |
1373 .pdfjs .fileInput { | |
1374 background: #fff; | |
1375 color: #000; | |
1376 margin-top: 5px; | |
1377 visibility: hidden; | |
1378 position: fixed; | |
1379 right: 0; | |
1380 top: 0; | |
1381 } | |
1382 .pdfjs #PDFBug { | |
1383 background: none repeat scroll 0 0 #fff; | |
1384 border: 1px solid #666; | |
1385 position: fixed; | |
1386 top: 32px; | |
1387 right: 0; | |
1388 bottom: 0; | |
1389 font-size: 10px; | |
1390 padding: 0; | |
1391 width: 300px; | |
1392 } | |
1393 .pdfjs #PDFBug .controls { | |
1394 background: #EEE; | |
1395 border-bottom: 1px solid #666; | |
1396 padding: 3px; | |
1397 } | |
1398 .pdfjs #PDFBug .panels { | |
1399 bottom: 0; | |
1400 left: 0; | |
1401 overflow: auto; | |
1402 -webkit-overflow-scrolling: touch; | |
1403 position: absolute; | |
1404 right: 0; | |
1405 top: 27px; | |
1406 } | |
1407 .pdfjs #PDFBug button.active { | |
1408 font-weight: 700; | |
1409 } | |
1410 .pdfjs .debuggerShowText { | |
1411 background: none repeat scroll 0 0 #ff0; | |
1412 color: blue; | |
1413 } | |
1414 .pdfjs .debuggerHideText:hover { | |
1415 background: none repeat scroll 0 0 #ff0; | |
1416 } | |
1417 .pdfjs #PDFBug .stats { | |
1418 font-family: courier; | |
1419 font-size: 10px; | |
1420 white-space: pre; | |
1421 } | |
1422 .pdfjs #PDFBug .stats .title { | |
1423 font-weight: 700; | |
1424 } | |
1425 .pdfjs #PDFBug table { | |
1426 font-size: 10px; | |
1427 } | |
1428 .pdfjs #viewer.textLayer-visible .textLayer > div, | |
1429 .pdfjs #viewer.textLayer-hover .textLayer > div:hover { | |
1430 background-color: #fff; | |
1431 color: #000; | |
1432 } | |
1433 .pdfjs #viewer.textLayer-shadow .textLayer > div { | |
1434 background-color: rgba(255, 255, 255, 0.6); | |
1435 color: #000; | |
1436 } | |
1437 .pdfjs .grab-to-pan-grab { | |
1438 cursor: url('../images/pdf.js-viewer/grab.cur'), move !important; | |
1439 cursor: -webkit-grab !important; | |
1440 cursor: -moz-grab !important; | |
1441 cursor: grab !important; | |
1442 } | |
1443 .pdfjs .grab-to-pan-grab :not(input):not(textarea):not(button):not(select):not(:link) { | |
1444 cursor: inherit !important; | |
1445 } | |
1446 .pdfjs .grab-to-pan-grab:active, | |
1447 .pdfjs .grab-to-pan-grabbing { | |
1448 cursor: url('../images/pdf.js-viewer/grabbing.cur'), move !important; | |
1449 cursor: -webkit-grabbing !important; | |
1450 cursor: -moz-grabbing !important; | |
1451 cursor: grabbing!important; | |
1452 position: fixed; | |
1453 background: transparent; | |
1454 display: block; | |
1455 top: 0; | |
1456 left: 0; | |
1457 right: 0; | |
1458 bottom: 0; | |
1459 overflow: hidden; | |
1460 z-index: 50000; | |
1461 } | |
1462 @page { | |
1463 margin: 0; | |
1464 } | |
1465 .pdfjs #printContainer { | |
1466 display: none; | |
1467 } | |
1468 @media screen and (min-resolution: 2dppx) { | |
1469 .pdfjs .toolbarButton::before { | |
1470 -webkit-transform: scale(0.5); | |
1471 transform: scale(0.5); | |
1472 top: -5px; | |
1473 } | |
1474 .pdfjs .secondaryToolbarButton::before { | |
1475 -webkit-transform: scale(0.5); | |
1476 transform: scale(0.5); | |
1477 top: -4px; | |
1478 } | |
1479 html[dir='ltr'] .pdfjs .toolbarButton::before, | |
1480 html[dir='rtl'] .pdfjs .toolbarButton::before { | |
1481 left: -1px; | |
1482 } | |
1483 html[dir='ltr'] .pdfjs .secondaryToolbarButton::before { | |
1484 left: -2px; | |
1485 } | |
1486 html[dir='rtl'] .pdfjs .secondaryToolbarButton::before { | |
1487 left: 186px; | |
1488 } | |
1489 .pdfjs .toolbarField.pageNumber.visiblePageIsLoading, | |
1490 .pdfjs #findInput[data-status="pending"] { | |
1491 background-image: url('../images/pdf.js-viewer/loading-small@2x.png'); | |
1492 background-size: 16px 17px; | |
1493 } | |
1494 .pdfjs .dropdownToolbarButton { | |
1495 background: url('../images/pdf.js-viewer/toolbarButton-menuArrows@2x.png') no-repeat; | |
1496 background-size: 7px 16px; | |
1497 } | |
1498 html[dir='ltr'] .pdfjs .toolbarButton#sidebarToggle::before { | |
1499 content: url('../images/pdf.js-viewer/toolbarButton-sidebarToggle@2x.png'); | |
1500 } | |
1501 html[dir='rtl'] .pdfjs .toolbarButton#sidebarToggle::before { | |
1502 content: url('../images/pdf.js-viewer/toolbarButton-sidebarToggle-rtl@2x.png'); | |
1503 } | |
1504 html[dir='ltr'] .pdfjs .toolbarButton#secondaryToolbarToggle::before { | |
1505 content: url('../images/pdf.js-viewer/toolbarButton-secondaryToolbarToggle@2x.png'); | |
1506 } | |
1507 html[dir='rtl'] .pdfjs .toolbarButton#secondaryToolbarToggle::before { | |
1508 content: url('../images/pdf.js-viewer/toolbarButton-secondaryToolbarToggle-rtl@2x.png'); | |
1509 } | |
1510 html[dir='ltr'] .pdfjs .toolbarButton.findPrevious::before { | |
1511 content: url('../images/pdf.js-viewer/findbarButton-previous@2x.png'); | |
1512 } | |
1513 html[dir='rtl'] .pdfjs .toolbarButton.findPrevious::before { | |
1514 content: url('../images/pdf.js-viewer/findbarButton-previous-rtl@2x.png'); | |
1515 } | |
1516 html[dir='ltr'] .pdfjs .toolbarButton.findNext::before { | |
1517 content: url('../images/pdf.js-viewer/findbarButton-next@2x.png'); | |
1518 } | |
1519 html[dir='rtl'] .pdfjs .toolbarButton.findNext::before { | |
1520 content: url('../images/pdf.js-viewer/findbarButton-next-rtl@2x.png'); | |
1521 } | |
1522 html[dir='ltr'] .pdfjs .toolbarButton.pageUp::before { | |
1523 content: url('../images/pdf.js-viewer/toolbarButton-pageUp@2x.png'); | |
1524 } | |
1525 html[dir='rtl'] .pdfjs .toolbarButton.pageUp::before { | |
1526 content: url('../images/pdf.js-viewer/toolbarButton-pageUp-rtl@2x.png'); | |
1527 } | |
1528 html[dir='ltr'] .pdfjs .toolbarButton.pageDown::before { | |
1529 content: url('../images/pdf.js-viewer/toolbarButton-pageDown@2x.png'); | |
1530 } | |
1531 html[dir='rtl'] .pdfjs .toolbarButton.pageDown::before { | |
1532 content: url('../images/pdf.js-viewer/toolbarButton-pageDown-rtl@2x.png'); | |
1533 } | |
1534 .pdfjs .toolbarButton.zoomIn::before { | |
1535 content: url('../images/pdf.js-viewer/toolbarButton-zoomIn@2x.png'); | |
1536 } | |
1537 .pdfjs .toolbarButton.zoomOut::before { | |
1538 content: url('../images/pdf.js-viewer/toolbarButton-zoomOut@2x.png'); | |
1539 } | |
1540 .pdfjs .toolbarButton.presentationMode::before, | |
1541 .pdfjs .secondaryToolbarButton.presentationMode::before { | |
1542 content: url('../images/pdf.js-viewer/toolbarButton-presentationMode@2x.png'); | |
1543 } | |
1544 .pdfjs .toolbarButton.print::before, | |
1545 .pdfjs .secondaryToolbarButton.print::before { | |
1546 content: url('../images/pdf.js-viewer/toolbarButton-print@2x.png'); | |
1547 } | |
1548 .pdfjs .toolbarButton.openFile::before, | |
1549 .pdfjs .secondaryToolbarButton.openFile::before { | |
1550 content: url('../images/pdf.js-viewer/toolbarButton-openFile@2x.png'); | |
1551 } | |
1552 .pdfjs .toolbarButton.download::before, | |
1553 .pdfjs .secondaryToolbarButton.download::before { | |
1554 content: url('../images/pdf.js-viewer/toolbarButton-download@2x.png'); | |
1555 } | |
1556 .pdfjs .toolbarButton.bookmark::before, | |
1557 .pdfjs .secondaryToolbarButton.bookmark::before { | |
1558 content: url('../images/pdf.js-viewer/toolbarButton-bookmark@2x.png'); | |
1559 } | |
1560 .pdfjs #viewThumbnail.toolbarButton::before { | |
1561 content: url('../images/pdf.js-viewer/toolbarButton-viewThumbnail@2x.png'); | |
1562 } | |
1563 html[dir="ltr"] .pdfjs #viewOutline.toolbarButton::before { | |
1564 content: url('../images/pdf.js-viewer/toolbarButton-viewOutline@2x.png'); | |
1565 } | |
1566 html[dir="rtl"] .pdfjs #viewOutline.toolbarButton::before { | |
1567 content: url('../images/pdf.js-viewer/toolbarButton-viewOutline-rtl@2x.png'); | |
1568 } | |
1569 .pdfjs #viewAttachments.toolbarButton::before { | |
1570 content: url('../images/pdf.js-viewer/toolbarButton-viewAttachments@2x.png'); | |
1571 } | |
1572 .pdfjs #viewFind.toolbarButton::before { | |
1573 content: url('../images/pdf.js-viewer/toolbarButton-search@2x.png'); | |
1574 } | |
1575 .pdfjs .secondaryToolbarButton.firstPage::before { | |
1576 content: url('../images/pdf.js-viewer/secondaryToolbarButton-firstPage@2x.png'); | |
1577 } | |
1578 .pdfjs .secondaryToolbarButton.lastPage::before { | |
1579 content: url('../images/pdf.js-viewer/secondaryToolbarButton-lastPage@2x.png'); | |
1580 } | |
1581 .pdfjs .secondaryToolbarButton.rotateCcw::before { | |
1582 content: url('../images/pdf.js-viewer/secondaryToolbarButton-rotateCcw@2x.png'); | |
1583 } | |
1584 .pdfjs .secondaryToolbarButton.rotateCw::before { | |
1585 content: url('../images/pdf.js-viewer/secondaryToolbarButton-rotateCw@2x.png'); | |
1586 } | |
1587 .pdfjs .secondaryToolbarButton.handTool::before { | |
1588 content: url('../images/pdf.js-viewer/secondaryToolbarButton-handTool@2x.png'); | |
1589 } | |
1590 .pdfjs .secondaryToolbarButton.documentProperties::before { | |
1591 content: url('../images/pdf.js-viewer/secondaryToolbarButton-documentProperties@2x.png'); | |
1592 } | |
1593 } | |
1594 @media print { | |
1595 body { | |
1596 background: transparent none; | |
1597 } | |
1598 .pdfjs #sidebarContainer, | |
1599 .pdfjs #secondaryToolbar, | |
1600 .pdfjs .toolbar, | |
1601 .pdfjs #loadingBox, | |
1602 .pdfjs #errorWrapper, | |
1603 .pdfjs .textLayer { | |
1604 display: none; | |
1605 } | |
1606 .pdfjs #viewerContainer { | |
1607 overflow: visible; | |
1608 } | |
1609 .pdfjs #mainContainer, | |
1610 .pdfjs #viewerContainer, | |
1611 .pdfjs .page, | |
1612 .pdfjs .page canvas { | |
1613 position: static; | |
1614 padding: 0; | |
1615 margin: 0; | |
1616 } | |
1617 .pdfjs .page { | |
1618 float: left; | |
1619 display: none; | |
1620 border: none; | |
1621 box-shadow: none; | |
1622 background-clip: content-box; | |
1623 background-color: #fff; | |
1624 } | |
1625 .pdfjs .page[data-loaded] { | |
1626 display: block; | |
1627 } | |
1628 .pdfjs .fileInput { | |
1629 display: none; | |
1630 } | |
1631 body[data-mozPrintCallback] .pdfjs #outerContainer { | |
1632 display: none; | |
1633 } | |
1634 body[data-mozPrintCallback] .pdfjs #printContainer { | |
1635 display: block; | |
1636 } | |
1637 .pdfjs #printContainer > div { | |
1638 position: relative; | |
1639 top: 0; | |
1640 left: 0; | |
1641 overflow: hidden; | |
1642 } | |
1643 .pdfjs #printContainer canvas { | |
1644 display: block; | |
1645 } | |
1646 } | |
1647 .pdfjs .visibleLargeView, | |
1648 .pdfjs .visibleMediumView, | |
1649 .pdfjs .visibleSmallView { | |
1650 display: none; | |
1651 } | |
1652 @media all and (max-width: 960px) { | |
1653 html[dir='ltr'] .pdfjs #outerContainer.sidebarMoving .outerCenter, | |
1654 html[dir='ltr'] .pdfjs #outerContainer.sidebarOpen .outerCenter { | |
1655 float: left; | |
1656 left: 205px; | |
1657 } | |
1658 html[dir='rtl'] .pdfjs #outerContainer.sidebarMoving .outerCenter, | |
1659 html[dir='rtl'] .pdfjs #outerContainer.sidebarOpen .outerCenter { | |
1660 float: right; | |
1661 right: 205px; | |
1662 } | |
1663 } | |
1664 @media all and (max-width: 900px) { | |
1665 .pdfjs .sidebarOpen .hiddenLargeView { | |
1666 display: none; | |
1667 } | |
1668 .pdfjs .sidebarOpen .visibleLargeView { | |
1669 display: inherit; | |
1670 } | |
1671 } | |
1672 @media all and (max-width: 860px) { | |
1673 .pdfjs .sidebarOpen .hiddenMediumView { | |
1674 display: none; | |
1675 } | |
1676 .pdfjs .sidebarOpen .visibleMediumView { | |
1677 display: inherit; | |
1678 } | |
1679 } | |
1680 @media all and (max-width: 770px) { | |
1681 .pdfjs #sidebarContainer { | |
1682 top: 32px; | |
1683 z-index: 100; | |
1684 } | |
1685 .pdfjs .loadingInProgress #sidebarContainer { | |
1686 top: 37px; | |
1687 } | |
1688 .pdfjs #sidebarContent { | |
1689 top: 32px; | |
1690 background-color: rgba(0, 0, 0, 0.7); | |
1691 } | |
1692 html[dir='ltr'] .pdfjs #outerContainer.sidebarOpen > #mainContainer { | |
1693 left: 0; | |
1694 } | |
1695 html[dir='rtl'] .pdfjs #outerContainer.sidebarOpen > #mainContainer { | |
1696 right: 0; | |
1697 } | |
1698 html[dir='ltr'] .pdfjs .outerCenter { | |
1699 float: left; | |
1700 left: 205px; | |
1701 } | |
1702 html[dir='rtl'] .pdfjs .outerCenter { | |
1703 float: right; | |
1704 right: 205px; | |
1705 } | |
1706 .pdfjs #outerContainer .hiddenLargeView, | |
1707 .pdfjs #outerContainer .hiddenMediumView { | |
1708 display: inherit; | |
1709 } | |
1710 .pdfjs #outerContainer .visibleLargeView, | |
1711 .pdfjs #outerContainer .visibleMediumView { | |
1712 display: none; | |
1713 } | |
1714 } | |
1715 @media all and (max-width: 700px) { | |
1716 .pdfjs #outerContainer .hiddenLargeView { | |
1717 display: none; | |
1718 } | |
1719 .pdfjs #outerContainer .visibleLargeView { | |
1720 display: inherit; | |
1721 } | |
1722 } | |
1723 @media all and (max-width: 660px) { | |
1724 .pdfjs #outerContainer .hiddenMediumView { | |
1725 display: none; | |
1726 } | |
1727 .pdfjs #outerContainer .visibleMediumView { | |
1728 display: inherit; | |
1729 } | |
1730 } | |
1731 @media all and (max-width: 600px) { | |
1732 .pdfjs .hiddenSmallView { | |
1733 display: none; | |
1734 } | |
1735 .pdfjs .visibleSmallView { | |
1736 display: inherit; | |
1737 } | |
1738 html[dir='ltr'] .pdfjs #outerContainer.sidebarMoving .outerCenter, | |
1739 html[dir='ltr'] .pdfjs #outerContainer.sidebarOpen .outerCenter, | |
1740 html[dir='ltr'] .pdfjs .outerCenter { | |
1741 left: 156px; | |
1742 } | |
1743 html[dir='rtl'] .pdfjs #outerContainer.sidebarMoving .outerCenter, | |
1744 html[dir='rtl'] .pdfjs #outerContainer.sidebarOpen .outerCenter, | |
1745 html[dir='rtl'] .pdfjs .outerCenter { | |
1746 right: 156px; | |
1747 } | |
1748 .pdfjs .toolbarButtonSpacer { | |
1749 width: 0; | |
1750 } | |
1751 } | |
1752 @media all and (max-width: 510px) { | |
1753 .pdfjs #scaleSelectContainer, | |
1754 .pdfjs #pageNumberLabel { | |
1755 display: none; | |
1756 } | |
1757 } | |
1758 /* should be hidden differently */ | |
1759 #fileInput.fileInput { | |
1760 display: none; | |
1761 } |