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

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

Issue 14752026: Changes to print preview layout. (Closed) Base URL: http://git.chromium.org/chromium/src.git@constrained-printpreview
Patch Set: Rebase Created 7 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
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 } 7 }
8 8
9 body { 9 body {
10 display: -webkit-box; 10 display: -webkit-box;
11 height: 100%; 11 height: 100%;
12 margin: 0; 12 margin: 0;
13 } 13 }
14 14
15 /* Header */ 15 /* Header */
16 16
17 header { 17 header {
18 -webkit-padding-end: 14px; 18 -webkit-padding-end: 19px;
19 -webkit-padding-start: 16px; 19 -webkit-padding-start: 20px;
20 background-color: #F1F1F1; 20 background-color: #F6F6F6;
21 border-bottom: 1px solid #d2d2d2;
21 } 22 }
22 23
23 #print-preview #navbar-container { 24 #print-preview #navbar-container {
24 -webkit-border-end: 1px solid rgb(198, 201, 206); 25 -webkit-border-end: 1px solid #c8c8c8;
25 -webkit-box-orient: vertical; 26 -webkit-box-orient: vertical;
26 -webkit-user-select: none; 27 -webkit-user-select: none;
27 background-color: white; 28 background-color: white;
28 display: -webkit-box; 29 display: -webkit-box;
29 position: relative; 30 position: relative;
30 width: 310px; 31 width: 310px;
31 z-index: 2; 32 z-index: 2;
32 } 33 }
33 34
34 #navbar-content-title { 35 #navbar-content-title {
35 color: #333; 36 color: black;
36 font-size: 200%; 37 font-size: 15px;
37 font-weight: normal; 38 font-weight: normal;
38 margin: 0; 39 margin: 0;
39 padding-bottom: 14px; 40 padding-bottom: 6px;
40 padding-top: 13px; 41 padding-top: 16px;
41 text-shadow: white 0 1px 2px;
42 } 42 }
43 43
44 #navbar-scroll-container { 44 #navbar-scroll-container {
45 -webkit-box-flex: 1; 45 -webkit-box-flex: 1;
46 -webkit-box-shadow: inset 0 4px 2px -2px rgba(0, 0, 0, .3); 46 background: #fbfbfb;
47 background: white; 47 border-top: 1px solid #f3f3f3;
48 overflow-y: auto; 48 overflow-y: auto;
49 padding-top: 2px; 49 padding-top: 2px;
50 } 50 }
51 51
52 /* Settings */ 52 /* Settings */
53 53
54 #settings {
55 border-left: 1px solid #dcdcdc;
56 }
57
58 .two-column { 54 .two-column {
59 display: table-row; 55 display: table-row;
60 } 56 }
61 57
62 .right-column { 58 .right-column {
63 -webkit-padding-end: 16px; 59 -webkit-padding-end: 20px;
64 display: table-cell; 60 display: table-cell;
65 width: auto; 61 width: auto;
66 } 62 }
67 63
68 .right-column .checkbox, 64 .right-column .checkbox,
69 .right-column .radio { 65 .right-column .radio {
70 margin: 0; 66 margin: 0;
71 } 67 }
72 68
73 .right-column > *:not(:first-child):not(.hint), 69 .right-column .checkbox label,
74 .right-column > .collapsible > *:not(:first-child):not(.hint) { 70 .right-column .radio label {
75 margin-top: 8px; 71 padding-bottom: 5px;
72 padding-top: 10px;
73 }
74
75 .right-column .radio input[type='radio'] {
76 height: 13px;
77 width: 13px;
76 } 78 }
77 79
78 .two-column h1 { 80 .two-column h1 {
79 -webkit-padding-end: 16px; 81 -webkit-padding-end: 20px;
80 -webkit-padding-start: 16px; 82 -webkit-padding-start: 20px;
83 color: #646464;
81 display: table-cell; 84 display: table-cell;
82 font-size: 1.1em; 85 font-size: 12px;
86 min-width: 70px;
83 } 87 }
84 88
85 .two-column.visible h1, 89 .two-column.visible h1,
86 .two-column.visible .right-column { 90 .two-column.visible .right-column {
87 border-bottom: 1px solid #dcdcdc; 91 border-bottom: 1px solid #e9e9e9;
88 padding-bottom: 10px; 92 padding-bottom: 7px;
89 padding-top: 10px; 93 padding-top: 7px;
90 } 94 }
91 95
92 .two-column:not(.visible) select { 96 .two-column:not(.visible) select {
93 border-top-width: 0; 97 border-top-width: 0;
94 margin-top: 0; 98 margin-top: 0;
95 padding-top: 0; 99 padding-top: 0;
96 } 100 }
97 101
98 p { 102 p {
99 -webkit-line-box-contain: block; 103 -webkit-line-box-contain: block;
100 margin: 0; 104 margin: 0;
101 margin-bottom: 10px; 105 margin-bottom: 10px;
102 } 106 }
103 107
104 h1 { 108 h1 {
105 color: #808080; 109 color: #808080;
106 font-weight: 300; 110 font-weight: 300;
107 } 111 }
108 112
109 #print-preview .navbar-link { 113 #print-preview .navbar-link {
110 -webkit-margin-start: 16px; 114 -webkit-margin-start: 20px;
111 margin-top: 10px; 115 height: 29px;
112 outline: 0; 116 outline: 0;
113 padding: 0; 117 padding: 0;
114 text-align: start; 118 text-align: start;
115 text-decoration: none; 119 text-decoration: none;
116 } 120 }
117 121
118 #print-preview .navbar-link:hover:not(:disabled) { 122 #print-preview .navbar-link:hover:not(:disabled) {
119 text-decoration: underline; 123 text-decoration: underline;
120 } 124 }
121 125
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 .button-strip { 269 .button-strip {
266 <if expr="not pp_ifdef('toolkit_views')"> 270 <if expr="not pp_ifdef('toolkit_views')">
267 -webkit-box-direction: reverse; 271 -webkit-box-direction: reverse;
268 </if> 272 </if>
269 -webkit-box-orient: horizontal; 273 -webkit-box-orient: horizontal;
270 -webkit-box-pack: end; 274 -webkit-box-pack: end;
271 display: -webkit-box; 275 display: -webkit-box;
272 } 276 }
273 277
274 #print-preview .button-strip button { 278 #print-preview .button-strip button {
275 -webkit-margin-start: 4px; 279 -webkit-margin-start: 9px;
276 display: block; 280 display: block;
277 } 281 }
278 282
279 #link-container { 283 #link-container {
280 -webkit-box-orient: vertical; 284 -webkit-box-orient: vertical;
281 display: -webkit-box; 285 display: -webkit-box;
286 margin: 7px 0;
282 } 287 }
283 288
284 #main-container { 289 #main-container {
290 -webkit-border-start: 1px solid #dcdcdc;
285 -webkit-box-flex: 1; 291 -webkit-box-flex: 1;
286 -webkit-box-orient: vertical; 292 -webkit-box-orient: vertical;
287 display: -webkit-box; 293 display: -webkit-box;
288 height: 100%; 294 height: 100%;
289 position: relative; 295 position: relative;
290 } 296 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/print_preview/print_header.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