| Left: | ||
| Right: |
| 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 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 342 { | 342 { |
| 343 right: 0.3rem; | 343 right: 0.3rem; |
| 344 left: auto; | 344 left: auto; |
| 345 } | 345 } |
| 346 | 346 |
| 347 [data-validation] .floating-input input:focus:invalid | 347 [data-validation] .floating-input input:focus:invalid |
| 348 { | 348 { |
| 349 border-color: #C11D27; | 349 border-color: #C11D27; |
| 350 } | 350 } |
| 351 | 351 |
| 352 [data-validation] .floating-input input:focus:invalid ~ .attention::before, | 352 [data-validation] .floating-input input:focus:invalid ~ .attention::before, |
|
saroyanm
2017/09/26 18:40:52
Making invalid errors being persistent with curren
ire
2017/09/28 07:33:44
Acknowledged.
| |
| 353 [data-validation] .floating-input input:focus:valid ~ .attention::before | 353 [data-validation] .floating-input input:valid ~ .attention::before |
| 354 { | 354 { |
| 355 content: ""; | 355 content: ""; |
| 356 position: absolute; | 356 position: absolute; |
| 357 display: block; | 357 display: block; |
| 358 margin: 0.5rem; | 358 margin: 0.5rem; |
| 359 height: 1.5rem; | 359 height: 1.5rem; |
| 360 width: 1.5rem; | 360 width: 1.5rem; |
| 361 border: 0rem; | 361 border: 0rem; |
| 362 top: 0.5rem; | 362 top: 0.5rem; |
| 363 right: 0rem; | 363 right: 0rem; |
| 364 } | 364 } |
| 365 | 365 |
| 366 html[dir="rtl"] [data-validation] .floating-input input:focus:invalid ~ .attenti on::before, | 366 html[dir="rtl"] [data-validation] .floating-input input:focus:invalid ~ .attenti on::before, |
| 367 html[dir="rtl"] [data-validation] .floating-input input:focus:valid ~ .attention ::before | 367 html[dir="rtl"] [data-validation] .floating-input input:valid ~ .attention::befo re |
| 368 { | 368 { |
| 369 left: 0rem; | 369 left: 0rem; |
| 370 right: auto; | 370 right: auto; |
| 371 } | 371 } |
| 372 | 372 |
| 373 [data-validation] .floating-input input:focus:invalid ~ .attention::before | 373 [data-validation] .floating-input input:focus:invalid ~ .attention::before |
| 374 { | 374 { |
| 375 background-color: #C11D27; | 375 background-color: #C11D27; |
| 376 -webkit-mask: url(icons/attention.svg); | 376 -webkit-mask: url(icons/attention.svg); |
| 377 mask: url(icons/attention.svg); | 377 mask: url(icons/attention.svg); |
| 378 } | 378 } |
| 379 | 379 |
| 380 [data-validation] .floating-input input:focus:valid ~ .attention::before | 380 [data-validation] .floating-input input:valid ~ .attention::before |
| 381 { | 381 { |
| 382 top: 0.8rem; | 382 top: 0.8rem; |
| 383 background-color: green; | 383 background-color: green; |
| 384 -webkit-mask: url(icons/checkmark.svg); | 384 -webkit-mask: url(icons/checkmark.svg); |
| 385 mask: url(icons/checkmark.svg); | 385 mask: url(icons/checkmark.svg); |
| 386 } | 386 } |
| 387 | 387 |
| 388 [data-validation] .floating-input input ~ .error-msg | 388 [data-validation] .floating-input input ~ .error-msg |
| 389 { | 389 { |
| 390 margin-top: 0.5rem; | 390 margin-top: 0.5rem; |
| (...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1130 } | 1130 } |
| 1131 | 1131 |
| 1132 .context-menu li[role="menuitem"] > * | 1132 .context-menu li[role="menuitem"] > * |
| 1133 { | 1133 { |
| 1134 width: 100%; | 1134 width: 100%; |
| 1135 display: flex; | 1135 display: flex; |
| 1136 border: 0rem; | 1136 border: 0rem; |
| 1137 padding: 1rem 0rem; | 1137 padding: 1rem 0rem; |
| 1138 color: #099CD0; | 1138 color: #099CD0; |
| 1139 font-size: 1.1rem; | 1139 font-size: 1.1rem; |
| 1140 font-weight: 700; | |
|
saroyanm
2017/09/26 18:40:52
Font-weight context menu items were different and
ire
2017/09/28 07:33:44
Acknowledged.
| |
| 1140 text-transform: none; | 1141 text-transform: none; |
| 1141 } | 1142 } |
| 1142 | 1143 |
| 1143 .context-menu li[role="menuitem"] > *:hover, | 1144 .context-menu li[role="menuitem"] > *:hover, |
| 1144 .context-menu li[role="menuitem"] > *:focus | 1145 .context-menu li[role="menuitem"] > *:focus |
| 1145 { | 1146 { |
| 1146 background-color: #E1F2FA; | 1147 background-color: #E1F2FA; |
| 1147 cursor: pointer; | 1148 cursor: pointer; |
| 1148 } | 1149 } |
| 1149 | 1150 |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1436 | 1437 |
| 1437 #hide-notification::after | 1438 #hide-notification::after |
| 1438 { | 1439 { |
| 1439 background-color: #099DD1; | 1440 background-color: #099DD1; |
| 1440 } | 1441 } |
| 1441 | 1442 |
| 1442 #hide-notification:hover::after | 1443 #hide-notification:hover::after |
| 1443 { | 1444 { |
| 1444 background-color: #5CBCE1; | 1445 background-color: #5CBCE1; |
| 1445 } | 1446 } |
| OLD | NEW |