| LEFT | RIGHT |
| 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 Loading... |
| 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 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 434 -webkit-transition-duration: 0.15s; | 435 -webkit-transition-duration: 0.15s; |
| 435 -moz-transition-duration: 0.15s; | 436 -moz-transition-duration: 0.15s; |
| 436 -o-transition-duration: 0.15s; | 437 -o-transition-duration: 0.15s; |
| 437 -ms-transition-duration: 0.15s; | 438 -ms-transition-duration: 0.15s; |
| 438 transition-duration: 0.15s; | 439 transition-duration: 0.15s; |
| 439 } | 440 } |
| 440 | 441 |
| 441 .toggle | 442 .toggle |
| 442 { | 443 { |
| 443 cursor: pointer; | 444 cursor: pointer; |
| 445 position: absolute; |
| 444 display: inline-block; | 446 display: inline-block; |
| 445 width: 69px; | 447 top: 50%; |
| 448 height: 22px; |
| 449 margin: -21px 0px 7px 0px; |
| 446 border-radius: 9999px; | 450 border-radius: 9999px; |
| 447 box-shadow: 0 0 0 1px #999; | 451 box-shadow: 0 0 0 1px #999; |
| 448 overflow: hidden; | 452 overflow: hidden; |
| 449 } | 453 -moz-user-select: none; |
| 450 | 454 -webkit-user-select: none; |
| 451 .toggle-on, .toggle-off, .toggle-blob | 455 user-select: none; |
| 452 { | 456 } |
| 453 height: 22px; | 457 |
| 458 .toggle:active |
| 459 { |
| 460 cursor: wait; |
| 461 } |
| 462 |
| 463 .toggle-on, .toggle-off |
| 464 { |
| 465 min-width: 42px; |
| 466 height: 100%; |
| 454 font-size: 11px; | 467 font-size: 11px; |
| 455 font-weight: 500; | 468 font-weight: 500; |
| 456 text-align: center; | 469 text-align: center; |
| 457 line-height: 22px; | 470 line-height: 25px; |
| 458 float: left; | 471 } |
| 459 } | 472 |
| 460 | 473 .toggle-on |
| 461 .toggle-inner, .toggle-on, .toggle-off, .toggle-blob | 474 { |
| 462 { | 475 padding: 0px 30px 0px 10px; |
| 463 -moz-transition: all 0.2s; | 476 color: rgba(255,255,255, 0.8); |
| 464 -webkit-transition: all 0.2s; | 477 text-shadow: 1px 1px rgba(0,0,0,0.2); |
| 465 transition: all 0.2s; | 478 box-shadow: inset 2px 2px 6px rgba(0,0,0,0.2); |
| 466 } | 479 background: rgb(69,163,31); |
| 467 | 480 } |
| 468 .toggle-inner | 481 |
| 469 { | 482 .toggle-off |
| 470 width: 185px; | 483 { |
| 484 padding: 0px 10px 0px 30px; |
| 485 color: rgba(0,0,0,0.6); |
| 486 text-shadow: 1px 1px rgba(255,255,255,0.2); |
| 487 background: #cfcfcf; |
| 488 background: -moz-linear-gradient(top, #cfcfcf 0%, #f5f5f5 100%); |
| 489 background: -webkit-linear-gradient(top, #cfcfcf 0%,#f5f5f5 100%); |
| 490 background: linear-gradient(to bottom, #cfcfcf 0%,#f5f5f5 100%); |
| 471 } | 491 } |
| 472 | 492 |
| 473 .toggle-blob | 493 .toggle-blob |
| 474 { | 494 { |
| 475 position: relative; | 495 position: absolute; |
| 496 top: 0px; |
| 497 right: 0px; |
| 498 height: 100%; |
| 476 width: 22px; | 499 width: 22px; |
| 477 border-radius: 50px; | 500 border-radius: 50px; |
| 478 box-shadow: 1px 1px 2px #888; | 501 box-shadow: 1px 1px 2px #888; |
| 479 background: #cfcfcf; | 502 background: #cfcfcf; |
| 480 background: -moz-linear-gradient(bottom, #cfcfcf 0%, #f5f5f5 100%); | 503 background: -moz-linear-gradient(bottom, #cfcfcf 0%, #f5f5f5 100%); |
| 481 background: -webkit-linear-gradient(bottom, #cfcfcf 0%,#f5f5f5 100%); | 504 background: -webkit-linear-gradient(bottom, #cfcfcf 0%,#f5f5f5 100%); |
| 482 background: linear-gradient(to top, #cfcfcf 0%,#f5f5f5 100%); | 505 background: linear-gradient(to top, #cfcfcf 0%,#f5f5f5 100%); |
| 483 z-index: 99; | 506 } |
| 484 } | 507 |
| 485 | 508 .off .toggle-on |
| 486 .toggle-blob:hover | 509 { |
| 487 { | 510 margin-top: -22px; |
| 488 background: #e4e4e4; | 511 } |
| 489 background: -moz-linear-gradient(top, #e4e4e4 0%, #f9f9f9 100%); | 512 |
| 490 background: -webkit-linear-gradient(top, #e4e4e4 0%,#f9f9f9 100%); | 513 .off .toggle-blob |
| 491 background: linear-gradient(to bottom, #e4e4e4 0%,#f9f9f9 100%); | 514 { |
| 492 } | 515 left: 0px; |
| 493 | 516 right: auto; |
| 494 .toggle-on | |
| 495 { | |
| 496 color: rgba(255,255,255, 0.8); | |
| 497 text-shadow: 1px 1px rgba(0,0,0,0.2); | |
| 498 box-shadow: inset 2px 2px 6px rgba(0,0,0,0.2); | |
| 499 background: rgb(69,163,31); | |
| 500 } | |
| 501 | |
| 502 .toggle-off | |
| 503 { | |
| 504 width: 59px; | |
| 505 margin-left: -11px; | |
| 506 text-indent: 11px; | |
| 507 color: rgba(0,0,0,0.6); | |
| 508 text-shadow: 1px 1px rgba(255,255,255,0.2); | |
| 509 background: #cfcfcf; | |
| 510 background: -moz-linear-gradient(top, #cfcfcf 0%, #f5f5f5 100%); | |
| 511 background: -webkit-linear-gradient(top, #cfcfcf 0%,#f5f5f5 100%); | |
| 512 background: linear-gradient(to bottom, #cfcfcf 0%,#f5f5f5 100%); | |
| 513 } | |
| 514 | |
| 515 .disable .toggle-inner | |
| 516 { | |
| 517 margin-left: 0px; | |
| 518 } | |
| 519 | |
| 520 .disable .toggle-blob | |
| 521 { | |
| 522 margin-left: -11px; | |
| 523 } | |
| 524 | |
| 525 .disable .toggle-on | |
| 526 { | |
| 527 width: 59px; | |
| 528 text-indent: -11px; | |
| 529 } | |
| 530 | |
| 531 .enable .toggle-inner | |
| 532 { | |
| 533 margin-left: -75px; | |
| 534 } | |
| 535 | |
| 536 .enable .toggle-blob | |
| 537 { | |
| 538 margin-left: -17.5px; | |
| 539 } | |
| 540 | |
| 541 .enable .toggle-on | |
| 542 { | |
| 543 width: 92.5px; | |
| 544 text-indent: -17.5px; | |
| 545 } | 517 } |
| 546 | 518 |
| 547 /* Adjust font size on smaller screens */ | 519 /* Adjust font size on smaller screens */ |
| 548 @media (max-height: 800px) | 520 @media (max-height: 800px) |
| 549 { | 521 { |
| 550 body | 522 body |
| 551 { | 523 { |
| 552 font-size: 19px; | 524 font-size: 19px; |
| 553 } | 525 } |
| 554 } | 526 } |
| 555 | 527 |
| 556 @media (max-height: 750px) | 528 @media (max-height: 750px) |
| 557 { | 529 { |
| 558 body | 530 body |
| 559 { | 531 { |
| 560 font-size: 17px; | 532 font-size: 17px; |
| 561 } | 533 } |
| 562 } | 534 } |
| 563 | 535 |
| 564 @media (max-height: 700px) | 536 @media (max-height: 700px) |
| 565 { | 537 { |
| 566 body | 538 body |
| 567 { | 539 { |
| 568 font-size: 16px; | 540 font-size: 16px; |
| 569 } | 541 } |
| 570 } | 542 } |
| LEFT | RIGHT |