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

Delta Between Two Patch Sets: chrome/skin/firstRun.css

Issue 10585038: First-run page (revisited) (Closed)
Left Patch Set: Created May 14, 2013, 3:12 p.m.
Right 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:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « chrome/skin/features/typo.png ('k') | chrome/skin/social/facebook.png » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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");
19
20 /** This should be unnecessary in Gecko 2.0 and above. */
21 *[hidden]
22 {
23 display: none;
24 }
25
26 body 18 body
27 { 19 {
28 font-family: Arial, sans-serif; 20 font-family: Arial, Helvetica, sans-serif;
29 font-size: 16px; 21 font-size: 14px;
30 line-height: 140%; 22 line-height: 140%;
31 color: #000000; 23 color: #000000;
32 background: repeating-linear-gradient(0deg, #F8F6F5, #F6F4F2 50%, #FCFBF9); 24 background-color: #f8f6f2;
33 background: -moz-repeating-linear-gradient(0deg, #F8F6F5, #F6F4F2 50%, #FCFBF9 ); 25 background-image: url(/skin/background.png);
34 background: -webkit-repeating-linear-gradient(0deg, #F5F4F3, #FAF9F8 50%, #F5F 4F3);
35 background-size: 5px 5px;
36 margin: 0 auto; 26 margin: 0 auto;
37 padding: 0; 27 padding: 0;
38 max-width: 900px; 28 max-width: 900px;
39 } 29 }
40 30
41 a:link, a:visited 31 a:link, a:visited
42 { 32 {
43 color: #7d7d7d; 33 color: #7d7d7d;
44 } 34 }
45 35
46 button, .arrow 36 button, .arrow
47 { 37 {
48 cursor: pointer; 38 cursor: pointer;
49 } 39 }
50 40
51 header, p 41 header, p
52 { 42 {
53 margin: 15px 0 5px; 43 margin: 15px 0 5px;
54 } 44 }
55 45
56 #content 46 #content
57 { 47 {
58 padding: 0 90px; 48 padding: 0 90px;
59 } 49 }
60 50
61 header 51 header
62 { 52 {
63 padding-left: 148px; 53 padding-left: 148px;
64 background-image: url(adblockplus_128.png); 54 background-image: url(/skin/abp-icon-big.png);
65 background-position: 0% 50%; 55 background-position: 0% 50%;
66 background-repeat: no-repeat; 56 background-repeat: no-repeat;
67 min-height: 128px; 57 min-height: 128px;
68 vertical-align: middle; 58 vertical-align: middle;
69 line-height: 1; 59 line-height: 1;
60
70 display: -webkit-box; 61 display: -webkit-box;
62 -webkit-box-orient: vertical;
63 -webkit-box-pack: center;
64
71 display: -moz-box; 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
72 display: box; 77 display: box;
73 box-orient: vertical; 78 box-orient: vertical;
74 -webkit-box-orient: vertical;
75 -moz-box-orient: vertical;
76 box-pack: center; 79 box-pack: center;
77 -webkit-box-pack: center;
78 -moz-box-pack: center;
79 } 80 }
80 81
81 header h1 82 header h1
82 { 83 {
83 font-size: 40px; 84 font-size: 40px;
85 font-weight: normal;
84 margin: 0; 86 margin: 0;
85 } 87 }
86 88
87 h2 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
88 { 110 {
89 font-size: 22px; 111 font-size: 22px;
90 color: #cc0000; 112 color: #cc0000;
91 margin: 30px 0px 20px; 113 margin: 30px 0px 20px;
92 } 114 }
93 115
94 #features { 116 #features-title::after
95 padding-bottom: 140px;
96 }
97
98 .feature {
99 position: relative;
100 vertical-align: middle;
101 text-align: center;
102 margin: 0 90px 0 70px;
103 text-align: left;
104 min-height: 70px;
105 }
106
107 .feature h1
108 {
109 padding-right: 0.3em;
110 }
111
112 .feature h1:after
113 { 117 {
114 content: ":"; 118 content: ":";
115 } 119 }
116 120
117 .feature h1, .feature p 121 .feature:not([hidden])
118 { 122 {
119 font-size: 14px; 123 display: block;
120 display: inline; 124 list-style-type: none;
121 } 125 padding-bottom: 20px;
122 126 }
123 .feature img 127
124 { 128 .feature-image, .feature-description
125 position: absolute; 129 {
126 margin-left: -70px; 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 {
127 width: 57px; 162 width: 57px;
128 height: 57px; 163 height: 57px;
129 } 164 }
130 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
131 .feature button 186 .feature button
132 { 187 {
133 font-size: 14px; 188 cursor: pointer;
134 position: absolute; 189 position: relative;
135 top: 0px; 190 top: 0px;
136 right: 0px; 191 padding: 5px 10px;
137 margin-right: -90px; 192 *padding: 2px 3px;
138 width: 80px; 193 font-weight: none;
139 height: 30px; 194 font-size: inherit;
140 color: #fff; 195 color: white;
141 font-weight: normal;
142 background: #62c52b;
143 background: -webkit-linear-gradient(top, #62c52b, #4f9d22);
144 background: -moz-linear-gradient(top, #62c52b, #4f9d22);
145 background: -ms-linear-gradient(top, #62c52b, #4f9d22);
146 background: linear-gradient(top, #62c52b, #4f9d22);
147 box-shadow: 0 1px 0 0 #486c15, 0 2px 0 0 #517422;
148 text-shadow: 2px 2px 2px #327d14; 196 text-shadow: 2px 2px 2px #327d14;
149 border: none; 197 border: none;
150 border-radius: 3px; 198 border-radius: 3px;
151 bottom: 7px; 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);
152 -webkit-transition: box-shadow 0.3s ease; 206 -webkit-transition: box-shadow 0.3s ease;
153 -moz-transition: box-shadow 0.3s ease; 207 -moz-transition: box-shadow 0.3s ease;
208 -o-transition: box-shadow 0.3s ease;
154 -ms-transition: box-shadow 0.3s ease; 209 -ms-transition: box-shadow 0.3s ease;
155 transition: box-shadow 0.3s ease; 210 transition: box-shadow 0.3s ease;
156 } 211 }
157 212
158 .feature button:hover 213 .feature button:hover
159 { 214 {
160 box-shadow: 0px 2px 7px #486c15, 0 1px 0 0 #486c15; 215 box-shadow: 0px 2px 7px #486c15, 0 1px 0 0 #486c15;
161 } 216 }
162 217
163 .feature button:active 218 .feature button:active
164 { 219 {
165 background: #4f9d22; 220 top: 3px;
221 top: 0px\9;
222 box-shadow: 0px 0px 7px #486c15;
223 background-color: #4f9d22;
166 background: -webkit-linear-gradient(bottom, #62c52b, #4f9d22); 224 background: -webkit-linear-gradient(bottom, #62c52b, #4f9d22);
167 background: -moz-linear-gradient(bottom, #62c52b, #4f9d22); 225 background: -moz-linear-gradient(bottom, #62c52b, #4f9d22);
226 background: -o-linear-gradient(bottom, #62c52b, #4f9d22);
168 background: -ms-linear-gradient(bottom, #62c52b, #4f9d22); 227 background: -ms-linear-gradient(bottom, #62c52b, #4f9d22);
169 background: linear-gradient(bottom, #62c52b, #4f9d22); 228 background: linear-gradient(bottom, #62c52b, #4f9d22);
170 box-shadow: 0px 0px 7px #486c15;
171 -webkit-transition: none; 229 -webkit-transition: none;
172 -moz-transition: none; 230 -moz-transition: none;
231 -o-transition: none;
173 -ms-transition: none; 232 -ms-transition: none;
174 transition: none; 233 transition: none;
175 bottom: 4px; 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;
176 } 271 }
177 272
178 #shade 273 #shade
179 { 274 {
180 -webkit-transition: opacity 0.2s ease; 275 -webkit-transition: opacity 0.2s ease;
181 -moz-transition: opacity 0.2s ease; 276 -moz-transition: opacity 0.2s ease;
277 -o-transition: opacity 0.2s ease;
182 -ms-transition: opacity 0.2s ease; 278 -ms-transition: opacity 0.2s ease;
183 transition: opacity 0.2s ease; 279 transition: opacity 0.2s ease;
184 opacity: 0.0; 280 opacity: 0.0;
185 position: fixed; 281 position: fixed;
186 margin-left: 10px; 282 margin-left: 10px;
187 bottom: 70px; 283 bottom: 70px;
188 z-index: 100; 284 z-index: 100;
189 } 285 }
190 286
191 .arrow 287 .arrow
192 { 288 {
193 width: 0; 289 width: 0;
194 height: 0; 290 height: 0;
195 border: 30px solid transparent; 291 border: 30px solid transparent;
196 border-top-color: #000; 292 border-top-color: #000;
197 } 293 }
198 294
199 footer 295 footer
200 { 296 {
201 position: fixed; 297 position: fixed;
202 bottom: 0; 298 bottom: 0;
203 left: 0; 299 left: 0;
204 right: 0; 300 right: 0;
205 padding: 70px 0 0; 301 padding: 70px 0 0;
206 text-align: center; 302 text-align: center;
207 background: -webkit-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 2 55, 1) 50px); 303 background: -webkit-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 2 55, 1) 50px);
208 background: -moz-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 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);
209 background: -ms-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);
210 background: linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 5 0px); 307 background: linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 5 0px);
211 } 308 }
212 309
213 footer h1 310 footer h1
214 { 311 {
215 margin: 0; 312 margin: 0;
216 font-size: 18px; 313 font-size: 18px;
217 color: #666; 314 color: #666;
218 position: fixed; 315 position: fixed;
219 bottom: 70px; 316 bottom: 70px;
220 left: 0; 317 left: 0;
221 right: 0; 318 right: 0;
222 -webkit-transition: opacity .3s ease; 319 -webkit-transition: opacity .3s ease;
223 -moz-transition: opacity .3s ease; 320 -moz-transition: opacity .3s ease;
321 -o-transition: opacity .3s ease;
224 -ms-transition: opacity .3s ease; 322 -ms-transition: opacity .3s ease;
225 transition: opacity .3s ease; 323 transition: opacity .3s ease;
226 opacity: 1; 324 opacity: 1;
227 } 325 }
228 326
229 #social ul 327 #social ul
230 { 328 {
231 list-style: none; 329 list-style: none;
330 display: inline-block;
232 padding: 0; 331 padding: 0;
233 margin: 0; 332 margin: 0;
234 } 333 }
235 334
236 #social ul:hover + h1 335 #social:hover h1
237 { 336 {
238 opacity: 0; 337 opacity: 0;
239 } 338 }
240 339
241 #social ul:hover li { opacity:0.3; } 340 #social ul:hover li {
242 341 opacity: 0.3;
243 342 }
244 343
245 #social ul li 344 #social ul li
246 { 345 {
247 display: inline-block; 346 display: inline-block;
248 margin: 0px 5px; 347 margin: 0px 5px;
249 -webkit-transition: opacity .5s ease, bottom .3s ease; 348 -webkit-transition: opacity .5s ease, bottom .3s ease;
250 -moz-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;
251 -ms-transition: opacity .5s ease, bottom .3s ease; 351 -ms-transition: opacity .5s ease, bottom .3s ease;
252 transition: opacity .5s ease, bottom .3s ease; 352 transition: opacity .5s ease, bottom .3s ease;
253 position: relative; 353 position: relative;
254 bottom: -30px; 354 bottom: -30px;
255 } 355 }
256 356
257 #social ul li:hover 357 #social ul li:hover
258 { 358 {
259 opacity: 1.0; 359 opacity: 1.0;
260 bottom: 0px; 360 bottom: 0px;
261 } 361 }
262 362
263 @media (max-width:640px), (max-height:500px) 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)
264 { 443 {
265 body 444 body
266 { 445 {
267 font-size: 14px; 446 font-size: 19px;
268 max-width: 810px;
269 } 447 }
270 448 }
271 #content 449
450 @media (max-height: 750px)
451 {
452 body
272 { 453 {
273 padding: 0 45px; 454 font-size: 17px;
274 } 455 }
275 header 456 }
276 { 457
277 background-size: auto 102px; 458 @media (max-height: 700px)
278 min-height: 102px; 459 {
279 padding-left: 110px; 460 body
280 }
281
282 header h1
283 {
284 font-size: 26px;
285 }
286
287 h2
288 {
289 font-size: 18px;
290 }
291
292 .feature h1, .feature p
293 {
294 font-size: 12px;
295 }
296
297 #shade
298 {
299 bottom: 80px;
300 margin-left: 5px;
301 }
302
303 .arrow
304 {
305 border-width: 15px;
306 }
307
308 footer
309 {
310 padding-top: 60px;
311 }
312
313 footer h1
314 { 461 {
315 font-size: 16px; 462 font-size: 16px;
316 } 463 }
317 } 464 }
318
LEFTRIGHT

Powered by Google App Engine
This is Rietveld