Chromium Code Reviews| 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 | 5 |
| 6 html { | 6 html { |
| 7 height: 100%; | 7 height: 100%; |
| 8 } | 8 } |
| 9 | 9 |
| 10 body { | 10 body { |
| (...skipping 14 matching lines...) Expand all Loading... | |
| 25 display: -webkit-box; | 25 display: -webkit-box; |
| 26 width: 310px; | 26 width: 310px; |
| 27 } | 27 } |
| 28 | 28 |
| 29 #print-preview #navbar-content-title { | 29 #print-preview #navbar-content-title { |
| 30 cursor: default; | 30 cursor: default; |
| 31 text-align: start; | 31 text-align: start; |
| 32 } | 32 } |
| 33 | 33 |
| 34 #print-header { | 34 #print-header { |
| 35 -webkit-padding-end: 16px; | 35 -webkit-padding-end: 14px; |
| 36 padding-bottom: 10px; | 36 padding-bottom: 10px; |
| 37 padding-top: 10px; | 37 padding-top: 10px; |
| 38 } | 38 } |
| 39 | 39 |
| 40 #print-summary { | 40 #print-summary { |
| 41 color: #53637d; | 41 color: #53637d; |
| 42 display: block; | 42 display: block; |
| 43 min-height: 30px; | 43 min-height: 30px; |
| 44 } | 44 } |
| 45 | 45 |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 118 .preview-link-button:disabled { | 118 .preview-link-button:disabled { |
| 119 color: rgba(0, 0, 0, .5); | 119 color: rgba(0, 0, 0, .5); |
| 120 cursor: default; | 120 cursor: default; |
| 121 text-shadow: none; | 121 text-shadow: none; |
| 122 } | 122 } |
| 123 | 123 |
| 124 button.loading { | 124 button.loading { |
| 125 cursor: progress; | 125 cursor: progress; |
| 126 } | 126 } |
| 127 | 127 |
| 128 button.default { | 128 #print-preview button.default { |
| 129 font-weight: bold; | 129 font-weight: bold; |
| 130 } | 130 } |
| 131 | 131 |
| 132 button.default:not(:focus):not(:disabled) { | 132 #print-preview button.default:not(:focus):not(:disabled) { |
| 133 border-color: #808080; | 133 border-color: #808080; |
| 134 } | 134 } |
| 135 | 135 |
| 136 span.hint { | 136 span.hint { |
| 137 -webkit-transition: color 200ms; | 137 -webkit-transition: color 200ms; |
| 138 background: white; | 138 background: white; |
| 139 display: block; | 139 display: block; |
| 140 font-size: 0.9em; | 140 font-size: 0.9em; |
| 141 font-weight: bold; | 141 font-weight: bold; |
| 142 height: 0; | 142 height: 0; |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 239 display: block; | 239 display: block; |
| 240 } | 240 } |
| 241 | 241 |
| 242 #collate-option { | 242 #collate-option { |
| 243 -webkit-padding-start: 16px; | 243 -webkit-padding-start: 16px; |
| 244 display: inline-block; | 244 display: inline-block; |
| 245 } | 245 } |
| 246 | 246 |
| 247 #copies { | 247 #copies { |
| 248 position: relative; | 248 position: relative; |
| 249 width: 1.5em; | 249 width: 2em; |
|
dpapad
2012/03/02 16:34:10
Could we make this 2.75em, so that it can fit the
Dan Beam
2012/03/02 17:58:43
2.75em - why not 3em? confident that no number dig
Evan Stade
2012/03/02 19:46:20
no, actually, in CJK fonts most characters are wid
Dan Beam
2012/03/02 20:24:42
it will be possible when users are allowed to chan
| |
| 250 } | 250 } |
| 251 | 251 |
| 252 #copies.invalid { | 252 #copies.invalid { |
| 253 background: #fff0f0; | 253 background: #fff0f0; |
| 254 color: #8c1414; | 254 color: #8c1414; |
| 255 } | 255 } |
| 256 | 256 |
| 257 #increment, | 257 #increment, |
| 258 #decrement { | 258 #decrement { |
| 259 -webkit-padding-end: 8px; | 259 -webkit-padding-end: 8px; |
| 260 -webkit-padding-start: 8px; | 260 -webkit-padding-start: 8px; |
| 261 font-weight: 600; | 261 font-weight: 600; |
| 262 min-width: 0; | 262 min-width: 0; |
| 263 position: relative; | 263 position: relative; |
| 264 width: 25px; | 264 width: 2em; |
| 265 } | 265 } |
| 266 | 266 |
| 267 #increment:focus, | 267 #increment:focus, |
| 268 #decrement:focus, | 268 #decrement:focus, |
| 269 #copies:focus { | 269 #copies:focus { |
| 270 z-index: 1; | 270 z-index: 1; |
| 271 } | 271 } |
| 272 | 272 |
| 273 #increment { | 273 #increment { |
| 274 -webkit-margin-start: -5px; | 274 -webkit-margin-start: -5px; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 327 opacity: 0; | 327 opacity: 0; |
| 328 } | 328 } |
| 329 | 329 |
| 330 #no-plugin { | 330 #no-plugin { |
| 331 padding: 20px; | 331 padding: 20px; |
| 332 } | 332 } |
| 333 | 333 |
| 334 /* TODO(estade): this should be in a shared location but I'm afraid of the | 334 /* TODO(estade): this should be in a shared location but I'm afraid of the |
| 335 * damage it could do. */ | 335 * damage it could do. */ |
| 336 [hidden] { | 336 [hidden] { |
| 337 display: none !important; | 337 display: none !important; |
|
Dan Beam
2012/03/02 17:58:43
this is in chrome_shared2.css now, isn' it?
Evan Stade
2012/03/02 19:46:20
yes. However print preview does not yet use chrome
Dan Beam
2012/03/02 20:24:42
ah, OK, that does sounds like a project, lol
| |
| 338 } | 338 } |
| 339 | 339 |
| 340 #overlay-layer { | 340 #overlay-layer { |
| 341 -webkit-transition: opacity 200ms linear; | 341 -webkit-transition: opacity 200ms linear; |
| 342 /* overlayFadeInTransitionDelay = pluginFadeOutTransitionDelay + | 342 /* overlayFadeInTransitionDelay = pluginFadeOutTransitionDelay + |
| 343 * pluginFadeOutTransitionDuration = 350ms */ | 343 * pluginFadeOutTransitionDuration = 350ms */ |
| 344 -webkit-transition-delay: 350ms; | 344 -webkit-transition-delay: 350ms; |
| 345 -webkit-user-select: none; | 345 -webkit-user-select: none; |
| 346 background: #cccccc; | 346 background: #cccccc; |
| 347 height: 100%; | 347 height: 100%; |
| (...skipping 28 matching lines...) Expand all Loading... | |
| 376 100% { top: 0; } | 376 100% { top: 0; } |
| 377 } | 377 } |
| 378 | 378 |
| 379 #loading { | 379 #loading { |
| 380 -webkit-margin-end: -3px; | 380 -webkit-margin-end: -3px; |
| 381 } | 381 } |
| 382 | 382 |
| 383 .message-with-dots span span { | 383 .message-with-dots span span { |
| 384 -webkit-animation-duration: 1800ms; | 384 -webkit-animation-duration: 1800ms; |
| 385 -webkit-animation-iteration-count: infinite; | 385 -webkit-animation-iteration-count: infinite; |
| 386 -webkit-animation-name: dancing-dots-jump; | 386 -webkit-animation-name: dancing-dots-jump; |
|
Dan Beam
2012/03/02 17:58:43
you could probably collapse this to the shorthand
Evan Stade
2012/03/02 19:46:20
I suppose. Can we just leave out the properties we
Dan Beam
2012/03/02 20:24:42
I think this would work fine (subsequent changes t
Evan Stade
2012/03/02 21:47:02
Done.
| |
| 387 padding: 1px; | 387 padding: 1px; |
| 388 position: relative; | 388 position: relative; |
| 389 } | 389 } |
| 390 | 390 |
| 391 .message-with-dots span span:nth-child(2) { | 391 .message-with-dots span span:nth-child(2) { |
| 392 -webkit-animation-delay: 100ms; | 392 -webkit-animation-delay: 100ms; |
| 393 } | 393 } |
| 394 | 394 |
| 395 .message-with-dots span span:nth-child(3) { | 395 .message-with-dots span span:nth-child(3) { |
| 396 -webkit-animation-delay: 300ms; | 396 -webkit-animation-delay: 300ms; |
| 397 } | 397 } |
| 398 | 398 |
| 399 #error-action-area { | 399 #error-action-area { |
| 400 margin-top: 10px; | 400 margin-top: 10px; |
| 401 } | 401 } |
| 402 | 402 |
| 403 /* TODO(estade): unfork this code. */ | 403 /* TODO(estade): unfork this code. */ |
| 404 .button-strip { | 404 .button-strip { |
|
Dan Beam
2012/03/02 17:58:43
shouldn't you be namespacing these two rules as we
Evan Stade
2012/03/02 19:46:20
I think we're depending on not conflicting. If we
| |
| 405 -webkit-box-orient: horizontal; | 405 -webkit-box-orient: horizontal; |
| 406 -webkit-box-pack: end; | 406 -webkit-box-pack: end; |
| 407 display: -webkit-box; | 407 display: -webkit-box; |
| 408 } | 408 } |
| 409 | 409 |
| 410 html:not([toolkit=views]) .button-strip { | 410 html:not([toolkit=views]) .button-strip { |
| 411 -webkit-box-direction: reverse; | 411 -webkit-box-direction: reverse; |
| 412 } | 412 } |
| 413 | 413 |
| 414 .button-strip button { | 414 #print-preview .button-strip button { |
|
Dan Beam
2012/03/02 20:24:42
if we're depending on not conflicting with other .
Evan Stade
2012/03/02 21:47:02
yep, specificity
| |
| 415 -webkit-margin-start: 4px; | |
| 415 display: block; | 416 display: block; |
| 416 } | 417 } |
| 417 | 418 |
| 418 #dummy-box { | 419 #dummy-box { |
| 419 -webkit-box-align: stretch; | 420 -webkit-box-align: stretch; |
| 420 -webkit-box-flex: 1; | 421 -webkit-box-flex: 1; |
| 421 -webkit-box-orient: vertical; | 422 -webkit-box-orient: vertical; |
| 422 background: #ccc; | 423 background: #ccc; |
| 423 display: -webkit-box; | 424 display: -webkit-box; |
| 424 height: 100%; | 425 height: 100%; |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 447 } | 448 } |
| 448 | 449 |
| 449 #intentionally-blank { | 450 #intentionally-blank { |
| 450 color: black; | 451 color: black; |
| 451 display: inline-block; | 452 display: inline-block; |
| 452 font-style: italic; | 453 font-style: italic; |
| 453 text-align: center; | 454 text-align: center; |
| 454 text-decoration: none; | 455 text-decoration: none; |
| 455 padding: 0 10px; | 456 padding: 0 10px; |
| 456 } | 457 } |
| OLD | NEW |