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-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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 { | 174 { |
175 width: 1.2rem; | 175 width: 1.2rem; |
176 height: 1.2rem; | 176 height: 1.2rem; |
177 padding: 0px; | 177 padding: 0px; |
178 border: 0px; | 178 border: 0px; |
179 background-color: transparent; | 179 background-color: transparent; |
180 } | 180 } |
181 | 181 |
182 button[role="checkbox"]:not(.toggle) | 182 button[role="checkbox"]:not(.toggle) |
183 { | 183 { |
184 background-image: url(icons/checkbox.svg#off); | 184 /* Using ?query as a workaround to chromium bug #643716 */ |
| 185 background-image: url(icons/checkbox.svg?off#off); |
185 display: inline-block; | 186 display: inline-block; |
186 } | 187 } |
187 | 188 |
188 button[role="checkbox"][aria-checked="true"]:not(.toggle) | 189 button[role="checkbox"][aria-checked="true"]:not(.toggle) |
189 { | 190 { |
190 background-image: url(icons/checkbox.svg#on); | 191 background-image: url(icons/checkbox.svg?on#on); |
191 } | 192 } |
192 | 193 |
193 button[role="checkbox"][disabled], | 194 button[role="checkbox"][disabled], |
194 button[role="checkbox"][aria-disabled="true"] | 195 button[role="checkbox"][aria-disabled="true"] |
195 { | 196 { |
196 border-radius: 2px; | 197 border-radius: 2px; |
197 background-color: #ccc; | 198 background-color: #ccc; |
198 } | 199 } |
199 | 200 |
200 button[role="checkbox"].toggle | 201 button[role="checkbox"].toggle |
201 { | 202 { |
202 background: url(icons/toggle.svg#on); | 203 background-image: url(icons/toggle.svg?on#on); |
203 } | 204 } |
204 | 205 |
205 button[role="checkbox"][aria-checked="false"].toggle | 206 button[role="checkbox"][aria-checked="false"].toggle |
206 { | 207 { |
207 background: url(icons/toggle.svg#off); | 208 background-image: url(icons/toggle.svg?off#off); |
208 } | 209 } |
209 | 210 |
210 button[role="checkbox"][aria-checked="true"].toggle | 211 button[role="checkbox"][aria-checked="true"].toggle |
211 { | 212 { |
212 background: url(icons/toggle.svg#on); | 213 background-image: url(icons/toggle.svg?on#on); |
213 } | 214 } |
214 | 215 |
215 button[role="checkbox"].toggle | 216 button[role="checkbox"].toggle |
216 { | 217 { |
217 background-position: initial; | 218 background-position: initial; |
218 width: 1.9rem; | 219 width: 1.9rem; |
219 height: 1rem; | 220 height: 1rem; |
220 vertical-align: middle; | 221 vertical-align: middle; |
221 } | 222 } |
222 | 223 |
223 button[role="checkbox"][disabled].toggle | 224 button[role="checkbox"][disabled].toggle |
224 { | 225 { |
225 background-image: none; | 226 background-image: none; |
226 } | 227 } |
227 | 228 |
228 button.delete::before | 229 button.delete::before |
229 { | 230 { |
230 background-image: url(icons/trash.svg#default); | 231 background-image: url(icons/trash.svg?default#default); |
231 } | 232 } |
232 | 233 |
233 button.delete:hover::before | 234 button.delete:hover::before |
234 { | 235 { |
235 background-image: url(icons/trash.svg#hover); | 236 background-image: url(icons/trash.svg?hover#hover); |
236 } | 237 } |
237 | 238 |
238 button.gear::before | 239 button.gear::before |
239 { | 240 { |
240 background-image: url(icons/gear.svg#default); | 241 background-image: url(icons/gear.svg?default#default); |
241 } | 242 } |
242 | 243 |
243 button.gear:hover::before | 244 button.gear:hover::before |
244 { | 245 { |
245 background-image: url(icons/gear.svg#hover); | 246 background-image: url(icons/gear.svg?hover#hover); |
246 } | 247 } |
247 | 248 |
248 button.gear, | 249 button.gear, |
249 button.delete | 250 button.delete |
250 { | 251 { |
251 border: 0px; | 252 border: 0px; |
252 padding: 0px; | 253 padding: 0px; |
253 background-color: transparent; | 254 background-color: transparent; |
254 } | 255 } |
255 | 256 |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 } | 398 } |
398 | 399 |
399 [data-validation] .floating-input input:focus:invalid ~ .attention::before | 400 [data-validation] .floating-input input:focus:invalid ~ .attention::before |
400 { | 401 { |
401 background-image: url(icons/attention.svg); | 402 background-image: url(icons/attention.svg); |
402 } | 403 } |
403 | 404 |
404 [data-validation] .floating-input input:valid ~ .attention::before | 405 [data-validation] .floating-input input:valid ~ .attention::before |
405 { | 406 { |
406 top: 0.5rem; | 407 top: 0.5rem; |
407 background-image: url(icons/checkmark.svg#approved); | 408 background-image: url(icons/checkmark.svg?approved#approved); |
408 } | 409 } |
409 | 410 |
410 [data-validation] .floating-input input ~ .error-msg | 411 [data-validation] .floating-input input ~ .error-msg |
411 { | 412 { |
412 margin-top: 0.5rem; | 413 margin-top: 0.5rem; |
413 color: #C11D27; | 414 color: #C11D27; |
414 display: block; | 415 display: block; |
415 visibility: hidden; | 416 visibility: hidden; |
416 } | 417 } |
417 | 418 |
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
927 #dialog .table.list li button[aria-checked="true"] | 928 #dialog .table.list li button[aria-checked="true"] |
928 { | 929 { |
929 color: #BBB; | 930 color: #BBB; |
930 } | 931 } |
931 | 932 |
932 #dialog .table.list li button[aria-checked="true"]::before | 933 #dialog .table.list li button[aria-checked="true"]::before |
933 { | 934 { |
934 content: ""; | 935 content: ""; |
935 width: 1.3rem; | 936 width: 1.3rem; |
936 height: 1.3rem; | 937 height: 1.3rem; |
937 background-image: url(icons/checkmark.svg#default); | 938 background-image: url(icons/checkmark.svg?default#default); |
938 margin: 0rem; | 939 margin: 0rem; |
939 } | 940 } |
940 | 941 |
941 #dialog .table.list li button .display | 942 #dialog .table.list li button .display |
942 { | 943 { |
943 flex: none; | 944 flex: none; |
944 margin: 0rem 0.8rem; | 945 margin: 0rem 0.8rem; |
945 text-transform: none; | 946 text-transform: none; |
946 font-weight: 400; | 947 font-weight: 400; |
947 } | 948 } |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1255 background-image: url(icons/globe.svg); | 1256 background-image: url(icons/globe.svg); |
1256 } | 1257 } |
1257 | 1258 |
1258 .context-menu .source::before | 1259 .context-menu .source::before |
1259 { | 1260 { |
1260 background-image: url(icons/code.svg); | 1261 background-image: url(icons/code.svg); |
1261 } | 1262 } |
1262 | 1263 |
1263 .context-menu .delete::before | 1264 .context-menu .delete::before |
1264 { | 1265 { |
1265 background-image: url(icons/trash.svg#default); | 1266 background-image: url(icons/trash.svg?default#default); |
1266 } | 1267 } |
1267 | 1268 |
1268 /* | 1269 /* |
1269 Help tab content | 1270 Help tab content |
1270 */ | 1271 */ |
1271 | 1272 |
1272 html:not([lang="zh"]) #social-chinese, | 1273 html:not([lang="zh"]) #social-chinese, |
1273 html[lang="zh"] #social-general | 1274 html[lang="zh"] #social-general |
1274 { | 1275 { |
1275 display: none; | 1276 display: none; |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1381 | 1382 |
1382 #dialog-close::before, | 1383 #dialog-close::before, |
1383 #hide-notification::after, | 1384 #hide-notification::after, |
1384 #hide-tracking-warning::after | 1385 #hide-tracking-warning::after |
1385 { | 1386 { |
1386 content: ""; | 1387 content: ""; |
1387 display: block; | 1388 display: block; |
1388 height: 1rem; | 1389 height: 1rem; |
1389 width: 1rem; | 1390 width: 1rem; |
1390 border: 0rem; | 1391 border: 0rem; |
1391 background-image: url(icons/delete.svg#primary); | 1392 background-image: url(icons/delete.svg?primary#primary); |
1392 } | 1393 } |
1393 | 1394 |
1394 #dialog-close:hover::before | 1395 #dialog-close:hover::before |
1395 { | 1396 { |
1396 background-image: url(icons/delete.svg#primary-hover); | 1397 background-image: url(icons/delete.svg?primary-hover#primary-hover); |
1397 } | 1398 } |
1398 | 1399 |
1399 #dialog #dialog-body | 1400 #dialog #dialog-body |
1400 { | 1401 { |
1401 max-height: 60vh; | 1402 max-height: 60vh; |
1402 overflow: auto; | 1403 overflow: auto; |
1403 } | 1404 } |
1404 | 1405 |
1405 .dialog-content | 1406 .dialog-content |
1406 { | 1407 { |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1503 text-align: center; | 1504 text-align: center; |
1504 } | 1505 } |
1505 | 1506 |
1506 #hide-notification | 1507 #hide-notification |
1507 { | 1508 { |
1508 margin: 0rem 1rem; | 1509 margin: 0rem 1rem; |
1509 } | 1510 } |
1510 | 1511 |
1511 #hide-notification::after | 1512 #hide-notification::after |
1512 { | 1513 { |
1513 background-image: url(icons/delete.svg#secondary); | 1514 background-image: url(icons/delete.svg?secondary#secondary); |
1514 } | 1515 } |
1515 | 1516 |
1516 #hide-tracking-warning::after | 1517 #hide-tracking-warning::after |
1517 { | 1518 { |
1518 background-image: url(icons/delete.svg#tertiary); | 1519 background-image: url(icons/delete.svg?tertiary#tertiary); |
1519 } | 1520 } |
1520 | 1521 |
1521 #hide-notification:hover::after | 1522 #hide-notification:hover::after |
1522 { | 1523 { |
1523 background-image: url(icons/delete.svg#secondary-hover); | 1524 background-image: url(icons/delete.svg?secondary-hover#secondary-hover); |
1524 } | 1525 } |
1525 | 1526 |
1526 #hide-tracking-warning:hover::after | 1527 #hide-tracking-warning:hover::after |
1527 { | 1528 { |
1528 background-image: url(icons/delete.svg#tertiary-hover); | 1529 background-image: url(icons/delete.svg?tertiary-hover#tertiary-hover); |
1529 } | 1530 } |
LEFT | RIGHT |