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