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: Created Oct. 16, 2017, 5:36 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') | « locale/en_US/desktop-options.json ('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 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 615
616 section.cols > *:last-child 616 section.cols > *:last-child
617 { 617 {
618 flex: 3; 618 flex: 3;
619 } 619 }
620 620
621 /* 621 /*
622 Acceptable ads 622 Acceptable ads
623 */ 623 */
624 624
625 #acceptable-ads 625 #acceptable-ads ul
626 { 626 {
627 background-color: #F3F3F3; 627 position: relative;
628 padding-left: 2rem;
629 list-style: none;
628 } 630 }
629 631
630 #acceptable-ads > div 632 #acceptable-ads ul li button
ire 2017/10/17 08:16:34 NIT: This may not be to be so specific. `#acceptab
saroyanm 2017/10/17 19:23:07 Done.
saroyanm 2017/10/17 19:23:08 Done.
631 { 633 {
632 position: relative; 634 position: absolute;
633 padding: 1.5rem; 635 margin-top: 0.3rem;
634 padding-left: 3.3rem; 636 left: 0rem;
ire 2017/10/17 08:16:34 The checkbox is still on the left when direction i
saroyanm 2017/10/17 19:23:07 Done.
635 padding-right: 0.9rem;
636 border: 1px solid #CDCDCD;
637 border-width: 0px 1px 1px 1px;
638 } 637 }
639 638
640 #acceptable-ads > div:first-of-type 639 #acceptable-ads ul li label
ire 2017/10/17 08:16:34 NIT: Same here. Suggest: `#acceptable-ads label`
saroyanm 2017/10/17 19:23:07 Done.
saroyanm 2017/10/17 19:23:07 Done.
641 {
642 border-top: 1px solid #CDCDCD;
643 }
644
645 #acceptable-ads > div > p:last-of-type
646 {
647 margin-bottom: 0rem;
648 }
649
650 #acceptable-ads > div input
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 { 640 {
661 font-weight: 700; 641 font-weight: 700;
662 font-size: 1.375rem; 642 font-size: 1.375rem;
663 } 643 }
664 644
665 #dnt 645 #dnt
666 { 646 {
667 padding: 0.8rem; 647 padding: 0.8rem;
668 border: 1px solid #099CD0; 648 border: 1px solid #099CD0;
669 } 649 }
670 650
651 .new
ire 2017/10/17 08:16:34 In the spec, this text is uppercase. Also, it seem
saroyanm 2017/10/17 19:23:07 I used the styles that match the old design here -
652 {
653 display: inline-block;
654 margin: 0rem 0.5rem;
655 padding: 0.3rem 0.5rem;
656 border-radius: 0.2rem;
657 background-color: #099CD0;
658 color: #FFF;
659 line-height: 100%;
660 font-size: 1rem;
661 }
662
671 /* 663 /*
672 Tables 664 Tables
673 */ 665 */
674 666
675 ul.table, 667 ul.table,
676 ul.list 668 ul.list
677 { 669 {
678 list-style: none; 670 list-style: none;
679 margin: 0rem; 671 margin: 0rem;
680 padding: 0rem; 672 padding: 0rem;
(...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after
1453 1445
1454 #hide-notification::after 1446 #hide-notification::after
1455 { 1447 {
1456 background-color: #099DD1; 1448 background-color: #099DD1;
1457 } 1449 }
1458 1450
1459 #hide-notification:hover::after 1451 #hide-notification:hover::after
1460 { 1452 {
1461 background-color: #5CBCE1; 1453 background-color: #5CBCE1;
1462 } 1454 }
OLDNEW
« desktop-options.js ('K') | « locale/en_US/desktop-options.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld