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

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 layout mode fading. 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
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 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 475
476 span.hint.closing { 476 span.hint.closing {
477 -webkit-transition: margin 100ms, height 100ms, opacity 200ms; 477 -webkit-transition: margin 100ms, height 100ms, opacity 200ms;
478 background: transparent; 478 background: transparent;
479 height: 0 !important; 479 height: 0 !important;
480 margin-bottom: 0; 480 margin-bottom: 0;
481 margin-top: 0; 481 margin-top: 0;
482 opacity: 0; 482 opacity: 0;
483 } 483 }
484 484
485 .option {
486 -webkit-transition: color 200ms;
487 background: white;
488 display: block;
489 height: 0;
490 margin-bottom: 0;
491 margin: 0;
492 overflow: hidden;
493 }
494
495 .option.visible {
496 -webkit-animation-duration: 200ms;
497 -webkit-animation-fill-mode: forwards;
498 height: auto;
499 margin-bottom: -10px;
500 margin-top: 5px;
501 padding-bottom: 5px;
502 }
503
504 .option:not(.visible) + hr {
505 display: none;
506 }
507
508 .option.closing {
509 -webkit-transition: margin 100ms, height 100ms, opacity 200ms;
510 background: transparent;
511 height: 0 !important;
512 margin-bottom: 0;
513 margin-top: 0;
514 opacity: 0;
515 }
516
517
485 select { 518 select {
486 -webkit-box-shadow: inset 0 1px 2px white, 519 -webkit-box-shadow: inset 0 1px 2px white,
487 0 1px 2px rgba(0, 0, 0, .2); 520 0 1px 2px rgba(0, 0, 0, .2);
488 -webkit-appearance: none; 521 -webkit-appearance: none;
489 -webkit-margin-end: -2px; 522 -webkit-margin-end: -2px;
490 -webkit-padding-end: 34px; 523 -webkit-padding-end: 34px;
491 -webkit-padding-start: 14px; 524 -webkit-padding-start: 14px;
492 -webkit-user-select: none; 525 -webkit-user-select: none;
493 background-image: url('./print_preview/black_arrow.png'), 526 background-image: url('./print_preview/black_arrow.png'),
494 -webkit-linear-gradient(#fafafa, #dcdcdc); 527 -webkit-linear-gradient(#fafafa, #dcdcdc);
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
660 693
661 #dancing-dots.invisible { 694 #dancing-dots.invisible {
662 -webkit-transition: opacity 0.7s linear; 695 -webkit-transition: opacity 0.7s linear;
663 opacity: 0; 696 opacity: 0;
664 pointer-events: none; 697 pointer-events: none;
665 } 698 }
666 699
667 #messages { 700 #messages {
668 color: #404040; 701 color: #404040;
669 font-size: 15px; 702 font-size: 15px;
670 left: 25%;
671 position: relative; 703 position: relative;
672 text-align: center; 704 text-align: center;
673 text-shadow: 1px 1px 0 rgba(255, 255, 255, .7); 705 text-shadow: 1px 1px 0 rgba(255, 255, 255, .7);
674 top: 50%; 706 top: 50%;
675 width: 50%;
676 } 707 }
677 708
678 html[dir='rtl'] .messages { 709 html[dir='rtl'] .messages {
679 right: 25%; 710 right: 25%;
680 } 711 }
681 712
682 @-webkit-keyframes dancing-dots-jump { 713 @-webkit-keyframes dancing-dots-jump {
683 0% { top: 0; } 714 0% { top: 0; }
684 55% { top: 0; } 715 55% { top: 0; }
685 60% { top: -10px; } 716 60% { top: -10px; }
(...skipping 23 matching lines...) Expand all
709 -webkit-animation-delay: 300ms; 740 -webkit-animation-delay: 300ms;
710 } 741 }
711 742
712 #two-sided-div { 743 #two-sided-div {
713 margin-top: 10px; 744 margin-top: 10px;
714 } 745 }
715 746
716 input[disabled] + label { 747 input[disabled] + label {
717 color: gray; 748 color: gray;
718 } 749 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/print_preview.html » ('j') | chrome/browser/resources/print_preview.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698