LEFT | RIGHT |
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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 input[type="text"], input[type="search"] | 88 input[type="text"], input[type="search"] |
89 { | 89 { |
90 -webkit-box-sizing: border-box; | 90 -webkit-box-sizing: border-box; |
91 -moz-box-sizing: border-box; | 91 -moz-box-sizing: border-box; |
92 box-sizing: border-box; | 92 box-sizing: border-box; |
93 } | 93 } |
94 | 94 |
95 .option-name | 95 .option-name |
96 { | 96 { |
97 display: flex; | 97 display: flex; |
98 } | 98 margin-bottom: 16px; |
99 | 99 margin-top: 24px; |
100 .option-name > * | 100 } |
101 { | 101 |
102 -moz-margin-end: 6px; | 102 .option-name > :first-child |
103 -webkit-margin-end: 6px; | 103 { |
| 104 flex: 1; |
| 105 overflow: hidden; |
| 106 text-overflow: ellipsis; |
| 107 white-space: nowrap; |
104 } | 108 } |
105 | 109 |
106 #nav-sidebar | 110 #nav-sidebar |
107 { | 111 { |
108 min-width: 198px; | 112 min-width: 198px; |
109 } | 113 } |
110 | 114 |
111 #nav-sidebar .fixed | 115 #nav-sidebar .fixed |
112 { | 116 { |
113 top: 40px; | 117 top: 40px; |
(...skipping 13 matching lines...) Expand all Loading... |
127 font-size: 16px; | 131 font-size: 16px; |
128 line-height: 1em; | 132 line-height: 1em; |
129 } | 133 } |
130 | 134 |
131 #page-title h1 | 135 #page-title h1 |
132 { | 136 { |
133 margin: 0px; | 137 margin: 0px; |
134 padding: 8px 0px 16px 0px; | 138 padding: 8px 0px 16px 0px; |
135 } | 139 } |
136 | 140 |
137 .flex-container | 141 .hbox |
138 { | 142 { |
139 display: flex; | 143 display: flex; |
140 flex-flow: row wrap; | 144 flex-direction: row; |
| 145 } |
| 146 |
| 147 .hbox > div |
| 148 { |
| 149 flex: 1; |
141 } | 150 } |
142 | 151 |
143 .tabs li | 152 .tabs li |
144 { | 153 { |
145 cursor: pointer; | 154 cursor: pointer; |
146 display: flex; | 155 display: flex; |
147 } | 156 } |
148 | 157 |
149 .tabs li a | 158 .tabs li a |
150 { | 159 { |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 #tab-share[hidden] + li | 267 #tab-share[hidden] + li |
259 { | 268 { |
260 border-top: none; | 269 border-top: none; |
261 } | 270 } |
262 | 271 |
263 #tab-content | 272 #tab-content |
264 { | 273 { |
265 background-color: #FFFFFF; | 274 background-color: #FFFFFF; |
266 border: 1px solid #CDCDCD; | 275 border: 1px solid #CDCDCD; |
267 border-radius: 8px; | 276 border-radius: 8px; |
| 277 box-sizing: border-box; |
| 278 min-width: 960px; |
268 padding: 0px 60px 40px 60px; | 279 padding: 0px 60px 40px 60px; |
269 width: 960px; | |
270 } | 280 } |
271 | 281 |
272 #tab-content h1 | 282 #tab-content h1 |
273 { | 283 { |
274 border-bottom: 1px solid #CDCDCD; | 284 border-bottom: 1px solid #CDCDCD; |
275 margin: 0px; | 285 margin: 0px; |
276 padding: 40px 0px 16px 0px; | 286 padding: 40px 0px 16px 0px; |
277 } | 287 } |
278 | 288 |
279 #link-version | 289 #link-version |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 cursor: pointer; | 322 cursor: pointer; |
313 display: flex; | 323 display: flex; |
314 } | 324 } |
315 | 325 |
316 .table | 326 .table |
317 { | 327 { |
318 list-style: none; | 328 list-style: none; |
319 margin: 0px; | 329 margin: 0px; |
320 padding: 0px; | 330 padding: 0px; |
321 position: relative; | 331 position: relative; |
322 width: 400px; | |
323 } | 332 } |
324 | 333 |
325 .table li | 334 .table li |
326 { | 335 { |
327 display: flex; | 336 display: flex; |
328 padding: 14px 0px; | 337 padding: 14px 0px; |
329 -webkit-padding-start: 16px; | 338 -webkit-padding-start: 16px; |
330 -moz-padding-start: 16px; | 339 -moz-padding-start: 16px; |
331 } | 340 } |
332 | 341 |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
551 | 560 |
552 #blocking-languages, | 561 #blocking-languages, |
553 #acceptable-ads | 562 #acceptable-ads |
554 { | 563 { |
555 -moz-padding-end: 40px; | 564 -moz-padding-end: 40px; |
556 -webkit-padding-end: 40px; | 565 -webkit-padding-end: 40px; |
557 } | 566 } |
558 | 567 |
559 #custom-wrapper | 568 #custom-wrapper |
560 { | 569 { |
561 width: 400px; | |
562 height: 290px; | 570 height: 290px; |
563 overflow: auto; | 571 overflow: auto; |
564 } | 572 } |
565 | 573 |
566 #custom-wrapper .table | 574 #custom-wrapper .table |
567 { | 575 { |
568 width: 100%; | 576 width: 100%; |
569 } | 577 } |
570 | 578 |
571 #whitelisting .controls | 579 #whitelisting .controls |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
752 { | 760 { |
753 content: ""; | 761 content: ""; |
754 background-position: -28px -85px; | 762 background-position: -28px -85px; |
755 cursor: pointer; | 763 cursor: pointer; |
756 height: 10px; | 764 height: 10px; |
757 -webkit-margin-start: 6px; | 765 -webkit-margin-start: 6px; |
758 -moz-margin-start: 6px; | 766 -moz-margin-start: 6px; |
759 width: 10px; | 767 width: 10px; |
760 } | 768 } |
761 | 769 |
| 770 /* |
| 771 Tooltips |
| 772 */ |
| 773 |
762 .tooltip, #block-element-explanation a | 774 .tooltip, #block-element-explanation a |
763 { | 775 { |
764 border-bottom: dotted 2px; | 776 border-bottom: dashed 1px; |
765 color: #3A7BA6; | 777 color: #3A7BA6; |
| 778 cursor: default; |
766 font-size: 12px; | 779 font-size: 12px; |
| 780 height: 15px; |
| 781 line-height: 19px; |
| 782 margin: 0px 4px; |
| 783 position: relative; |
767 text-decoration: none; | 784 text-decoration: none; |
768 } | 785 } |
769 | 786 |
770 #content-advanced .tooltip | 787 #content-advanced .tooltip |
771 { | 788 { |
772 -moz-margin-start: 8px; | 789 -moz-margin-start: 8px; |
773 -webkit-margin-start: 8px; | 790 -webkit-margin-start: 8px; |
774 } | 791 } |
775 | 792 |
776 #block-element-explanation a | 793 #block-element-explanation a |
777 { | 794 { |
778 color: black; | 795 color: black; |
779 border-bottom-color: #3A7BA6; | 796 border-bottom-color: #3A7BA6; |
780 font-weight: 600; | 797 font-weight: 600; |
781 -moz-padding-start: 0px; | 798 -moz-padding-start: 0px; |
782 -webkit-padding-start: 0px; | 799 -webkit-padding-start: 0px; |
| 800 } |
| 801 |
| 802 div[role="tooltip"] |
| 803 { |
| 804 background-color: rgba(45, 45, 45, 0.95); |
| 805 border-radius: 3px; |
| 806 color: #FFF; |
| 807 font-size: 14px; |
| 808 font-weight: 400; |
| 809 left: -20px; |
| 810 line-height: 18px; |
| 811 margin-top: 14px; |
| 812 opacity: 1; |
| 813 padding: 20px; |
| 814 position: absolute; |
| 815 -webkit-transition: opacity 200ms ease-in-out 400ms, |
| 816 visibility 0ms linear 400ms; |
| 817 transition: opacity 200ms ease-in-out 400ms, |
| 818 visibility 0ms linear 400ms; |
| 819 visibility: visible; |
| 820 width: 400px; |
| 821 z-index: 1; |
| 822 } |
| 823 |
| 824 html[dir="ltr"] div[role="tooltip"].flip-vertical, |
| 825 html[dir="rtl"] div[role="tooltip"]:not(.flip-vertical) |
| 826 { |
| 827 left: inherit; |
| 828 right: -20px; |
| 829 } |
| 830 |
| 831 .tooltip:not(:hover) > div[role="tooltip"], |
| 832 div[role="tooltip"]:hover |
| 833 { |
| 834 visibility: hidden; |
| 835 opacity: 0; |
| 836 -webkit-transition-delay: 0ms; |
| 837 transition-delay: 0ms; |
| 838 } |
| 839 |
| 840 div[role="tooltip"]::before |
| 841 { |
| 842 background-image: url(options-sprite.png); |
| 843 background-position: -8px -42px; |
| 844 content: ""; |
| 845 height: 6px; |
| 846 position: absolute; |
| 847 top: -6px; |
| 848 width: 14px; |
| 849 left: 30px; |
| 850 } |
| 851 |
| 852 html[dir="ltr"] div[role="tooltip"].flip-vertical::before, |
| 853 html[dir="rtl"] div[role="tooltip"]:not(.flip-vertical)::before |
| 854 { |
| 855 left: inherit; |
| 856 right: 30px; |
| 857 } |
| 858 |
| 859 div[role="tooltip"] img |
| 860 { |
| 861 float: left; |
| 862 height: 64px; |
| 863 margin-top: -2px; |
| 864 margin-bottom: 10px; |
| 865 width: 64px; |
| 866 -moz-margin-end: 10px; |
| 867 -webkit-margin-end: 10px; |
| 868 } |
| 869 |
| 870 html[dir="rtl"] div[role="tooltip"] img |
| 871 { |
| 872 float: right; |
| 873 } |
| 874 |
| 875 div[role="tooltip"] p |
| 876 { |
| 877 font-weight: 400; |
| 878 margin: 0px; |
| 879 } |
| 880 |
| 881 div[role="tooltip"] p:not(:first-of-type) |
| 882 { |
| 883 margin-top: 18px; |
| 884 } |
| 885 |
| 886 div[role="tooltip"] .notes |
| 887 { |
| 888 border-top: 1px solid #717171; |
| 889 font-size: 12px; |
| 890 margin-top: 14px; |
| 891 padding-top: 14px; |
| 892 } |
| 893 |
| 894 div[role="tooltip"] .notes p |
| 895 { |
| 896 font-weight: 300; |
783 } | 897 } |
784 | 898 |
785 /* | 899 /* |
786 Help tab content | 900 Help tab content |
787 */ | 901 */ |
788 | 902 |
789 #content-help | 903 #content-help |
790 { | 904 { |
791 counter-reset: section; | 905 counter-reset: section; |
792 } | 906 } |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
975 -moz-padding-end: 10px; | 1089 -moz-padding-end: 10px; |
976 -webkit-padding-start: 0px; | 1090 -webkit-padding-start: 0px; |
977 -moz-padding-start: 0px; | 1091 -moz-padding-start: 0px; |
978 } | 1092 } |
979 | 1093 |
980 #other-language .display | 1094 #other-language .display |
981 { | 1095 { |
982 -webkit-margin-start: 10px; | 1096 -webkit-margin-start: 10px; |
983 -moz-margin-start: 10px; | 1097 -moz-margin-start: 10px; |
984 } | 1098 } |
LEFT | RIGHT |