| Left: | ||
| Right: |
| 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-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 714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 725 body[data-dialog] #dialog-background | 725 body[data-dialog] #dialog-background |
| 726 { | 726 { |
| 727 display: block; | 727 display: block; |
| 728 } | 728 } |
| 729 | 729 |
| 730 #dialog | 730 #dialog |
| 731 { | 731 { |
| 732 background-color: #FFFFFF; | 732 background-color: #FFFFFF; |
| 733 border: 2px solid #4D9D4B; | 733 border: 2px solid #4D9D4B; |
| 734 border-radius: 3px; | 734 border-radius: 3px; |
| 735 display: none; | |
| 736 margin: auto; | 735 margin: auto; |
| 737 position:absolute; | 736 position:absolute; |
| 738 top:100px; | 737 top:100px; |
| 739 left: 0px; | 738 left: 0px; |
| 740 right: 0px; | 739 right: 0px; |
| 741 z-index: 2; | 740 z-index: 2; |
| 742 width: 400px; | 741 width: 400px; |
| 743 } | 742 } |
| 744 | 743 |
| 745 #dialog header | 744 #dialog header |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 815 | 814 |
| 816 #dialog-title | 815 #dialog-title |
| 817 { | 816 { |
| 818 -moz-margin-start: 16px; | 817 -moz-margin-start: 16px; |
| 819 -webkit-margin-start: 16px; | 818 -webkit-margin-start: 16px; |
| 820 flex: 1; | 819 flex: 1; |
| 821 font-size: 16px; | 820 font-size: 16px; |
| 822 color: #FFFFFF; | 821 color: #FFFFFF; |
| 823 } | 822 } |
| 824 | 823 |
| 825 #dialog-title > span | |
| 826 { | |
| 827 display: none; | |
| 828 } | |
| 829 | |
| 830 body[data-dialog="customlist"] #dialog-title-customlist, | |
| 831 body[data-dialog="language"] #dialog-title-language | |
| 832 { | |
| 833 display: inline; | |
| 834 } | |
| 835 | |
| 836 #dialog-body .dialog-content-block | 824 #dialog-body .dialog-content-block |
| 837 { | 825 { |
| 838 padding: 12px 0px; | 826 padding: 12px 0px; |
| 839 } | 827 } |
| 840 | 828 |
| 841 #dialog-body .dialog-content | |
| 842 { | |
| 843 display: none; | |
| 844 } | |
| 845 | |
| 846 #dialog .button-wrapper | 829 #dialog .button-wrapper |
| 847 { | 830 { |
| 848 background-color: #F5F5F5; | 831 background-color: #F5F5F5; |
| 849 margin-top: 8px; | 832 margin-top: 8px; |
| 850 padding: 10px 16px; | 833 padding: 10px 16px; |
| 851 cursor: pointer; | 834 cursor: pointer; |
| 852 width: auto; | 835 width: auto; |
| 853 } | 836 } |
| 854 | 837 |
| 855 #dialog .button-wrapper span:not(.icon) | 838 #dialog .button-wrapper span:not(.icon) |
| 856 { | 839 { |
| 857 color: #3A7BA6; | 840 color: #3A7BA6; |
| 858 display: inline-block; | 841 display: inline-block; |
| 859 -moz-margin-start: 15px; | 842 -moz-margin-start: 15px; |
| 860 -webkit-margin-start: 15px; | 843 -webkit-margin-start: 15px; |
| 861 vertical-align: top; | 844 vertical-align: top; |
| 862 } | 845 } |
| 863 | 846 |
| 864 body[data-dialog="customlist"] #dialog-content-customlist, | 847 #dialog .url |
| 865 body[data-dialog="language"] #dialog-content-language, | |
| 866 body[data-dialog] #dialog | |
| 867 { | 848 { |
| 868 display: block; | 849 margin-top: 10px; |
| 850 margin-bottom: 20px; | |
|
saroyanm
2015/07/13 16:20:07
In the style guide below:
https://issues.adblockpl
Thomas Greiner
2015/07/13 18:37:14
Actually, I was looking at https://issues.adblockp
| |
| 851 word-wrap: break-word; | |
| 852 } | |
| 853 | |
| 854 body:not([data-dialog="addSubscription"]) #dialog-title-addSubscription, | |
| 855 body:not([data-dialog="addSubscription"]) #dialog-content-addSubscription, | |
| 856 body:not([data-dialog="customlist"]) #dialog-title-customlist, | |
| 857 body:not([data-dialog="customlist"]) #dialog-content-customlist, | |
| 858 body:not([data-dialog="language"]) #dialog-title-language, | |
| 859 body:not([data-dialog="language"]) #dialog-content-language, | |
| 860 body:not([data-dialog]) #dialog | |
| 861 { | |
| 862 display: none; | |
| 869 } | 863 } |
| 870 | 864 |
| 871 #other-language .button-add | 865 #other-language .button-add |
| 872 { | 866 { |
| 873 -webkit-border-end: 1px solid #CDCDCD; | 867 -webkit-border-end: 1px solid #CDCDCD; |
| 874 -moz-border-end: 1px solid #CDCDCD; | 868 -moz-border-end: 1px solid #CDCDCD; |
| 875 -webkit-padding-end: 10px; | 869 -webkit-padding-end: 10px; |
| 876 -moz-padding-end: 10px; | 870 -moz-padding-end: 10px; |
| 877 -webkit-padding-start: 0px; | 871 -webkit-padding-start: 0px; |
| 878 -moz-padding-start: 0px; | 872 -moz-padding-start: 0px; |
| 879 } | 873 } |
| 880 | 874 |
| 881 #other-language .display | 875 #other-language .display |
| 882 { | 876 { |
| 883 -webkit-margin-start: 10px; | 877 -webkit-margin-start: 10px; |
| 884 -moz-margin-start: 10px; | 878 -moz-margin-start: 10px; |
| 885 } | 879 } |
| OLD | NEW |