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

Side by Side Diff: chrome/browser/resources/options/options_page.css

Issue 5060001: DOMUI: Pixel-perfect CSS fixes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: One more nit. Created 10 years, 1 month 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 body { 1 body {
2 -webkit-user-select: none; 2 -webkit-user-select: none;
3 cursor: default; 3 cursor: default;
4 font-size: 100%; 4 font-size: 100%;
5 } 5 }
6 6
7 #settings-title { 7 #settings-title {
8 -webkit-padding-end: 24px; 8 -webkit-padding-end: 24px;
9 padding-top: 16px; 9 color: #53637d;
10 padding-bottom: 34px;
11 text-align: end;
12 font-size: 200%; 10 font-size: 200%;
13 font-weight: normal; 11 font-weight: normal;
14 color: #53627d;
15 margin: 0; 12 margin: 0;
13 padding-bottom: 14px;
14 padding-top: 13px;
15 text-align: end;
16 } 16 }
17 17
18 #main-content { 18 #main-content {
19 display: -webkit-box; 19 display: -webkit-box;
20 position: absolute; 20 position: absolute;
21 left: 0; 21 left: 0;
22 right: 0; 22 right: 0;
23 top: 0; 23 top: 0;
24 bottom: 0; 24 bottom: 0;
25 } 25 }
(...skipping 23 matching lines...) Expand all
49 float: right; 49 float: right;
50 right: -20px; 50 right: -20px;
51 } 51 }
52 52
53 html[dir='rtl'] #close-overlay { 53 html[dir='rtl'] #close-overlay {
54 float: left; 54 float: left;
55 left: -20px; 55 left: -20px;
56 } 56 }
57 57
58 .action-area { 58 .action-area {
59 -webkit-box-orient: horizontal;
60 -webkit-box-align: center;
59 padding: 12px; 61 padding: 12px;
60 position: absolute; 62 position: absolute;
61 right: 0px; 63 right: 0px;
62 bottom: 0px; 64 bottom: 0px;
63 display: -webkit-box; 65 display: -webkit-box;
64 -webkit-box-orient: horizontal;
65 -webkit-box-align: center;
66 } 66 }
67 67
68 .button-strip { 68 .button-strip {
69 -webkit-box-orient: horizontal;
69 display: -webkit-box; 70 display: -webkit-box;
70 -webkit-box-orient: horizontal;
71 } 71 }
72 72
73 html[toolkit=views] .button-strip { 73 html[toolkit=views] .button-strip {
74 -webkit-box-direction: reverse; 74 -webkit-box-direction: reverse;
75 } 75 }
76 76
77 .button-strip > button { 77 .button-strip > button {
78 -webkit-margin-start: 4px;
78 display: block; 79 display: block;
79 -webkit-margin-start: 4px;
80 } 80 }
81 81
82 .overlay > div { 82 .overlay > div {
83 -webkit-box-shadow: 3px 3px 3px #666;
83 background: white; 84 background: white;
84 border-radius: 5px; 85 border-radius: 5px;
85 padding: 15px; 86 padding: 15px;
86 border: 1px solid #666; 87 border: 1px solid #666;
87 padding-bottom: 50px; 88 padding-bottom: 50px;
88 position: relative; 89 position: relative;
89 -webkit-box-shadow: 3px 3px 3px #666;
90 } 90 }
91 91
92 #navbar { 92 #navbar {
93 margin: 0; 93 margin: 0;
94 } 94 }
95 95
96 #navbar-container { 96 #navbar-container {
97 -webkit-border-end: 1px solid #c6c9ce; 97 -webkit-border-end: 1px solid #c6c9ce;
98 background: -webkit-gradient(linear, 98 background: -webkit-gradient(linear,
99 left top, 99 left top,
100 left bottom, 100 left bottom,
101 from(rgba(234, 238, 243, 0)), 101 from(rgba(234, 238, 243, 0)),
102 to(#eaeef3)), 102 to(#eaeef3)),
103 -webkit-gradient(linear, 103 -webkit-gradient(linear,
104 left top, 104 left top,
105 right top, 105 right top,
106 from(#eaeef3), 106 from(#eaeef3),
107 color-stop(0.97, #eaeef3), 107 color-stop(0.97, #eaeef3),
108 to(#d3d7db)); 108 to(#d3d7db));
109 bottom: 0; 109 bottom: 0;
110 cursor: pointer; 110 cursor: pointer;
111 display: none;
111 left: 0; 112 left: 0;
112 position: fixed; 113 position: fixed;
113 top: 0; 114 top: 0;
114 width: 250px; 115 width: 250px;
115 z-index: 2; 116 z-index: 2;
116 display: none;
117 } 117 }
118 118
119 html[dir='rtl'] #navbar-container { 119 html[dir='rtl'] #navbar-container {
120 background: -webkit-gradient(linear, 120 background: -webkit-gradient(linear,
121 left top, 121 left top,
122 left bottom, 122 left bottom,
123 from(rgba(255, 255, 255, 0)), 123 from(rgba(255, 255, 255, 0)),
124 color-stop(0.7, rgba(255, 255, 255, 0)), 124 color-stop(0.7, rgba(255, 255, 255, 0)),
125 to(white)), 125 to(white)),
126 -webkit-gradient(linear, 126 -webkit-gradient(linear,
(...skipping 18 matching lines...) Expand all
145 width: 65%; 145 width: 65%;
146 } 146 }
147 147
148 #navbar-container > ul { 148 #navbar-container > ul {
149 list-style-type: none; 149 list-style-type: none;
150 margin: 0; 150 margin: 0;
151 padding: 0; 151 padding: 0;
152 } 152 }
153 153
154 .navbar-item, .navbar-item2 { 154 .navbar-item, .navbar-item2 {
155 color: #426dc9;
156 display: block;
157 font-size: 105%;
158 outline: none;
155 padding: 7px 0; 159 padding: 7px 0;
160 text-align: end;
156 -webkit-padding-end: 24px; 161 -webkit-padding-end: 24px;
157 text-align: end;
158 display: block;
159 color: #426dc9;
160 outline:none;
161 font-size:105%;
162 } 162 }
163 163
164 .navbar-item-selected { 164 .navbar-item-selected {
165 background: #bbcee9; 165 background: #bbcee9;
166 border-bottom: 1px solid #8faad9;
166 border-top: 1px solid #8faad9; 167 border-top: 1px solid #8faad9;
167 border-bottom: 1px solid #8faad9; 168 color: black;
168 font-weight: bold; 169 font-weight: bold;
169 color: black;
170 } 170 }
171 171
172 .navbar-item-normal { 172 .navbar-item-normal {
173 background-color: #dfdfdf; 173 background-color: #dfdfdf;
174 } 174 }
175 175
176 #mainview { 176 #mainview {
177 -webkit-box-align: stretch; 177 -webkit-box-align: stretch;
178 -webkit-padding-start: 251px; 178 -webkit-padding-start: 251px;
179 margin: 0; 179 margin: 0;
180 position: absolute; 180 position: absolute;
181 left: 0; 181 left: 0;
182 right: 0; 182 right: 0;
183 top: 0; 183 top: 0;
184 bottom: 0; 184 bottom: 0;
185 z-index: 1; 185 z-index: 1;
186 } 186 }
187 187
188 html[hide-menu=true] #mainview { 188 html[hide-menu=true] #mainview {
189 -webkit-padding-start: 0; 189 -webkit-padding-start: 0;
190 } 190 }
191 191
192 #mainview-content { 192 #mainview-content {
193 padding: 0 24px;
193 width: 600px; 194 width: 600px;
194 padding: 0 24px;
195 } 195 }
196 196
197 #managed-prefs-banner { 197 #managed-prefs-banner {
198 background: -webkit-gradient(linear, 198 background: -webkit-gradient(linear,
199 left top, 199 left top,
200 left bottom, 200 left bottom,
201 from(#fff2b7), 201 from(#fff2b7),
202 color-stop(0.97, #fae691), 202 color-stop(0.97, #fae691),
203 to(#878787)); 203 to(#878787));
204 height: 31px; 204 height: 31px;
205 width: 100%; 205 width: 100%;
206 } 206 }
207 207
208 #managed-prefs-banner { 208 #managed-prefs-banner {
209 margin: 0; 209 margin: 0;
210 padding: 0; 210 padding: 0;
211 vertical-align: middle; 211 vertical-align: middle;
212 } 212 }
213 213
214 #managed-prefs-icon { 214 #managed-prefs-icon {
215 background-image: url("chrome://theme/IDR_WARNING"); 215 background-image: url("chrome://theme/IDR_WARNING");
216 background-repeat: no-repeat; 216 background-repeat: no-repeat;
217 background-position:center; 217 background-position:center;
218 display: inline-block;
218 padding: 5px; 219 padding: 5px;
220 height: 21px;
221 vertical-align: middle;
219 width: 24px; 222 width: 24px;
220 height: 21px;
221 display: inline-block;
222 vertical-align: middle;
223 } 223 }
224 224
225 #managed-prefs-text { 225 #managed-prefs-text {
226 vertical-align: middle; 226 vertical-align: middle;
227 } 227 }
228 228
229 .page > h1 { 229 .page > h1 {
230 -webkit-padding-end: 24px; 230 -webkit-padding-end: 24px;
231 padding-top: 16px;
232 padding-bottom: 10px;
233 border-bottom: 1px solid #eeeeee; 231 border-bottom: 1px solid #eeeeee;
234 -webkit-padding-start: 0; 232 color: #53637d;
235 font-size: 200%; 233 font-size: 200%;
236 color: #54637f; 234 font-weight: normal;
237 margin: 0; 235 margin: 0;
236 padding-bottom: 4px;
237 padding-top: 13px;
238 } 238 }
239 239
240 section { 240 section {
241 display: -webkit-box;
242 -webkit-box-orient: horizontal; 241 -webkit-box-orient: horizontal;
243 border-bottom: 1px solid #eeeeee; 242 border-bottom: 1px solid #eeeeee;
244 margin-top: 20px; 243 display: -webkit-box;
245 margin-bottom: 20px; 244 margin-top: 17px;
246 padding-bottom: 20px; 245 padding-bottom: 20px;
247 } 246 }
248 247
249 section:last-child { 248 section:last-child {
250 border-bottom: none; 249 border-bottom: none;
251 } 250 }
252 251
253 section > h3 { 252 section > h3 {
253 font-size: 105%;
254 font-weight: bold;
255 margin: 0;
256 vertical-align: middle;
254 width: 140px; 257 width: 140px;
255 font-weight: normal;
256 -webkit-padding-start: 0;
257 vertical-align: middle;
258 margin: 0;
259 font-size: 100%;
260 font-weight: bold;
261 } 258 }
262 259
263 section > div:only-of-type { 260 section > div:only-of-type {
264 -webkit-box-flex: 1; 261 -webkit-box-flex: 1;
265 } 262 }
266 263
267 .option { 264 .option {
268 margin-top: 0; 265 margin-top: 0;
269 } 266 }
270 267
271 .option-control-table, section > div:only-of-type { 268 .option-control-table, section > div:only-of-type {
272 -webkit-padding-start: 10px; 269 -webkit-padding-start: 10px;
273 border-spacing: 0 0; 270 border-spacing: 0 0;
274 } 271 }
275 272
276 /* TODO(stuartmorgan): make this less specific once all pages 273 /* TODO(stuartmorgan): make this less specific once all pages
277 * are converted to the non-table style. 274 * are converted to the non-table style.
278 */ 275 */
279 section > div:only-of-type label { 276 section > div:only-of-type label {
280 display: block; 277 display: block;
281 margin: 3px 0; 278 margin: 5px 0;
282 } 279 }
283 280
284 .hidden { 281 .hidden {
285 display: none; 282 display: none;
286 } 283 }
287 284
288 .touch-slider { 285 .touch-slider {
289 -webkit-appearance: slider-horizontal; 286 -webkit-appearance: slider-horizontal;
290 } 287 }
291 288
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 334
338 .option-name { 335 .option-name {
339 padding-right: 5px; 336 padding-right: 5px;
340 } 337 }
341 338
342 html[dir=rtl].option-name { 339 html[dir=rtl].option-name {
343 padding-left: 5px; 340 padding-left: 5px;
344 } 341 }
345 342
346 .favicon-cell { 343 .favicon-cell {
344 -webkit-padding-start: 20px;
347 background-position: left; 345 background-position: left;
348 background-repeat: no-repeat; 346 background-repeat: no-repeat;
349 -webkit-padding-start: 20px;
350 } 347 }
348
351 html[dir=rtl] .favicon-cell { 349 html[dir=rtl] .favicon-cell {
352 background-position: right; 350 background-position: right;
353 } 351 }
354 352
355 html[enable-background-mode=false] #background-mode-section { 353 html[enable-background-mode=false] #background-mode-section {
356 display: none; 354 display: none;
357 } 355 }
358 356
359 html[enable-cloud-print-proxy=false] #cloud-print-proxy-section { 357 html[enable-cloud-print-proxy=false] #cloud-print-proxy-section {
360 display: none; 358 display: none;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 label.radio > span, 396 label.radio > span,
399 .suboption { 397 .suboption {
400 -webkit-margin-start: 16px; 398 -webkit-margin-start: 16px;
401 display: block; 399 display: block;
402 } 400 }
403 401
404 html[os=mac] label.checkbox > input, 402 html[os=mac] label.checkbox > input,
405 html[os=mac] label.radio > input { 403 html[os=mac] label.radio > input {
406 margin-top: 2px; 404 margin-top: 2px;
407 } 405 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698