OLD | NEW |
1 /* | 1 /* |
2 * This file is part of Adblock Plus <https://adblockplus.org/>, | 2 * This file is part of Adblock Plus <https://adblockplus.org/>, |
3 * Copyright (C) 2006-2017 eyeo GmbH | 3 * Copyright (C) 2006-2017 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 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 white-space: nowrap; | 391 white-space: nowrap; |
392 } | 392 } |
393 | 393 |
394 .table:not(.list):not(.cols) li | 394 .table:not(.list):not(.cols) li |
395 { | 395 { |
396 padding-top: 0px; | 396 padding-top: 0px; |
397 padding-bottom: 6px; | 397 padding-bottom: 6px; |
398 } | 398 } |
399 | 399 |
400 .table.list li:nth-of-type(odd), | 400 .table.list li:nth-of-type(odd), |
401 .table.cols li:nth-of-type(odd), | 401 .table.cols li:nth-of-type(odd):not([role="menuitem"]), |
402 .table li.empty-placeholder | 402 .table li.empty-placeholder |
403 { | 403 { |
404 background-color: #F5F5F5; | 404 background-color: #F5F5F5; |
405 } | 405 } |
406 | 406 |
407 .table label | 407 .table label |
408 { | 408 { |
409 vertical-align: top; | 409 vertical-align: top; |
410 } | 410 } |
411 | 411 |
(...skipping 18 matching lines...) Expand all Loading... |
430 padding: 0px; | 430 padding: 0px; |
431 cursor: pointer; | 431 cursor: pointer; |
432 width: 10px; | 432 width: 10px; |
433 } | 433 } |
434 | 434 |
435 .table button.delete:hover | 435 .table button.delete:hover |
436 { | 436 { |
437 background-position: -61px -51px; | 437 background-position: -61px -51px; |
438 } | 438 } |
439 | 439 |
440 .tabs.horizontal | |
441 { | |
442 display: flex; | |
443 margin-top: 0px; | |
444 margin-bottom: 0px; | |
445 padding: 0px; | |
446 border-bottom: 1px solid #CDCDCD; | |
447 } | |
448 | |
449 .tabs.horizontal li | |
450 { | |
451 display: inline-block; | |
452 padding: 0px 46px 10px 46px; | |
453 color: #3A7BA6; | |
454 text-align: center; | |
455 } | |
456 | |
457 .icon, | 440 .icon, |
458 button[role="checkbox"], | 441 button[role="checkbox"], |
459 .table button.delete, | 442 .table button.delete, |
460 #content-help a::before, | 443 #content-help a::before, |
461 #dialog-close::before, | 444 #dialog-close::before, |
462 #custom-filters-add button::after, | |
463 #dialog-body button::before, | 445 #dialog-body button::before, |
464 .date::before, | 446 #all-filter-lists-table .arrow, |
465 .time::before, | |
466 #all-filter-lists .arrow, | |
467 .context-menu .content a::before | 447 .context-menu .content a::before |
468 { | 448 { |
469 background-image: url(options-sprite.png); | 449 background-image: url(options-sprite.png); |
470 display: inline-block; | 450 display: inline-block; |
471 } | 451 } |
472 | 452 |
473 .icon-add, | 453 .icon-add, |
474 .icon-update, | 454 .icon-update |
475 .icon-edit | |
476 { | 455 { |
477 height: 16px; | 456 height: 16px; |
478 width: 16px; | 457 width: 16px; |
479 cursor: pointer; | 458 cursor: pointer; |
480 } | 459 } |
481 | 460 |
482 .icon-add | 461 .icon-add |
483 { | 462 { |
484 background-position: -1px -1px; | 463 background-position: -1px -1px; |
485 } | 464 } |
486 | 465 |
487 .icon-update | 466 .icon-update |
488 { | 467 { |
489 background-position: -35px -1px; | 468 background-position: -35px -1px; |
490 } | 469 } |
491 | 470 |
492 .icon-edit | 471 .icon-enter |
493 { | |
494 background-position: -18px -1px; | |
495 } | |
496 | |
497 .icon-save, | |
498 .icon-cancel | |
499 { | |
500 height: 10px; | |
501 width: 10px; | |
502 cursor: pointer; | |
503 } | |
504 | |
505 .icon-save | |
506 { | |
507 background-position: -1px -62px; | |
508 } | |
509 | |
510 .icon-cancel | |
511 { | |
512 background-position: -12px -62px; | |
513 } | |
514 | |
515 #custom-filters-add button::after | |
516 { | 472 { |
517 height: 8px; | 473 height: 8px; |
518 width: 8px; | 474 width: 8px; |
519 cursor: pointer; | 475 cursor: pointer; |
520 } | 476 } |
521 | 477 |
522 #dialog-close::before, | 478 #dialog-close::before |
523 .date::before, | |
524 .time::before | |
525 { | 479 { |
526 content: ""; | 480 content: ""; |
527 height: 12px; | 481 height: 12px; |
528 width: 12px; | 482 width: 12px; |
529 } | 483 } |
530 | 484 |
531 #content-help a::before, | 485 #content-help a::before, |
532 #dialog-body button::before | 486 #dialog-body button::before |
533 { | 487 { |
534 background-position: 0px -42px; | 488 background-position: 0px -42px; |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
615 background-color: transparent; | 569 background-color: transparent; |
616 border: 0px; | 570 border: 0px; |
617 color: #3A7BA6; | 571 color: #3A7BA6; |
618 cursor: pointer; | 572 cursor: pointer; |
619 } | 573 } |
620 | 574 |
621 /* | 575 /* |
622 Advanced tab content | 576 Advanced tab content |
623 */ | 577 */ |
624 | 578 |
625 #filter-lists > div, | 579 #all-filter-lists-table li.show-message .last-update, |
626 #all-filter-lists li.show-message .date, | 580 #all-filter-lists-table li:not(.show-message) .message, |
627 #all-filter-lists li.show-message .time, | 581 #custom-filters:not([data-mode="empty"]) #empty-custom-filters, |
628 #all-filter-lists li:not(.show-message) .message, | 582 #custom-filters[data-mode="empty"] #custom-filters-raw, |
629 #custom-filters:not(.mode-edit) #custom-filters-raw, | 583 #custom-filters:not([data-mode="write"]) #custom-filters-raw-controls, |
630 #custom-filters:not(.mode-edit) #custom-filters-raw-controls, | 584 #custom-filters:not([data-mode="read"]) #custom-filters-edit, |
631 #custom-filters.mode-edit #custom-filters-show-edit, | 585 .state span |
632 #custom-filters.mode-edit #custom-filters-list-wrapper | |
633 { | 586 { |
634 display: none; | 587 display: none; |
635 } | 588 } |
636 | 589 |
637 body[data-tab="advanced-allFilterLists"] #all-filter-lists, | 590 #all-filter-lists-table |
638 body[data-tab="advanced-customFilters"] #custom-filters | |
639 { | |
640 display: block; | |
641 } | |
642 | |
643 #all-filter-lists .table | |
644 { | 591 { |
645 display: inline-block; | 592 display: inline-block; |
646 } | 593 } |
647 | 594 |
648 body[data-tab="advanced-allFilterLists"] #content-advanced [data-tab="advanced-a
llFilterLists"], | 595 #all-filter-lists-table |
649 body[data-tab="advanced-customFilters"] #content-advanced [data-tab="advanced-cu
stomFilters"] | |
650 { | |
651 border-bottom: 2px solid #1E8728; | |
652 padding-bottom: 10px; | |
653 color: black; | |
654 font-weight: 600; | |
655 } | |
656 | |
657 #all-filter-lists .table | |
658 { | 596 { |
659 display: inline-block; | 597 display: inline-block; |
660 } | 598 } |
661 | 599 |
662 #all-filter-lists .table li > div | 600 #all-filter-lists-table li > div |
663 { | 601 { |
664 display: flex; | 602 display: flex; |
665 width: 330px; | 603 width: 330px; |
666 } | 604 } |
667 | 605 |
668 .table-header | 606 #all-filter-lists-table li span.display |
669 { | |
670 display: flex; | |
671 } | |
672 | |
673 #filter-lists h2 | |
674 { | |
675 margin-bottom: 7px; | |
676 font-size: 14px; | |
677 } | |
678 | |
679 .table-header h2:first-child | |
680 { | |
681 width: 330px; | |
682 -webkit-padding-start: 54px; | |
683 -moz-padding-start: 54px; | |
684 } | |
685 | |
686 #all-filter-lists .table li span.display | |
687 { | 607 { |
688 cursor: pointer; | 608 cursor: pointer; |
689 } | 609 } |
690 | 610 |
691 #all-filter-lists .table .head span:first-child | 611 #all-filter-lists-table button[role="checkbox"][aria-checked="true"] + .state #s
tate-active |
692 { | 612 { |
693 -webkit-padding-start: 38px; | 613 display: inline; |
694 -moz-padding-start: 38px; | |
695 } | 614 } |
696 | 615 |
697 #all-filter-lists .controls | 616 #all-filter-lists-table button[role="checkbox"][aria-checked="false"] + .state #
state-disabled |
| 617 { |
| 618 display: inline; |
| 619 } |
| 620 |
| 621 #all-filter-lists-table .controls |
698 { | 622 { |
699 padding-top: 0px; | 623 padding-top: 0px; |
700 border-top: none; | 624 border-top: none; |
701 } | 625 } |
702 | 626 |
703 #all-filter-lists .controls button | 627 #all-filter-lists-table .controls button |
704 { | 628 { |
705 margin-top: 14px; | 629 margin-top: 14px; |
706 } | 630 } |
707 | 631 |
708 #all-filter-lists .arrow | 632 #all-filter-lists-table .arrow |
709 { | 633 { |
710 position: relative; | |
711 margin: auto 6px; | |
712 border-style: none; | |
713 padding: 0px; | |
714 width: 6px; | 634 width: 6px; |
715 height: 4px; | 635 height: 4px; |
716 background-position: -1px -54px; | 636 background-position: -1px -54px; |
717 cursor: pointer; | 637 cursor: pointer; |
718 } | 638 } |
719 | 639 |
720 #all-filter-lists .table li:last-of-type a | 640 #all-filter-lists-table li:last-of-type a |
721 { | 641 { |
722 color: #3A7BA6; | 642 color: #3A7BA6; |
723 text-decoration: none; | 643 text-decoration: none; |
724 cursor: pointer; | 644 cursor: pointer; |
725 } | 645 } |
726 | 646 |
727 #all-filter-lists .table li:last-of-type > span:last-child | 647 #all-filter-lists-table li:last-of-type > span:last-child |
728 { | 648 { |
729 -webkit-margin-start: auto; | 649 -webkit-margin-start: auto; |
730 -moz-margin-start: auto; | 650 -moz-margin-start: auto; |
731 } | 651 } |
732 | 652 |
733 .date::before | |
734 { | |
735 -webkit-margin-end: 6px; | |
736 -moz-margin-end: 6px; | |
737 background-position: -7px -49px; | |
738 } | |
739 | |
740 .time::before | |
741 { | |
742 -webkit-margin-end: 6px; | |
743 -moz-margin-end: 6px; | |
744 -webkit-margin-start: 12px; | |
745 -moz-margin-start: 12px; | |
746 background-position: -20px -49px; | |
747 } | |
748 | |
749 #all-filter-lists-table .static label | |
750 { | |
751 font-weight: 600; | |
752 } | |
753 | |
754 #custom-filters-header | |
755 { | |
756 padding: 0px 16px; | |
757 margin-bottom: 10px; | |
758 } | |
759 | |
760 #custom-filters-raw-controls | 653 #custom-filters-raw-controls |
761 { | 654 { |
762 justify-content: space-between; | 655 justify-content: space-between; |
763 } | 656 } |
764 | 657 |
765 #custom-filters-raw | 658 #custom-filters-raw |
766 { | 659 { |
767 width: 100%; | 660 width: 100%; |
768 height: 100%; | 661 height: 100%; |
769 padding: 2px 16px; | 662 padding: 2px 16px; |
770 } | 663 } |
771 | 664 |
772 #custom-filters-wrapper | |
773 { | |
774 height: 280px; | |
775 } | |
776 | |
777 #custom-filters-add | |
778 { | |
779 display: flex; | |
780 border-width: 1px 0px 1px 0px; | |
781 border-bottom-style: solid; | |
782 border-top-style: solid; | |
783 border-color: #1E8728; | |
784 padding: 0px; | |
785 margin: 0px; | |
786 background-color: #F5F5F5; | |
787 } | |
788 | |
789 #custom-filters-add input[type="text"] | |
790 { | |
791 -moz-padding-start: 16px; | |
792 -webkit-padding-start: 16px; | |
793 padding-top: 10px; | |
794 padding-bottom: 10px; | |
795 border: none; | |
796 width: 100%; | |
797 background-color: transparent; | |
798 } | |
799 | |
800 #custom-filters-add input[type="text"]:focus | |
801 { | |
802 outline: 0px; | |
803 } | |
804 | |
805 #custom-filters-table | |
806 { | |
807 height: 240px; | |
808 width: 100%; | |
809 border-top: 1px solid #CDCDCD; | |
810 overflow: auto; | |
811 } | |
812 | |
813 #custom-filters-add button | |
814 { | |
815 font-size: 14px; | |
816 -webkit-padding-end: 6px; | |
817 -moz-padding-end: 6px; | |
818 cursor: pointer; | |
819 color: #3A7BA6; | |
820 } | |
821 | |
822 #custom-filters-add button::before | |
823 { | |
824 content: ""; | |
825 display: inline-block; | |
826 -moz-border-end: 1px solid #CDCDCD; | |
827 -webkit-border-end: 1px solid #CDCDCD; | |
828 height: 15px; | |
829 -webkit-margin-end: 10px; | |
830 -moz-margin-end: 10px; | |
831 margin-bottom: -2px; | |
832 width: 1px; | |
833 } | |
834 | |
835 #custom-filters-add button::after | |
836 { | |
837 content: ""; | |
838 background-position: -28px -33px; | |
839 -webkit-margin-start: 6px; | |
840 -moz-margin-start: 6px; | |
841 } | |
842 | |
843 /* | 665 /* |
844 Tooltips | 666 Tooltips |
845 */ | 667 */ |
846 | 668 |
847 .tooltip | 669 .tooltip |
848 { | 670 { |
849 display: inline-block; | 671 display: inline-block; |
850 position: relative; | 672 position: relative; |
851 margin: 0px 4px; | 673 margin: 0px 4px; |
852 border-bottom: dashed 1px; | 674 border-bottom: dashed 1px; |
853 height: 15px; | 675 height: 15px; |
854 color: #3A7BA6; | 676 color: #3A7BA6; |
855 font-size: 12px; | 677 font-size: 12px; |
856 line-height: 19px; | 678 line-height: 19px; |
857 text-decoration: none; | 679 text-decoration: none; |
858 font-weight: 400; | 680 font-weight: 400; |
859 cursor: default; | 681 cursor: default; |
860 } | 682 } |
861 | 683 |
| 684 li [role="menubar"] |
| 685 { |
| 686 position: relative; |
| 687 } |
| 688 |
862 .context-menu | 689 .context-menu |
863 { | 690 { |
864 display: inline-block; | 691 display: inline-block; |
865 position: relative; | 692 position: relative; |
866 border-bottom: none; | 693 border-bottom: none; |
867 } | 694 } |
868 | 695 |
869 .context-menu a | 696 .context-menu a |
870 { | 697 { |
871 vertical-align: middle; | 698 vertical-align: middle; |
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1282 #other-language .button-add::before | 1109 #other-language .button-add::before |
1283 { | 1110 { |
1284 display: none; | 1111 display: none; |
1285 } | 1112 } |
1286 | 1113 |
1287 #other-language .display | 1114 #other-language .display |
1288 { | 1115 { |
1289 -webkit-margin-start: 10px; | 1116 -webkit-margin-start: 10px; |
1290 -moz-margin-start: 10px; | 1117 -moz-margin-start: 10px; |
1291 } | 1118 } |
OLD | NEW |