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

Unified Diff: skin/desktop-options.css

Issue 29578574: Issue 5632 - Use checkboxes for toggling acceptable ads (Closed)
Patch Set: Rebased Created Oct. 17, 2017, 3:59 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « locale/en_US/desktop-options.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skin/desktop-options.css
===================================================================
--- a/skin/desktop-options.css
+++ b/skin/desktop-options.css
@@ -622,41 +622,21 @@
Acceptable ads
*/
-#acceptable-ads
+#acceptable-ads ul
{
- background-color: #F3F3F3;
+ position: relative;
+ padding-left: 2rem;
+ list-style: none;
}
-#acceptable-ads > div
+#acceptable-ads ul li button
{
- position: relative;
- padding: 1.5rem;
- padding-left: 3.3rem;
- padding-right: 0.9rem;
- border: 1px solid #CDCDCD;
- border-width: 0px 1px 1px 1px;
+ position: absolute;
+ margin-top: 0.3rem;
+ left: 0rem;
}
-#acceptable-ads > div:first-of-type
-{
- border-top: 1px solid #CDCDCD;
-}
-
-#acceptable-ads > div > p:last-of-type
-{
- margin-bottom: 0rem;
-}
-
-#acceptable-ads > div input
-{
- position: absolute;
- left: 0rem;
- margin: 0.25rem 0.9rem;
- width: 1.3rem;
- height: 1.3rem;
-}
-
-#acceptable-ads > div label
+#acceptable-ads ul li label
{
font-weight: 700;
font-size: 1.375rem;
@@ -668,6 +648,18 @@
border: 1px solid #099CD0;
}
+.new
+{
+ display: inline-block;
+ margin: 0rem 0.5rem;
+ padding: 0.3rem 0.5rem;
+ border-radius: 0.2rem;
+ background-color: #099CD0;
+ color: #FFF;
+ line-height: 100%;
+ font-size: 1rem;
+}
+
/*
Tables
*/
« no previous file with comments | « locale/en_US/desktop-options.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld