Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: chrome/browser/resources/print_preview/print_preview.css

Issue 9579001: css hack n' slash, continued: New styles for buttons and selects. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: message font size Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
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: 2.75em;
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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 353
354 #overlay-layer.invisible { 354 #overlay-layer.invisible {
355 /* overlayFadeOutTransitionDuration = 100ms */ 355 /* overlayFadeOutTransitionDuration = 100ms */
356 -webkit-transition: opacity 100ms linear; 356 -webkit-transition: opacity 100ms linear;
357 opacity: 0; 357 opacity: 0;
358 pointer-events: none; 358 pointer-events: none;
359 } 359 }
360 360
361 #messages { 361 #messages {
362 color: #404040; 362 color: #404040;
363 font-size: 1.1em;
363 position: relative; 364 position: relative;
364 text-align: center; 365 text-align: center;
365 text-shadow: 0 1px 0 rgba(255, 255, 255, .5); 366 text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
366 top: 50%; 367 top: 50%;
367 } 368 }
368 369
369 @-webkit-keyframes dancing-dots-jump { 370 @-webkit-keyframes dancing-dots-jump {
370 0% { top: 0; } 371 0% { top: 0; }
371 55% { top: 0; } 372 55% { top: 0; }
372 60% { top: -10px; } 373 60% { top: -10px; }
373 80% { top: 3px; } 374 80% { top: 3px; }
374 90% { top: -2px; } 375 90% { top: -2px; }
375 95% { top: 1px; } 376 95% { top: 1px; }
376 100% { top: 0; } 377 100% { top: 0; }
377 } 378 }
378 379
379 #loading { 380 #loading {
380 -webkit-margin-end: -3px; 381 -webkit-margin-end: -3px;
381 } 382 }
382 383
383 .message-with-dots span span { 384 .message-with-dots span span {
384 -webkit-animation-duration: 1800ms; 385 -webkit-animation: dancing-dots-jump 1800ms infinite;
385 -webkit-animation-iteration-count: infinite;
386 -webkit-animation-name: dancing-dots-jump;
387 padding: 1px; 386 padding: 1px;
388 position: relative; 387 position: relative;
389 } 388 }
390 389
391 .message-with-dots span span:nth-child(2) { 390 .message-with-dots span span:nth-child(2) {
392 -webkit-animation-delay: 100ms; 391 -webkit-animation-delay: 100ms;
393 } 392 }
394 393
395 .message-with-dots span span:nth-child(3) { 394 .message-with-dots span span:nth-child(3) {
396 -webkit-animation-delay: 300ms; 395 -webkit-animation-delay: 300ms;
397 } 396 }
398 397
399 #error-action-area { 398 #error-action-area {
400 margin-top: 10px; 399 margin-top: 10px;
401 } 400 }
402 401
403 /* TODO(estade): unfork this code. */ 402 /* TODO(estade): unfork this code. */
404 .button-strip { 403 .button-strip {
405 -webkit-box-orient: horizontal; 404 -webkit-box-orient: horizontal;
406 -webkit-box-pack: end; 405 -webkit-box-pack: end;
407 display: -webkit-box; 406 display: -webkit-box;
408 } 407 }
409 408
410 html:not([toolkit=views]) .button-strip { 409 html:not([toolkit=views]) .button-strip {
411 -webkit-box-direction: reverse; 410 -webkit-box-direction: reverse;
412 } 411 }
413 412
414 .button-strip button { 413 #print-preview .button-strip button {
414 -webkit-margin-start: 4px;
415 display: block; 415 display: block;
416 } 416 }
417 417
418 #dummy-box { 418 #dummy-box {
419 -webkit-box-align: stretch; 419 -webkit-box-align: stretch;
420 -webkit-box-flex: 1; 420 -webkit-box-flex: 1;
421 -webkit-box-orient: vertical; 421 -webkit-box-orient: vertical;
422 background: #ccc; 422 background: #ccc;
423 display: -webkit-box; 423 display: -webkit-box;
424 height: 100%; 424 height: 100%;
(...skipping 22 matching lines...) Expand all
447 } 447 }
448 448
449 #intentionally-blank { 449 #intentionally-blank {
450 color: black; 450 color: black;
451 display: inline-block; 451 display: inline-block;
452 font-style: italic; 452 font-style: italic;
453 text-align: center; 453 text-align: center;
454 text-decoration: none; 454 text-decoration: none;
455 padding: 0 10px; 455 padding: 0 10px;
456 } 456 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/options2/options_page.css ('k') | chrome/browser/resources/print_preview/print_preview.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698