Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: chrome/skin/firstRun.css

Issue 10585038: First-run page (revisited) (Closed)
Patch Set: Created May 28, 2013, 2:09 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/skin/features/typo.png ('k') | chrome/skin/social/facebook.png » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This file is part of Adblock Plus <http://adblockplus.org/>, 2 * This file is part of Adblock Plus <http://adblockplus.org/>,
3 * Copyright (C) 2006-2013 Eyeo GmbH 3 * Copyright (C) 2006-2013 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details. 12 * GNU General Public License for more details.
13 * 13 *
14 * You should have received a copy of the GNU General Public License 14 * You should have received a copy of the GNU General Public License
15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. 15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
16 */ 16 */
17 17
18 @namespace url("http://www.w3.org/1999/xhtml"); 18 body
19 19 {
20 @media not handheld 20 font-family: Arial, Helvetica, sans-serif;
21 font-size: 14px;
22 line-height: 140%;
23 color: #000000;
24 background-color: #f8f6f2;
25 background-image: url(/skin/background.png);
26 margin: 0 auto;
27 padding: 0;
28 max-width: 900px;
29 }
30
31 a:link, a:visited
32 {
33 color: #7d7d7d;
34 }
35
36 button, .arrow
37 {
38 cursor: pointer;
39 }
40
41 header, p
42 {
43 margin: 15px 0 5px;
44 }
45
46 #content
47 {
48 padding: 0 90px;
49 }
50
51 header
52 {
53 padding-left: 148px;
54 background-image: url(/skin/abp-icon-big.png);
55 background-position: 0% 50%;
56 background-repeat: no-repeat;
57 min-height: 128px;
58 vertical-align: middle;
59 line-height: 1;
60
61 display: -webkit-box;
62 -webkit-box-orient: vertical;
63 -webkit-box-pack: center;
64
65 display: -moz-box;
66 -moz-box-orient: vertical;
67 -moz-box-pack: center;
68
69 display: -o-box;
70 -o-box-orient: vertical;
71 -o-box-pack: center;
72
73 display: -ms-box;
74 -ms-box-orient: vertical;
75 -ms-box-pack: center;
76
77 display: box;
78 box-orient: vertical;
79 box-pack: center;
80 }
81
82 header h1
83 {
84 font-size: 40px;
85 font-weight: normal;
86 margin: 0;
87 }
88
89 #dataCorruptionWarning
90 {
91 font-size: 200%;
92 line-height: 140%;
93 margin: 20px;
94 padding: 20px;
95 border: 3px solid red;
96 border-radius: 10px;
97 }
98
99 #features
100 {
101 display: block;
102 border-spacing: 10px;
103 margin: 0px;
104 padding: 0px;
105 padding-bottom: 120px;
106 white-space: nowrap;
107 }
108
109 #features-title
110 {
111 font-size: 22px;
112 color: #cc0000;
113 margin: 30px 0px 20px;
114 }
115
116 #features-title::after
117 {
118 content: ":";
119 }
120
121 .feature:not([hidden])
122 {
123 display: block;
124 list-style-type: none;
125 padding-bottom: 20px;
126 }
127
128 .feature-image, .feature-description
129 {
130 display: inline-block;
131 *display: inline; /* IE6 inline-block fix */
132 *zoom: 1;
133 vertical-align: top;
134 }
135
136 .feature-description
137 {
138 width: 550px;
139 margin: 0px 10px;
140 }
141
142 .feature-title
143 {
144 color: black;
145 font-weight: bold;
146 font-size: 120%;
147 }
148
149 .feature-title::after
150 {
151 content: ":";
152 }
153
154 .feature-text
155 {
156 margin: 7px 0px;
157 white-space: normal;
158 }
159
160 .feature-image
161 {
162 width: 57px;
163 height: 57px;
164 }
165
166 #feature-typo .feature-image
167 {
168 background-image: url(/skin/features/typo.png);
169 }
170
171 #feature-malware .feature-image
172 {
173 background-image: url(/skin/features/malware.png);
174 }
175
176 #feature-social .feature-image
177 {
178 background-image: url(/skin/features/social.png);
179 }
180
181 #feature-tracking .feature-image
182 {
183 background-image: url(/skin/features/tracking.png);
184 }
185
186 .feature button
187 {
188 cursor: pointer;
189 position: relative;
190 top: 0px;
191 padding: 5px 10px;
192 *padding: 2px 3px;
193 font-weight: none;
194 font-size: inherit;
195 color: white;
196 text-shadow: 2px 2px 2px #327d14;
197 border: none;
198 border-radius: 3px;
199 box-shadow: 0 1px 0 0 #486c15, 0 2px 0 0 #517422;
200 background-color: #62c52b;
201 background: -webkit-linear-gradient(top, #62c52b, #4f9d22);
202 background: -moz-linear-gradient(top, #62c52b, #4f9d22);
203 background: -o-linear-gradient(top, #62c52b, #4f9d22);
204 background: -ms-linear-gradient(top, #62c52b, #4f9d22);
205 background: linear-gradient(top, #62c52b, #4f9d22);
206 -webkit-transition: box-shadow 0.3s ease;
207 -moz-transition: box-shadow 0.3s ease;
208 -o-transition: box-shadow 0.3s ease;
209 -ms-transition: box-shadow 0.3s ease;
210 transition: box-shadow 0.3s ease;
211 }
212
213 .feature button:hover
214 {
215 box-shadow: 0px 2px 7px #486c15, 0 1px 0 0 #486c15;
216 }
217
218 .feature button:active
219 {
220 top: 3px;
221 top: 0px\9;
222 box-shadow: 0px 0px 7px #486c15;
223 background-color: #4f9d22;
224 background: -webkit-linear-gradient(bottom, #62c52b, #4f9d22);
225 background: -moz-linear-gradient(bottom, #62c52b, #4f9d22);
226 background: -o-linear-gradient(bottom, #62c52b, #4f9d22);
227 background: -ms-linear-gradient(bottom, #62c52b, #4f9d22);
228 background: linear-gradient(bottom, #62c52b, #4f9d22);
229 -webkit-transition: none;
230 -moz-transition: none;
231 -o-transition: none;
232 -ms-transition: none;
233 transition: none;
234 *zoom: 1;
235 }
236
237 .feature button.disable
238 {
239 text-shadow: 2px 2px 2px #9d4f22;
240 box-shadow: 0 1px 0 0 #9d4f22, 0 2px 0 0 #999;
241 background-color: #c5622b;
242 background: -webkit-linear-gradient(top, #c5622b, #9d4f22);
243 background: -moz-linear-gradient(top, #c5622b, #9d4f22);
244 background: -o-linear-gradient(top, #c5622b, #9d4f22);
245 background: -ms-linear-gradient(top, #c5622b, #9d4f22);
246 background: linear-gradient(top, #c5622b, #9d4f22);
247 }
248
249 .feature button.disable:hover
250 {
251 box-shadow: 0px 2px 7px #9d4f22, 0 1px 0 0 #9d4f22;
252 }
253
254 .feature button.disable:active
255 {
256 top: 3px;
257 top: 0px\9;
258 box-shadow: 0px 0px 7px #9d4f22;
259 background-color: #9d4f22;
260 background: -webkit-linear-gradient(bottom, #c5622b, #9d4f22);
261 background: -moz-linear-gradient(bottom, #c5622b, #9d4f22);
262 background: -o-linear-gradient(bottom, #c5622b, #9d4f22);
263 background: -ms-linear-gradient(bottom, #c5622b, #9d4f22);
264 background: linear-gradient(bottom, #c5622b, #9d4f22);
265 -webkit-transition: none;
266 -moz-transition: none;
267 -o-transition: none;
268 -ms-transition: none;
269 transition: none;
270 *zoom: 1;
271 }
272
273 #shade
274 {
275 -webkit-transition: opacity 0.2s ease;
276 -moz-transition: opacity 0.2s ease;
277 -o-transition: opacity 0.2s ease;
278 -ms-transition: opacity 0.2s ease;
279 transition: opacity 0.2s ease;
280 opacity: 0.0;
281 position: fixed;
282 margin-left: 10px;
283 bottom: 70px;
284 z-index: 100;
285 }
286
287 .arrow
288 {
289 width: 0;
290 height: 0;
291 border: 30px solid transparent;
292 border-top-color: #000;
293 }
294
295 footer
296 {
297 position: fixed;
298 bottom: 0;
299 left: 0;
300 right: 0;
301 padding: 70px 0 0;
302 text-align: center;
303 background: -webkit-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 2 55, 1) 50px);
304 background: -moz-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 50px);
305 background: -o-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1 ) 50px);
306 background: -ms-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 50px);
307 background: linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 5 0px);
308 }
309
310 footer h1
311 {
312 margin: 0;
313 font-size: 18px;
314 color: #666;
315 position: fixed;
316 bottom: 70px;
317 left: 0;
318 right: 0;
319 -webkit-transition: opacity .3s ease;
320 -moz-transition: opacity .3s ease;
321 -o-transition: opacity .3s ease;
322 -ms-transition: opacity .3s ease;
323 transition: opacity .3s ease;
324 opacity: 1;
325 }
326
327 #social ul
328 {
329 list-style: none;
330 display: inline-block;
331 padding: 0;
332 margin: 0;
333 }
334
335 #social:hover h1
336 {
337 opacity: 0;
338 }
339
340 #social ul:hover li {
341 opacity: 0.3;
342 }
343
344 #social ul li
345 {
346 display: inline-block;
347 margin: 0px 5px;
348 -webkit-transition: opacity .5s ease, bottom .3s ease;
349 -moz-transition: opacity .5s ease, bottom .3s ease;
350 -o-transition: opacity .5s ease, bottom .3s ease;
351 -ms-transition: opacity .5s ease, bottom .3s ease;
352 transition: opacity .5s ease, bottom .3s ease;
353 position: relative;
354 bottom: -30px;
355 }
356
357 #social ul li:hover
358 {
359 opacity: 1.0;
360 bottom: 0px;
361 }
362
363 .share-button
364 {
365 display: inline-block;
366 width: 82px;
367 height: 82px;
368 }
369
370 #share-facebook
371 {
372 background-image: url(/skin/social/facebook.png);
373 }
374
375 #share-twitter
376 {
377 background-image: url(/skin/social/twitter.png);
378 }
379
380 #share-gplus
381 {
382 background-image: url(/skin/social/gplus.png);
383 }
384
385 #glass-pane, #share-popup
386 {
387 visibility: hidden;
388 opacity: 0;
389 -webkit-transition-property: opacity, visibility;
390 -moz-transition-property: opacity, visibility;
391 -o-transition-property: opacity, visibility;
392 -ms-transition-property: opacity, visibility;
393 transition-property: opacity, visibility;
394 }
395
396 #glass-pane
397 {
398 position: fixed;
399 top: 0;
400 right: 0;
401 bottom: 0;
402 left: 0;
403 background: rgba(0, 0, 0, 0.5) url(/skin/ajax-loader.gif) no-repeat 50% 50%;
404 z-index: 101;
405
406 -webkit-transition-duration: 0.2s;
407 -moz-transition-duration: 0.2s;
408 -o-transition-duration: 0.2s;
409 -ms-transition-duration: 0.2s;
410 transition-duration: 0.2s;
411 }
412
413 #share-popup
414 {
415 position: absolute;
416 top: 50%;
417 left: 50%;
418 border: none;
419 -webkit-transition-delay: 0.1s;
420 -moz-transition-delay: 0.1s;
421 -o-transition-delay: 0.1s;
422 -ms-transition-delay: 0.1s;
423 transition-delay: 0.1s;
424 }
425
426 #glass-pane.visible, #share-popup.visible
427 {
428 visibility: visible;
429 opacity: 1;
430 }
431
432 #share-popup.visible
433 {
434 -webkit-transition-duration: 0.15s;
435 -moz-transition-duration: 0.15s;
436 -o-transition-duration: 0.15s;
437 -ms-transition-duration: 0.15s;
438 transition-duration: 0.15s;
439 }
440
441 /* Adjust font size on smaller screens */
442 @media (max-height: 800px)
21 { 443 {
22 body 444 body
23 { 445 {
24 font-size: 130%; 446 font-size: 19px;
25 } 447 }
26 } 448 }
27 449
28 /** This should be unnecessary in Gecko 2.0 and above. */ 450 @media (max-height: 750px)
29 *[hidden] 451 {
30 { 452 body
31 display: none; 453 {
32 } 454 font-size: 17px;
33 455 }
34 body 456 }
35 { 457
36 background-image: url(abp-icon-big.png); 458 @media (max-height: 700px)
37 background-repeat: no-repeat; 459 {
38 background-position: 95% 5%; 460 body
39 font-family: Arial,sans-serif; 461 {
40 } 462 font-size: 16px;
41 463 }
42 .sectionTitle 464 }
43 {
44 font-weight: bold;
45 }
46
47 #listNameContainer,
48 #listNone
49 {
50 margin: 1em 2em;
51 }
52
53 #listNone
54 {
55 font-style: italic;
56 }
57
58 #acceptableAds
59 {
60 font-size: 80%;
61 font-weight: bold;
62 }
63 #acceptableAds > *
64 {
65 font-weight: normal;
66 }
67
68 .sectionContainer
69 {
70 margin: 1em 2em;
71 }
OLDNEW
« no previous file with comments | « chrome/skin/features/typo.png ('k') | chrome/skin/social/facebook.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld