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

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

Issue 10860047: New toggle button on First-run page (Closed)
Patch Set: Change button to have dynamic width Created June 11, 2013, 12:05 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
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
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 } 114 }
115 115
116 #features-title::after 116 #features-title::after
117 { 117 {
118 content: ":"; 118 content: ":";
119 } 119 }
120 120
121 .feature:not([hidden]) 121 .feature:not([hidden])
122 { 122 {
123 display: block; 123 display: block;
124 position: relative;
124 list-style-type: none; 125 list-style-type: none;
125 padding-bottom: 20px; 126 padding-bottom: 20px;
126 } 127 }
127 128
128 .feature-image, .feature-description 129 .feature-image, .feature-description
129 { 130 {
130 display: inline-block; 131 display: inline-block;
131 *display: inline; /* IE6 inline-block fix */ 132 *display: inline; /* IE6 inline-block fix */
132 *zoom: 1; 133 *zoom: 1;
133 vertical-align: top; 134 vertical-align: top;
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 bottom: 0; 299 bottom: 0;
299 left: 0; 300 left: 0;
300 right: 0; 301 right: 0;
301 padding: 70px 0 0; 302 padding: 70px 0 0;
302 text-align: center; 303 text-align: center;
303 background: -webkit-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 2 55, 1) 50px); 304 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: -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: -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: -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 background: linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 5 0px);
309 z-index: 1;
Wladimir Palant 2013/07/08 09:37:29 Are we supporting IE6 now? In all other browsers t
Thomas Greiner 2013/07/08 10:30:19 Done.
308 } 310 }
309 311
310 footer h1 312 footer h1
311 { 313 {
312 margin: 0; 314 margin: 0;
313 font-size: 18px; 315 font-size: 18px;
314 color: #666; 316 color: #666;
315 position: fixed; 317 position: fixed;
316 bottom: 70px; 318 bottom: 70px;
317 left: 0; 319 left: 0;
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 433
432 #share-popup.visible 434 #share-popup.visible
433 { 435 {
434 -webkit-transition-duration: 0.15s; 436 -webkit-transition-duration: 0.15s;
435 -moz-transition-duration: 0.15s; 437 -moz-transition-duration: 0.15s;
436 -o-transition-duration: 0.15s; 438 -o-transition-duration: 0.15s;
437 -ms-transition-duration: 0.15s; 439 -ms-transition-duration: 0.15s;
438 transition-duration: 0.15s; 440 transition-duration: 0.15s;
439 } 441 }
440 442
443 .toggle
444 {
445 cursor: pointer;
446 position: absolute;
447 display: inline-block;
448 top: 50%;
449 height: 22px;
450 margin: -21px 0px 7px 0px;
451 border-radius: 9999px;
452 box-shadow: 0 0 0 1px #999;
453 overflow: hidden;
454 -moz-user-select: none;
455 -webkit-user-select: none;
456 user-select: none;
457 }
458
459 .toggle:active
460 {
461 cursor: wait;
462 }
463
464 .toggle-on, .toggle-off
465 {
466 min-width: 42px;
467 height: 100%;
468 font-size: 11px;
469 font-weight: 500;
470 text-align: center;
471 line-height: 22px;
472 }
473
474 .toggle-on
475 {
476 padding: 0px 30px 0px 10px;
477 color: rgba(255,255,255, 0.8);
478 text-shadow: 1px 1px rgba(0,0,0,0.2);
479 box-shadow: inset 2px 2px 6px rgba(0,0,0,0.2);
480 background: rgb(69,163,31);
481 }
482
483 .toggle-off
484 {
485 padding: 0px 10px 0px 30px;
486 color: rgba(0,0,0,0.6);
487 text-shadow: 1px 1px rgba(255,255,255,0.2);
488 background: #cfcfcf;
489 background: -moz-linear-gradient(top, #cfcfcf 0%, #f5f5f5 100%);
490 background: -webkit-linear-gradient(top, #cfcfcf 0%,#f5f5f5 100%);
491 background: linear-gradient(to bottom, #cfcfcf 0%,#f5f5f5 100%);
492 }
493
494 .toggle-blob
495 {
496 position: absolute;
497 top: 0px;
498 right: 0px;
499 height: 100%;
500 width: 22px;
501 border-radius: 50px;
502 box-shadow: 1px 1px 2px #888;
503 background: #cfcfcf;
504 background: -moz-linear-gradient(bottom, #cfcfcf 0%, #f5f5f5 100%);
505 background: -webkit-linear-gradient(bottom, #cfcfcf 0%,#f5f5f5 100%);
506 background: linear-gradient(to top, #cfcfcf 0%,#f5f5f5 100%);
507 z-index: 1;
Wladimir Palant 2013/07/08 09:37:29 Same here, why do we need that?
Thomas Greiner 2013/07/08 10:30:19 Done.
508 }
509
510 .off .toggle-on
511 {
512 margin-top: -22px;
513 }
514
515 .off .toggle-blob
516 {
517 left: 0px;
518 right: auto;
519 }
520
441 /* Adjust font size on smaller screens */ 521 /* Adjust font size on smaller screens */
442 @media (max-height: 800px) 522 @media (max-height: 800px)
443 { 523 {
444 body 524 body
445 { 525 {
446 font-size: 19px; 526 font-size: 19px;
447 } 527 }
448 } 528 }
449 529
450 @media (max-height: 750px) 530 @media (max-height: 750px)
451 { 531 {
452 body 532 body
453 { 533 {
454 font-size: 17px; 534 font-size: 17px;
455 } 535 }
456 } 536 }
457 537
458 @media (max-height: 700px) 538 @media (max-height: 700px)
459 { 539 {
460 body 540 body
461 { 541 {
462 font-size: 16px; 542 font-size: 16px;
463 } 543 }
464 } 544 }
OLDNEW
« chrome/content/ui/firstRun.js ('K') | « chrome/locale/en-US/firstRun.properties ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld