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 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
508 } | 508 } |
509 | 509 |
510 .controls button span:not(.icon) | 510 .controls button span:not(.icon) |
511 { | 511 { |
512 -moz-margin-start: 16px; | 512 -moz-margin-start: 16px; |
513 -webkit-margin-start: 16px; | 513 -webkit-margin-start: 16px; |
514 color: #3A7BA6; | 514 color: #3A7BA6; |
515 vertical-align: top; | 515 vertical-align: top; |
516 } | 516 } |
517 | 517 |
| 518 /* |
| 519 Used for translatable screen reader only conten. |
| 520 e.g.: Use instead of aria-label to avoid complex attribute value translation |
| 521 */ |
| 522 .sr-only |
| 523 { |
| 524 position: absolute; |
| 525 overflow: hidden; |
| 526 clip: rect(0, 0, 0, 0); |
| 527 width: 1px; |
| 528 height: 1px; |
| 529 margin: -1px; |
| 530 padding: 0px; |
| 531 border: 0px; |
| 532 } |
| 533 |
518 /* | 534 /* |
519 General tab content | 535 General tab content |
520 */ | 536 */ |
521 | 537 |
522 #blocking-languages-dialog-table | 538 #blocking-languages-dialog-table |
523 { | 539 { |
524 border-bottom: none; | 540 border-bottom: none; |
525 } | 541 } |
526 | 542 |
527 #blocking-languages, | 543 #blocking-languages, |
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1087 body:not([data-dialog="language-change"]) #dialog-title-language-change, | 1103 body:not([data-dialog="language-change"]) #dialog-title-language-change, |
1088 body:not([data-dialog="language-add"]):not([data-dialog="language-change"]) #dia
log-content-language-add, | 1104 body:not([data-dialog="language-add"]):not([data-dialog="language-change"]) #dia
log-content-language-add, |
1089 body:not([data-dialog="language-add"]) #dialog-body button.add, | 1105 body:not([data-dialog="language-add"]) #dialog-body button.add, |
1090 body:not([data-dialog="language-change"]) #dialog-body button.change, | 1106 body:not([data-dialog="language-change"]) #dialog-body button.change, |
1091 body:not([data-dialog="predefined"]) #dialog-title-predefined, | 1107 body:not([data-dialog="predefined"]) #dialog-title-predefined, |
1092 body:not([data-dialog="predefined"]) #dialog-content-predefined, | 1108 body:not([data-dialog="predefined"]) #dialog-content-predefined, |
1093 body:not([data-dialog]) #dialog | 1109 body:not([data-dialog]) #dialog |
1094 { | 1110 { |
1095 display: none; | 1111 display: none; |
1096 } | 1112 } |
| 1113 |
| 1114 /* |
| 1115 Notification |
| 1116 */ |
| 1117 |
| 1118 #notification |
| 1119 { |
| 1120 position: fixed; |
| 1121 top: 0rem; |
| 1122 left: 0rem; |
| 1123 display: flex; |
| 1124 padding: 1rem 1.9rem; |
| 1125 width: 100%; |
| 1126 box-sizing: border-box; |
| 1127 opacity: 0.8; |
| 1128 font-size: 1rem; |
| 1129 color: #099CD0; |
| 1130 background-color: #E1F2FA; |
| 1131 } |
| 1132 |
| 1133 #notification strong |
| 1134 { |
| 1135 flex: 1; |
| 1136 text-align: center; |
| 1137 } |
| 1138 |
| 1139 #hide-notification |
| 1140 { |
| 1141 border: 0rem; |
| 1142 padding: 0rem; |
| 1143 margin: 0rem 1rem; |
| 1144 background-color: transparent; |
| 1145 cursor: pointer; |
| 1146 } |
| 1147 |
| 1148 #hide-notification::after |
| 1149 { |
| 1150 content: ""; |
| 1151 display: block; |
| 1152 height: 1rem; |
| 1153 width: 1rem; |
| 1154 border: 0rem; |
| 1155 background-color: #099DD1; |
| 1156 -webkit-mask: url(delete.svg); |
| 1157 mask: url(delete.svg); |
| 1158 } |
| 1159 |
| 1160 #hide-notification:hover::after |
| 1161 { |
| 1162 background-color: #5CBCE1; |
| 1163 } |
OLD | NEW |