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