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

Side by Side Diff: skin/options.css

Issue 29321198: Issue 2376 - Implement custom filters in new options page (Closed)
Patch Set: Addressed initial comments Created July 8, 2015, 6:13 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« options.js ('K') | « options.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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-2015 Eyeo GmbH 3 * Copyright (C) 2006-2015 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 border: 0px; 47 border: 0px;
48 height: 1px; 48 height: 1px;
49 margin: 0px; 49 margin: 0px;
50 } 50 }
51 51
52 input[type="search"]::-webkit-search-cancel-button 52 input[type="search"]::-webkit-search-cancel-button
53 { 53 {
54 display: none; 54 display: none;
55 } 55 }
56 56
57 input[type="text"], input[type="search"]
58 {
59 -webkit-box-sizing: border-box;
60 -moz-box-sizing: border-box;
61 box-sizing: border-box;
62 }
63
57 .option-name 64 .option-name
58 { 65 {
59 display: flex; 66 display: flex;
60 } 67 }
61 68
62 .option-name > * 69 .option-name > *
63 { 70 {
64 -moz-margin-end: 6px; 71 -moz-margin-end: 6px;
65 -webkit-margin-end: 6px; 72 -webkit-margin-end: 6px;
66 } 73 }
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 color: #3A7BA6; 426 color: #3A7BA6;
420 padding: 10px 0px 11px 0px; 427 padding: 10px 0px 11px 0px;
421 text-align: center; 428 text-align: center;
422 width: 50%; 429 width: 50%;
423 } 430 }
424 431
425 .tabs.horizontal li.active 432 .tabs.horizontal li.active
426 { 433 {
427 border-bottom: 2px solid #1E8728; 434 border-bottom: 2px solid #1E8728;
428 color: black; 435 color: black;
429 font-weight: bold; 436 font-weight: bold;
Thomas Greiner 2015/07/09 11:07:56 You still specify "bold" here so make sure to cons
saroyanm 2015/07/09 16:31:42 I didn't changed initially because it wasn't part
430 padding-bottom: 10px; 437 padding-bottom: 10px;
431 } 438 }
432 439
433 .icon, .table input[type="checkbox"]::before, .table button.delete, 440 .icon, .table input[type="checkbox"]::before, .table button.delete,
434 #content-help a::before, #dialog-close::before 441 #content-help a::before, #dialog-close::before,
442 #custom-filter-add button::after
435 { 443 {
436 background-image: url(options-sprite.png); 444 background-image: url(options-sprite.png);
437 display: inline-block; 445 display: inline-block;
438 } 446 }
439 447
440 .icon-add 448 .icon-add
441 { 449 {
442 background-position: -0px -0px; 450 background-position: -0px -0px;
443 cursor: pointer; 451 cursor: pointer;
444 height: 18px; 452 height: 18px;
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 -moz-padding-start: 12px; 542 -moz-padding-start: 12px;
535 -webkit-padding-start: 12px; 543 -webkit-padding-start: 12px;
536 } 544 }
537 545
538 #whitelisting .controls input[type="text"] 546 #whitelisting .controls input[type="text"]
539 { 547 {
540 border: 0px; 548 border: 0px;
541 border-bottom: 1px solid #A1A1A1; 549 border-bottom: 1px solid #A1A1A1;
542 -moz-padding-end: 25px; 550 -moz-padding-end: 25px;
543 -webkit-padding-end: 25px; 551 -webkit-padding-end: 25px;
544 -moz-margin-start: 14px; 552 -moz-margin-start: 13px;
545 -webkit-margin-start: 14px; 553 -webkit-margin-start: 13px;
546 outline: 0px; 554 outline: 0px;
547 padding-bottom: 5px; 555 padding-bottom: 5px;
548 vertical-align: text-bottom; 556 vertical-align: text-bottom;
549 width: 330px; 557 width: 100%;
550 } 558 }
551 559
552 #whitelisting .controls .button-add span 560 #whitelisting .controls .button-add span
553 { 561 {
554 -moz-margin-start: 5px; 562 -moz-margin-start: 5px;
555 -webkit-margin-start: 5px; 563 -webkit-margin-start: 5px;
556 } 564 }
557 565
558 #whitelisting .button-add 566 #whitelisting .button-add
559 { 567 {
(...skipping 23 matching lines...) Expand all
583 background-color: transparent; 591 background-color: transparent;
584 border: 0px; 592 border: 0px;
585 color: #3A7BA6; 593 color: #3A7BA6;
586 cursor: pointer; 594 cursor: pointer;
587 } 595 }
588 596
589 /* 597 /*
590 Advanced tab content 598 Advanced tab content
591 */ 599 */
592 600
593 #blocking-list-own .table 601 #custom-filters-header
602 {
603 padding: 0px 20px;
604 margin-bottom: 10px;
605 }
606
607 #custom-filters-raw-controls
608 {
609 display: flex;
610 }
611
612 #custom-filters:not(.mode-edit) #custom-filters-raw,
613 #custom-filters:not(.mode-edit) #custom-filters-raw-controls,
614 #custom-filters.mode-edit #custom-filters-edit-btn,
615 #custom-filters.mode-edit #custom-filters-list-wrapper
616 {
617 display: none;
618 }
619
620 #custom-filters-save-btn
621 {
622 padding: 0px 16px;
623 }
624
625 #custom-filters .table
594 { 626 {
595 height: 290px; 627 height: 290px;
596 overflow: auto; 628 overflow: auto;
597 width: auto; 629 width: auto;
598 } 630 }
599 631
600 #blocking-list-own .controls 632 #custom-filter-add
601 { 633 {
602 display: flex; 634 display: flex;
603 padding: 0px; 635 padding: 0px;
604 border: none; 636 border: none;
605 } 637 }
606 638
607 #blocking-list-own input[type="text"], 639 #custom-filters .controls
608 #blocking-list-own input[type="text"]:focus
609 { 640 {
610 border: 0px; 641 border-top: none;
611 border-bottom: 1px solid; 642 }
612 border-top: 1px solid; 643
644 #custom-filters-raw
645 {
646 width: 100%;
647 height: 100%;
648 }
649
650 #custom-filters-wrapper
651 {
652 height: 330px;
653 }
654
655 #custom-filters input[type="text"]
656 {
657 border-width: 1px 0px 1px 0px;
658 border-bottom-style: solid;
659 border-top-style: solid;
613 border-color: #1E8728; 660 border-color: #1E8728;
614 box-sizing: border-box;
615 height: 25px; 661 height: 25px;
616 outline: 0px;
617 -moz-padding-start: 10px; 662 -moz-padding-start: 10px;
618 -webkit-padding-start: 10px; 663 -webkit-padding-start: 10px;
664 -moz-padding-end: 60px;
665 -webkit-padding-end: 60px;
666 padding-top: 18px;
667 padding-bottom: 18px;
619 width: 100%; 668 width: 100%;
620 } 669 }
621 670
622 .icon-enter-blue 671 #custom-filters input[type="text"]:focus
623 { 672 {
624 background-position: -28px -85px; 673 outline: 0px;
625 cursor: pointer;
626 height: 10px;
627 margin: 0px 0px -2px 2px;
628 width: 10px;
629 } 674 }
630 675
631 #blocking-list-own .input-control 676 #custom-filter-add input
632 { 677 {
633 position: absolute; 678 font-size: 13px;
634 -webkit-margin-start: -50px; 679 background-color: #F5F5F5;
635 -moz-margin-start: -50px;
636 bottom: 5px;
637 } 680 }
638 681
639 #blocking-list-own .input-separator 682 #custom-filter-add input::-webkit-input-placeholder
640 { 683 {
684 font-weight: 600;
685 }
686 #custom-filter-add input::-moz-placeholder
687 {
688 font-weight: 600;
689 }
690
691 #custom-filters-table
692 {
693 border-top: 1px solid #CDCDCD;
694 }
695
696 #custom-filter-add button
697 {
698 font-size: 14px;
699 -webkit-margin-start: -60px;
700 -moz-margin-start: -60px;
701 cursor: pointer;
702 color: #3A7BA6;
703 }
704
705 #custom-filter-add button::before
706 {
707 content: "";
641 display: inline-block; 708 display: inline-block;
642 -moz-border-end: 1px solid #CDCDCD; 709 -moz-border-end: 1px solid #CDCDCD;
643 -webkit-border-end: 1px solid #CDCDCD; 710 -webkit-border-end: 1px solid #CDCDCD;
644 height: 15px; 711 height: 15px;
645 margin: 0px 4px -4px 0px; 712 -webkit-margin-end: 10px;
713 -moz-margin-end: 10px;
714 margin-bottom: -2px;
646 width: 1px; 715 width: 1px;
647 } 716 }
648 717
649 #blocking-list-own .input-button-text 718 #custom-filter-add button::after
650 { 719 {
651 font-size: 12px; 720 content: "";
721 background-position: -28px -85px;
722 cursor: pointer;
723 height: 10px;
724 -webkit-margin-start: 6px;
725 -moz-margin-start: 6px;
726 width: 10px;
652 } 727 }
653 728
654 .tooltip, #block-element-explanation a 729 .tooltip, #block-element-explanation a
655 { 730 {
656 border-bottom: dotted 2px; 731 border-bottom: dotted 2px;
657 color: #3A7BA6; 732 color: #3A7BA6;
658 font-size: 12px; 733 font-size: 12px;
659 text-decoration: none; 734 text-decoration: none;
660 } 735 }
661 736
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
781 856
782 #dialog h3 857 #dialog h3
783 { 858 {
784 font-size: 14px; 859 font-size: 14px;
785 margin: 0px; 860 margin: 0px;
786 } 861 }
787 862
788 #dialog input[type="text"], 863 #dialog input[type="text"],
789 #dialog input[type="search"] 864 #dialog input[type="search"]
790 { 865 {
791 -webkit-box-sizing: border-box;
792 -moz-box-sizing: border-box;
793 box-sizing: border-box;
794 font-size: 16px; 866 font-size: 16px;
795 margin-top: 10px; 867 margin-top: 10px;
796 padding: 5px; 868 padding: 5px;
797 width: 100%; 869 width: 100%;
798 } 870 }
799 871
800 #dialog .table 872 #dialog .table
801 { 873 {
802 width: 100%; 874 width: 100%;
803 } 875 }
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
876 -moz-padding-end: 10px; 948 -moz-padding-end: 10px;
877 -webkit-padding-start: 0px; 949 -webkit-padding-start: 0px;
878 -moz-padding-start: 0px; 950 -moz-padding-start: 0px;
879 } 951 }
880 952
881 #other-language .display 953 #other-language .display
882 { 954 {
883 -webkit-margin-start: 10px; 955 -webkit-margin-start: 10px;
884 -moz-margin-start: 10px; 956 -moz-margin-start: 10px;
885 } 957 }
OLDNEW
« options.js ('K') | « options.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld