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

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

Issue 6979024: Print Preview: Fading in/out printing options. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing braces style Created 9 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/resources/print_preview.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 html { 1 html {
2 height: 100%; 2 height: 100%;
3 } 3 }
4 4
5 body { 5 body {
6 background: white; 6 background: white;
7 display: -webkit-box; 7 display: -webkit-box;
8 height: 100%; 8 height: 100%;
9 margin: 0; 9 margin: 0;
10 overflow: hidden; 10 overflow: hidden;
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 468
469 span.hint.closing { 469 span.hint.closing {
470 -webkit-transition: margin 100ms, height 100ms, opacity 200ms; 470 -webkit-transition: margin 100ms, height 100ms, opacity 200ms;
471 background: transparent; 471 background: transparent;
472 height: 0 !important; 472 height: 0 !important;
473 margin-bottom: 0; 473 margin-bottom: 0;
474 margin-top: 0; 474 margin-top: 0;
475 opacity: 0; 475 opacity: 0;
476 } 476 }
477 477
478 .option {
479 -webkit-transition: color 200ms;
480 background: white;
481 display: block;
482 height: 0;
483 margin-bottom: 0;
484 margin: 0;
485 overflow: hidden;
486 }
487
488 .option.visible {
489 -webkit-animation-duration: 200ms;
490 -webkit-animation-fill-mode: forwards;
491 height: auto;
492 margin-bottom: -10px;
493 margin-top: 5px;
494 padding-bottom: 5px;
495 }
496
497 .option:not(.visible) + hr {
498 display: none;
499 }
500
501 .option.closing {
502 -webkit-transition: margin 100ms, height 100ms, opacity 200ms;
503 background: transparent;
504 height: 0 !important;
505 margin-bottom: 0;
506 margin-top: 0;
507 opacity: 0;
508 }
509
510
478 select { 511 select {
479 -webkit-box-shadow: inset 0 1px 2px white, 512 -webkit-box-shadow: inset 0 1px 2px white,
480 0 1px 2px rgba(0, 0, 0, .2); 513 0 1px 2px rgba(0, 0, 0, .2);
481 -webkit-appearance: none; 514 -webkit-appearance: none;
482 -webkit-margin-end: -2px; 515 -webkit-margin-end: -2px;
483 -webkit-padding-end: 34px; 516 -webkit-padding-end: 34px;
484 -webkit-padding-start: 14px; 517 -webkit-padding-start: 14px;
485 -webkit-user-select: none; 518 -webkit-user-select: none;
486 background-image: url('./print_preview/black_arrow.png'), 519 background-image: url('./print_preview/black_arrow.png'),
487 -webkit-linear-gradient(#fafafa, #dcdcdc); 520 -webkit-linear-gradient(#fafafa, #dcdcdc);
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 686
654 #dancing-dots.invisible { 687 #dancing-dots.invisible {
655 -webkit-transition: opacity 0.7s linear; 688 -webkit-transition: opacity 0.7s linear;
656 opacity: 0; 689 opacity: 0;
657 pointer-events: none; 690 pointer-events: none;
658 } 691 }
659 692
660 #messages { 693 #messages {
661 color: #404040; 694 color: #404040;
662 font-size: 15px; 695 font-size: 15px;
663 left: 25%;
664 position: relative; 696 position: relative;
665 text-align: center; 697 text-align: center;
666 text-shadow: 1px 1px 0 rgba(255, 255, 255, .7); 698 text-shadow: 1px 1px 0 rgba(255, 255, 255, .7);
667 top: 50%; 699 top: 50%;
668 width: 50%;
669 } 700 }
670 701
671 html[dir='rtl'] .messages { 702 html[dir='rtl'] .messages {
672 right: 25%; 703 right: 25%;
673 } 704 }
674 705
675 @-webkit-keyframes dancing-dots-jump { 706 @-webkit-keyframes dancing-dots-jump {
676 0% { top: 0; } 707 0% { top: 0; }
677 55% { top: 0; } 708 55% { top: 0; }
678 60% { top: -10px; } 709 60% { top: -10px; }
(...skipping 23 matching lines...) Expand all
702 -webkit-animation-delay: 300ms; 733 -webkit-animation-delay: 300ms;
703 } 734 }
704 735
705 #two-sided-div { 736 #two-sided-div {
706 margin-top: 10px; 737 margin-top: 10px;
707 } 738 }
708 739
709 input[disabled] + label { 740 input[disabled] + label {
710 color: gray; 741 color: gray;
711 } 742 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/print_preview.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698