| Left: | ||
| Right: |
| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 49 font-size: 16px; | 49 font-size: 16px; |
| 50 } | 50 } |
| 51 | 51 |
| 52 body | 52 body |
| 53 { | 53 { |
| 54 background-color: #F3F3F3; | 54 background-color: #F3F3F3; |
| 55 display: flex; | 55 display: flex; |
| 56 justify-content: center; | 56 justify-content: center; |
| 57 /* We force vertical scrollbars to keep the content centered */ | 57 /* We force vertical scrollbars to keep the content centered */ |
| 58 overflow-y: scroll; | 58 overflow-y: scroll; |
| 59 margin: 1.2rem 0.3rem; | 59 margin: 1rem 0.3rem; |
|
ire
2017/11/15 13:49:28
The vertical margin should be 1rem
saroyanm
2017/11/15 14:51:23
Done.
| |
| 60 font-family: "Source Sans Pro", sans-serif; | 60 font-family: "Source Sans Pro", sans-serif; |
| 61 font-size: 1rem; | 61 font-size: 1rem; |
| 62 line-height: 1.5rem; | 62 line-height: 1.5rem; |
| 63 color: #4A4A4A; | 63 color: #4A4A4A; |
| 64 } | 64 } |
| 65 | 65 |
| 66 h1 | 66 h1 |
| 67 { | 67 { |
| 68 font-size: 3rem; | 68 font-size: 3rem; |
| 69 font-weight: 300; | 69 font-weight: 300; |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 369 right: 0.3rem; | 369 right: 0.3rem; |
| 370 left: auto; | 370 left: auto; |
| 371 } | 371 } |
| 372 | 372 |
| 373 [data-validation] .floating-input input:focus:invalid | 373 [data-validation] .floating-input input:focus:invalid |
| 374 { | 374 { |
| 375 border-color: #C11D27; | 375 border-color: #C11D27; |
| 376 } | 376 } |
| 377 | 377 |
| 378 [data-validation] .floating-input input:focus:invalid ~ .attention::before, | 378 [data-validation] .floating-input input:focus:invalid ~ .attention::before, |
| 379 [data-validation] .floating-input input:valid ~ .attention::before | 379 [data-validation] .floating-input input:valid ~ .attention::before |
|
ire
2017/11/15 13:49:28
This element is too close to the input underline.
saroyanm
2017/11/15 14:51:23
Done.
| |
| 380 { | 380 { |
| 381 content: ""; | 381 content: ""; |
| 382 position: absolute; | 382 position: absolute; |
| 383 display: block; | 383 display: block; |
| 384 margin: 0.5rem; | 384 margin: 0.5rem; |
| 385 height: 1.5rem; | 385 height: 1.5rem; |
| 386 width: 1.5rem; | 386 width: 1.5rem; |
| 387 border: 0rem; | 387 border: 0rem; |
| 388 top: 0.5rem; | 388 top: 0.3rem; |
| 389 right: 0rem; | 389 right: 0rem; |
| 390 } | 390 } |
| 391 | 391 |
| 392 html[dir="rtl"] [data-validation] .floating-input input:focus:invalid ~ .attenti on::before, | 392 html[dir="rtl"] [data-validation] .floating-input input:focus:invalid ~ .attenti on::before, |
| 393 html[dir="rtl"] [data-validation] .floating-input input:valid ~ .attention::befo re | 393 html[dir="rtl"] [data-validation] .floating-input input:valid ~ .attention::befo re |
| 394 { | 394 { |
| 395 left: 0rem; | 395 left: 0rem; |
| 396 right: auto; | 396 right: auto; |
| 397 } | 397 } |
| 398 | 398 |
| 399 [data-validation] .floating-input input:focus:invalid ~ .attention::before | 399 [data-validation] .floating-input input:focus:invalid ~ .attention::before |
| 400 { | 400 { |
| 401 background-image: url(icons/attention.svg); | 401 background-image: url(icons/attention.svg); |
| 402 } | 402 } |
| 403 | 403 |
| 404 [data-validation] .floating-input input:valid ~ .attention::before | 404 [data-validation] .floating-input input:valid ~ .attention::before |
| 405 { | 405 { |
| 406 top: 0.8rem; | 406 top: 0.5rem; |
| 407 background-image: url(icons/checkmark.svg#approved); | 407 background-image: url(icons/checkmark.svg#approved); |
| 408 } | 408 } |
| 409 | 409 |
| 410 [data-validation] .floating-input input ~ .error-msg | 410 [data-validation] .floating-input input ~ .error-msg |
| 411 { | 411 { |
| 412 margin-top: 0.5rem; | 412 margin-top: 0.5rem; |
| 413 color: #C11D27; | 413 color: #C11D27; |
| 414 display: block; | 414 display: block; |
| 415 visibility: hidden; | 415 visibility: hidden; |
| 416 } | 416 } |
| (...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 754 } | 754 } |
| 755 | 755 |
| 756 .table.list li .display | 756 .table.list li .display |
| 757 { | 757 { |
| 758 flex: 1; | 758 flex: 1; |
| 759 margin: 0rem; | 759 margin: 0rem; |
| 760 } | 760 } |
| 761 | 761 |
| 762 .table.list li.empty-placeholder | 762 .table.list li.empty-placeholder |
| 763 { | 763 { |
| 764 padding: 1.3em 1.9em; | 764 padding: 1rem 1.4rem; |
|
ire
2017/11/15 13:49:28
This padding should be the same as `padding: 0.5re
saroyanm
2017/11/15 14:51:23
According to specs, it's 1rem 1.4rem, I've updated
| |
| 765 } | 765 } |
| 766 | 766 |
| 767 .table.list li.empty-placeholder:not(:last-of-type) | 767 .table.list li.empty-placeholder:not(:last-of-type) |
| 768 { | 768 { |
| 769 border-bottom: 0px; | 769 border-bottom: 0px; |
| 770 } | 770 } |
| 771 | 771 |
| 772 .table.list button.link | 772 .table.list button.link |
| 773 { | 773 { |
| 774 font-weight: 700; | 774 font-weight: 700; |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 897 | 897 |
| 898 #dialog .table.list li button[aria-checked="true"]::before | 898 #dialog .table.list li button[aria-checked="true"]::before |
| 899 { | 899 { |
| 900 content: ""; | 900 content: ""; |
| 901 width: 1.3rem; | 901 width: 1.3rem; |
| 902 height: 1.3rem; | 902 height: 1.3rem; |
| 903 background-image: url(icons/checkmark.svg#default); | 903 background-image: url(icons/checkmark.svg#default); |
| 904 margin: 0rem; | 904 margin: 0rem; |
| 905 } | 905 } |
| 906 | 906 |
| 907 #dialog .table.list li button .display | 907 #dialog .table.list li button .display |
|
ire
2017/11/15 13:49:28
This element is currently in bold weight since it'
saroyanm
2017/11/15 14:51:23
Right, done.
| |
| 908 { | 908 { |
| 909 flex: none; | 909 flex: none; |
| 910 margin: 0rem 0.8rem; | 910 margin: 0rem 0.8rem; |
| 911 text-transform: none; | 911 text-transform: none; |
| 912 font-weight: 400; | |
| 912 } | 913 } |
| 913 | 914 |
| 914 /* | 915 /* |
| 915 Tooltips | 916 Tooltips |
| 916 */ | 917 */ |
| 917 | 918 |
| 918 .tooltip | 919 .tooltip |
| 919 { | 920 { |
| 920 display: inline-block; | 921 display: inline-block; |
| 921 position: relative; | 922 position: relative; |
| (...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1473 | 1474 |
| 1474 #hide-notification::after | 1475 #hide-notification::after |
| 1475 { | 1476 { |
| 1476 background-image: url(icons/delete.svg#secondary); | 1477 background-image: url(icons/delete.svg#secondary); |
| 1477 } | 1478 } |
| 1478 | 1479 |
| 1479 #hide-notification:hover::after | 1480 #hide-notification:hover::after |
| 1480 { | 1481 { |
| 1481 background-image: url(icons/delete.svg#secondary-hover); | 1482 background-image: url(icons/delete.svg#secondary-hover); |
| 1482 } | 1483 } |
| LEFT | RIGHT |