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: Removed strings Created Oct. 18, 2017, 3:16 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
« desktop-options.js ('K') | « desktop-options.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"]
ire 2017/10/18 17:48:45 There's already a set of styles applied to disable
saroyanm 2017/10/19 20:41:59 Great idea, done.
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 }
(...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after
1453 1451
1454 #hide-notification::after 1452 #hide-notification::after
1455 { 1453 {
1456 background-color: #099DD1; 1454 background-color: #099DD1;
1457 } 1455 }
1458 1456
1459 #hide-notification:hover::after 1457 #hide-notification:hover::after
1460 { 1458 {
1461 background-color: #5CBCE1; 1459 background-color: #5CBCE1;
1462 } 1460 }
OLDNEW
« desktop-options.js ('K') | « desktop-options.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld