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

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

Issue 9958101: [WebUI] Fix rest of CSS style nits in misc. dirs so I can turn on CSS checker. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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 | Annotate | Revision Log
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 /* TODO(jhawkins): Organize these by page. */ 5 /* TODO(jhawkins): Organize these by page. */
6 6
7 #sync-setup-overlay * h4 { 7 #sync-setup-overlay * h4 {
8 margin: 5px 0; 8 margin: 5px 0;
9 } 9 }
10 10
(...skipping 19 matching lines...) Expand all
30 30
31 #sync-passphrase-message { 31 #sync-passphrase-message {
32 color: gray; 32 color: gray;
33 } 33 }
34 34
35 .sync-custom-passphrase-input { 35 .sync-custom-passphrase-input {
36 margin: 10px 0; 36 margin: 10px 0;
37 } 37 }
38 38
39 #sync-existing-passphrase-container { 39 #sync-existing-passphrase-container {
40 background: #fff29e; 40 background: rgb(255, 242, 158);
41 border: 1px solid #d4cdad; 41 border: 1px solid rgb(212, 205, 173);
42 padding: 10px; 42 padding: 10px;
43 } 43 }
44 44
45 #sync-select-container { 45 #sync-select-container {
46 margin-bottom: 10px; 46 margin-bottom: 10px;
47 } 47 }
48 48
49 #sync-instructions-container { 49 #sync-instructions-container {
50 line-height: 1.8em; 50 line-height: 1.8em;
51 margin-bottom: 30px; 51 margin-bottom: 30px;
52 } 52 }
53 53
54 #choose-data-types-body { 54 #choose-data-types-body {
55 -webkit-column-count: 3; 55 -webkit-column-count: 3;
56 margin: 10px 0; 56 margin: 10px 0;
57 } 57 }
58 58
59 #sync-setup-overlay { 59 #sync-setup-overlay {
60 -webkit-user-select: none; 60 -webkit-user-select: none;
61 background-color: #fff; 61 background-color: white;
62 margin-bottom: 6px; 62 margin-bottom: 6px;
63 margin-top: 6px; 63 margin-top: 6px;
64 width: 500px; 64 width: 500px;
65 } 65 }
66 66
67 #sync-setup-overlay * a:link { 67 #sync-setup-overlay * a:link {
68 color: #00c; 68 color: rgb(0, 0, 204);
69 } 69 }
70 70
71 #sync-setup-overlay * a:visited { 71 #sync-setup-overlay * a:visited {
72 color: #551a8b; 72 color: rgb(85, 26, 139);
73 } 73 }
74 74
75 #sync-setup-overlay * a:active { 75 #sync-setup-overlay * a:active {
76 color: #f00; 76 color: rgb(255, 0, 0);
77 } 77 }
78 78
79 #sync-setup-overlay * hr { 79 #sync-setup-overlay * hr {
80 background-color: #ddd; 80 background-color: #ddd;
81 border: 0; 81 border: 0;
82 height: 1px; 82 height: 1px;
83 text-align: left; 83 text-align: left;
84 width: 100%; 84 width: 100%;
85 } 85 }
86 86
(...skipping 14 matching lines...) Expand all
101 line-height: 29px; 101 line-height: 29px;
102 margin: 0; 102 margin: 0;
103 } 103 }
104 104
105 #passphrase-encryption-message { 105 #passphrase-encryption-message {
106 color: gray; 106 color: gray;
107 margin-bottom: 5px; 107 margin-bottom: 5px;
108 } 108 }
109 109
110 #passphrase-input { 110 #passphrase-input {
111 margin-bottom: 5px;
111 margin-top: 5px; 112 margin-top: 5px;
112 margin-bottom: 5px;
113 } 113 }
114 114
115 #incorrect-passphrase { 115 #incorrect-passphrase {
116 margin-top: 5px; 116 margin-top: 5px;
117 } 117 }
118 118
119 #sync-setup-overlay * .error { 119 #sync-setup-overlay * .error {
120 color: red; 120 color: red;
121 } 121 }
122 122
123 .overlay-warning { 123 .overlay-warning {
124 position: absolute;
125 left: 25px;
126 right: 25px;
127 top: 100px;
128 background: white; 124 background: white;
129 border: 2px solid #888; 125 border: 2px solid #888;
130 border-radius: 8px; 126 border-radius: 8px;
127 box-shadow: 0.2em 0.2em 0.5em #888;
128 left: 25px;
131 padding: 15px; 129 padding: 15px;
132 box-shadow: 0.2em 0.2em 0.5em #888; 130 position: absolute;
131 right: 25px;
132 top: 100px;
133 } 133 }
134 134
135 #cancel-warning-header { 135 #cancel-warning-header {
136 font-weight: bold; 136 font-weight: bold;
137 margin-bottom: 8px; 137 margin-bottom: 8px;
138 } 138 }
139 139
140 .overlay-warning input { 140 .overlay-warning input {
141 margin-top: 12px;
142 float: right; 141 float: right;
143 margin-left: 5px; 142 margin-left: 5px;
143 margin-top: 12px;
144 } 144 }
145 145
146 #sync-passphrase-warning { 146 #sync-passphrase-warning {
147 margin-bottom: 5px; 147 margin-bottom: 5px;
148 } 148 }
149 149
150 #gaia-login-form { 150 #gaia-login-form {
151 margin-bottom: 0; 151 margin-bottom: 0;
152 } 152 }
153 153
154 #captcha-div { 154 #captcha-div {
155 background: white;
155 border: 1px solid #e5e5e5; 156 border: 1px solid #e5e5e5;
156 background: #fff;
157 margin: 0 0 1.5em; 157 margin: 0 0 1.5em;
158 overflow: hidden; 158 overflow: hidden;
159 padding: 1em 1em 0; 159 padding: 1em 1em 0;
160 } 160 }
161 161
162 #captcha-wrapper { 162 #captcha-wrapper {
163 background: no-repeat; 163 background: no-repeat;
164 background-position: center; 164 background-position: center;
165 background-size: 200px 70px; 165 background-size: 200px 70px;
166 margin: 0 0 1em; 166 margin: 0 0 1em;
167 } 167 }
168 168
169 #captcha-image { 169 #captcha-image {
170 height: 70px; 170 height: 70px;
171 width: 200px; 171 width: 200px;
172 } 172 }
173 173
174 #asp-warning-div { 174 #asp-warning-div {
175 text-align: left; 175 text-align: left;
176 } 176 }
177 177
178 #logging-in-throbber { 178 #logging-in-throbber {
179 margin: 0 10px; 179 margin: 0 10px;
180 } 180 }
181 181
182 #top-blurb-error { 182 #top-blurb-error {
183 -webkit-transition: margin-top 330ms ease-out, opacity 660ms ease-out; 183 -webkit-transition: margin-top 330ms ease-out, opacity 660ms ease-out;
184 background: #f9edbe; 184 background: rgb(249, 237, 190);
185 border: 1px solid #f0c36d; 185 border: 1px solid rgb(240, 195, 109);
186 display: block; 186 display: block;
187 font-weight: bold; 187 font-weight: bold;
188 line-height: 1.5em; 188 line-height: 1.5em;
189 margin-bottom: 10px; 189 margin-bottom: 10px;
190 opacity: 1; 190 opacity: 1;
191 padding: 8px 25px; 191 padding: 8px 25px;
192 position: relative; 192 position: relative;
193 text-align: center; 193 text-align: center;
194 } 194 }
195 195
(...skipping 29 matching lines...) Expand all
225 225
226 .sync-data-types { 226 .sync-data-types {
227 margin-left: 5px; 227 margin-left: 5px;
228 } 228 }
229 229
230 .sync-configuration-errors { 230 .sync-configuration-errors {
231 margin-top: 5px; 231 margin-top: 5px;
232 } 232 }
233 233
234 .sync-configuration-error { 234 .sync-configuration-error {
235 width: 80%; 235 background-color: rgb(238, 185, 57);
236 border-radius: 4px;
237 font-weight: bold;
236 margin-left: auto; 238 margin-left: auto;
237 margin-right: auto; 239 margin-right: auto;
240 padding: 1px 10px;
238 text-align: center; 241 text-align: center;
239 padding: 1px 10px; 242 width: 80%;
240 background-color: #eeb939;
241 border-radius: 4px;
242 font-weight: bold;
243 } 243 }
244 244
245 #learn-more-link { 245 #learn-more-link {
246 float: right; 246 float: right;
247 } 247 }
248 248
249 html[dir='rtl'] #learn-more-link { 249 html[dir='rtl'] #learn-more-link {
250 float: left; 250 float: left;
251 } 251 }
252 252
253 #customize-link, #use-default-link { 253 #customize-link,
254 #use-default-link {
254 -webkit-transition: opacity 250ms; 255 -webkit-transition: opacity 250ms;
255 } 256 }
256 257
257 258
258 /* Sign in box. */ 259 /* Sign in box. */
259 260
260 .sign-in { 261 .sign-in {
261 margin: 20px auto; 262 margin: 20px auto;
262 width: 335px; 263 width: 335px;
263 } 264 }
(...skipping 29 matching lines...) Expand all
293 } 294 }
294 295
295 html[dir='rtl'] #signin-header-logo { 296 html[dir='rtl'] #signin-header-logo {
296 left: 0; 297 left: 0;
297 right: auto; 298 right: auto;
298 } 299 }
299 300
300 /* Sign in buttons. */ 301 /* Sign in buttons. */
301 302
302 .signin-box input[type=submit] { 303 .signin-box input[type=submit] {
304 -webkit-margin-end: 0.4em;
305 -webkit-margin-start: 0;
303 -webkit-transition: all 218ms; 306 -webkit-transition: all 218ms;
304 -webkit-user-select: none; 307 -webkit-user-select: none;
305 background-image: -webkit-linear-gradient(top, #4d90fe, #4787ed); 308 background-image: -webkit-linear-gradient(top, rgb(77, 144, 254),
306 border: 1px solid #3079ed; 309 rgb(71, 135, 237));
310 border: 1px solid rgb(48, 121, 237);
307 border-radius: 2px; 311 border-radius: 2px;
308 color: #fff; 312 color: white;
309 display: inline-block; 313 display: inline-block;
310 font-size: 13px; 314 font-size: 13px;
311 font-weight: bold; 315 font-weight: bold;
312 height: 32px; 316 height: 32px;
313 line-height: 27px; 317 line-height: 27px;
314 margin: 0 0.4em 1.2em 0; 318 margin-top: 0;
319 margin-bottom: 1.2em;
315 min-width: 54px !important; 320 min-width: 54px !important;
316 padding: 0 8px; 321 padding: 0 8px;
317 } 322 }
318 323
319 html[dir='rtl'] .signin-box input[type=submit] {
320 margin: 0 0 1.2em 0.4em;
321 }
322
323 .signin-box input[type=submit]:hover { 324 .signin-box input[type=submit]:hover {
324 -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); 325 -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
325 -webkit-transition: all 0; 326 -webkit-transition: all 0;
326 background-image: -webkit-linear-gradient(top, #4d90fe, #357ae8); 327 background-image: -webkit-linear-gradient(top, rgb(77, 144, 254),
327 border: 1px solid #2f5bb7; 328 rgb(53, 122, 232));
328 color: #fff; 329 border-color: rgb(47, 91, 183);
330 color: white;
329 } 331 }
330 332
331 .signin-box input[type=submit]:focus { 333 .signin-box input[type=submit]:focus {
332 -webkit-box-shadow: inset 0 0 0 1px #fff; 334 -webkit-box-shadow: inset 0 0 0 1px white;
333 border: 1px solid #4d90fe; 335 border-color: rgb(77, 144, 254);
334 outline: none; 336 outline: none;
335 z-index: 4 !important; 337 z-index: 4 !important;
336 } 338 }
337 339
338 .signin-box input[type=submit]:active, 340 .signin-box input[type=submit]:active,
339 .signin-box input[type=submit]:focus:active { 341 .signin-box input[type=submit]:focus:active {
340 -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3); 342 -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
341 } 343 }
342 344
343 .signin-box input[type=submit]:focus:hover { 345 .signin-box input[type=submit]:focus:hover {
344 -webkit-box-shadow: inset 0 0 0 1px #fff, 0 1px 1px rgba(0, 0, 0, 0.1); 346 -webkit-box-shadow: inset 0 0 0 1px white, 0 1px 1px rgba(0, 0, 0, 0.1);
345 } 347 }
346 348
347 .signin-box input[type=submit][disabled], 349 .signin-box input[type=submit][disabled],
348 .signin-box input[type=submit][disabled]:hover, 350 .signin-box input[type=submit][disabled]:hover,
349 .signin-box input[type=submit][disabled]:active { 351 .signin-box input[type=submit][disabled]:active {
350 -webkit-box-shadow: none; 352 -webkit-box-shadow: none;
351 background-color: #4d90fe; 353 background-color: rgb(77, 144, 254);
352 border: 1px solid #3079ed; 354 border: 1px solid rgb(48, 121, 237);
353 color: #fff; 355 color: white;
354 opacity: 0.5; 356 opacity: 0.5;
355 } 357 }
356 358
357 /* Sign in text fields. */ 359 /* Sign in text fields. */
358 360
359 .signin-box input[type=text], 361 .signin-box input[type=text],
360 .signin-box input[type=password] { 362 .signin-box input[type=password] {
361 -webkit-border-radius: 1px; 363 -webkit-border-radius: 1px;
362 -webkit-box-sizing: border-box; 364 -webkit-box-sizing: border-box;
363 background-color: #fff; 365 background-color: white;
364 border: 1px solid #d9d9d9; 366 border: 1px solid #d9d9d9;
365 border-top: 1px solid #c0c0c0; 367 border-top: 1px solid #c0c0c0;
366 color: #333; 368 color: #333;
367 display: inline-block; 369 display: inline-block;
368 font-size: 15px; 370 font-size: 15px;
369 height: 32px; 371 height: 32px;
370 line-height: 27px; 372 line-height: 27px;
371 margin-top: 0.5em; 373 margin-top: 0.5em;
372 padding-left: 8px; 374 padding-left: 8px;
373 vertical-align: top; 375 vertical-align: top;
374 width: 100%; 376 width: 100%;
375 } 377 }
376 378
377 html[dir='rtl'] .signin-box input[type=text], 379 html[dir='rtl'] .signin-box input[type=text],
378 html[dir='rtl'] .signin-box input[type=password] { 380 html[dir='rtl'] .signin-box input[type=password] {
379 padding-left: 0; 381 padding-left: 0;
380 padding-right: 8px; 382 padding-right: 8px;
381 } 383 }
382 384
383 .signin-box input[type=text]:hover, 385 .signin-box input[type=text]:hover,
384 .signin-box input[type=password]:hover { 386 .signin-box input[type=password]:hover {
385 -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); 387 -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
386 border: 1px solid #b9b9b9; 388 border-color: #b9b9b9;
387 border-top: 1px solid #a0a0a0; 389 border-top: 1px solid #a0a0a0;
388 } 390 }
389 391
390 .signin-box input[type=text]:focus, 392 .signin-box input[type=text]:focus,
391 .signin-box input[type=password]:focus { 393 .signin-box input[type=password]:focus {
392 -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3); 394 -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
393 border: 1px solid #4d90fe; 395 border-color: rgb(77, 144, 254);
394 outline: none; 396 outline: none;
395 } 397 }
396 398
397 .signin-box input[type=text][disabled], 399 .signin-box input[type=text][disabled],
398 .signin-box input[type=password][disabled] { 400 .signin-box input[type=password][disabled] {
399 -webkit-box-shadow: none; 401 -webkit-box-shadow: none;
400 background: #f5f5f5; 402 background: #f5f5f5;
401 border: 1px solid #e5e5e5; 403 border: 1px solid #e5e5e5;
402 } 404 }
403 405
404 .signin-box input[type=text][disabled]:hover, 406 .signin-box input[type=text][disabled]:hover,
405 .signin-box input[type=password][disabled]:hover { 407 .signin-box input[type=password][disabled]:hover {
406 -webkit-box-shadow: none; 408 -webkit-box-shadow: none;
407 } 409 }
408 410
409 411
410 /* Sign in links. */ 412 /* Sign in links. */
411 413
412 .signin-box .account-link { 414 .signin-box .account-link {
413 color: #15c !important; 415 color: rgb(17, 85, 204) !important;
414 text-decoration: none; 416 text-decoration: none;
415 } 417 }
416 418
417 .signin-box .account-link:visited { 419 .signin-box .account-link:visited {
418 color: #61c !important; 420 color: rgb(102, 17, 204) !important;
419 text-decoration: none; 421 text-decoration: none;
420 } 422 }
421 423
422 .signin-box .account-link:hover { 424 .signin-box .account-link:hover {
423 text-decoration: underline; 425 text-decoration: underline;
424 } 426 }
425 427
426 .signin-box .account-link:active { 428 .signin-box .account-link:active {
427 color: #d14836 !important; 429 color: rgb(209, 72, 54) !important;
428 text-decoration: underline; 430 text-decoration: underline;
429 } 431 }
430 432
431 /* Sign in text. */ 433 /* Sign in text. */
432 434
433 .signin-box strong { 435 .signin-box strong {
434 color: #222; 436 color: #222;
435 display: block; 437 display: block;
436 } 438 }
437 439
(...skipping 10 matching lines...) Expand all
448 450
449 html[dir='rtl'] .signin-box .throbber { 451 html[dir='rtl'] .signin-box .throbber {
450 float: left; 452 float: left;
451 } 453 }
452 454
453 #create-account-div { 455 #create-account-div {
454 display: inline-block; 456 display: inline-block;
455 } 457 }
456 458
457 .signin-box .errormsg { 459 .signin-box .errormsg {
458 color: #dd4b39 !important; 460 color: rgb(221, 75, 57) !important;
459 font-size: 13px !important; 461 font-size: 13px !important;
460 line-height: 17px; 462 line-height: 17px;
461 margin: 0.5em 0 1.5em; 463 margin: 0.5em 0 1.5em;
462 } 464 }
463 465
464 .signin-box .help-link { 466 .signin-box .help-link {
465 -webkit-border-radius: 1em; 467 -webkit-border-radius: 1em;
466 background: #dd4b39; 468 background: rgb(221, 75, 57);
467 color: #fff !important; 469 color: white !important;
468 display: inline-block; 470 display: inline-block;
469 font-weight: bold; 471 font-weight: bold;
470 padding: 0 5px; 472 padding: 0 5px;
471 position: relative; 473 position: relative;
472 text-decoration: none; 474 text-decoration: none;
473 top: 0; 475 top: 0;
474 } 476 }
475 477
476 .signin-box .help-link:visited { 478 .signin-box .help-link:visited {
477 color: #fff !important; 479 color: white !important;
478 } 480 }
479 481
480 .signin-box .help-link:hover { 482 .signin-box .help-link:hover {
481 color: #fff !important; 483 color: white !important;
482 opacity: .7; 484 opacity: .7;
483 } 485 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/sync_promo/sync_promo.css ('k') | chrome/browser/resources/task_manager/task_manager.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698