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