Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: skin/desktop-options.css

Issue 29578574: Issue 5632 - Use checkboxes for toggling acceptable ads (Closed)
Patch Set: Keep the focus of disabled elements Created Oct. 17, 2017, 7:50 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 ul 88 ul
89 { 89 {
90 margin: 0rem; 90 margin: 0rem;
91 } 91 }
92 92
93 [aria-hidden="true"] 93 [aria-hidden="true"]
94 { 94 {
95 display: none !important; 95 display: none !important;
96 } 96 }
97 97
98 [aria-disabled="true"]
99 {
100 background-color: #BBB !important;
101 background-image: none !important;
102 }
103
98 input[type="text"], 104 input[type="text"],
99 input[type="url"], 105 input[type="url"],
100 textarea, 106 textarea,
101 main 107 main
102 { 108 {
103 -webkit-box-sizing: border-box; 109 -webkit-box-sizing: border-box;
104 -moz-box-sizing: border-box; 110 -moz-box-sizing: border-box;
105 box-sizing: border-box; 111 box-sizing: border-box;
106 } 112 }
107 113
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 621
616 section.cols > *:last-child 622 section.cols > *:last-child
617 { 623 {
618 flex: 3; 624 flex: 3;
619 } 625 }
620 626
621 /* 627 /*
622 Acceptable ads 628 Acceptable ads
623 */ 629 */
624 630
625 #acceptable-ads 631 #acceptable-ads ul
626 { 632 {
627 background-color: #F3F3F3; 633 position: relative;
634 padding-left: 2rem;
635 list-style: none;
628 } 636 }
629 637
630 #acceptable-ads > div 638 html[dir="rtl"] #acceptable-ads ul
631 { 639 {
632 position: relative; 640 padding-left: 0rem;
633 padding: 1.5rem; 641 padding-right: 2rem;
634 padding-left: 3.3rem;
635 padding-right: 0.9rem;
636 border: 1px solid #CDCDCD;
637 border-width: 0px 1px 1px 1px;
638 } 642 }
639 643
640 #acceptable-ads > div:first-of-type 644 #acceptable-ads button
641 { 645 {
642 border-top: 1px solid #CDCDCD; 646 position: absolute;
647 margin-top: 0.3rem;
648 left: 0rem;
643 } 649 }
644 650
645 #acceptable-ads > div > p:last-of-type 651 html[dir="rtl"] button
646 { 652 {
647 margin-bottom: 0rem; 653 left: auto;
654 right: 0rem;
648 } 655 }
649 656
650 #acceptable-ads > div input 657 #acceptable-ads label
651 {
652 position: absolute;
653 left: 0rem;
654 margin: 0.25rem 0.9rem;
655 width: 1.3rem;
656 height: 1.3rem;
657 }
658
659 #acceptable-ads > div label
660 { 658 {
661 font-weight: 700; 659 font-weight: 700;
662 font-size: 1.375rem; 660 font-size: 1.375rem;
663 } 661 }
664 662
665 #dnt 663 #dnt
666 { 664 {
667 padding: 0.8rem; 665 padding: 0.8rem;
668 border: 1px solid #099CD0; 666 border: 1px solid #099CD0;
669 } 667 }
670 668
669 .new
670 {
671 display: inline-block;
672 margin: 0rem 0.5rem;
673 padding: 0.3rem 0.6rem;
674 border-radius: 0.2rem;
675 background-color: #099CD0;
676 color: #FFF;
677 line-height: 100%;
678 font-size: 1rem;
679 text-transform: uppercase;
680 }
681
671 /* 682 /*
672 Tables 683 Tables
673 */ 684 */
674 685
675 ul.table, 686 ul.table,
676 ul.list 687 ul.list
677 { 688 {
678 list-style: none; 689 list-style: none;
679 margin: 0rem; 690 margin: 0rem;
680 padding: 0rem; 691 padding: 0rem;
(...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after
1453 1464
1454 #hide-notification::after 1465 #hide-notification::after
1455 { 1466 {
1456 background-color: #099DD1; 1467 background-color: #099DD1;
1457 } 1468 }
1458 1469
1459 #hide-notification:hover::after 1470 #hide-notification:hover::after
1460 { 1471 {
1461 background-color: #5CBCE1; 1472 background-color: #5CBCE1;
1462 } 1473 }
OLDNEW
« locale/en_US/desktop-options.json ('K') | « locale/en_US/desktop-options.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld