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

Side by Side Diff: skin/new-options.css

Issue 29445590: Issue 5255 - Advanced tab (HTML, strings and functionality) (Closed)
Patch Set: Addressed notes from weekly(ish) meeting and small collection fix Created June 14, 2017, 11:58 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 <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 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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(.mode-empty) #empty-custom-filters,
674 #all-filter-lists li:not(.show-message) .message,
675 #custom-filters:not(.mode-edit) #custom-filters-raw, 627 #custom-filters:not(.mode-edit) #custom-filters-raw,
676 #custom-filters:not(.mode-edit) #custom-filters-raw-controls, 628 #custom-filters:not(.mode-edit) #custom-filters-raw-controls,
677 #custom-filters.mode-edit #custom-filters-show-edit, 629 #custom-filters:not(.mode-view) #custom-filters-box,
678 #custom-filters.mode-edit #custom-filters-list-wrapper 630 #custom-filters:not(.mode-view) #custom-filters-edit,
631 .state span
679 { 632 {
680 display: none; 633 display: none;
681 } 634 }
682 635
683 body[data-tab="advanced-allFilterLists"] #all-filter-lists, 636 #all-filter-lists-table
684 body[data-tab="advanced-customFilters"] #custom-filters
685 {
686 display: block;
687 }
688
689 #all-filter-lists .table
690 { 637 {
691 display: inline-block; 638 display: inline-block;
692 } 639 }
693 640
694 body[data-tab="advanced-allFilterLists"] #content-advanced [data-tab="advanced-a llFilterLists"], 641 #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 { 642 {
705 display: inline-block; 643 display: inline-block;
706 } 644 }
707 645
708 #all-filter-lists .table li > div 646 #all-filter-lists-table li > div
709 { 647 {
710 display: flex; 648 display: flex;
711 width: 330px; 649 width: 330px;
712 } 650 }
713 651
714 .table-header 652 #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 { 653 {
734 cursor: pointer; 654 cursor: pointer;
735 } 655 }
736 656
737 #all-filter-lists .table .head span:first-child 657 #all-filter-lists-table button[role="checkbox"][aria-checked="true"] + .state #s tate-active
738 { 658 {
739 -webkit-padding-start: 38px; 659 display: inline;
740 -moz-padding-start: 38px;
741 } 660 }
742 661
743 #all-filter-lists .controls 662 #all-filter-lists-table button[role="checkbox"][aria-checked="false"] + .state # state-disabled
663 {
664 display: inline;
665 }
666
667 #all-filter-lists-table .controls
744 { 668 {
745 padding-top: 0px; 669 padding-top: 0px;
746 border-top: none; 670 border-top: none;
747 } 671 }
748 672
749 #all-filter-lists .controls button 673 #all-filter-lists-table .controls button
750 { 674 {
751 margin-top: 14px; 675 margin-top: 14px;
752 } 676 }
753 677
754 #all-filter-lists .arrow 678 #all-filter-lists-table .arrow
755 { 679 {
756 position: relative;
757 margin: auto 6px;
758 border-style: none;
759 padding: 0px;
760 width: 6px; 680 width: 6px;
761 height: 4px; 681 height: 4px;
762 background-position: -1px -54px; 682 background-position: -1px -54px;
763 cursor: pointer; 683 cursor: pointer;
764 } 684 }
765 685
766 #all-filter-lists .table li:last-of-type a 686 #all-filter-lists-table li:last-of-type a
767 { 687 {
768 color: #3A7BA6; 688 color: #3A7BA6;
769 text-decoration: none; 689 text-decoration: none;
770 cursor: pointer; 690 cursor: pointer;
771 } 691 }
772 692
773 #all-filter-lists .table li:last-of-type > span:last-child 693 #all-filter-lists-table li:last-of-type > span:last-child
774 { 694 {
775 -webkit-margin-start: auto; 695 -webkit-margin-start: auto;
776 -moz-margin-start: auto; 696 -moz-margin-start: auto;
777 } 697 }
778 698
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 699 #all-filter-lists-table .static label
Thomas Greiner 2017/07/07 13:01:11 Detail: You removed the only element with the "sta
saroyanm 2017/07/10 11:38:02 Well spotted.
saroyanm 2017/07/12 15:29:03 Done.
796 { 700 {
797 font-weight: 600; 701 font-weight: 600;
798 } 702 }
799 703
800 #custom-filters-header
801 {
802 padding: 0px 16px;
803 margin-bottom: 10px;
804 }
805
806 #custom-filters-raw-controls 704 #custom-filters-raw-controls
807 { 705 {
808 justify-content: space-between; 706 justify-content: space-between;
809 } 707 }
810 708
811 #custom-filters-raw 709 #custom-filters-raw
812 { 710 {
813 width: 100%; 711 width: 100%;
814 height: 100%; 712 height: 100%;
815 padding: 2px 16px; 713 padding: 2px 16px;
816 } 714 }
817 715
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 /* 716 /*
890 Tooltips 717 Tooltips
891 */ 718 */
892 719
893 .tooltip 720 .tooltip
894 { 721 {
895 display: inline-block; 722 display: inline-block;
896 position: relative; 723 position: relative;
897 margin: 0px 4px; 724 margin: 0px 4px;
898 border-bottom: dashed 1px; 725 border-bottom: dashed 1px;
899 height: 15px; 726 height: 15px;
900 color: #3A7BA6; 727 color: #3A7BA6;
901 font-size: 12px; 728 font-size: 12px;
902 line-height: 19px; 729 line-height: 19px;
903 text-decoration: none; 730 text-decoration: none;
904 font-weight: 400; 731 font-weight: 400;
905 cursor: default; 732 cursor: default;
906 } 733 }
907 734
735 li [role="menubar"]
736 {
737 position: relative;
738 }
739
908 .context-menu 740 .context-menu
909 { 741 {
910 display: inline-block; 742 display: inline-block;
911 position: relative; 743 position: relative;
912 border-bottom: none; 744 border-bottom: none;
913 } 745 }
914 746
915 .context-menu a 747 .context-menu a
916 { 748 {
917 vertical-align: middle; 749 vertical-align: middle;
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
1328 #other-language .button-add::before 1160 #other-language .button-add::before
1329 { 1161 {
1330 display: none; 1162 display: none;
1331 } 1163 }
1332 1164
1333 #other-language .display 1165 #other-language .display
1334 { 1166 {
1335 -webkit-margin-start: 10px; 1167 -webkit-margin-start: 10px;
1336 -moz-margin-start: 10px; 1168 -moz-margin-start: 10px;
1337 } 1169 }
OLDNEW
« new-options.js ('K') | « new-options.js ('k') | skin/options-sprite.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld