| 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-start: 16px; | 18 -webkit-padding-start: 16px; |
| 19 background-color: #F1F1F1; |
| 19 } | 20 } |
| 20 | 21 |
| 21 #print-preview #navbar-container { | 22 #print-preview #navbar-container { |
| 22 -webkit-box-orient: vertical; | 23 -webkit-box-orient: vertical; |
| 23 -webkit-user-select: none; | 24 -webkit-user-select: none; |
| 24 display: -webkit-box; | 25 display: -webkit-box; |
| 25 width: 310px; | 26 width: 310px; |
| 27 background-color: white; |
| 26 } | 28 } |
| 27 | 29 |
| 28 #print-preview #navbar-content-title { | 30 #print-preview #navbar-content-title { |
| 29 cursor: default; | 31 cursor: default; |
| 30 text-align: start; | 32 text-align: start; |
| 31 } | 33 } |
| 32 | 34 |
| 33 #print-header { | |
| 34 -webkit-padding-end: 14px; | |
| 35 padding-bottom: 10px; | |
| 36 padding-top: 10px; | |
| 37 } | |
| 38 | |
| 39 #print-summary { | |
| 40 color: rgb(83, 99, 125); | |
| 41 display: block; | |
| 42 min-height: 30px; | |
| 43 } | |
| 44 | |
| 45 /* Settings */ | 35 /* Settings */ |
| 46 | 36 |
| 47 #settings { | 37 #settings { |
| 48 -webkit-box-flex: 1; | 38 -webkit-box-flex: 1; |
| 49 -webkit-box-shadow: inset 0 2px 2px rgba(0, 0, 0, .3); | 39 -webkit-box-shadow: inset 0 2px 2px rgba(0, 0, 0, .3); |
| 50 background: white; | 40 background: white; |
| 51 overflow-y: auto; | 41 overflow-y: auto; |
| 52 padding-top: 2px; | 42 padding-top: 2px; |
| 43 display: table; |
| 44 width: 100%; |
| 53 } | 45 } |
| 54 | 46 |
| 55 .two-column { | 47 .two-column { |
| 56 display: table-row; | 48 display: table-row; |
| 57 } | 49 } |
| 58 | 50 |
| 59 .right-column { | 51 .right-column { |
| 60 -webkit-padding-end: 16px; | 52 -webkit-padding-end: 16px; |
| 61 display: table-cell; | 53 display: table-cell; |
| 62 width: auto; | 54 width: auto; |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 -webkit-box-orient: horizontal; | 224 -webkit-box-orient: horizontal; |
| 233 display: -webkit-box; | 225 display: -webkit-box; |
| 234 } | 226 } |
| 235 | 227 |
| 236 #individual-pages { | 228 #individual-pages { |
| 237 -webkit-box-flex: 1; | 229 -webkit-box-flex: 1; |
| 238 -webkit-margin-start: 5px; | 230 -webkit-margin-start: 5px; |
| 239 display: block; | 231 display: block; |
| 240 } | 232 } |
| 241 | 233 |
| 242 #collate-option { | |
| 243 -webkit-padding-start: 16px; | |
| 244 display: inline-block; | |
| 245 } | |
| 246 | |
| 247 #copies { | |
| 248 position: relative; | |
| 249 width: 2.75em; | |
| 250 } | |
| 251 | |
| 252 #copies.invalid { | |
| 253 background: rgb(255, 240, 240); | |
| 254 color: rgb(140, 20, 20); | |
| 255 } | |
| 256 | |
| 257 #increment, | |
| 258 #decrement { | |
| 259 -webkit-padding-end: 0; | |
| 260 -webkit-padding-start: 0; | |
| 261 font-weight: 600; | |
| 262 margin: 0; | |
| 263 min-width: 0; | |
| 264 position: relative; | |
| 265 width: 2em; | |
| 266 } | |
| 267 | |
| 268 #increment:focus, | |
| 269 #decrement:focus, | |
| 270 #copies:focus { | |
| 271 z-index: 1; | |
| 272 } | |
| 273 | |
| 274 #increment { | |
| 275 -webkit-margin-start: -5px; | |
| 276 border-radius: 0; | |
| 277 } | |
| 278 | |
| 279 #decrement { | |
| 280 -webkit-margin-start: -5px; | |
| 281 border-bottom-left-radius: 0; | |
| 282 border-bottom-right-radius: 3px; | |
| 283 border-top-left-radius: 0; | |
| 284 border-top-right-radius: 3px; | |
| 285 } | |
| 286 | |
| 287 html[dir='rtl'] #decrement { | |
| 288 border-bottom-left-radius: 3px; | |
| 289 border-bottom-right-radius: 0; | |
| 290 border-top-left-radius: 3px; | |
| 291 border-top-right-radius: 0; | |
| 292 } | |
| 293 | |
| 294 #system-dialog-link { | 234 #system-dialog-link { |
| 295 -webkit-margin-start: 16px; | 235 -webkit-margin-start: 16px; |
| 296 margin-top: 10px; | 236 margin-top: 10px; |
| 297 padding: 0; | 237 padding: 0; |
| 298 } | 238 } |
| 299 | 239 |
| 300 /* PDF view */ | |
| 301 | |
| 302 #print-preview #mainview { | |
| 303 -webkit-margin-start: 310px; | |
| 304 -webkit-padding-start: 0; | |
| 305 -webkit-user-select: none; | |
| 306 background-color: #ccc; | |
| 307 overflow: hidden; | |
| 308 } | |
| 309 | |
| 310 #pdf-viewer { | |
| 311 /* pluginFadeInTransitionDuration = 200ms */ | |
| 312 -webkit-transition: opacity 200ms linear; | |
| 313 /* pluginFadeInTransitionDelay = overlayFadeOutTransitionDuration = 100ms */ | |
| 314 -webkit-transition-delay: 100ms; | |
| 315 height: 100%; | |
| 316 opacity: 1; | |
| 317 width: 100%; | |
| 318 } | |
| 319 | |
| 320 #pdf-viewer.invisible { | |
| 321 /* pluginFadeOutTransitionDuration = 100ms */ | |
| 322 -webkit-transition: opacity 100ms linear; | |
| 323 /* pluginFadeOutTransitionDelay = 250ms */ | |
| 324 -webkit-transition-delay: 250ms; | |
| 325 opacity: 0; | |
| 326 } | |
| 327 | |
| 328 #no-plugin { | |
| 329 padding: 20px; | |
| 330 } | |
| 331 | |
| 332 /* TODO(estade): this should be in a shared location but I'm afraid of the | 240 /* TODO(estade): this should be in a shared location but I'm afraid of the |
| 333 * damage it could do. */ | 241 * damage it could do. */ |
| 334 [hidden] { | 242 [hidden] { |
| 335 display: none !important; | 243 display: none !important; |
| 336 } | 244 } |
| 337 | 245 |
| 338 #overlay-layer { | |
| 339 -webkit-transition: opacity 200ms linear; | |
| 340 /* overlayFadeInTransitionDelay = pluginFadeOutTransitionDelay + | |
| 341 * pluginFadeOutTransitionDuration = 350ms */ | |
| 342 -webkit-transition-delay: 350ms; | |
| 343 -webkit-user-select: none; | |
| 344 background: #ccc; | |
| 345 height: 100%; | |
| 346 margin: 0; | |
| 347 opacity: 1; | |
| 348 position: absolute; | |
| 349 width: 100%; | |
| 350 } | |
| 351 | |
| 352 #overlay-layer.invisible { | |
| 353 /* overlayFadeOutTransitionDuration = 100ms */ | |
| 354 -webkit-transition: opacity 100ms linear; | |
| 355 opacity: 0; | |
| 356 pointer-events: none; | |
| 357 } | |
| 358 | |
| 359 #messages { | |
| 360 color: #404040; | |
| 361 font-size: 1.1em; | |
| 362 position: relative; | |
| 363 text-align: center; | |
| 364 text-shadow: 0 1px 0 rgba(255, 255, 255, .5); | |
| 365 top: 50%; | |
| 366 } | |
| 367 | |
| 368 @-webkit-keyframes dancing-dots-jump { | 246 @-webkit-keyframes dancing-dots-jump { |
| 369 0% { top: 0; } | 247 0% { top: 0; } |
| 370 55% { top: 0; } | 248 55% { top: 0; } |
| 371 60% { top: -10px; } | 249 60% { top: -10px; } |
| 372 80% { top: 3px; } | 250 80% { top: 3px; } |
| 373 90% { top: -2px; } | 251 90% { top: -2px; } |
| 374 95% { top: 1px; } | 252 95% { top: 1px; } |
| 375 100% { top: 0; } | 253 100% { top: 0; } |
| 376 } | 254 } |
| 377 | 255 |
| 378 #loading { | 256 span.jumping-dots > span { |
| 379 -webkit-margin-end: -3px; | |
| 380 } | |
| 381 | |
| 382 .message-with-dots span span { | |
| 383 -webkit-animation: dancing-dots-jump 1800ms infinite; | 257 -webkit-animation: dancing-dots-jump 1800ms infinite; |
| 384 padding: 1px; | 258 padding: 1px; |
| 385 position: relative; | 259 position: relative; |
| 386 } | 260 } |
| 387 | 261 |
| 388 .message-with-dots span span:nth-child(2) { | 262 span.jumping-dots > span:nth-child(2) { |
| 389 -webkit-animation-delay: 100ms; | 263 -webkit-animation-delay: 100ms; |
| 390 } | 264 } |
| 391 | 265 |
| 392 .message-with-dots span span:nth-child(3) { | 266 span.jumping-dots > span:nth-child(3) { |
| 393 -webkit-animation-delay: 300ms; | 267 -webkit-animation-delay: 300ms; |
| 394 } | 268 } |
| 395 | 269 |
| 396 #error-action-area { | |
| 397 margin-top: 10px; | |
| 398 } | |
| 399 | |
| 400 /* TODO(estade): unfork this code. */ | 270 /* TODO(estade): unfork this code. */ |
| 401 .button-strip { | 271 .button-strip { |
| 402 <if expr="not pp_ifdef('toolkit_views')"> | 272 <if expr="not pp_ifdef('toolkit_views')"> |
| 403 -webkit-box-direction: reverse; | 273 -webkit-box-direction: reverse; |
| 404 </if> | 274 </if> |
| 405 -webkit-box-orient: horizontal; | 275 -webkit-box-orient: horizontal; |
| 406 -webkit-box-pack: end; | 276 -webkit-box-pack: end; |
| 407 display: -webkit-box; | 277 display: -webkit-box; |
| 408 } | 278 } |
| 409 | 279 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 444 } | 314 } |
| 445 | 315 |
| 446 #intentionally-blank { | 316 #intentionally-blank { |
| 447 color: black; | 317 color: black; |
| 448 display: inline-block; | 318 display: inline-block; |
| 449 font-style: italic; | 319 font-style: italic; |
| 450 padding: 0 10px; | 320 padding: 0 10px; |
| 451 text-align: center; | 321 text-align: center; |
| 452 text-decoration: none; | 322 text-decoration: none; |
| 453 } | 323 } |
| OLD | NEW |