| 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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 white-space: nowrap; | 390 white-space: nowrap; |
| 391 } | 391 } |
| 392 | 392 |
| 393 .table:not(.list):not(.cols) li | 393 .table:not(.list):not(.cols) li |
| 394 { | 394 { |
| 395 padding-top: 0px; | 395 padding-top: 0px; |
| 396 padding-bottom: 6px; | 396 padding-bottom: 6px; |
| 397 } | 397 } |
| 398 | 398 |
| 399 .table.list li:nth-of-type(odd), | 399 .table.list li:nth-of-type(odd), |
| 400 .table.cols li:nth-of-type(odd), | 400 .table.cols li:nth-of-type(odd):not([role="menuitem"]), |
| 401 .table li.empty-placeholder | 401 .table li.empty-placeholder |
| 402 { | 402 { |
| 403 background-color: #F5F5F5; | 403 background-color: #F5F5F5; |
| 404 } | 404 } |
| 405 | 405 |
| 406 .table label | 406 .table label |
| 407 { | 407 { |
| 408 vertical-align: top; | 408 vertical-align: top; |
| 409 } | 409 } |
| 410 | 410 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 429 padding: 0px; | 429 padding: 0px; |
| 430 cursor: pointer; | 430 cursor: pointer; |
| 431 width: 10px; | 431 width: 10px; |
| 432 } | 432 } |
| 433 | 433 |
| 434 .table button.delete:hover | 434 .table button.delete:hover |
| 435 { | 435 { |
| 436 background-position: -61px -51px; | 436 background-position: -61px -51px; |
| 437 } | 437 } |
| 438 | 438 |
| 439 .tabs.horizontal | |
| 440 { | |
| 441 display: flex; | |
| 442 margin-top: 0px; | |
| 443 margin-bottom: 0px; | |
| 444 padding: 0px; | |
| 445 border-bottom: 1px solid #CDCDCD; | |
| 446 } | |
| 447 | |
| 448 .tabs.horizontal li | |
| 449 { | |
| 450 display: inline-block; | |
| 451 padding: 0px 46px 10px 46px; | |
| 452 color: #3A7BA6; | |
| 453 text-align: center; | |
| 454 } | |
| 455 | |
| 456 .icon, | 439 .icon, |
| 457 button[role="checkbox"], | 440 button[role="checkbox"], |
| 458 .table button.delete, | 441 .table button.delete, |
| 459 #content-help a::before, | 442 #content-help a::before, |
| 460 #dialog-close::before, | 443 #dialog-close::before, |
| 461 #custom-filters-add button::after, | |
| 462 #dialog-body button::before, | 444 #dialog-body button::before, |
| 463 .date::before, | 445 #all-filter-lists-table .arrow, |
| 464 .time::before, | |
| 465 #all-filter-lists .arrow, | |
| 466 .context-menu .content a::before | 446 .context-menu .content a::before |
| 467 { | 447 { |
| 468 background-image: url(options-sprite.png); | 448 background-image: url(options-sprite.png); |
| 469 display: inline-block; | 449 display: inline-block; |
| 470 } | 450 } |
| 471 | 451 |
| 472 .icon-add, | 452 .icon-add, |
| 473 .icon-update, | 453 .icon-update |
| 474 .icon-edit | |
| 475 { | 454 { |
| 476 height: 16px; | 455 height: 16px; |
| 477 width: 16px; | 456 width: 16px; |
| 478 cursor: pointer; | 457 cursor: pointer; |
| 479 } | 458 } |
| 480 | 459 |
| 481 .icon-add | 460 .icon-add |
| 482 { | 461 { |
| 483 background-position: -1px -1px; | 462 background-position: -1px -1px; |
| 484 } | 463 } |
| 485 | 464 |
| 486 .icon-update | 465 .icon-update |
| 487 { | 466 { |
| 488 background-position: -35px -1px; | 467 background-position: -35px -1px; |
| 489 } | 468 } |
| 490 | 469 |
| 491 .icon-edit | 470 .icon-enter |
| 492 { | |
| 493 background-position: -18px -1px; | |
| 494 } | |
| 495 | |
| 496 .icon-save, | |
| 497 .icon-cancel | |
| 498 { | |
| 499 height: 10px; | |
| 500 width: 10px; | |
| 501 cursor: pointer; | |
| 502 } | |
| 503 | |
| 504 .icon-save | |
| 505 { | |
| 506 background-position: -1px -62px; | |
| 507 } | |
| 508 | |
| 509 .icon-cancel | |
| 510 { | |
| 511 background-position: -12px -62px; | |
| 512 } | |
| 513 | |
| 514 .icon-enter, | |
| 515 #custom-filters-add button::after | |
| 516 { | 471 { |
| 517 height: 8px; | 472 height: 8px; |
| 518 width: 8px; | 473 width: 8px; |
| 519 cursor: pointer; | 474 cursor: pointer; |
| 520 } | 475 } |
| 521 | 476 |
| 522 #dialog-close::before, | 477 #dialog-close::before |
| 523 .date::before, | |
| 524 .time::before | |
| 525 { | 478 { |
| 526 content: ""; | 479 content: ""; |
| 527 height: 12px; | 480 height: 12px; |
| 528 width: 12px; | 481 width: 12px; |
| 529 } | 482 } |
| 530 | 483 |
| 531 #content-help a::before, | 484 #content-help a::before, |
| 532 #dialog-body button::before | 485 #dialog-body button::before |
| 533 { | 486 { |
| 534 background-position: 0px -42px; | 487 background-position: 0px -42px; |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 661 background-color: transparent; | 614 background-color: transparent; |
| 662 border: 0px; | 615 border: 0px; |
| 663 color: #3A7BA6; | 616 color: #3A7BA6; |
| 664 cursor: pointer; | 617 cursor: pointer; |
| 665 } | 618 } |
| 666 | 619 |
| 667 /* | 620 /* |
| 668 Advanced tab content | 621 Advanced tab content |
| 669 */ | 622 */ |
| 670 | 623 |
| 671 #filter-lists > div, | 624 #all-filter-lists-table li.show-message .last-update, |
| 672 #all-filter-lists li.show-message .date, | 625 #all-filter-lists-table li:not(.show-message) .message, |
| 673 #all-filter-lists li.show-message .time, | 626 #custom-filters:not([data-mode="empty"]) #empty-custom-filters, |
| 674 #all-filter-lists li:not(.show-message) .message, | 627 #custom-filters[data-mode="empty"] #custom-filters-raw, |
| 675 #custom-filters:not(.mode-edit) #custom-filters-raw, | 628 #custom-filters:not([data-mode="write"]) #custom-filters-raw-controls, |
| 676 #custom-filters:not(.mode-edit) #custom-filters-raw-controls, | 629 #custom-filters:not([data-mode="read"]) #custom-filters-edit, |
| 677 #custom-filters.mode-edit #custom-filters-show-edit, | 630 .state span |
| 678 #custom-filters.mode-edit #custom-filters-list-wrapper | |
| 679 { | 631 { |
| 680 display: none; | 632 display: none; |
| 681 } | 633 } |
| 682 | 634 |
| 683 body[data-tab="advanced-allFilterLists"] #all-filter-lists, | 635 #all-filter-lists-table |
| 684 body[data-tab="advanced-customFilters"] #custom-filters | |
| 685 { | |
| 686 display: block; | |
| 687 } | |
| 688 | |
| 689 #all-filter-lists .table | |
| 690 { | 636 { |
| 691 display: inline-block; | 637 display: inline-block; |
| 692 } | 638 } |
| 693 | 639 |
| 694 body[data-tab="advanced-allFilterLists"] #content-advanced [data-tab="advanced-a
llFilterLists"], | 640 #all-filter-lists-table |
| 695 body[data-tab="advanced-customFilters"] #content-advanced [data-tab="advanced-cu
stomFilters"] | |
| 696 { | |
| 697 border-bottom: 2px solid #1E8728; | |
| 698 padding-bottom: 10px; | |
| 699 color: black; | |
| 700 font-weight: 600; | |
| 701 } | |
| 702 | |
| 703 #all-filter-lists .table | |
| 704 { | 641 { |
| 705 display: inline-block; | 642 display: inline-block; |
| 706 } | 643 } |
| 707 | 644 |
| 708 #all-filter-lists .table li > div | 645 #all-filter-lists-table li > div |
| 709 { | 646 { |
| 710 display: flex; | 647 display: flex; |
| 711 width: 330px; | 648 width: 330px; |
| 712 } | 649 } |
| 713 | 650 |
| 714 .table-header | 651 #all-filter-lists-table li span.display |
| 715 { | |
| 716 display: flex; | |
| 717 } | |
| 718 | |
| 719 #filter-lists h2 | |
| 720 { | |
| 721 margin-bottom: 7px; | |
| 722 font-size: 14px; | |
| 723 } | |
| 724 | |
| 725 .table-header h2:first-child | |
| 726 { | |
| 727 width: 330px; | |
| 728 -webkit-padding-start: 54px; | |
| 729 -moz-padding-start: 54px; | |
| 730 } | |
| 731 | |
| 732 #all-filter-lists .table li span.display | |
| 733 { | 652 { |
| 734 cursor: pointer; | 653 cursor: pointer; |
| 735 } | 654 } |
| 736 | 655 |
| 737 #all-filter-lists .table .head span:first-child | 656 #all-filter-lists-table button[role="checkbox"][aria-checked="true"] + .state #s
tate-active |
| 738 { | 657 { |
| 739 -webkit-padding-start: 38px; | 658 display: inline; |
| 740 -moz-padding-start: 38px; | |
| 741 } | 659 } |
| 742 | 660 |
| 743 #all-filter-lists .controls | 661 #all-filter-lists-table button[role="checkbox"][aria-checked="false"] + .state #
state-disabled |
| 662 { |
| 663 display: inline; |
| 664 } |
| 665 |
| 666 #all-filter-lists-table .controls |
| 744 { | 667 { |
| 745 padding-top: 0px; | 668 padding-top: 0px; |
| 746 border-top: none; | 669 border-top: none; |
| 747 } | 670 } |
| 748 | 671 |
| 749 #all-filter-lists .controls button | 672 #all-filter-lists-table .controls button |
| 750 { | 673 { |
| 751 margin-top: 14px; | 674 margin-top: 14px; |
| 752 } | 675 } |
| 753 | 676 |
| 754 #all-filter-lists .arrow | 677 #all-filter-lists-table .arrow |
| 755 { | 678 { |
| 756 position: relative; | |
| 757 margin: auto 6px; | |
| 758 border-style: none; | |
| 759 padding: 0px; | |
| 760 width: 6px; | 679 width: 6px; |
| 761 height: 4px; | 680 height: 4px; |
| 762 background-position: -1px -54px; | 681 background-position: -1px -54px; |
| 763 cursor: pointer; | 682 cursor: pointer; |
| 764 } | 683 } |
| 765 | 684 |
| 766 #all-filter-lists .table li:last-of-type a | 685 #all-filter-lists-table li:last-of-type a |
| 767 { | 686 { |
| 768 color: #3A7BA6; | 687 color: #3A7BA6; |
| 769 text-decoration: none; | 688 text-decoration: none; |
| 770 cursor: pointer; | 689 cursor: pointer; |
| 771 } | 690 } |
| 772 | 691 |
| 773 #all-filter-lists .table li:last-of-type > span:last-child | 692 #all-filter-lists-table li:last-of-type > span:last-child |
| 774 { | 693 { |
| 775 -webkit-margin-start: auto; | 694 -webkit-margin-start: auto; |
| 776 -moz-margin-start: auto; | 695 -moz-margin-start: auto; |
| 777 } | 696 } |
| 778 | 697 |
| 779 .date::before | |
| 780 { | |
| 781 -webkit-margin-end: 6px; | |
| 782 -moz-margin-end: 6px; | |
| 783 background-position: -7px -49px; | |
| 784 } | |
| 785 | |
| 786 .time::before | |
| 787 { | |
| 788 -webkit-margin-end: 6px; | |
| 789 -moz-margin-end: 6px; | |
| 790 -webkit-margin-start: 12px; | |
| 791 -moz-margin-start: 12px; | |
| 792 background-position: -20px -49px; | |
| 793 } | |
| 794 | |
| 795 #all-filter-lists-table .static label | |
| 796 { | |
| 797 font-weight: 600; | |
| 798 } | |
| 799 | |
| 800 #custom-filters-header | |
| 801 { | |
| 802 padding: 0px 16px; | |
| 803 margin-bottom: 10px; | |
| 804 } | |
| 805 | |
| 806 #custom-filters-raw-controls | 698 #custom-filters-raw-controls |
| 807 { | 699 { |
| 808 justify-content: space-between; | 700 justify-content: space-between; |
| 809 } | 701 } |
| 810 | 702 |
| 811 #custom-filters-raw | 703 #custom-filters-raw |
| 812 { | 704 { |
| 813 width: 100%; | 705 width: 100%; |
| 814 height: 100%; | 706 height: 100%; |
| 815 padding: 2px 16px; | 707 padding: 2px 16px; |
| 816 } | 708 } |
| 817 | 709 |
| 818 #custom-filters-wrapper | |
| 819 { | |
| 820 height: 280px; | |
| 821 } | |
| 822 | |
| 823 #custom-filters-add | |
| 824 { | |
| 825 display: flex; | |
| 826 border-width: 1px 0px 1px 0px; | |
| 827 border-bottom-style: solid; | |
| 828 border-top-style: solid; | |
| 829 border-color: #1E8728; | |
| 830 padding: 0px; | |
| 831 margin: 0px; | |
| 832 background-color: #F5F5F5; | |
| 833 } | |
| 834 | |
| 835 #custom-filters-add input[type="text"] | |
| 836 { | |
| 837 -moz-padding-start: 16px; | |
| 838 -webkit-padding-start: 16px; | |
| 839 padding-top: 10px; | |
| 840 padding-bottom: 10px; | |
| 841 border: none; | |
| 842 width: 100%; | |
| 843 background-color: transparent; | |
| 844 } | |
| 845 | |
| 846 #custom-filters-add input[type="text"]:focus | |
| 847 { | |
| 848 outline: 0px; | |
| 849 } | |
| 850 | |
| 851 #custom-filters-table | |
| 852 { | |
| 853 height: 240px; | |
| 854 width: 100%; | |
| 855 border-top: 1px solid #CDCDCD; | |
| 856 overflow: auto; | |
| 857 } | |
| 858 | |
| 859 #custom-filters-add button | |
| 860 { | |
| 861 font-size: 14px; | |
| 862 -webkit-padding-end: 6px; | |
| 863 -moz-padding-end: 6px; | |
| 864 cursor: pointer; | |
| 865 color: #3A7BA6; | |
| 866 } | |
| 867 | |
| 868 #custom-filters-add button::before | |
| 869 { | |
| 870 content: ""; | |
| 871 display: inline-block; | |
| 872 -moz-border-end: 1px solid #CDCDCD; | |
| 873 -webkit-border-end: 1px solid #CDCDCD; | |
| 874 height: 15px; | |
| 875 -webkit-margin-end: 10px; | |
| 876 -moz-margin-end: 10px; | |
| 877 margin-bottom: -2px; | |
| 878 width: 1px; | |
| 879 } | |
| 880 | |
| 881 #custom-filters-add button::after | |
| 882 { | |
| 883 content: ""; | |
| 884 background-position: -28px -33px; | |
| 885 -webkit-margin-start: 6px; | |
| 886 -moz-margin-start: 6px; | |
| 887 } | |
| 888 | |
| 889 /* | 710 /* |
| 890 Tooltips | 711 Tooltips |
| 891 */ | 712 */ |
| 892 | 713 |
| 893 .tooltip | 714 .tooltip |
| 894 { | 715 { |
| 895 display: inline-block; | 716 display: inline-block; |
| 896 position: relative; | 717 position: relative; |
| 897 margin: 0px 4px; | 718 margin: 0px 4px; |
| 898 border-bottom: dashed 1px; | 719 border-bottom: dashed 1px; |
| 899 height: 15px; | 720 height: 15px; |
| 900 color: #3A7BA6; | 721 color: #3A7BA6; |
| 901 font-size: 12px; | 722 font-size: 12px; |
| 902 line-height: 19px; | 723 line-height: 19px; |
| 903 text-decoration: none; | 724 text-decoration: none; |
| 904 font-weight: 400; | 725 font-weight: 400; |
| 905 cursor: default; | 726 cursor: default; |
| 906 } | 727 } |
| 907 | 728 |
| 729 li [role="menubar"] |
| 730 { |
| 731 position: relative; |
| 732 } |
| 733 |
| 908 .context-menu | 734 .context-menu |
| 909 { | 735 { |
| 910 display: inline-block; | 736 display: inline-block; |
| 911 position: relative; | 737 position: relative; |
| 912 border-bottom: none; | 738 border-bottom: none; |
| 913 } | 739 } |
| 914 | 740 |
| 915 .context-menu a | 741 .context-menu a |
| 916 { | 742 { |
| 917 vertical-align: middle; | 743 vertical-align: middle; |
| (...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1328 #other-language .button-add::before | 1154 #other-language .button-add::before |
| 1329 { | 1155 { |
| 1330 display: none; | 1156 display: none; |
| 1331 } | 1157 } |
| 1332 | 1158 |
| 1333 #other-language .display | 1159 #other-language .display |
| 1334 { | 1160 { |
| 1335 -webkit-margin-start: 10px; | 1161 -webkit-margin-start: 10px; |
| 1336 -moz-margin-start: 10px; | 1162 -moz-margin-start: 10px; |
| 1337 } | 1163 } |
| OLD | NEW |