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

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

Issue 2771823005: Print Preview: Fix issues with large font sizes (Closed)
Patch Set: Change to normal padding Created 3 years, 8 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
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 html { 5 html {
6 height: 100%; 6 height: 100%;
7 overflow: hidden; 7 overflow: hidden;
8 } 8 }
9 9
10 body { 10 body {
(...skipping 17 matching lines...) Expand all
28 -webkit-user-select: none; 28 -webkit-user-select: none;
29 background-color: white; 29 background-color: white;
30 display: -webkit-box; 30 display: -webkit-box;
31 position: relative; 31 position: relative;
32 width: 310px; 32 width: 310px;
33 z-index: 2; 33 z-index: 2;
34 } 34 }
35 35
36 #navbar-content-title { 36 #navbar-content-title {
37 color: black; 37 color: black;
38 font-size: 15px; 38 font-size: 1.25em;
39 font-weight: normal; 39 font-weight: normal;
40 margin: 0; 40 margin: 0;
41 padding-bottom: 6px; 41 padding-bottom: 6px;
42 padding-top: 16px; 42 padding-top: 16px;
43 } 43 }
44 44
45 #navbar-scroll-container { 45 #navbar-scroll-container {
46 -webkit-box-flex: 1; 46 -webkit-box-flex: 1;
47 background: #fbfbfb; 47 background: #fbfbfb;
48 border-top: 1px solid #f3f3f3; 48 border-top: 1px solid #f3f3f3;
(...skipping 18 matching lines...) Expand all
67 margin: 0; 67 margin: 0;
68 } 68 }
69 69
70 .right-column .checkbox label, 70 .right-column .checkbox label,
71 .right-column .radio label { 71 .right-column .radio label {
72 padding-bottom: 5px; 72 padding-bottom: 5px;
73 padding-top: 10px; 73 padding-top: 10px;
74 } 74 }
75 75
76 .right-column .radio input[type='radio'] { 76 .right-column .radio input[type='radio'] {
77 height: 13px; 77 height: 1.1em;
78 width: 13px; 78 width: 1.1em;
79 }
80
81 .right-column label input[type='checkbox'] {
82 height: 1.1em;
83 width: 1.1em;
79 } 84 }
80 85
81 .left-column { 86 .left-column {
82 -webkit-padding-end: 20px; 87 -webkit-padding-end: 20px;
83 -webkit-padding-start: 20px; 88 -webkit-padding-start: 20px;
84 display: table-cell; 89 display: table-cell;
85 min-width: 70px; 90 min-width: 70px;
86 vertical-align: middle; 91 vertical-align: middle;
87 } 92 }
88 93
89 .left-column h1 { 94 .left-column h1 {
90 color: #646464; 95 color: #646464;
91 font-size: 12px; 96 font-size: 1em;
92 margin-bottom: 0; 97 margin-bottom: 0;
93 margin-top: 0; 98 margin-top: 0;
94 } 99 }
95 100
96 .two-column.visible .left-column, 101 .two-column.visible .left-column,
97 .two-column.visible .right-column { 102 .two-column.visible .right-column {
98 padding-bottom: 5px; 103 padding-bottom: 5px;
99 padding-top: 5px; 104 padding-top: 5px;
100 } 105 }
101 106
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 #print-preview button.default:not(:focus):not(:disabled) { 150 #print-preview button.default:not(:focus):not(:disabled) {
146 border-color: #808080; 151 border-color: #808080;
147 } 152 }
148 153
149 span.hint { 154 span.hint {
150 background: white; 155 background: white;
151 display: block; 156 display: block;
152 font-size: 0.9em; 157 font-size: 0.9em;
153 font-weight: bold; 158 font-weight: bold;
154 height: 0; 159 height: 0;
155 line-height: 10px; 160 line-height: 1em;
156 margin: 0; 161 margin: 0;
157 overflow: hidden; 162 overflow: hidden;
158 transition: color 200ms; 163 transition: color 200ms;
159 } 164 }
160 165
161 span.hint.visible { 166 span.hint.visible {
162 -webkit-user-select: text; 167 -webkit-user-select: text;
163 animation-duration: 200ms; 168 animation-duration: 200ms;
164 animation-fill-mode: forwards; 169 animation-fill-mode: forwards;
165 color: rgb(140, 20, 20); 170 color: rgb(140, 20, 20);
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 :enabled:focus:-webkit-any(input[type='checkbox'], 319 :enabled:focus:-webkit-any(input[type='checkbox'],
315 input[type='radio'], 320 input[type='radio'],
316 button) { 321 button) {
317 /* Cancel border-color for :focus specified in widgets.css. */ 322 /* Cancel border-color for :focus specified in widgets.css. */
318 border-color: rgba(0,0,0,0.25); 323 border-color: rgba(0,0,0,0.25);
319 } 324 }
320 325
321 html:not(.focus-outline-visible) [is='action-link']:focus { 326 html:not(.focus-outline-visible) [is='action-link']:focus {
322 outline: none; 327 outline: none;
323 } 328 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698