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

Side by Side Diff: skin/options.css

Issue 29321417: Issue 2357 - Added "predefined list" dialog to options page (Closed)
Patch Set: Created July 13, 2015, 6:17 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 733 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 body[data-dialog] #dialog-background 744 body[data-dialog] #dialog-background
745 { 745 {
746 display: block; 746 display: block;
747 } 747 }
748 748
749 #dialog 749 #dialog
750 { 750 {
751 background-color: #FFFFFF; 751 background-color: #FFFFFF;
752 border: 2px solid #4D9D4B; 752 border: 2px solid #4D9D4B;
753 border-radius: 3px; 753 border-radius: 3px;
754 display: none;
755 margin: auto; 754 margin: auto;
756 position:absolute; 755 position:absolute;
757 top:100px; 756 top:100px;
758 left: 0px; 757 left: 0px;
759 right: 0px; 758 right: 0px;
760 z-index: 2; 759 z-index: 2;
761 width: 400px; 760 width: 400px;
762 } 761 }
763 762
764 #dialog header 763 #dialog header
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
834 833
835 #dialog-title 834 #dialog-title
836 { 835 {
837 -moz-margin-start: 16px; 836 -moz-margin-start: 16px;
838 -webkit-margin-start: 16px; 837 -webkit-margin-start: 16px;
839 flex: 1; 838 flex: 1;
840 font-size: 16px; 839 font-size: 16px;
841 color: #FFFFFF; 840 color: #FFFFFF;
842 } 841 }
843 842
844 #dialog-title > span
845 {
846 display: none;
847 }
848
849 body[data-dialog="customlist"] #dialog-title-customlist,
850 body[data-dialog="language"] #dialog-title-language
851 {
852 display: inline;
853 }
854
855 #dialog-body .dialog-content-block 843 #dialog-body .dialog-content-block
856 { 844 {
857 padding: 12px 0px; 845 padding: 12px 0px;
858 } 846 }
859 847
860 #dialog-body .dialog-content
861 {
862 display: none;
863 }
864
865 #dialog .button-wrapper 848 #dialog .button-wrapper
866 { 849 {
867 background-color: #F5F5F5; 850 background-color: #F5F5F5;
868 margin-top: 8px; 851 margin-top: 8px;
869 padding: 10px 16px; 852 padding: 10px 16px;
870 cursor: pointer; 853 cursor: pointer;
871 width: auto; 854 width: auto;
872 } 855 }
873 856
874 #dialog .button-wrapper span:not(.icon) 857 #dialog .button-wrapper span:not(.icon)
875 { 858 {
876 color: #3A7BA6; 859 color: #3A7BA6;
877 display: inline-block; 860 display: inline-block;
878 -moz-margin-start: 15px; 861 -moz-margin-start: 15px;
879 -webkit-margin-start: 15px; 862 -webkit-margin-start: 15px;
880 vertical-align: top; 863 vertical-align: top;
881 } 864 }
882 865
883 body[data-dialog="customlist"] #dialog-content-customlist, 866 #dialog .url
884 body[data-dialog="language"] #dialog-content-language,
885 body[data-dialog] #dialog
886 { 867 {
887 display: block; 868 margin-top: 10px;
869 margin-bottom: 20px;
870 word-wrap: break-word;
871 }
872
873 body:not([data-dialog="custom"]) #dialog-title-custom,
Thomas Greiner 2015/07/13 18:37:14 Note that I only made changes to this block. The o
874 body:not([data-dialog="custom"]) #dialog-content-custom,
875 body:not([data-dialog="language"]) #dialog-title-language,
876 body:not([data-dialog="language"]) #dialog-content-language,
877 body:not([data-dialog="predefined"]) #dialog-title-predefined,
878 body:not([data-dialog="predefined"]) #dialog-content-predefined,
879 body:not([data-dialog]) #dialog
880 {
881 display: none;
888 } 882 }
889 883
890 #other-language .button-add 884 #other-language .button-add
891 { 885 {
892 -webkit-border-end: 1px solid #CDCDCD; 886 -webkit-border-end: 1px solid #CDCDCD;
893 -moz-border-end: 1px solid #CDCDCD; 887 -moz-border-end: 1px solid #CDCDCD;
894 -webkit-padding-end: 10px; 888 -webkit-padding-end: 10px;
895 -moz-padding-end: 10px; 889 -moz-padding-end: 10px;
896 -webkit-padding-start: 0px; 890 -webkit-padding-start: 0px;
897 -moz-padding-start: 0px; 891 -moz-padding-start: 0px;
898 } 892 }
899 893
900 #other-language .display 894 #other-language .display
901 { 895 {
902 -webkit-margin-start: 10px; 896 -webkit-margin-start: 10px;
903 -moz-margin-start: 10px; 897 -moz-margin-start: 10px;
904 } 898 }
OLDNEW
« options.js ('K') | « options.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld