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

Delta Between Two Patch Sets: skin/options.css

Issue 29336364: issue 2377 - Finish design of Advanced tab of new options page (Closed)
Left Patch Set: Addressed Thomas and Wladimir comments Created Feb. 24, 2016, 11:19 a.m.
Right Patch Set: Created April 28, 2016, 1 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « options.html ('k') | skin/options-sprite.png » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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-2016 Eyeo GmbH 3 * Copyright (C) 2006-2016 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 font-style: normal; 45 font-style: normal;
46 } 46 }
47 47
48 body 48 body
49 { 49 {
50 background-color: #F5F5F5; 50 background-color: #F5F5F5;
51 display: flex; 51 display: flex;
52 margin: 20px 10px; 52 margin: 20px 10px;
53 font-family: "Source Sans Pro", sans-serif; 53 font-family: "Source Sans Pro", sans-serif;
54 font-size: 14px; 54 font-size: 14px;
55 color: #494949;
55 } 56 }
56 57
57 h1 58 h1
58 { 59 {
59 font-size: 24px; 60 font-size: 24px;
60 line-height: 1em; 61 line-height: 1em;
61 font-weight: 300; 62 font-weight: 300;
62 } 63 }
63 64
64 h2 65 h2
65 { 66 {
66 font-size: 16px; 67 font-size: 16px;
67 font-weight: 600; 68 font-weight: 600;
68 } 69 }
69 70
70 p 71 p
71 { 72 {
72 font-weight: 300; 73 font-weight: 300;
73 } 74 }
74 75
75 hr 76 hr
76 { 77 {
77 background-color: #CDCDCD; 78 background-color: #CDCDCD;
78 border: 0px; 79 border: 0px;
79 height: 1px; 80 height: 1px;
80 margin: 0px; 81 margin: 0px;
82 }
83
84 [aria-hidden="true"]
85 {
86 display: none !important;
81 } 87 }
82 88
83 input[type="search"]::-webkit-search-cancel-button 89 input[type="search"]::-webkit-search-cancel-button
84 { 90 {
85 display: none; 91 display: none;
86 } 92 }
87 93
88 input[type="text"], 94 input[type="text"],
89 input[type="search"], 95 input[type="search"],
90 textarea 96 textarea
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 #tab-share[hidden] + li 293 #tab-share[hidden] + li
288 { 294 {
289 border-top: none; 295 border-top: none;
290 } 296 }
291 297
292 #content 298 #content
293 { 299 {
294 background-color: #FFFFFF; 300 background-color: #FFFFFF;
295 border: 1px solid #CDCDCD; 301 border: 1px solid #CDCDCD;
296 border-radius: 8px; 302 border-radius: 8px;
297 box-sizing: border-box; 303 width: 840px;
298 min-width: 960px;
299 padding: 0px 60px 40px 60px; 304 padding: 0px 60px 40px 60px;
300 } 305 }
301 306
302 #content h1 307 #content h1
303 { 308 {
304 border-bottom: 1px solid #CDCDCD; 309 border-bottom: 1px solid #CDCDCD;
305 margin: 0px 0px 24px 0px; 310 margin: 0px 0px 24px 0px;
306 padding: 40px 0px 16px 0px; 311 padding: 40px 0px 16px 0px;
307 } 312 }
308 313
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 406
402 button[disabled="true"] 407 button[disabled="true"]
403 { 408 {
404 border-radius: 2px; 409 border-radius: 2px;
405 background-color: #ccc; 410 background-color: #ccc;
406 } 411 }
407 412
408 .table button.delete 413 .table button.delete
409 { 414 {
410 background-color: transparent; 415 background-color: transparent;
411 background-position: -9px -32px; 416 background-position: -10px -33px;
412 border: 0px; 417 border: 0px;
413 margin-top: 5px; 418 margin-top: 5px;
414 -moz-margin-end: 20px; 419 -moz-margin-end: 20px;
415 -webkit-margin-end: 20px; 420 -webkit-margin-end: 20px;
416 padding: 0px; 421 padding: 0px;
417 } 422 }
418 423
419 .table .popular 424 .table .popular
420 { 425 {
421 color: #1E8728; 426 color: #1E8728;
422 font-size: 12px; 427 font-size: 12px;
423 -moz-padding-end: 12px; 428 -moz-padding-end: 12px;
424 -webkit-padding-end: 12px; 429 -webkit-padding-end: 12px;
425 } 430 }
426 431
427 .tabs.horizontal 432 .tabs.horizontal
428 { 433 {
429 display: flex; 434 display: flex;
430 margin-top: 0px; 435 margin-top: 0px;
431 margin-bottom: 0px; 436 margin-bottom: 0px;
432 padding: 0px; 437 padding: 0px;
433 border-bottom: 1px solid #A1A1A1; 438 border-bottom: 1px solid #CDCDCD;
434 } 439 }
435 440
436 .tabs.horizontal li 441 .tabs.horizontal li
437 { 442 {
438 display: inline-block; 443 display: inline-block;
439 padding: 0px 46px 10px 46px; 444 padding: 0px 46px 10px 46px;
440 color: #3A7BA6; 445 color: #3A7BA6;
441 text-align: center; 446 text-align: center;
442 } 447 }
443 448
(...skipping 10 matching lines...) Expand all
454 .context-menu .content a::before 459 .context-menu .content a::before
455 { 460 {
456 background-image: url(options-sprite.png); 461 background-image: url(options-sprite.png);
457 display: inline-block; 462 display: inline-block;
458 } 463 }
459 464
460 .icon-add, 465 .icon-add,
461 .icon-update, 466 .icon-update,
462 .icon-edit 467 .icon-edit
463 { 468 {
464 height: 18px; 469 height: 16px;
465 min-width: 18px; 470 width: 16px;
466 cursor: pointer; 471 cursor: pointer;
467 } 472 }
468 473
469 .icon-add 474 .icon-add
470 { 475 {
471 background-position: -0px -0px; 476 background-position: -1px -1px;
472 } 477 }
473 478
474 .icon-update 479 .icon-update
475 { 480 {
476 background-position: -34px -0px; 481 background-position: -35px -1px;
477 } 482 }
478 483
479 .icon-edit 484 .icon-edit
480 { 485 {
481 background-position: -17px -0px; 486 background-position: -18px -1px;
482 } 487 }
483 488
484 .icon-save, 489 .icon-save,
485 .icon-cancel, 490 .icon-cancel
491 {
492 height: 10px;
493 width: 10px;
494 cursor: pointer;
495 }
496
497 .icon-save
498 {
499 background-position: -1px -62px;
500 }
501
502 .icon-cancel
503 {
504 background-position: -12px -62px;
505 }
506
486 .icon-enter, 507 .icon-enter,
487 #custom-filters-add button::after, 508 #custom-filters-add button::after,
488 .table button.delete 509 .table button.delete
489 { 510 {
490 height: 10px; 511 height: 8px;
491 width: 10px; 512 width: 8px;
492 cursor: pointer; 513 cursor: pointer;
493 }
494
495 .icon-save
496 {
497 background-position: -1px -62px;
498 }
499
500 .icon-cancel
501 {
502 background-position: -12px -62px;
503 } 514 }
504 515
505 #dialog-close::before, 516 #dialog-close::before,
506 .date::before, 517 .date::before,
507 .time::before 518 .time::before
508 { 519 {
509 content: ""; 520 content: "";
510 height: 12px; 521 height: 12px;
511 width: 12px; 522 width: 12px;
512 } 523 }
(...skipping 20 matching lines...) Expand all
533 544
534 .controls.mode-edit 545 .controls.mode-edit
535 { 546 {
536 -moz-margin-end: 0px; 547 -moz-margin-end: 0px;
537 -webkit-margin-end: 0px; 548 -webkit-margin-end: 0px;
538 } 549 }
539 550
540 .controls > div 551 .controls > div
541 { 552 {
542 display: flex; 553 display: flex;
554 position: relative;
543 } 555 }
544 556
545 .controls button, 557 .controls button,
546 #dialog-close 558 #dialog-close
547 { 559 {
560 display: flex;
561 border: none;
562 padding: 0px;
563 align-items: center;
548 background: none; 564 background: none;
549 border: none; 565 cursor: pointer;
550 cursor: pointer;
551 display: block;
552 padding: 0;
553 } 566 }
554 567
555 .controls button span:not(.icon) 568 .controls button span:not(.icon)
556 { 569 {
557 display: inline-block;
558 -moz-margin-start: 16px; 570 -moz-margin-start: 16px;
559 -webkit-margin-start: 16px; 571 -webkit-margin-start: 16px;
560 padding-top: 1px;
561 color: #3A7BA6; 572 color: #3A7BA6;
562 vertical-align: top; 573 vertical-align: top;
563 } 574 }
564 575
565 /* 576 /*
566 General tab content 577 General tab content
567 */ 578 */
568 579
569 #acceptableads-table, 580 #acceptableads-table,
570 #recommend-list-table, 581 #recommend-list-table,
(...skipping 13 matching lines...) Expand all
584 595
585 #custom-wrapper 596 #custom-wrapper
586 { 597 {
587 height: 290px; 598 height: 290px;
588 overflow: auto; 599 overflow: auto;
589 } 600 }
590 601
591 #custom-wrapper .table 602 #custom-wrapper .table
592 { 603 {
593 width: 100%; 604 width: 100%;
594 }
595
596 #whitelisting .controls
597 {
598 -moz-padding-start: 12px;
599 -webkit-padding-start: 12px;
600 } 605 }
601 606
602 #whitelisting .controls.mode-edit > button, 607 #whitelisting .controls.mode-edit > button,
603 #whitelisting .controls:not(.mode-edit) > div 608 #whitelisting .controls:not(.mode-edit) > div
604 { 609 {
605 display: none; 610 display: none;
606 } 611 }
607 612
608 #whitelisting .controls input[type="text"] 613 #whitelisting .controls input[type="text"]
609 { 614 {
(...skipping 21 matching lines...) Expand all
631 -webkit-margin-start: 32px; 636 -webkit-margin-start: 32px;
632 } 637 }
633 638
634 #whitelisting-add-button + span 639 #whitelisting-add-button + span
635 { 640 {
636 flex: 1; 641 flex: 1;
637 } 642 }
638 643
639 .icon-enter 644 .icon-enter
640 { 645 {
641 background-position: -18px -32px; 646 background-position: -19px -33px;
642 position: absolute; 647 position: absolute;
643 top: 10px; 648 bottom: 9px;
644 -moz-margin-start: -20px; 649 -moz-margin-start: -20px;
645 -webkit-margin-start: -20px; 650 -webkit-margin-start: -20px;
646 } 651 }
647 652
648 .button-add, .cancel-button 653 .button-add, .cancel-button
649 { 654 {
650 background-color: transparent; 655 background-color: transparent;
651 border: 0px; 656 border: 0px;
652 color: #3A7BA6; 657 color: #3A7BA6;
653 cursor: pointer; 658 cursor: pointer;
654 } 659 }
655 660
656 /* 661 /*
657 Advanced tab content 662 Advanced tab content
658 */ 663 */
664
665 #restart-safari
666 {
667 -moz-margin-start: 20px;
668 -webkit-margin-start: 20px;
669 color: red;
670 font-weight: 600;
671 }
659 672
660 #filter-lists > div, 673 #filter-lists > div,
661 #all-filter-lists li.show-message .date, 674 #all-filter-lists li.show-message .date,
662 #all-filter-lists li.show-message .time, 675 #all-filter-lists li.show-message .time,
663 #all-filter-lists li:not(.show-message) .message, 676 #all-filter-lists li:not(.show-message) .message,
664 #custom-filters:not(.mode-edit) #custom-filters-raw, 677 #custom-filters:not(.mode-edit) #custom-filters-raw,
665 #custom-filters:not(.mode-edit) #custom-filters-raw-controls, 678 #custom-filters:not(.mode-edit) #custom-filters-raw-controls,
666 #custom-filters.mode-edit #custom-filters-show-edit, 679 #custom-filters.mode-edit #custom-filters-show-edit,
667 #custom-filters.mode-edit #custom-filters-list-wrapper 680 #custom-filters.mode-edit #custom-filters-list-wrapper
668 { 681 {
669 display: none; 682 display: none;
670 } 683 }
671 684
672 body[data-tab="advanced-allFilterLists"] #all-filter-lists, 685 body[data-tab="advanced-allFilterLists"] #all-filter-lists,
673 body[data-tab="advanced-customFilters"] #custom-filters 686 body[data-tab="advanced-customFilters"] #custom-filters
674 { 687 {
675 display: block; 688 display: block;
676 } 689 }
677 690
678 .with-description .tooltip,
679 #all-filter-lists .table 691 #all-filter-lists .table
680 { 692 {
681 display: inline-block; 693 display: inline-block;
682 } 694 }
683 695
684 body[data-tab="advanced-allFilterLists"] #content-advanced [data-tab="advanced-a llFilterLists"], 696 body[data-tab="advanced-allFilterLists"] #content-advanced [data-tab="advanced-a llFilterLists"],
685 body[data-tab="advanced-customFilters"] #content-advanced [data-tab="advanced-cu stomFilters"] 697 body[data-tab="advanced-customFilters"] #content-advanced [data-tab="advanced-cu stomFilters"]
686 { 698 {
687 border-bottom: 2px solid #1E8728; 699 border-bottom: 2px solid #1E8728;
688 padding-bottom: 10px; 700 padding-bottom: 10px;
(...skipping 14 matching lines...) Expand all
703 } 715 }
704 716
705 .table-header 717 .table-header
706 { 718 {
707 display: flex; 719 display: flex;
708 } 720 }
709 721
710 #filter-lists h2 722 #filter-lists h2
711 { 723 {
712 margin-bottom: 7px; 724 margin-bottom: 7px;
725 font-size: 14px;
713 } 726 }
714 727
715 .table-header h2:first-child 728 .table-header h2:first-child
716 { 729 {
717 width: 330px; 730 width: 330px;
718 -webkit-padding-start: 54px; 731 -webkit-padding-start: 54px;
719 -moz-padding-start: 54px; 732 -moz-padding-start: 54px;
720 } 733 }
721 734
722 #all-filter-lists .table li span.display 735 #all-filter-lists .table li span.display
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
775 788
776 .time::before 789 .time::before
777 { 790 {
778 -webkit-margin-end: 6px; 791 -webkit-margin-end: 6px;
779 -moz-margin-end: 6px; 792 -moz-margin-end: 6px;
780 -webkit-margin-start: 12px; 793 -webkit-margin-start: 12px;
781 -moz-margin-start: 12px; 794 -moz-margin-start: 12px;
782 background-position: -20px -49px; 795 background-position: -20px -49px;
783 } 796 }
784 797
798 #all-filter-lists-table .static label
799 {
800 font-weight: 600;
801 }
802
785 #custom-filters-header 803 #custom-filters-header
786 { 804 {
787 padding: 0px 16px; 805 padding: 0px 16px;
788 margin-bottom: 10px; 806 margin-bottom: 10px;
789 } 807 }
790 808
791 #custom-filters-raw-controls 809 #custom-filters-raw-controls
792 { 810 {
793 justify-content: space-between; 811 justify-content: space-between;
794 } 812 }
795 813
796 #custom-filters-raw 814 #custom-filters-raw
797 { 815 {
798 width: 100%; 816 width: 100%;
799 height: 100%; 817 height: 100%;
800 padding: 2px 16px; 818 padding: 2px 16px;
801 } 819 }
802 820
803 #custom-filters-wrapper 821 #custom-filters-wrapper
804 { 822 {
805 height: 330px; 823 height: 280px;
806 } 824 }
807 825
808 #custom-filters-add 826 #custom-filters-add
809 { 827 {
810 display: flex; 828 display: flex;
811 border-width: 1px 0px 1px 0px; 829 border-width: 1px 0px 1px 0px;
812 border-bottom-style: solid; 830 border-bottom-style: solid;
813 border-top-style: solid; 831 border-top-style: solid;
814 border-color: #1E8728; 832 border-color: #1E8728;
815 padding: 0px; 833 padding: 0px;
816 margin: 0px; 834 margin: 0px;
817 background-color: #F5F5F5; 835 background-color: #F5F5F5;
818 } 836 }
819 837
820 #custom-filters-add input[type="text"] 838 #custom-filters-add input[type="text"]
821 { 839 {
822 -moz-padding-start: 16px; 840 -moz-padding-start: 16px;
823 -webkit-padding-start: 16px; 841 -webkit-padding-start: 16px;
824 padding-top: 10px; 842 padding-top: 10px;
825 padding-bottom: 10px; 843 padding-bottom: 10px;
826 border: none; 844 border: none;
827 font-size: 13px; 845 width: 100%;
828 background-color: transparent; 846 background-color: transparent;
829 flex-grow: 1;
830 } 847 }
831 848
832 #custom-filters-add input[type="text"]:focus 849 #custom-filters-add input[type="text"]:focus
833 { 850 {
834 outline: 0px; 851 outline: 0px;
835 } 852 }
836 853
837 #custom-filters-add input::-webkit-input-placeholder,
838 #custom-filters-add input::-moz-placeholder
839 {
840 font-weight: 600;
841 }
842
843 #custom-filters-table 854 #custom-filters-table
844 { 855 {
845 height: 290px; 856 height: 240px;
846 width: auto; 857 width: 100%;
847 border-top: 1px solid #CDCDCD; 858 border-top: 1px solid #CDCDCD;
848 overflow: auto; 859 overflow: auto;
849 } 860 }
850 861
851 #custom-filters-add button 862 #custom-filters-add button
852 { 863 {
853 font-size: 14px; 864 font-size: 14px;
854 -webkit-padding-end: 6px; 865 -webkit-padding-end: 6px;
855 -moz-padding-end: 6px; 866 -moz-padding-end: 6px;
856 cursor: pointer; 867 cursor: pointer;
857 color: #3A7BA6; 868 color: #3A7BA6;
858 flex-grow: 0;
859 } 869 }
860 870
861 #custom-filters-add button::before 871 #custom-filters-add button::before
862 { 872 {
863 content: ""; 873 content: "";
864 display: inline-block; 874 display: inline-block;
865 -moz-border-end: 1px solid #CDCDCD; 875 -moz-border-end: 1px solid #CDCDCD;
866 -webkit-border-end: 1px solid #CDCDCD; 876 -webkit-border-end: 1px solid #CDCDCD;
867 height: 15px; 877 height: 15px;
868 -webkit-margin-end: 10px; 878 -webkit-margin-end: 10px;
869 -moz-margin-end: 10px; 879 -moz-margin-end: 10px;
870 margin-bottom: -2px; 880 margin-bottom: -2px;
871 width: 1px; 881 width: 1px;
872 } 882 }
873 883
874 #custom-filters-add button::after 884 #custom-filters-add button::after
875 { 885 {
876 content: ""; 886 content: "";
877 background-position: -28px -32px; 887 background-position: -28px -33px;
878 -webkit-margin-start: 6px; 888 -webkit-margin-start: 6px;
879 -moz-margin-start: 6px; 889 -moz-margin-start: 6px;
880 } 890 }
881 891
882 /* 892 /*
883 Tooltips 893 Tooltips
884 */ 894 */
885 895
886 .tooltip, #block-element-explanation a 896 .tooltip
887 { 897 {
898 display: inline-block;
888 position: relative; 899 position: relative;
889 margin: 0px 4px; 900 margin: 0px 4px;
890 border-bottom: dashed 1px; 901 border-bottom: dashed 1px;
891 height: 15px; 902 height: 15px;
892 color: #3A7BA6; 903 color: #3A7BA6;
893 font-size: 12px; 904 font-size: 12px;
894 line-height: 19px; 905 line-height: 19px;
895 text-decoration: none; 906 text-decoration: none;
896 font-weight: 400; 907 font-weight: 400;
897 cursor: default; 908 cursor: default;
(...skipping 10 matching lines...) Expand all
908 { 919 {
909 vertical-align: middle; 920 vertical-align: middle;
910 white-space: nowrap; 921 white-space: nowrap;
911 color: #FFF; 922 color: #FFF;
912 } 923 }
913 924
914 #content-advanced .tooltip 925 #content-advanced .tooltip
915 { 926 {
916 -moz-margin-start: 8px; 927 -moz-margin-start: 8px;
917 -webkit-margin-start: 8px; 928 -webkit-margin-start: 8px;
918 }
919
920 #block-element-explanation a
921 {
922 color: black;
923 border-bottom-color: #3A7BA6;
924 font-weight: 600;
925 -moz-padding-start: 0px;
926 -webkit-padding-start: 0px;
927 } 929 }
928 930
929 div[role="tooltip"] 931 div[role="tooltip"]
930 { 932 {
931 background-color: rgba(45, 45, 45, 0.95); 933 background-color: rgba(45, 45, 45, 0.95);
932 border-radius: 3px; 934 border-radius: 3px;
933 color: #FFF; 935 color: #FFF;
934 font-size: 14px; 936 font-size: 14px;
935 font-weight: 400; 937 font-weight: 400;
936 left: -20px; 938 left: -20px;
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
1195 color: #0F660F; 1197 color: #0F660F;
1196 display: inline-block; 1198 display: inline-block;
1197 height: 20px; 1199 height: 20px;
1198 font-size: 15px; 1200 font-size: 15px;
1199 -moz-padding-start: 10px; 1201 -moz-padding-start: 10px;
1200 -webkit-padding-start: 10px; 1202 -webkit-padding-start: 10px;
1201 } 1203 }
1202 1204
1203 #dialog-close::before 1205 #dialog-close::before
1204 { 1206 {
1205 background-position: -9px -32px; 1207 background-position: -10px -33px;
1206 cursor: pointer; 1208 cursor: pointer;
1209 height: 8px;
1210 width: 8px;
1207 vertical-align: middle; 1211 vertical-align: middle;
1208 -moz-margin-end: 6px; 1212 -moz-margin-end: 6px;
1209 -webkit-margin-end: 6px; 1213 -webkit-margin-end: 6px;
1210 } 1214 }
1211 1215
1212 #dialog #dialog-body 1216 #dialog #dialog-body
1213 { 1217 {
1214 margin: 4px 24px; 1218 margin: 4px 24px;
1215 } 1219 }
1216 1220
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
1321 #other-language .button-add::before 1325 #other-language .button-add::before
1322 { 1326 {
1323 display: none; 1327 display: none;
1324 } 1328 }
1325 1329
1326 #other-language .display 1330 #other-language .display
1327 { 1331 {
1328 -webkit-margin-start: 10px; 1332 -webkit-margin-start: 10px;
1329 -moz-margin-start: 10px; 1333 -moz-margin-start: 10px;
1330 } 1334 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld