Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 | 5 |
| 6 html { | 6 html { |
| 7 font-family: segoe ui, arial, helvetica, sans-serif; | 7 font-family: segoe ui, arial, helvetica, sans-serif; |
| 8 font-size: 13px; | 8 font-size: 13px; |
| 9 height: 100%; | 9 height: 100%; |
| 10 } | 10 } |
| 11 | 11 |
| 12 body { | 12 body { |
| 13 background-image: -webkit-linear-gradient( | 13 background-image: -webkit-linear-gradient( |
| 14 rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.04)); | 14 rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.04)); |
| 15 } | 15 } |
| 16 | 16 |
| 17 #sync-setup-overlay { | 17 #sync-setup-overlay { |
| 18 background-color: transparent; | 18 background-color: transparent; |
| 19 width: 100%; | 19 width: 100%; |
| 20 } | 20 } |
| 21 | 21 |
| 22 #sync-setup-login { | 22 #sync-setup-login { |
| 23 margin: 0 auto; | 23 margin: 0 auto; |
| 24 max-width: 900px; | 24 max-width: 900px; |
| 25 min-width: 830px; | 25 min-width: 830px; |
| 26 width: auto; | 26 width: auto; |
| 27 position: relative; | |
| 28 } | |
| 29 | |
| 30 #sync-setup-login > div:first-of-type { | |
| 31 position: relative; | |
| 32 } | |
| 33 | |
| 34 /* Clearfix wrapper around the promo information and login. */ | |
|
Evan Stade
2011/12/05 02:23:37
i don't remember what this is and it's not describ
Dan Beam
2011/12/05 16:45:41
In standard browsers if you float: [ left | right
| |
| 35 #sync-setup-login > div:first-of-type::after { | |
| 36 content: " "; | |
| 37 display: block; | |
| 38 height: 0; | |
| 39 overflow: hidden; | |
| 40 visibility: hidden; | |
| 41 width: 100%; | |
| 27 } | 42 } |
| 28 | 43 |
| 29 #sync-setup-configure { | 44 #sync-setup-configure { |
| 30 background-color: transparent; | 45 background-color: transparent; |
| 31 margin-left: auto; | 46 margin-left: auto; |
| 32 margin-right: auto; | 47 margin-right: auto; |
| 33 width: 600px; | 48 width: 600px; |
| 34 } | 49 } |
| 35 | 50 |
| 36 #sync-setup-login-promo-column { | 51 #sync-setup-login-promo-column { |
| 37 margin-right: 385px; | 52 left: 0; |
| 53 position: absolute; | |
| 54 width: 444px; | |
| 38 } | 55 } |
| 39 | 56 |
| 40 html[dir='rtl'] #sync-setup-login-promo-column { | 57 html[dir='rtl'] #sync-setup-login-promo-column { |
| 41 margin-left: 385px; | 58 left: auto; |
| 42 margin-right: 0; | 59 right: 0; |
| 43 } | 60 } |
| 44 | 61 |
| 45 #sync-setup-login-content-column { | 62 #sync-setup-login-content-column { |
| 46 float: right; | 63 float: right; |
| 47 width: 335px; | 64 width: 335px; |
| 48 } | 65 } |
| 49 | 66 |
| 50 html[dir='rtl'] #sync-setup-login-content-column { | 67 html[dir='rtl'] #sync-setup-login-content-column { |
| 51 float: left; | 68 float: left; |
| 52 } | 69 } |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 121 #promo-info-pane > * { | 138 #promo-info-pane > * { |
| 122 -webkit-transition: opacity 200ms linear; | 139 -webkit-transition: opacity 200ms linear; |
| 123 opacity: 1; | 140 opacity: 1; |
| 124 position: absolute; | 141 position: absolute; |
| 125 } | 142 } |
| 126 | 143 |
| 127 #promo-info-pane > [hidden] { | 144 #promo-info-pane > [hidden] { |
| 128 display: inline-block; /* Override default user-agent styles. */ | 145 display: inline-block; /* Override default user-agent styles. */ |
| 129 opacity: 0; | 146 opacity: 0; |
| 130 } | 147 } |
| OLD | NEW |