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

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

Issue 11039060: first run page redesign (Closed)
Patch Set: Created July 22, 2013, 7:55 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
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 .clearfix
19 {
20 clear: both;
21 }
22
23 *
24 {
25 margin: 0;
26 padding: 0;
27 }
28
18 body 29 body
19 { 30 {
20 font-family: Arial, Helvetica, sans-serif; 31 font-family: Helvetica, Arial, sans-serif;
21 font-size: 14px; 32 font-size: 15px;
22 line-height: 140%; 33 line-height: 140%;
23 color: #000000; 34 color: #7f776b;
24 background-color: #f8f6f2; 35 background-color: #f8f6f2;
36 background-image: url(background-main.png);
37 }
38
39 a, a:link, a:visited
40 {
41 color: #5a84b3;
42 text-decoration: underline;
43 font-style: italic;
44 }
45
46 button
47 {
48 cursor: pointer;
49 }
50
51 li
52 {
53 list-style-type: none;
54
55 }
56
57 header
58 {
59 height: 200px;
25 background-image: url(background.png); 60 background-image: url(background.png);
61 background-repeat: repeat-x;
62 width: 100%;
63 padding: 40px 0 0 0;
64 }
65
66 header h1
67 {
68 font-size: 24px;
69 font-weight: normal;
26 margin: 0 auto; 70 margin: 0 auto;
27 padding: 0; 71 display: block;
28 max-width: 900px; 72 color: #464746;
29 } 73 text-align: center;
30 74 margin: 30px 0 0 0;
31 a:link, a:visited 75
32 { 76 }
33 color: #7d7d7d; 77
34 } 78 strong
35 79 {
36 button, .arrow 80 font-weight: 600;
81 }
82
83 h2 {
84 font-size: 30px;
85 font-weight: lighter;
86 color: #968d81;
87 line-height: 30px;
88
89 }
90
91 h3 {
92 font-size: 24px;
93 color: #4d4d4d;
94 font-weight: normal;
95 margin: 0 0 10px 0;
96 line-height: 30px;
97 }
98
99 h4 {
100 font-size: 15px;
101 color: #7f776b;
102 font-weight: normal;
103 text-align: center;
104 }
105
106 section
107 {
108 margin: 0 auto;
109 margin-bottom: 30px;
110 max-width: 760px;
111 background-image: url(background.png);
112 padding: 40px 100px;
113 }
114
115 section > p
116 {
117 margin: 15px 0 0 0;
118 }
119
120
121 #logo
122 {
123 margin: 0 auto;
124 height: 100px;
125 width: 99px;
126 display: block;
127 background-image: url(abp-icon-big.png);
128 background-repeat: no-repeat;
129 }
130
131 #can-do-more
132 {
133 max-width: 960px !important;
134 padding: 40px 0px 0px 0px !important;
135 }
136
137 #can-do-more-overview
37 { 138 {
38 cursor: pointer; 139 cursor: pointer;
39 } 140 }
40 141
41 header, p 142 #can-do-more > h2
42 { 143 {
43 margin: 15px 0 5px; 144 margin: 0 100px;
44 } 145 }
45 146
46 #content 147
47 { 148 #can-do-more > ul
48 padding: 0 90px; 149 {
49 } 150 max-width: 760px;
50 151 height: 140px;
51 header 152 margin: 40px 100px 0 100px;
52 { 153 }
53 padding-left: 148px; 154
54 background-image: url(abp-icon-big.png); 155 #can-do-more > ul > li
55 background-position: 0% 50%; 156 {
157 width: 250px;
158 height: 115px;
159 float: left;
160 border-right: 1px dashed #c7c6c2;
161 padding: 20px 0 0 0;
162 }
163
164 #can-do-more > ul > h3
165 {
166 margin: 20px 0 0 0;
167 }
168
169 #can-do-more > ul > li > div
170 {
171 width: 59px;
172 height: 59px;
173 display: block;
174 margin: 0 auto;
175 }
176
177 #can-do-more > ul > li > h4
178 {
179 margin: 15px 0 0 0;
180 }
181
182 #can-do-more #feature-first
183 {
184 border-left: 1px dashed #c7c6c2;
185 }
186
187 #feature-malware-image
188 {
189 background-image: url(features/malware.png);
56 background-repeat: no-repeat; 190 background-repeat: no-repeat;
57 min-height: 128px; 191 }
58 vertical-align: middle; 192
59 line-height: 1; 193 #feature-social-image
60 194 {
61 display: -webkit-box; 195 background-image: url(features/social.png);
62 -webkit-box-orient: vertical; 196 background-repeat: no-repeat;
63 -webkit-box-pack: center; 197 }
64 198
65 display: -moz-box; 199 #feature-tracking-image
66 -moz-box-orient: vertical; 200 {
67 -moz-box-pack: center; 201 background-image: url(features/tracking.png);
68 202 background-repeat: no-repeat;
69 display: -o-box; 203 }
70 -o-box-orient: vertical; 204
71 -o-box-pack: center; 205 #can-do-more-expanded
72 206 {
73 display: -ms-box; 207 margin: 40px 100px 0 100px;
74 -ms-box-orient: vertical; 208 display: none;
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 } 209 }
98 210
99 #features 211 #features
100 { 212 {
101 display: block; 213 display: block;
102 border-spacing: 10px; 214 border-spacing: 10px;
103 margin: 0px; 215 margin: 0px;
104 padding: 0px; 216 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 } 217 }
120 218
121 .feature:not([hidden]) 219 .feature:not([hidden])
122 { 220 {
123 display: block; 221 display: block;
124 position: relative;
125 list-style-type: none; 222 list-style-type: none;
223 padding: 30px 0;
126 padding-bottom: 20px; 224 padding-bottom: 20px;
225 border-top: 1px dashed #c0bebb;
127 } 226 }
128 227
129 .feature-image, .feature-description 228 .feature-image, .feature-description
130 { 229 {
131 display: inline-block; 230 display: inline-block;
132 *display: inline; /* IE6 inline-block fix */ 231 *display: inline; /* IE6 inline-block fix */
133 *zoom: 1; 232 *zoom: 1;
134 vertical-align: top; 233 vertical-align: top;
135 } 234 }
136 235
137 .feature-description 236 .feature-description
138 { 237 {
139 width: 550px; 238 margin: 0px 0px 0 20px;
140 margin: 0px 10px; 239 max-width: 624px;
141 } 240 }
142 241
143 .feature-title 242 .feature-description-textblock
144 { 243 {
145 color: black; 244 max-width: 478px;
146 font-weight: bold; 245 margin: 0 40px 0 0;
147 font-size: 120%; 246 float: left;
148 } 247 }
149 248
150 .feature-title::after 249 .feature-description-textblock > span
151 { 250 {
152 content: ":"; 251 margin: 15px 0 0 0;
153 }
154
155 .feature-text
156 {
157 margin: 7px 0px;
158 white-space: normal;
159 } 252 }
160 253
161 .feature-image 254 .feature-image
162 { 255 {
163 width: 57px; 256 width: 59px;
164 height: 57px; 257 height: 59px;
165 } 258 margin: 8px 0 10px 20px;
166
167 #feature-malware .feature-image
168 {
169 background-image: url(features/malware.png);
170 }
171
172 #feature-social .feature-image
173 {
174 background-image: url(features/social.png);
175 }
176
177 #feature-tracking .feature-image
178 {
179 background-image: url(features/tracking.png);
180 } 259 }
181 260
182 .feature button 261 .feature button
183 { 262 {
184 cursor: pointer; 263 cursor: pointer;
185 position: relative; 264 position: relative;
186 top: 0px; 265 top: 0px;
187 padding: 5px 10px; 266 padding: 5px 10px;
188 *padding: 2px 3px; 267 *padding: 2px 3px;
189 font-weight: none; 268 font-weight: none;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 background: -ms-linear-gradient(bottom, #c5622b, #9d4f22); 338 background: -ms-linear-gradient(bottom, #c5622b, #9d4f22);
260 background: linear-gradient(bottom, #c5622b, #9d4f22); 339 background: linear-gradient(bottom, #c5622b, #9d4f22);
261 -webkit-transition: none; 340 -webkit-transition: none;
262 -moz-transition: none; 341 -moz-transition: none;
263 -o-transition: none; 342 -o-transition: none;
264 -ms-transition: none; 343 -ms-transition: none;
265 transition: none; 344 transition: none;
266 *zoom: 1; 345 *zoom: 1;
267 } 346 }
268 347
269 #shade 348 #activate-features
270 { 349 {
271 -webkit-transition: opacity 0.2s ease; 350 width: 100%;
272 -moz-transition: opacity 0.2s ease; 351 background-image: url("background-candomore.png");
273 -o-transition: opacity 0.2s ease; 352 margin: 30px 0 0 0;
274 -ms-transition: opacity 0.2s ease; 353 padding: 14px 0 14px 0;
275 transition: opacity 0.2s ease; 354 cursor: pointer;
276 opacity: 0.0; 355 color: #fff;
277 position: fixed; 356 font-size: 22px;
278 margin-left: 10px; 357 font-style: italic;
279 bottom: 70px; 358 text-decoration: underline;
280 z-index: 100;
281 }
282
283 .arrow
284 {
285 width: 0;
286 height: 0;
287 border: 30px solid transparent;
288 border-top-color: #000;
289 }
290
291 footer
292 {
293 position: fixed;
294 bottom: 0;
295 left: 0;
296 right: 0;
297 padding: 70px 0 0;
298 text-align: center; 359 text-align: center;
299 background: -webkit-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 2 55, 1) 50px); 360 }
300 background: -moz-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 50px); 361
301 background: -o-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1 ) 50px); 362 #share
302 background: -ms-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 50px); 363 {
303 background: linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 5 0px); 364 background-image: url(background-share.png);
304 } 365 padding: 50px 100px 40px 100px !important;
305 366 max-width: 760px;
306 footer h1 367 text-align: center;
307 { 368 }
308 margin: 0; 369
309 font-size: 18px; 370 #share h2
310 color: #666; 371 {
311 position: fixed; 372 color: #fff;
312 bottom: 70px; 373 margin: 10px 8px 10px 0;
313 left: 0; 374 text-align: center;
314 right: 0; 375 display: inline-block;
315 -webkit-transition: opacity .3s ease; 376 vertical-align: top;
316 -moz-transition: opacity .3s ease; 377 line-height: 38px;
317 -o-transition: opacity .3s ease; 378 font-size: 28px;
318 -ms-transition: opacity .3s ease; 379 }
319 transition: opacity .3s ease; 380
320 opacity: 1; 381 #donate-block
382 {
383 display: inline-block;
384 }
385
386 #share-block
387 {
388 display: inline-block;
389 max-width: 480px;
390 }
391
392 #share-facebook
393 {
394 background-image: url(social/facebook.png);
395 background-repeat: no-repeat;
396 }
397
398 #share-twitter
399 {
400 background-image: url(social/twitter.png);
401 background-repeat: no-repeat;
402 }
403
404 #share-gplus
405 {
406 background-image: url(social/googleplus.png);
407 background-repeat: no-repeat;
408 }
409
410 #share-buttons > a
411 {
412 width: 56px;
413 height: 56px;
414 margin: 0 4px 0 0;
415 text-decoration: none;
416 display: inline-block;
417 }
418
419 #share-buttons
420 {
421 width: auto;
422 margin: 3px 0 0 0;
423 min-height: 59px;
424 cursor: pointer;
425 display: inline-block;
426 }
427
428 #dataCorruptionWarning
429 {
430 font-size: 200%;
431 line-height: 140%;
432 margin: 20px;
433 padding: 20px;
434 border: 3px solid red;
435 border-radius: 10px;
321 } 436 }
322 437
323 #social ul 438 #social ul
324 { 439 {
325 list-style: none; 440 list-style: none;
326 display: inline-block; 441 display: inline-block;
327 padding: 0; 442 padding: 0;
328 margin: 0; 443 margin: 0;
329 } 444 }
330 445
(...skipping 25 matching lines...) Expand all
356 bottom: 0px; 471 bottom: 0px;
357 } 472 }
358 473
359 .share-button 474 .share-button
360 { 475 {
361 display: inline-block; 476 display: inline-block;
362 width: 82px; 477 width: 82px;
363 height: 82px; 478 height: 82px;
364 } 479 }
365 480
366 #share-facebook
367 {
368 background-image: url(social/facebook.png);
369 }
370
371 #share-twitter
372 {
373 background-image: url(social/twitter.png);
374 }
375
376 #share-gplus
377 {
378 background-image: url(social/gplus.png);
379 }
380
381 #glass-pane, #share-popup 481 #glass-pane, #share-popup
382 { 482 {
383 visibility: hidden; 483 visibility: hidden;
384 opacity: 0; 484 opacity: 0;
385 -webkit-transition-property: opacity, visibility; 485 -webkit-transition-property: opacity, visibility;
386 -moz-transition-property: opacity, visibility; 486 -moz-transition-property: opacity, visibility;
387 -o-transition-property: opacity, visibility; 487 -o-transition-property: opacity, visibility;
388 -ms-transition-property: opacity, visibility; 488 -ms-transition-property: opacity, visibility;
389 transition-property: opacity, visibility; 489 transition-property: opacity, visibility;
390 } 490 }
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 527
428 #share-popup.visible 528 #share-popup.visible
429 { 529 {
430 -webkit-transition-duration: 0.15s; 530 -webkit-transition-duration: 0.15s;
431 -moz-transition-duration: 0.15s; 531 -moz-transition-duration: 0.15s;
432 -o-transition-duration: 0.15s; 532 -o-transition-duration: 0.15s;
433 -ms-transition-duration: 0.15s; 533 -ms-transition-duration: 0.15s;
434 transition-duration: 0.15s; 534 transition-duration: 0.15s;
435 } 535 }
436 536
537
437 .toggle 538 .toggle
438 { 539 {
439 cursor: pointer; 540 cursor: pointer;
440 position: absolute; 541 position: relative;
441 display: inline-block; 542 display: inline-block;
442 top: 50%; 543 top: 50%;
443 height: 22px; 544 height: 22px;
444 margin: -21px 0px 7px 0px; 545 margin: 40px 0px 7px 0px;
445 border-radius: 9999px; 546 border-radius: 9999px;
446 box-shadow: 0 0 0 1px #999; 547 border: 1px solid #999;
447 overflow: hidden; 548 overflow: hidden;
448 -moz-user-select: none; 549 -moz-user-select: none;
449 -webkit-user-select: none; 550 -webkit-user-select: none;
450 user-select: none; 551 user-select: none;
451 } 552 }
452 553
453 .toggle:active 554 .toggle:active
454 { 555 {
455 cursor: wait; 556 cursor: wait;
456 } 557 }
457 558
458 .toggle-on, .toggle-off 559 .toggle-on, .toggle-off
459 { 560 {
460 min-width: 42px; 561 min-width: 42px;
461 height: 100%; 562 height: 100%;
462 font-size: 11px; 563 font-size: 11px;
463 font-weight: 500; 564 font-weight: 500;
464 text-align: center; 565 text-align: center;
465 line-height: 25px; 566 line-height: 23px;
466 } 567 }
467 568
468 .toggle-on 569 .toggle-on
469 { 570 {
470 padding: 0px 30px 0px 10px; 571 padding: 0px 30px 0px 10px;
471 color: rgba(255,255,255, 0.8); 572 color: rgba(255,255,255, 0.8);
472 text-shadow: 1px 1px rgba(0,0,0,0.2); 573 text-shadow: 1px 1px rgba(0,0,0,0.2);
473 box-shadow: inset 2px 2px 6px rgba(0,0,0,0.2); 574 box-shadow: inset 2px 2px 6px rgba(0,0,0,0.2);
474 background: rgb(69,163,31); 575 background: rgb(69,163,31);
475 } 576 }
476 577
477 .toggle-off 578 .toggle-off
478 { 579 {
479 padding: 0px 10px 0px 30px; 580 padding: 0px 10px 0px 30px;
480 color: rgba(0,0,0,0.6); 581 color: rgba(0,0,0,0.6);
481 text-shadow: 1px 1px rgba(255,255,255,0.2); 582 text-shadow: 1px 1px rgba(255,255,255,0.2);
482 background: #cfcfcf; 583 background: #cfcfcf;
483 background: -moz-linear-gradient(top, #cfcfcf 0%, #f5f5f5 100%); 584 background: -moz-linear-gradient(top, #cfcfcf 0%, #f5f5f5 100%);
484 background: -webkit-linear-gradient(top, #cfcfcf 0%,#f5f5f5 100%); 585 background: -webkit-linear-gradient(top, #cfcfcf 0%,#f5f5f5 100%);
485 background: linear-gradient(to bottom, #cfcfcf 0%,#f5f5f5 100%); 586 background: linear-gradient(to bottom, #cfcfcf 0%,#f5f5f5 100%);
486 } 587 }
487 588
589
488 .toggle-blob 590 .toggle-blob
489 { 591 {
490 position: absolute; 592 position: absolute;
491 top: 0px; 593 top: 0px;
492 right: 0px; 594 right: 0px;
493 height: 100%; 595 height: 100%;
494 width: 22px; 596 width: 22px;
495 border-radius: 50px; 597 border-radius: 50px;
496 box-shadow: 1px 1px 2px #888; 598 box-shadow: 1px 1px 2px #888;
497 background: #cfcfcf; 599 background: #cfcfcf;
498 background: -moz-linear-gradient(bottom, #cfcfcf 0%, #f5f5f5 100%); 600 background: -moz-linear-gradient(bottom, #cfcfcf 0%, #f5f5f5 100%);
499 background: -webkit-linear-gradient(bottom, #cfcfcf 0%,#f5f5f5 100%); 601 background: -webkit-linear-gradient(bottom, #cfcfcf 0%,#f5f5f5 100%);
500 background: linear-gradient(to top, #cfcfcf 0%,#f5f5f5 100%); 602 background: linear-gradient(to top, #cfcfcf 0%,#f5f5f5 100%);
501 } 603 }
502 604
503 .off .toggle-on 605 .off .toggle-on
504 { 606 {
505 margin-top: -22px; 607 margin-top: -22px;
506 } 608 }
507 609
508 .off .toggle-blob 610 .off .toggle-blob
509 { 611 {
510 left: 0px; 612 left: 0px;
511 right: auto; 613 right: auto;
512 } 614 }
513 615
514 /* Adjust font size on smaller screens */ 616 #donate
515 @media (max-height: 800px) 617 {
516 { 618 height: 24px;
517 body 619 display: inline-block;
518 { 620 margin: 15px 12px 10px 4px;
519 font-size: 19px; 621 font-size: 16px;
520 } 622 line-height: 24px;
521 } 623 color: #003366 !important;
522 624 cursor: pointer;
523 @media (max-height: 750px) 625 font-weight: bold;
524 { 626 padding: 3px 16px;
525 body 627 text-decoration: none;
526 { 628 border-radius: 20px;
527 font-size: 17px; 629 border: 1px solid #FF9933;
528 } 630 overflow: hidden;
529 } 631 font-family: arial, sans-serif;
530 632 background-image: url(donate.png);
531 @media (max-height: 700px) 633 background-repeat: repeat-x;
532 { 634 }
533 body
534 {
535 font-size: 16px;
536 }
537 }
OLDNEW

Powered by Google App Engine
This is Rietveld