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

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

Issue 7033037: Print Preview: Fixing print header alignment, "Preview loading..." spacing and animation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Making print preview area not selectable 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 -webkit-padding-start: 118px; 109 -webkit-padding-start: 118px;
110 font-size: 13px; 110 font-size: 13px;
111 line-height: 22px; 111 line-height: 22px;
112 margin-top: 10px; 112 margin-top: 10px;
113 margin-bottom: 10px; 113 margin-bottom: 10px;
114 max-width: 616px; 114 max-width: 616px;
115 position: relative; 115 position: relative;
116 } 116 }
117 117
118 #print-header { 118 #print-header {
119 -webkit-padding-end: 16px; 119 -webkit-padding-start: 16px;
120 font-size: 13px; 120 font-size: 13px;
121 line-height: 22px; 121 line-height: 22px;
122 margin-bottom: 10px; 122 margin-bottom: 10px;
123 margin-top: 10px; 123 margin-top: 10px;
124 max-width: 616px; 124 max-width: 616px;
125 position: relative; 125 position: relative;
126 text-align: center;
127 } 126 }
128 127
129 p { 128 p {
130 -webkit-line-box-contain: block; 129 -webkit-line-box-contain: block;
131 margin: 0; 130 margin: 0;
132 margin-bottom: 10px; 131 margin-bottom: 10px;
133 } 132 }
134 133
135 h1 { 134 h1 {
136 color: #808080; 135 color: #808080;
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 } 628 }
630 629
631 @font-face { 630 @font-face {
632 font-family: 'Open Sans'; 631 font-family: 'Open Sans';
633 font-weight: bold; 632 font-weight: bold;
634 src: url(_fonts/OpenSans-Bold.ttf); 633 src: url(_fonts/OpenSans-Bold.ttf);
635 } 634 }
636 635
637 #mainview { 636 #mainview {
638 -webkit-box-flex: 1; 637 -webkit-box-flex: 1;
638 -webkit-user-select: none;
639 background-color: #ccc; 639 background-color: #ccc;
640 position: relative; 640 position: relative;
641 } 641 }
642 642
643 #pdf-viewer { 643 #pdf-viewer {
644 height: 100%; 644 height: 100%;
645 width: 100%; 645 width: 100%;
646 } 646 }
647 647
648 #no-plugin { 648 #no-plugin {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 top: 50%; 680 top: 50%;
681 width: 50%; 681 width: 50%;
682 } 682 }
683 683
684 html[dir='rtl'] .messages { 684 html[dir='rtl'] .messages {
685 right: 25%; 685 right: 25%;
686 } 686 }
687 687
688 @-webkit-keyframes dancing-dots-jump { 688 @-webkit-keyframes dancing-dots-jump {
689 0% { top: 0; } 689 0% { top: 0; }
690 35% { top: 0; } 690 55% { top: 0; }
691 60% { top: -10px; } 691 60% { top: -10px; }
692 80% { top: 3px; } 692 80% { top: 3px; }
693 90% { top: -2px; } 693 90% { top: -2px; }
694 95% { top: 1px; } 694 95% { top: 1px; }
695 100% { top: 0; } 695 100% { top: 0; }
696 } 696 }
697 697
698 #loading {
699 -webkit-margin-end: -3px;
700 }
701
698 #dancing-dots-text span span { 702 #dancing-dots-text span span {
699 -webkit-animation-duration: 1800ms; 703 -webkit-animation-duration: 1800ms;
700 -webkit-animation-iteration-count: infinite; 704 -webkit-animation-iteration-count: infinite;
701 -webkit-animation-name: dancing-dots-jump; 705 -webkit-animation-name: dancing-dots-jump;
702 padding: 1px; 706 padding: 1px;
703 position: relative; 707 position: relative;
704 } 708 }
705 709
706 #dancing-dots-text span span:nth-child(2) { 710 #dancing-dots-text span span:nth-child(2) {
707 -webkit-animation-delay: 100ms; 711 -webkit-animation-delay: 100ms;
708 } 712 }
709 713
710 #dancing-dots-text span span:nth-child(3) { 714 #dancing-dots-text span span:nth-child(3) {
711 -webkit-animation-delay: 300ms; 715 -webkit-animation-delay: 300ms;
712 } 716 }
713 717
714 #two-sided-div { 718 #two-sided-div {
715 margin-top: 10px; 719 margin-top: 10px;
716 } 720 }
717 721
718 input[disabled] + label { 722 input[disabled] + label {
719 color: gray; 723 color: gray;
720 } 724 }
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