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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 } | 139 } |
140 | 140 |
141 .hbox | 141 .hbox |
142 { | 142 { |
143 display: flex; | 143 display: flex; |
144 flex-direction: row; | 144 flex-direction: row; |
145 } | 145 } |
146 | 146 |
147 .hbox > div | 147 .hbox > div |
148 { | 148 { |
149 flex: 1; | 149 width: 400px; |
150 } | 150 } |
151 | 151 |
152 .tabs li | 152 .tabs li |
153 { | 153 { |
154 cursor: pointer; | 154 cursor: pointer; |
155 display: flex; | 155 display: flex; |
156 } | 156 } |
157 | 157 |
158 .tabs li a | 158 .tabs li a |
159 { | 159 { |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 { | 327 { |
328 list-style: none; | 328 list-style: none; |
329 margin: 0px; | 329 margin: 0px; |
330 padding: 0px; | 330 padding: 0px; |
331 position: relative; | 331 position: relative; |
332 } | 332 } |
333 | 333 |
334 .table li | 334 .table li |
335 { | 335 { |
336 display: flex; | 336 display: flex; |
337 padding: 14px 0px; | 337 padding: 12px 0px; |
338 -webkit-padding-start: 16px; | 338 -webkit-padding-start: 16px; |
339 -moz-padding-start: 16px; | 339 -moz-padding-start: 16px; |
| 340 border-radius: 3px; |
340 } | 341 } |
341 | 342 |
342 .table.list li .display | 343 .table.list li .display |
343 { | 344 { |
344 flex: 1; | 345 flex: 1; |
| 346 line-height: 16px; |
| 347 overflow: hidden; |
| 348 text-overflow: ellipsis; |
| 349 white-space: nowrap; |
345 } | 350 } |
346 | 351 |
347 .table.list li:nth-child(odd), | 352 .table.list li:nth-child(odd), |
348 .table.cols li:nth-child(even), | 353 .table.cols li:nth-child(even), |
349 .table li.empty-placeholder | 354 .table li.empty-placeholder |
350 { | 355 { |
351 background-color: #F5F5F5; | 356 background-color: #F5F5F5; |
352 } | 357 } |
353 | 358 |
354 .table label | 359 .table label |
(...skipping 17 matching lines...) Expand all Loading... |
372 display: inline-block; | 377 display: inline-block; |
373 width: 30%; | 378 width: 30%; |
374 } | 379 } |
375 | 380 |
376 .table.cols .col-name span:first-child | 381 .table.cols .col-name span:first-child |
377 { | 382 { |
378 -webkit-padding-start: 38px; | 383 -webkit-padding-start: 38px; |
379 -moz-padding-start: 38px; | 384 -moz-padding-start: 38px; |
380 } | 385 } |
381 | 386 |
382 .table::-webkit-scrollbar, | |
383 #custom-wrapper::-webkit-scrollbar | |
384 { | |
385 -webkit-padding-end: 10px; | |
386 width: 5px; | |
387 } | |
388 | |
389 .table::-webkit-scrollbar-thumb, | |
390 #custom-wrapper::-webkit-scrollbar-thumb | |
391 { | |
392 background-color: #CDCDCD; | |
393 border-radius: 5px; | |
394 padding: 0px 40px; | |
395 } | |
396 | |
397 .table::-webkit-scrollbar-thumb:hover, | |
398 #custom-wrapper::-webkit-scrollbar-thumb:hover | |
399 { | |
400 background-color: #A1A1A1; | |
401 } | |
402 | |
403 .table input[type="checkbox"] | 387 .table input[type="checkbox"] |
404 { | 388 { |
405 margin-top: 0px; | 389 margin-top: 0px; |
406 -moz-margin-end: 20px; | 390 -moz-margin-end: 20px; |
407 -webkit-margin-end: 20px; | 391 -webkit-margin-end: 20px; |
408 padding: 0px 0px 0px 0px; | 392 padding: 0px 0px 0px 0px; |
409 visibility: hidden; | 393 visibility: hidden; |
410 } | 394 } |
411 | 395 |
412 .table input[type="checkbox"]::before | 396 .table input[type="checkbox"]::before |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
554 vertical-align: top; | 538 vertical-align: top; |
555 } | 539 } |
556 | 540 |
557 /* | 541 /* |
558 General tab content | 542 General tab content |
559 */ | 543 */ |
560 | 544 |
561 #blocking-languages, | 545 #blocking-languages, |
562 #acceptable-ads | 546 #acceptable-ads |
563 { | 547 { |
564 -moz-padding-end: 40px; | 548 -moz-margin-end: 40px; |
565 -webkit-padding-end: 40px; | 549 -webkit-margin-end: 40px; |
566 } | 550 } |
567 | 551 |
568 #custom-wrapper | 552 #custom-wrapper |
569 { | 553 { |
570 height: 290px; | 554 height: 290px; |
571 overflow: auto; | 555 overflow: auto; |
572 } | 556 } |
573 | 557 |
574 #custom-wrapper .table | 558 #custom-wrapper .table |
575 { | 559 { |
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
933 -webkit-margin-end: 6px; | 917 -webkit-margin-end: 6px; |
934 } | 918 } |
935 | 919 |
936 /* | 920 /* |
937 Dialog | 921 Dialog |
938 */ | 922 */ |
939 | 923 |
940 #dialog-background | 924 #dialog-background |
941 { | 925 { |
942 display: none; | 926 display: none; |
943 background-color: white; | 927 position: fixed; |
944 position: absolute; | |
945 opacity: 0.7; | |
946 top: 0px; | 928 top: 0px; |
947 right: 0px; | 929 right: 0px; |
948 bottom: 0px; | 930 bottom: 0px; |
949 left: 0px; | 931 left: 0px; |
950 z-index: 2; | 932 z-index: 2; |
| 933 background-color: white; |
| 934 opacity: 0.7; |
951 } | 935 } |
952 | 936 |
953 body[data-dialog] #dialog-background | 937 body[data-dialog] #dialog-background |
954 { | 938 { |
955 display: block; | 939 display: block; |
956 } | 940 } |
957 | 941 |
958 #dialog | 942 #dialog |
959 { | 943 { |
960 background-color: #FFFFFF; | 944 position: fixed; |
961 border: 2px solid #4D9D4B; | 945 top: 100px; |
962 border-radius: 3px; | |
963 margin: auto; | |
964 position:absolute; | |
965 top:100px; | |
966 left: 0px; | 946 left: 0px; |
967 right: 0px; | 947 right: 0px; |
968 z-index: 2; | 948 z-index: 2; |
969 width: 400px; | 949 width: 400px; |
| 950 margin: auto; |
| 951 border-radius: 3px; |
| 952 border: 2px solid #4D9D4B; |
| 953 background-color: #FFFFFF; |
970 } | 954 } |
971 | 955 |
972 #dialog header | 956 #dialog header |
973 { | 957 { |
| 958 display: flex; |
| 959 min-height: 25px; |
| 960 padding: 10px; |
974 background-color: #4D9D4B; | 961 background-color: #4D9D4B; |
975 display: flex; | |
976 height: 25px; | |
977 padding: 10px; | |
978 } | 962 } |
979 | 963 |
980 #dialog-close | 964 #dialog-close |
981 { | 965 { |
982 -moz-border-start: 1px solid #25612B; | 966 -moz-border-start: 1px solid #25612B; |
983 -webkit-border-start: 1px solid #25612B; | 967 -webkit-border-start: 1px solid #25612B; |
984 color: #0F660F; | 968 color: #0F660F; |
985 display: inline-block; | 969 display: inline-block; |
986 height: 20px; | 970 height: 20px; |
987 font-size: 15px; | 971 font-size: 15px; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1021 margin-top: 10px; | 1005 margin-top: 10px; |
1022 padding: 5px; | 1006 padding: 5px; |
1023 width: 100%; | 1007 width: 100%; |
1024 } | 1008 } |
1025 | 1009 |
1026 #dialog .table | 1010 #dialog .table |
1027 { | 1011 { |
1028 width: 100%; | 1012 width: 100%; |
1029 } | 1013 } |
1030 | 1014 |
1031 #dialog #other-language .table | 1015 #dialog #dialog-content-language .table |
1032 { | 1016 { |
1033 height: 200px; | |
1034 overflow: auto; | 1017 overflow: auto; |
1035 } | 1018 } |
1036 | 1019 |
1037 #dialog .section:not(:first-child) | 1020 #dialog .section:not(:first-child) |
1038 { | 1021 { |
1039 margin-top: 24px; | 1022 margin-top: 24px; |
1040 } | 1023 } |
1041 | 1024 |
1042 #dialog-title | 1025 #dialog-title |
1043 { | 1026 { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1078 body:not([data-dialog="custom"]) #dialog-content-custom, | 1061 body:not([data-dialog="custom"]) #dialog-content-custom, |
1079 body:not([data-dialog="language"]) #dialog-title-language, | 1062 body:not([data-dialog="language"]) #dialog-title-language, |
1080 body:not([data-dialog="language"]) #dialog-content-language, | 1063 body:not([data-dialog="language"]) #dialog-content-language, |
1081 body:not([data-dialog="predefined"]) #dialog-title-predefined, | 1064 body:not([data-dialog="predefined"]) #dialog-title-predefined, |
1082 body:not([data-dialog="predefined"]) #dialog-content-predefined, | 1065 body:not([data-dialog="predefined"]) #dialog-content-predefined, |
1083 body:not([data-dialog]) #dialog | 1066 body:not([data-dialog]) #dialog |
1084 { | 1067 { |
1085 display: none; | 1068 display: none; |
1086 } | 1069 } |
1087 | 1070 |
| 1071 #dialog-content-language .dialog-content-block |
| 1072 { |
| 1073 display: flex; |
| 1074 flex-direction: column; |
| 1075 height: 120px; |
| 1076 } |
| 1077 |
| 1078 #dialog-content-language #other-language |
| 1079 { |
| 1080 height: 200px; |
| 1081 } |
| 1082 |
1088 #other-language .button-add | 1083 #other-language .button-add |
1089 { | 1084 { |
1090 background-color: transparent; | 1085 background-color: transparent; |
1091 margin: 0px; | 1086 margin: 0px; |
1092 padding: 0px; | 1087 padding: 0px; |
1093 width: auto; | 1088 width: auto; |
1094 -webkit-border-end: 1px solid #CDCDCD; | 1089 -webkit-border-end: 1px solid #CDCDCD; |
1095 -moz-border-end: 1px solid #CDCDCD; | 1090 -moz-border-end: 1px solid #CDCDCD; |
1096 -webkit-padding-end: 10px; | 1091 -webkit-padding-end: 10px; |
1097 -moz-padding-end: 10px; | 1092 -moz-padding-end: 10px; |
1098 -webkit-padding-start: 0px; | 1093 -webkit-padding-start: 0px; |
1099 -moz-padding-start: 0px; | 1094 -moz-padding-start: 0px; |
1100 } | 1095 } |
1101 | 1096 |
1102 #other-language .button-add::before | 1097 #other-language .button-add::before |
1103 { | 1098 { |
1104 display: none; | 1099 display: none; |
1105 } | 1100 } |
1106 | 1101 |
1107 #other-language .display | 1102 #other-language .display |
1108 { | 1103 { |
1109 -webkit-margin-start: 10px; | 1104 -webkit-margin-start: 10px; |
1110 -moz-margin-start: 10px; | 1105 -moz-margin-start: 10px; |
1111 } | 1106 } |
OLD | NEW |