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: all .2s ease-in-out; | |
Evan Stade
2011/06/08 22:46:56
don't use all. specify the property/s
Nikita (slow)
2011/06/09 15:52:14
Done.
| |
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: all .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 padding: 60px 0 0 145px; | |
161 } | |
162 | |
163 #logging { | |
164 clear: both; | |
165 margin-top: 20px; | |
166 } | |
167 | |
168 #footer button { | |
169 display: none; | |
170 } | |
171 | |
172 #oobe.connect #continue-button, | |
173 #oobe.eula #back-button, | |
174 #oobe.eula #accept-button { | |
175 display: inline-block; | |
176 } | |
177 | |
178 #oobe.connect #connect-dot, | |
179 #oobe.eula #eula-dot, | |
180 #oobe.signin #signin-dot, | |
181 #oobe.photo #photo-dot { | |
182 opacity: 0.4; | |
183 } | |
184 | |
185 #connect table { | |
186 margin: 7em auto; | |
187 } | |
188 | |
189 #security-info { | |
190 bottom: 10px; | |
191 position: absolute; | |
192 text-align: center; | |
193 visibility: hidden; | |
194 width: 98%; | |
195 } | |
196 | |
197 #security-info a { | |
198 color: #8c8c8c; | |
3 font-size: 13px; | 199 font-size: 13px; |
4 background: #f1f1f1; | 200 } |
5 } | 201 |
202 #oobe.eula + #tpm { | |
203 visibility: visible; | |
204 } | |
205 | |
206 #update div { | |
207 margin: 6em auto; | |
208 width: 32em; | |
209 } | |
210 | |
211 #update progress { | |
212 margin: 13px 0; | |
213 width: 380px; | |
214 } | |
215 | |
216 button { | |
217 min-width: 80px; | |
218 } | |
219 | |
220 .eula-columns { | |
221 display: -webkit-box; | |
222 width: 630px; | |
223 } | |
224 | |
225 .eula-frame { | |
226 border: none; | |
227 height: 200px; | |
228 margin-right: 20px; | |
229 padding: 0 0 0 10px; | |
230 width: 270px; | |
231 } | |
232 | |
233 #eulas.one-column #cros-eula { | |
234 width: 100%; | |
235 } | |
236 | |
237 #eulas.one-column #cros-eula-frame { | |
238 width: 100%; | |
239 } | |
240 | |
241 #eulas.one-column #oem-eula { | |
242 display: none; | |
243 } | |
244 | |
245 .button-strip { | |
246 float: right; | |
247 } | |
OLD | NEW |