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

Side by Side Diff: chrome/browser/resources/chromeos/login/oobe.css

Issue 7569021: top/bottom shadow should now go away in gaia signin screen. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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/chromeos/login/oobe.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 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2011 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 * This is the stylesheet used by the Out of the box experience (OOBE) flow. 5 * This is the stylesheet used by the Out of the box experience (OOBE) flow.
6 */ 6 */
7 7
8 body { 8 body {
9 background: -webkit-gradient(radial, center center, 0, center center, 400, 9 background: -webkit-gradient(radial, center center, 0, center center, 400,
10 from(#fefefe), to(#efefef)); 10 from(#fefefe), to(#efefef));
(...skipping 18 matching lines...) Expand all
29 position: relative; 29 position: relative;
30 width: 640px; 30 width: 640px;
31 } 31 }
32 32
33 #security-info a, 33 #security-info a,
34 #eula a { 34 #eula a {
35 color: #006668; 35 color: #006668;
36 text-decoration: none; 36 text-decoration: none;
37 } 37 }
38 38
39 hr.topshadow { 39 hr.shadow {
xiyuan 2011/08/05 23:40:17 Do we want "-webkit-transition: opacity .2s ease-i
achuithb 2011/08/05 23:43:15 I should've written an explanation. The transition
40 -webkit-mask: -webkit-linear-gradient(left, rgba(0,0,0,0), 40 -webkit-mask: -webkit-linear-gradient(left, rgba(0,0,0,0),
41 black 50%, rgba(0,0,0,0)); 41 black 50%, rgba(0,0,0,0));
42 -webkit-mask-clip: padding-box; 42 -webkit-mask-clip: padding-box;
43 border: none;
44 opacity: 0.3
45 }
46
47 hr.top {
43 background: -webkit-linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.0)); 48 background: -webkit-linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.0));
44 border: none;
45 border-top: 1px solid rgba(0,0,0,0.5); 49 border-top: 1px solid rgba(0,0,0,0.5);
46 height: 4px; 50 height: 4px;
47 opacity: 0.3;
48 } 51 }
49 52
50 hr.bottomshadow { 53 hr.bottom {
51 -webkit-mask: -webkit-linear-gradient(left, rgba(0,0,0,0),
52 black 50%, rgba(0,0,0,0));
53 -webkit-mask-clip: padding-box;
54 background: -webkit-linear-gradient(bottom, top, 54 background: -webkit-linear-gradient(bottom, top,
55 rgba(0,0,0,0.2)), rgba(0,0,0,0.0)); 55 rgba(0,0,0,0.2)), rgba(0,0,0,0.0));
56 border: none;
57 border-bottom: 1px solid rgba(0,0,0,0.5); 56 border-bottom: 1px solid rgba(0,0,0,0.5);
58 height: 2px; 57 height: 2px;
59 opacity: 0.3;
60 } 58 }
61 59
62 #header { 60 #header {
63 background: url('chrome://theme/IDR_PRODUCT_LOGO_64') left center no-repeat; 61 background: url('chrome://theme/IDR_PRODUCT_LOGO_64') left center no-repeat;
64 background-size: 48px; 62 background-size: 48px;
65 color: #737373; 63 color: #737373;
66 display: -webkit-box; 64 display: -webkit-box;
67 font-size: 20px; 65 font-size: 20px;
68 height: 48px; 66 height: 48px;
69 line-height: 48px; 67 line-height: 48px;
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 margin: 0; 466 margin: 0;
469 padding: 0; 467 padding: 0;
470 } 468 }
471 469
472 body.login-display #oobe { 470 body.login-display #oobe {
473 -webkit-margin-start: -550px; 471 -webkit-margin-start: -550px;
474 width: 1100px; 472 width: 1100px;
475 } 473 }
476 474
477 body.login-display #oobe hr { 475 body.login-display #oobe hr {
478 -webkit-transition: all .8s ease; 476 -webkit-transition: all .8s ease;
achuithb 2011/08/05 23:43:15 This transition overrides the shadow transition
xiyuan 2011/08/05 23:47:03 Yep, you are right.
479 width: 1100px; /* Necessary. Otherwise hr shrinks to 0 first when switching 477 width: 1100px; /* Necessary. Otherwise hr shrinks to 0 first when switching
480 from 640px to full width. */ 478 from 640px to full width. */
481 } 479 }
482 480
483 body.login-display #oobe.signin hr, 481 body.login-display #oobe.signin hr,
484 body.login-display #oobe.gaia-signin hr { 482 body.login-display #oobe.gaia-signin hr {
485 width: 640px; 483 opacity: 0;
486 } 484 }
487 485
488 body.login-display #inner-container { 486 body.login-display #inner-container {
489 height: 262px; 487 height: 262px;
490 padding: 0; 488 padding: 0;
491 width: 1100px; 489 width: 1100px;
492 } 490 }
493 491
494 body.login-display .step { 492 body.login-display .step {
495 left: 230px; /* (1100px - 640px) / 2, make it center in oobe div */ 493 left: 230px; /* (1100px - 640px) / 2, make it center in oobe div */
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 #version-labels { 525 #version-labels {
528 -webkit-transition: all .5s linear; 526 -webkit-transition: all .5s linear;
529 bottom: 10px; 527 bottom: 10px;
530 color: #999; 528 color: #999;
531 font-size: 11px; 529 font-size: 11px;
532 left: 10px; 530 left: 10px;
533 opacity: 1.0; 531 opacity: 1.0;
534 position: absolute; 532 position: absolute;
535 text-shadow: 0 1px 1px #fff; 533 text-shadow: 0 1px 1px #fff;
536 } 534 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/login/oobe.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698