Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 | |
| 3 * found in the LICENSE file. | |
| 4 * | |
| 5 * This is the stylesheet used by the Out of the box experience (OOBE) flow. | |
| 6 */ | |
| 7 | |
| 1 body { | 8 body { |
| 2 cursor: default; | 9 background: -webkit-gradient(radial, center center, 0, center center, 400, |
| 10 from(#fefefe), to(#efefef)); | |
| 11 font-size: 14px; | |
| 12 padding: 10px; | |
| 13 } | |
| 14 | |
| 15 #oobe { | |
| 16 left: 50%; | |
| 17 margin-top: -270px; | |
|
James Hawkins
2011/06/07 18:13:06
margin-top after margin-left.
Nikita (slow)
2011/06/08 14:30:54
Done.
| |
| 18 margin-left: -320px; | |
| 19 position: absolute; | |
| 20 top: 50%; | |
| 21 width: 640px; | |
| 22 } | |
| 23 | |
| 24 #inner-container { | |
| 25 -webkit-transition: height .2s ease-in-out; | |
| 26 height: 294px; | |
| 27 padding: 20px; | |
| 28 position: relative; | |
| 29 width: 640px; | |
| 30 } | |
| 31 | |
| 32 table { | |
| 33 font-size: 14px; | |
| 34 } | |
| 35 | |
| 36 a { | |
| 37 color: #006668; | |
| 38 text-decoration: none; | |
| 39 } | |
| 40 | |
| 41 #header { | |
| 42 color: #737373; | |
| 43 } | |
| 44 | |
| 45 hr.topshadow { | |
| 46 -webkit-mask: -webkit-gradient(linear, left top, right top, | |
| 47 from(rgba(0,0,0,0)), color-stop(0.5, black), to(rgba(0,0,0,0))); | |
| 48 -webkit-mask-clip: padding-box; | |
| 49 background: -webkit-gradient(linear, left top, left bottom, | |
| 50 from(rgba(0,0,0,0.3)), to(rgba(0,0,0,0.0))); | |
| 51 border: none; | |
| 52 border-top: 1px solid rgba(0,0,0,0.5); | |
| 53 height: 4px; | |
| 54 opacity: 0.3; | |
| 55 } | |
| 56 | |
| 57 hr.bottomshadow { | |
| 58 -webkit-mask: -webkit-gradient(linear, left top, right top, | |
| 59 from(rgba(0,0,0,0)), color-stop(0.5, black), to(rgba(0,0,0,0))); | |
| 60 -webkit-mask-clip: padding-box; | |
| 61 background: -webkit-gradient(linear, left bottom, left top, | |
| 62 from(rgba(0,0,0,0.2)), to(rgba(0,0,0,0.0))); | |
| 63 border: none; | |
| 64 border-bottom: 1px solid rgba(0,0,0,0.5); | |
| 65 height: 2px; | |
| 66 opacity: 0.3; | |
| 67 } | |
| 68 | |
| 69 #header { | |
| 70 background: url('chrome://theme/IDR_PRODUCT_LOGO_64') left center no-repeat; | |
| 71 background-size: 48px; | |
| 72 font-size: 20px; | |
| 73 height: 48px; | |
| 74 line-height: 48px; | |
| 75 padding-left: 54px; | |
| 76 } | |
| 77 | |
| 78 #header-sections { | |
| 79 display: inline-block; | |
| 80 height: 1.5em; | |
|
James Hawkins
2011/06/07 18:13:06
Why are you using height instead of proper padding
Nikita (slow)
2011/06/08 14:30:54
Done.
| |
| 81 position: relative; | |
| 82 } | |
| 83 | |
| 84 .header-section:before { | |
| 85 /* Divider in header between product name and title, | |
| 86 like "[Product name] > [step header]" */ | |
| 87 content: "\00A0\203A\00A0\00A0"; | |
| 88 } | |
| 89 | |
| 90 .header-section { | |
| 91 -webkit-transition: all .2s ease-in-out; | |
| 92 position: absolute; | |
| 93 width: 20em; | |
| 94 } | |
| 95 | |
| 96 .header-section.right { | |
| 97 left: 50px; | |
| 98 opacity: 0; | |
| 99 } | |
| 100 | |
| 101 .header-section.left { | |
| 102 left: -20px; | |
| 103 opacity: 0; | |
| 104 } | |
| 105 | |
| 106 .step { | |
| 107 -webkit-transition: all .2s ease-in-out; | |
| 108 left: 0; | |
| 109 min-height: 294px; | |
| 110 opacity: 1; | |
| 111 position: absolute; | |
| 112 width: 640px; | |
| 113 } | |
| 114 | |
| 115 .step.right { | |
| 116 left: 100px; | |
| 117 opacity: 0; | |
| 118 } | |
| 119 | |
| 120 .step.left { | |
| 121 left: -50px; | |
| 122 opacity: 0; | |
| 123 } | |
| 124 | |
| 125 .step.hidden { | |
| 126 visibility: hidden; | |
| 127 } | |
| 128 | |
| 129 #progress { | |
| 130 float: left; | |
| 131 padding: 10px; | |
| 132 } | |
| 133 | |
| 134 .progdot { | |
| 135 background: black; | |
| 136 border-radius: 2px; | |
| 137 float: left; | |
| 138 height: 8px; | |
| 139 margin-right: 12px; | |
| 140 opacity: 0.1; | |
| 141 width: 8px; | |
| 142 } | |
| 143 | |
| 144 .progdot-active { | |
| 145 opacity: 0.5; | |
| 146 } | |
| 147 | |
| 148 select { | |
| 149 width: 150px; | |
| 150 } | |
| 151 | |
| 152 #logging { | |
| 153 clear: both; | |
| 154 margin-top: 20px; | |
| 155 } | |
| 156 | |
| 157 #footer button { | |
| 158 display: none; | |
| 159 } | |
| 160 | |
| 161 #oobe.connect #continue-button, | |
| 162 #oobe.eula #back-button, | |
| 163 #oobe.eula #accept-button { | |
| 164 display: inline-block; | |
| 165 } | |
| 166 | |
| 167 #oobe.connect #connect-dot, | |
| 168 #oobe.eula #eula-dot, | |
| 169 #oobe.signin #signin-dot, | |
| 170 #oobe.photo #photo-dot { | |
| 171 opacity: 0.4; | |
| 172 } | |
| 173 | |
| 174 #connect table { | |
| 175 margin: 7em auto; | |
| 176 } | |
| 177 | |
| 178 #security-info { | |
| 179 bottom: 10px; | |
| 180 position: absolute; | |
| 181 text-align: center; | |
| 182 visibility: hidden; | |
| 183 width: 98%; | |
| 184 } | |
| 185 | |
| 186 #security-info a { | |
| 187 color: #8c8c8c; | |
| 3 font-size: 13px; | 188 font-size: 13px; |
| 4 background: #f1f1f1; | 189 } |
| 5 } | 190 |
| 191 #oobe.eula + #tpm { | |
| 192 visibility: visible; | |
| 193 } | |
| 194 | |
| 195 #update div { | |
| 196 margin: 6em auto; | |
| 197 width: 32em; | |
| 198 } | |
| 199 | |
| 200 #update progress { | |
| 201 margin: 13px 0; | |
| 202 width: 380px; | |
| 203 } | |
| 204 | |
| 205 button { | |
| 206 min-width: 80px; | |
| 207 } | |
| 208 | |
| 209 .eula-columns { | |
| 210 display: -webkit-box; | |
| 211 width: 630px; | |
| 212 } | |
| 213 | |
| 214 .eula-frame { | |
| 215 border: none; | |
| 216 height: 200px; | |
| 217 margin-right: 20px; | |
| 218 padding: 0 0 0 10px; | |
| 219 width: 270px; | |
| 220 } | |
| 221 | |
| 222 #eulas.one-column #cros-eula { | |
| 223 width: 100%; | |
| 224 } | |
| 225 | |
| 226 #eulas.one-column #cros-eula-frame { | |
| 227 width: 100%; | |
| 228 } | |
| 229 | |
| 230 #eulas.one-column #oem-eula { | |
| 231 display: none; | |
| 232 } | |
| 233 | |
| 234 .button-strip { | |
| 235 float: right; | |
| 236 } | |
| OLD | NEW |