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