| 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-present eyeo GmbH |     3  * Copyright (C) 2006-present 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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   218 .side-controls:not(.wrap) |   218 .side-controls:not(.wrap) | 
|   219 { |   219 { | 
|   220   margin: 0.8rem 0rem; |   220   margin: 0.8rem 0rem; | 
|   221   display: flex; |   221   display: flex; | 
|   222   justify-content: flex-end; |   222   justify-content: flex-end; | 
|   223 } |   223 } | 
|   224  |   224  | 
|   225 .side-controls button |   225 .side-controls button | 
|   226 { |   226 { | 
|   227   margin: 0rem; |   227   margin: 0rem; | 
|   228   -moz-margin-start: 1rem; |   228 } | 
|   229   -webkit-margin-start: 1rem; |   229  | 
 |   230 /* | 
 |   231   Due to Edge adoption as new target browser | 
 |   232   we cannot use -moz/webkit-margin-start | 
 |   233   or -moz/webkit-margin-end because | 
 |   234   these lack Edge support. | 
 |   235   Yet we need to preserve html direction | 
 |   236   and potential UI that might swap right to left. | 
 |   237 */ | 
 |   238 html:not([dir="rtl"]) .side-controls button | 
 |   239 { | 
 |   240   margin-left: 1rem; | 
 |   241 } | 
 |   242  | 
 |   243 html[dir="rtl"] .side-controls button | 
 |   244 { | 
 |   245   margin-right: 1rem; | 
|   230 } |   246 } | 
|   231  |   247  | 
|   232 .side-controls.wrap button |   248 .side-controls.wrap button | 
|   233 { |   249 { | 
|   234   margin: 0.6rem 0rem; |   250   margin: 0.6rem 0rem; | 
|   235   -moz-margin-start: auto; |   251 } | 
|   236   -webkit-margin-start: auto; |   252  | 
 |   253 html:not([dir="rtl"]) .side-controls.wrap button | 
 |   254 { | 
 |   255   margin-left: auto; | 
 |   256 } | 
 |   257  | 
 |   258 html[dir="rtl"] .side-controls.wrap button | 
 |   259 { | 
 |   260   margin-right: auto; | 
|   237 } |   261 } | 
|   238  |   262  | 
|   239 /* |   263 /* | 
|   240   icons |   264   icons | 
|   241  */ |   265  */ | 
|   242  |   266  | 
|   243 .icon |   267 .icon | 
|   244 { |   268 { | 
|   245   border: 0px; |   269   border: 0px; | 
|   246   padding: 0px; |   270   padding: 0px; | 
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   537  |   561  | 
|   538 #sidebar, |   562 #sidebar, | 
|   539 #sidebar .fixed, |   563 #sidebar .fixed, | 
|   540 [role="tablist"] |   564 [role="tablist"] | 
|   541 { |   565 { | 
|   542   width: 14.3rem; |   566   width: 14.3rem; | 
|   543 } |   567 } | 
|   544  |   568  | 
|   545 #sidebar |   569 #sidebar | 
|   546 { |   570 { | 
|   547   flex-shrink: 0;  |   571   flex-shrink: 0; | 
|   548 } |   572 } | 
|   549  |   573  | 
|   550 #sidebar .fixed |   574 #sidebar .fixed | 
|   551 { |   575 { | 
|   552   top: 1.2rem; |   576   top: 1.2rem; | 
|   553   bottom: 0rem; |   577   bottom: 0rem; | 
|   554   height: auto; |   578   height: auto; | 
|   555 } |   579 } | 
|   556  |   580  | 
|   557 #sidebar header |   581 #sidebar header | 
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   608   padding: 0rem; |   632   padding: 0rem; | 
|   609   position: relative; |   633   position: relative; | 
|   610   font-size: 1rem; |   634   font-size: 1rem; | 
|   611 } |   635 } | 
|   612  |   636  | 
|   613 [role="tablist"] li a |   637 [role="tablist"] li a | 
|   614 { |   638 { | 
|   615   display: flex; |   639   display: flex; | 
|   616   margin-top: -1px; |   640   margin-top: -1px; | 
|   617   padding: 1rem 0.8rem; |   641   padding: 1rem 0.8rem; | 
|   618   -moz-margin-end: -1px; |   642   margin-left: -1px; | 
|   619   -webkit-margin-end: -1px; |   643   margin-right: -1px; | 
|   620   -moz-margin-start: -1px; |  | 
|   621   -webkit-margin-start: -1px; |  | 
|   622   border-color: #CDCDCD transparent; |   644   border-color: #CDCDCD transparent; | 
|   623   border-style: solid; |   645   border-style: solid; | 
|   624   border-width: 1px; |   646   border-width: 1px; | 
|   625   text-decoration: none; |   647   text-decoration: none; | 
|   626   color: inherit; |   648   color: inherit; | 
|   627   cursor: pointer; |   649   cursor: pointer; | 
|   628 } |   650 } | 
|   629  |   651  | 
|   630 li a[role="tab"][aria-selected] |   652 li a[role="tab"][aria-selected] | 
|   631 { |   653 { | 
|   632   -moz-border-start-color: #CDCDCD; |  | 
|   633   -webkit-border-start-color: #CDCDCD; |  | 
|   634   font-weight: 700; |   654   font-weight: 700; | 
|   635   background-color: #FFF; |   655   background-color: #FFF; | 
|   636 } |   656 } | 
|   637  |   657  | 
 |   658 html:not([dir="rtl"]) li a[role="tab"][aria-selected] | 
 |   659 { | 
 |   660   border-left-color: #CDCDCD; | 
 |   661 } | 
 |   662  | 
 |   663 html[dir="rtl"] li a[role="tab"][aria-selected] | 
 |   664 { | 
 |   665   border-right-color: #CDCDCD; | 
 |   666 } | 
 |   667  | 
|   638 #sidebar footer |   668 #sidebar footer | 
|   639 { |   669 { | 
|   640   width: 100%; |   670   width: 100%; | 
|   641 } |   671 } | 
|   642  |   672  | 
|   643 #sidebar footer p |   673 #sidebar footer p | 
|   644 { |   674 { | 
|   645   display: flex; |   675   display: flex; | 
|   646   justify-content: center; |   676   justify-content: center; | 
|   647   margin: 1rem 0rem; |   677   margin: 1rem 0rem; | 
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   728 } |   758 } | 
|   729  |   759  | 
|   730 section.cols |   760 section.cols | 
|   731 { |   761 { | 
|   732   display: flex; |   762   display: flex; | 
|   733 } |   763 } | 
|   734  |   764  | 
|   735 section.cols > *:first-child |   765 section.cols > *:first-child | 
|   736 { |   766 { | 
|   737   flex: 1; |   767   flex: 1; | 
|   738   -moz-margin-end: 2rem; |   768 } | 
|   739   -webkit-margin-end: 2rem; |   769  | 
 |   770 html:not([dir="rtl"]) section.cols > *:first-child | 
 |   771 { | 
 |   772   margin-right: 2rem; | 
 |   773 } | 
 |   774  | 
 |   775 html[dir="rtl"] section.cols > *:first-child | 
 |   776 { | 
 |   777   margin-left: 2rem; | 
|   740 } |   778 } | 
|   741  |   779  | 
|   742 section.cols > *:last-child |   780 section.cols > *:last-child | 
|   743 { |   781 { | 
|   744   flex: 3; |   782   flex: 3; | 
|   745 } |   783 } | 
|   746  |   784  | 
|   747 /* |   785 /* | 
|   748   Acceptable ads |   786   Acceptable ads | 
|   749  */ |   787  */ | 
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   804 html[dir="rtl"] button |   842 html[dir="rtl"] button | 
|   805 { |   843 { | 
|   806   left: auto; |   844   left: auto; | 
|   807   right: 0rem; |   845   right: 0rem; | 
|   808 } |   846 } | 
|   809  |   847  | 
|   810 #acceptable-ads label |   848 #acceptable-ads label | 
|   811 { |   849 { | 
|   812   font-weight: 700; |   850   font-weight: 700; | 
|   813   font-size: 1rem; |   851   font-size: 1rem; | 
|   814   -moz-margin-end: 0.5rem; |   852 } | 
|   815   -webkit-margin-end: 0.5rem; |   853  | 
 |   854 html:not([dir="rtl"]) #acceptable-ads label | 
 |   855 { | 
 |   856   margin-right: 0.5rem; | 
 |   857 } | 
 |   858  | 
 |   859 html[dir="rtl"] #acceptable-ads label | 
 |   860 { | 
 |   861   margin-left: 0.5rem; | 
|   816 } |   862 } | 
|   817  |   863  | 
|   818 #dnt |   864 #dnt | 
|   819 { |   865 { | 
|   820   padding: 0.8rem; |   866   padding: 0.8rem; | 
|   821   border: 1px solid #077CA6; |   867   border: 1px solid #077CA6; | 
|   822 } |   868 } | 
|   823  |   869  | 
|   824 .new |   870 .new | 
|   825 { |   871 { | 
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   969 .th .col5:nth-of-type(4), |  1015 .th .col5:nth-of-type(4), | 
|   970 .table .col5:nth-of-type(4) |  1016 .table .col5:nth-of-type(4) | 
|   971 { |  1017 { | 
|   972   flex: 1; |  1018   flex: 1; | 
|   973 } |  1019 } | 
|   974  |  1020  | 
|   975 .th .col5:nth-of-type(5), |  1021 .th .col5:nth-of-type(5), | 
|   976 .table .col5:nth-of-type(5) |  1022 .table .col5:nth-of-type(5) | 
|   977 { |  1023 { | 
|   978   flex: 1; |  1024   flex: 1; | 
|   979   -moz-margin-start: 0; |  1025 } | 
|   980   -webkit-margin-start: 0; |  1026  | 
|   981   -moz-margin-end: 1.8rem; |  1027 html:not([dir="rtl"]) .th .col5:nth-of-type(5), | 
|   982   -webkit-margin-end: 1.8rem; |  1028 html:not([dir="rtl"]) .table .col5:nth-of-type(5) | 
 |  1029 { | 
 |  1030   margin-left: 0; | 
 |  1031   margin-right: 1.8rem; | 
 |  1032 } | 
 |  1033  | 
 |  1034 html[dir="rtl"] .th .col5:nth-of-type(5), | 
 |  1035 html[dir="rtl"] .table .col5:nth-of-type(5) | 
 |  1036 { | 
 |  1037   margin-right: 0; | 
 |  1038   margin-left: 1.8rem; | 
|   983 } |  1039 } | 
|   984  |  1040  | 
|   985 .table.cols > span |  1041 .table.cols > span | 
|   986 { |  1042 { | 
|   987   margin: 0rem; |  1043   margin: 0rem; | 
|   988 } |  1044 } | 
|   989  |  1045  | 
|   990 .table.cols li |  1046 .table.cols li | 
|   991 { |  1047 { | 
|   992   padding: 0.5rem 0rem; |  1048   padding: 0.5rem 0rem; | 
|   993 } |  1049 } | 
|   994  |  1050  | 
|   995 .table.cols .state |  1051 html:not([dir="rtl"]) .table.cols .state | 
|   996 { |  1052 { | 
|   997   -moz-margin-start: 1rem; |  1053   margin-left: 1rem; | 
|   998   -webkit-margin-start: 1rem; |  1054 } | 
 |  1055  | 
 |  1056 html[dir="rtl"] .table.cols .state | 
 |  1057 { | 
 |  1058   margin-right: 1rem; | 
|   999 } |  1059 } | 
|  1000  |  1060  | 
|  1001 .table.cols .gear |  1061 .table.cols .gear | 
|  1002 { |  1062 { | 
|  1003   margin: 0rem  |  1063   margin: 0rem  | 
|  1004 } |  1064 } | 
|  1005  |  1065  | 
|  1006 #dialog .table.list li |  1066 #dialog .table.list li | 
|  1007 { |  1067 { | 
|  1008   display: block; |  1068   display: block; | 
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1044   font-weight: 400; |  1104   font-weight: 400; | 
|  1045 } |  1105 } | 
|  1046  |  1106  | 
|  1047 /* |  1107 /* | 
|  1048   Tooltips |  1108   Tooltips | 
|  1049 */ |  1109 */ | 
|  1050  |  1110  | 
|  1051 .tooltip |  1111 .tooltip | 
|  1052 { |  1112 { | 
|  1053   position: relative; |  1113   position: relative; | 
|  1054   margin: 0rem; |  1114   margin: 0; | 
|  1055   -moz-margin-end: 1rem; |  | 
|  1056   -webkit-margin-end: 1rem; |  | 
|  1057   line-height: 1.5rem; |  1115   line-height: 1.5rem; | 
|  1058   text-decoration: none; |  1116   text-decoration: none; | 
|  1059   cursor: help; |  1117   cursor: help; | 
 |  1118   /* reset minimal button style */ | 
 |  1119   color: inherit; | 
 |  1120   font: inherit; | 
 |  1121   text-transform: initial; | 
 |  1122   text-align: initial; | 
 |  1123   font-weight: initial; | 
 |  1124   font-size: initial; | 
 |  1125 } | 
 |  1126  | 
 |  1127 html:not([dir="rtl"]) .tooltip | 
 |  1128 { | 
 |  1129   margin-right: 1rem; | 
 |  1130 } | 
 |  1131  | 
 |  1132 html[dir="rtl"] .tooltip | 
 |  1133 { | 
 |  1134   margin-left: 1rem; | 
|  1060 } |  1135 } | 
|  1061  |  1136  | 
|  1062 /*  |  1137 /*  | 
|  1063   Used for translatable screen reader only content. |  1138   Used for translatable screen reader only content. | 
|  1064   e.g.: Use instead of aria-label to avoid complex attribute value translation |  1139   e.g.: Use instead of aria-label to avoid complex attribute value translation | 
|  1065 */ |  1140 */ | 
|  1066 .sr-only |  1141 .sr-only | 
|  1067 { |  1142 { | 
|  1068   position: absolute; |  1143   position: absolute; | 
|  1069   overflow: hidden; |  1144   overflow: hidden; | 
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1103  |  1178  | 
|  1104 #content-whitelist form input |  1179 #content-whitelist form input | 
|  1105 { |  1180 { | 
|  1106   flex: 1; |  1181   flex: 1; | 
|  1107   height: 100%; |  1182   height: 100%; | 
|  1108   padding: 0.5rem 1rem; |  1183   padding: 0.5rem 1rem; | 
|  1109   font-size: 1rem; |  1184   font-size: 1rem; | 
|  1110   border: 2px solid #077CA6; |  1185   border: 2px solid #077CA6; | 
|  1111 } |  1186 } | 
|  1112  |  1187  | 
|  1113 #content-whitelist form button |  1188 html:not([dir="rtl"]) #content-whitelist form button | 
|  1114 { |  1189 { | 
|  1115   -moz-margin-start: 0.7rem; |  1190   margin-left: 0.7rem; | 
|  1116   -webkit-margin-start: 0.7rem; |  1191 } | 
 |  1192  | 
 |  1193 html[dir="rtl"] #content-whitelist form button | 
 |  1194 { | 
 |  1195   margin-right: 0.7rem; | 
|  1117 } |  1196 } | 
|  1118  |  1197  | 
|  1119 #whitelisting-table li |  1198 #whitelisting-table li | 
|  1120 { |  1199 { | 
|  1121   padding-left: 1.4rem; |  1200   padding-left: 1.4rem; | 
|  1122   padding-right: 1.4rem; |  1201   padding-right: 1.4rem; | 
|  1123   border-left: 0rem; |  1202   border-left: 0rem; | 
|  1124   border-right: 0rem;  |  1203   border-right: 0rem;  | 
|  1125 } |  1204 } | 
|  1126  |  1205  | 
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1183   position: relative; |  1262   position: relative; | 
|  1184 } |  1263 } | 
|  1185  |  1264  | 
|  1186 [role="tooltip"] |  1265 [role="tooltip"] | 
|  1187 { |  1266 { | 
|  1188   right: -0.8rem; |  1267   right: -0.8rem; | 
|  1189   margin-top: 0.8rem; |  1268   margin-top: 0.8rem; | 
|  1190   opacity: 1; |  1269   opacity: 1; | 
|  1191   padding: 0.2rem 1rem; |  1270   padding: 0.2rem 1rem; | 
|  1192   position: absolute; |  1271   position: absolute; | 
|  1193   -webkit-transition: opacity 200ms ease-in-out 400ms, |  | 
|  1194     visibility 0ms linear 400ms; |  | 
|  1195   transition: opacity 200ms ease-in-out 400ms, |  | 
|  1196     visibility 0ms linear 400ms; |  | 
|  1197   visibility: visible; |  1272   visibility: visible; | 
|  1198   width: 15rem; |  1273   width: 15rem; | 
|  1199   z-index: 1; |  1274   z-index: 1; | 
|  1200 } |  1275 } | 
|  1201  |  1276  | 
 |  1277 .tooltip:not(:focus) > [role="tooltip"] | 
 |  1278 { | 
 |  1279   -webkit-transition: opacity 200ms ease-in-out 400ms, | 
 |  1280     visibility 0ms linear 400ms; | 
 |  1281   transition: opacity 200ms ease-in-out 400ms, | 
 |  1282     visibility 0ms linear 400ms; | 
 |  1283 } | 
 |  1284  | 
|  1202 html[dir="rtl"] [role="tooltip"] |  1285 html[dir="rtl"] [role="tooltip"] | 
|  1203 { |  1286 { | 
|  1204   right: auto; |  1287   right: auto; | 
|  1205   left: -0.8rem; |  1288   left: -0.8rem; | 
|  1206 } |  1289 } | 
|  1207  |  1290  | 
|  1208 [role="tooltip"], |  1291 [role="tooltip"], | 
|  1209 .context-menu .content |  1292 .context-menu .content | 
|  1210 { |  1293 { | 
|  1211   border: 1px solid #077CA6; |  1294   border: 1px solid #077CA6; | 
|  1212   border-radius: 3px; |  1295   border-radius: 3px; | 
|  1213   background-color: #FFFFFF; |  1296   background-color: #FFFFFF; | 
|  1214 } |  1297 } | 
|  1215  |  1298  | 
|  1216  |  1299 .tooltip:not(:focus):not(:hover) > [role="tooltip"], | 
|  1217 .tooltip:not(:hover) > [role="tooltip"], |  | 
|  1218 [role="tooltip"]:hover |  1300 [role="tooltip"]:hover | 
|  1219 { |  1301 { | 
|  1220   visibility: hidden; |  1302   visibility: hidden; | 
|  1221   opacity: 0; |  1303   opacity: 0; | 
|  1222   -webkit-transition-delay: 0ms; |  1304   -webkit-transition-delay: 0ms; | 
|  1223   transition-delay: 0ms; |  1305   transition-delay: 0ms; | 
|  1224 } |  1306 } | 
|  1225  |  1307  | 
|  1226 .context-menu |  1308 .context-menu | 
|  1227 { |  1309 { | 
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1339  |  1421  | 
|  1340 #social ul |  1422 #social ul | 
|  1341 { |  1423 { | 
|  1342   list-style: none; |  1424   list-style: none; | 
|  1343   padding: 0px; |  1425   padding: 0px; | 
|  1344 } |  1426 } | 
|  1345  |  1427  | 
|  1346 #social ul li |  1428 #social ul li | 
|  1347 { |  1429 { | 
|  1348   display: inline-block; |  1430   display: inline-block; | 
|  1349   -moz-margin-end: 1rem; |  1431 } | 
|  1350   -webkit-margin-end: 1rem; |  1432  | 
 |  1433 html:not([dir="rtl"]) #social ul li | 
 |  1434 { | 
 |  1435   margin-right: 1rem; | 
 |  1436 } | 
 |  1437  | 
 |  1438 html[dir="rtl"] #social ul li | 
 |  1439 { | 
 |  1440   margin-left: 1rem; | 
|  1351 } |  1441 } | 
|  1352  |  1442  | 
|  1353 #social ul li a |  1443 #social ul li a | 
|  1354 { |  1444 { | 
|  1355   display: block; |  1445   display: block; | 
|  1356   text-align: center; |  1446   text-align: center; | 
|  1357   text-decoration: none; |  1447   text-decoration: none; | 
|  1358 } |  1448 } | 
|  1359  |  1449  | 
|  1360 /* |  1450 /* | 
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1511   font-size: 1rem; |  1601   font-size: 1rem; | 
|  1512   color: #077CA6; |  1602   color: #077CA6; | 
|  1513   background-color: #E1F2FA; |  1603   background-color: #E1F2FA; | 
|  1514 } |  1604 } | 
|  1515  |  1605  | 
|  1516 #notification strong |  1606 #notification strong | 
|  1517 { |  1607 { | 
|  1518   flex: 1; |  1608   flex: 1; | 
|  1519   text-align: center; |  1609   text-align: center; | 
|  1520 } |  1610 } | 
| OLD | NEW |