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: Keep the focus of disabled elements Created Oct. 17, 2017, 7:50 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
« locale/en_US/desktop-options.json ('K') | « 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
@@ -95,6 +95,12 @@
display: none !important;
}
+[aria-disabled="true"]
+{
+ background-color: #BBB !important;
+ background-image: none !important;
+}
+
input[type="text"],
input[type="url"],
textarea,
@@ -622,41 +628,33 @@
Acceptable ads
*/
-#acceptable-ads
+#acceptable-ads ul
{
- background-color: #F3F3F3;
+ position: relative;
+ padding-left: 2rem;
+ list-style: none;
}
-#acceptable-ads > div
+html[dir="rtl"] #acceptable-ads ul
{
- position: relative;
- padding: 1.5rem;
- padding-left: 3.3rem;
- padding-right: 0.9rem;
- border: 1px solid #CDCDCD;
- border-width: 0px 1px 1px 1px;
+ padding-left: 0rem;
+ padding-right: 2rem;
}
-#acceptable-ads > div:first-of-type
+#acceptable-ads button
{
- border-top: 1px solid #CDCDCD;
+ position: absolute;
+ margin-top: 0.3rem;
+ left: 0rem;
}
-#acceptable-ads > div > p:last-of-type
+html[dir="rtl"] button
{
- margin-bottom: 0rem;
+ left: auto;
+ right: 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 label
{
font-weight: 700;
font-size: 1.375rem;
@@ -668,6 +666,19 @@
border: 1px solid #099CD0;
}
+.new
+{
+ display: inline-block;
+ margin: 0rem 0.5rem;
+ padding: 0.3rem 0.6rem;
+ border-radius: 0.2rem;
+ background-color: #099CD0;
+ color: #FFF;
+ line-height: 100%;
+ font-size: 1rem;
+ text-transform: uppercase;
+}
+
/*
Tables
*/
« 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