| 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 316 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 { | 353 { |
| 349 background-color: #F5F5F5; | 354 background-color: #F5F5F5; |
| 350 } | 355 } |
| 351 | 356 |
| 352 .table.cols li:nth-child(even) | 357 .table.cols li:nth-child(even) |
| 353 { | 358 { |
| 354 background-color: #F5F5F5; | 359 background-color: #F5F5F5; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 375 display: inline-block; | 380 display: inline-block; |
| 376 width: 30%; | 381 width: 30%; |
| 377 } | 382 } |
| 378 | 383 |
| 379 .table.cols .col-name span:first-child | 384 .table.cols .col-name span:first-child |
| 380 { | 385 { |
| 381 -webkit-padding-start: 38px; | 386 -webkit-padding-start: 38px; |
| 382 -moz-padding-start: 38px; | 387 -moz-padding-start: 38px; |
| 383 } | 388 } |
| 384 | 389 |
| 385 .table::-webkit-scrollbar, | |
| 386 #custom-wrapper::-webkit-scrollbar | |
| 387 { | |
| 388 -webkit-padding-end: 10px; | |
| 389 width: 5px; | |
| 390 } | |
| 391 | |
| 392 .table::-webkit-scrollbar-thumb, | |
| 393 #custom-wrapper::-webkit-scrollbar-thumb | |
| 394 { | |
| 395 background-color: #CDCDCD; | |
| 396 border-radius: 5px; | |
| 397 padding: 0px 40px; | |
| 398 } | |
| 399 | |
| 400 .table::-webkit-scrollbar-thumb:hover, | |
| 401 #custom-wrapper::-webkit-scrollbar-thumb:hover | |
| 402 { | |
| 403 background-color: #A1A1A1; | |
| 404 } | |
| 405 | |
| 406 .table input[type="checkbox"] | 390 .table input[type="checkbox"] |
| 407 { | 391 { |
| 408 margin-top: 0px; | 392 margin-top: 0px; |
| 409 -moz-margin-end: 20px; | 393 -moz-margin-end: 20px; |
| 410 -webkit-margin-end: 20px; | 394 -webkit-margin-end: 20px; |
| 411 padding: 0px 0px 0px 0px; | 395 padding: 0px 0px 0px 0px; |
| 412 visibility: hidden; | 396 visibility: hidden; |
| 413 } | 397 } |
| 414 | 398 |
| 415 .table input[type="checkbox"]::before | 399 .table input[type="checkbox"]::before |
| (...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 931 } | 915 } |
| 932 | 916 |
| 933 /* | 917 /* |
| 934 Dialog | 918 Dialog |
| 935 */ | 919 */ |
| 936 | 920 |
| 937 #dialog-background | 921 #dialog-background |
| 938 { | 922 { |
| 939 display: none; | 923 display: none; |
| 940 background-color: white; | 924 background-color: white; |
| 941 position: absolute; | 925 position: fixed; |
| 942 opacity: 0.7; | 926 opacity: 0.7; |
| 943 top: 0px; | 927 top: 0px; |
| 944 right: 0px; | 928 right: 0px; |
| 945 bottom: 0px; | 929 bottom: 0px; |
| 946 left: 0px; | 930 left: 0px; |
| 947 z-index: 2; | 931 z-index: 2; |
| 948 } | 932 } |
| 949 | 933 |
| 950 body[data-dialog] #dialog-background | 934 body[data-dialog] #dialog-background |
| 951 { | 935 { |
| 952 display: block; | 936 display: block; |
| 953 } | 937 } |
| 954 | 938 |
| 955 #dialog | 939 #dialog |
| 956 { | 940 { |
| 957 background-color: #FFFFFF; | 941 background-color: #FFFFFF; |
| 958 border: 2px solid #4D9D4B; | 942 border: 2px solid #4D9D4B; |
| 959 border-radius: 3px; | 943 border-radius: 3px; |
| 960 margin: auto; | 944 margin: auto; |
| 961 position:absolute; | 945 position: fixed; |
| 962 top:100px; | 946 top: 100px; |
| 963 left: 0px; | 947 left: 0px; |
| 964 right: 0px; | 948 right: 0px; |
| 965 z-index: 2; | 949 z-index: 2; |
| 966 width: 400px; | 950 width: 400px; |
| 967 } | 951 } |
| 968 | 952 |
| 969 #dialog header | 953 #dialog header |
| 970 { | 954 { |
| 971 background-color: #4D9D4B; | 955 background-color: #4D9D4B; |
| 972 display: flex; | 956 display: flex; |
| 973 height: 25px; | 957 min-height: 25px; |
| 974 padding: 10px; | 958 padding: 10px; |
| 975 } | 959 } |
| 976 | 960 |
| 977 #dialog-close | 961 #dialog-close |
| 978 { | 962 { |
| 979 -moz-border-start: 1px solid #25612B; | 963 -moz-border-start: 1px solid #25612B; |
| 980 -webkit-border-start: 1px solid #25612B; | 964 -webkit-border-start: 1px solid #25612B; |
| 981 color: #0F660F; | 965 color: #0F660F; |
| 982 display: inline-block; | 966 display: inline-block; |
| 983 height: 20px; | 967 height: 20px; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1018 margin-top: 10px; | 1002 margin-top: 10px; |
| 1019 padding: 5px; | 1003 padding: 5px; |
| 1020 width: 100%; | 1004 width: 100%; |
| 1021 } | 1005 } |
| 1022 | 1006 |
| 1023 #dialog .table | 1007 #dialog .table |
| 1024 { | 1008 { |
| 1025 width: 100%; | 1009 width: 100%; |
| 1026 } | 1010 } |
| 1027 | 1011 |
| 1028 #dialog #other-language .table | 1012 #dialog #dialog-content-language .table |
| 1029 { | 1013 { |
| 1030 height: 200px; | |
| 1031 overflow: auto; | 1014 overflow: auto; |
| 1032 } | 1015 } |
| 1033 | 1016 |
| 1034 #dialog .section:not(:first-child) | 1017 #dialog .section:not(:first-child) |
| 1035 { | 1018 { |
| 1036 margin-top: 24px; | 1019 margin-top: 24px; |
| 1037 } | 1020 } |
| 1038 | 1021 |
| 1039 #dialog-title | 1022 #dialog-title |
| 1040 { | 1023 { |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1075 body:not([data-dialog="custom"]) #dialog-content-custom, | 1058 body:not([data-dialog="custom"]) #dialog-content-custom, |
| 1076 body:not([data-dialog="language"]) #dialog-title-language, | 1059 body:not([data-dialog="language"]) #dialog-title-language, |
| 1077 body:not([data-dialog="language"]) #dialog-content-language, | 1060 body:not([data-dialog="language"]) #dialog-content-language, |
| 1078 body:not([data-dialog="predefined"]) #dialog-title-predefined, | 1061 body:not([data-dialog="predefined"]) #dialog-title-predefined, |
| 1079 body:not([data-dialog="predefined"]) #dialog-content-predefined, | 1062 body:not([data-dialog="predefined"]) #dialog-content-predefined, |
| 1080 body:not([data-dialog]) #dialog | 1063 body:not([data-dialog]) #dialog |
| 1081 { | 1064 { |
| 1082 display: none; | 1065 display: none; |
| 1083 } | 1066 } |
| 1084 | 1067 |
| 1068 #dialog-content-language .dialog-content-block |
| 1069 { |
| 1070 display: flex; |
| 1071 flex-direction: column; |
| 1072 height: 120px; |
| 1073 } |
| 1074 |
| 1075 #dialog-content-language #other-language |
| 1076 { |
| 1077 height: 200px; |
| 1078 } |
| 1079 |
| 1085 #other-language .button-add | 1080 #other-language .button-add |
| 1086 { | 1081 { |
| 1087 background-color: transparent; | 1082 background-color: transparent; |
| 1088 margin: 0px; | 1083 margin: 0px; |
| 1089 padding: 0px; | 1084 padding: 0px; |
| 1090 width: auto; | 1085 width: auto; |
| 1091 -webkit-border-end: 1px solid #CDCDCD; | 1086 -webkit-border-end: 1px solid #CDCDCD; |
| 1092 -moz-border-end: 1px solid #CDCDCD; | 1087 -moz-border-end: 1px solid #CDCDCD; |
| 1093 -webkit-padding-end: 10px; | 1088 -webkit-padding-end: 10px; |
| 1094 -moz-padding-end: 10px; | 1089 -moz-padding-end: 10px; |
| 1095 -webkit-padding-start: 0px; | 1090 -webkit-padding-start: 0px; |
| 1096 -moz-padding-start: 0px; | 1091 -moz-padding-start: 0px; |
| 1097 } | 1092 } |
| 1098 | 1093 |
| 1099 #other-language .button-add::before | 1094 #other-language .button-add::before |
| 1100 { | 1095 { |
| 1101 display: none; | 1096 display: none; |
| 1102 } | 1097 } |
| 1103 | 1098 |
| 1104 #other-language .display | 1099 #other-language .display |
| 1105 { | 1100 { |
| 1106 -webkit-margin-start: 10px; | 1101 -webkit-margin-start: 10px; |
| 1107 -moz-margin-start: 10px; | 1102 -moz-margin-start: 10px; |
| 1108 } | 1103 } |
| OLD | NEW |