OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
4 | 4 |
5 html { | 5 html { |
6 height: 100%; | 6 height: 100%; |
7 } | 7 } |
8 | 8 |
9 body { | 9 body { |
10 height: 100%; | 10 height: 100%; |
11 margin: 0; | 11 margin: 0; |
12 overflow: hidden; | 12 overflow: hidden; |
13 } | 13 } |
14 | 14 |
15 /* Header */ | 15 /* Header */ |
16 | 16 |
17 header { | 17 header { |
| 18 -webkit-padding-end: 14px; |
18 -webkit-padding-start: 16px; | 19 -webkit-padding-start: 16px; |
19 } | 20 } |
20 | 21 |
21 #print-preview #navbar-container { | 22 #print-preview #navbar-container { |
| 23 -webkit-border-end: 1px solid rgb(198, 201, 206); |
22 -webkit-box-orient: vertical; | 24 -webkit-box-orient: vertical; |
23 -webkit-user-select: none; | 25 -webkit-user-select: none; |
| 26 background-color: #f1f1f1; |
| 27 bottom: 0; |
24 display: -webkit-box; | 28 display: -webkit-box; |
| 29 /* We set both left and right for the sake of RTL. */ |
| 30 left: 0; |
| 31 position: fixed; |
| 32 right: 0; |
| 33 top: 0; |
25 width: 310px; | 34 width: 310px; |
| 35 z-index: 2; |
26 } | 36 } |
27 | 37 |
28 #print-preview #navbar-content-title { | 38 #navbar-content-title { |
29 cursor: default; | 39 color: #333; |
30 text-align: start; | 40 font-size: 200%; |
| 41 font-weight: normal; |
| 42 margin: 0; |
| 43 padding-bottom: 14px; |
| 44 padding-top: 13px; |
| 45 text-shadow: white 0 1px 2px; |
31 } | 46 } |
32 | 47 |
33 #print-header { | 48 #print-header { |
34 -webkit-padding-end: 14px; | |
35 padding-bottom: 10px; | 49 padding-bottom: 10px; |
36 padding-top: 10px; | 50 padding-top: 10px; |
37 } | 51 } |
38 | 52 |
39 #print-summary { | 53 #print-summary { |
40 color: rgb(83, 99, 125); | 54 color: rgb(83, 99, 125); |
41 display: block; | 55 display: block; |
42 min-height: 30px; | 56 min-height: 30px; |
43 } | 57 } |
44 | 58 |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 } | 306 } |
293 | 307 |
294 #system-dialog-link { | 308 #system-dialog-link { |
295 -webkit-margin-start: 16px; | 309 -webkit-margin-start: 16px; |
296 margin-top: 10px; | 310 margin-top: 10px; |
297 padding: 0; | 311 padding: 0; |
298 } | 312 } |
299 | 313 |
300 /* PDF view */ | 314 /* PDF view */ |
301 | 315 |
302 #print-preview #mainview { | 316 #mainview { |
303 -webkit-margin-start: 310px; | 317 -webkit-margin-start: 310px; |
304 -webkit-padding-start: 0; | 318 -webkit-padding-start: 0; |
305 -webkit-user-select: none; | 319 -webkit-user-select: none; |
306 background-color: #ccc; | 320 background-color: #ccc; |
| 321 bottom: 0; |
| 322 left: 0; |
307 overflow: hidden; | 323 overflow: hidden; |
| 324 position: absolute; |
| 325 right: 0; |
| 326 top: 0; |
| 327 z-index: 1; |
308 } | 328 } |
309 | 329 |
310 #pdf-viewer { | 330 #pdf-viewer { |
311 /* pluginFadeInTransitionDuration = 200ms */ | 331 /* pluginFadeInTransitionDuration = 200ms */ |
312 -webkit-transition: opacity 200ms linear; | 332 -webkit-transition: opacity 200ms linear; |
313 /* pluginFadeInTransitionDelay = overlayFadeOutTransitionDuration = 100ms */ | 333 /* pluginFadeInTransitionDelay = overlayFadeOutTransitionDuration = 100ms */ |
314 -webkit-transition-delay: 100ms; | 334 -webkit-transition-delay: 100ms; |
315 height: 100%; | 335 height: 100%; |
316 opacity: 1; | 336 opacity: 1; |
317 width: 100%; | 337 width: 100%; |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 </if> | 424 </if> |
405 -webkit-box-orient: horizontal; | 425 -webkit-box-orient: horizontal; |
406 -webkit-box-pack: end; | 426 -webkit-box-pack: end; |
407 display: -webkit-box; | 427 display: -webkit-box; |
408 } | 428 } |
409 | 429 |
410 #print-preview .button-strip button { | 430 #print-preview .button-strip button { |
411 -webkit-margin-start: 4px; | 431 -webkit-margin-start: 4px; |
412 display: block; | 432 display: block; |
413 } | 433 } |
OLD | NEW |