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

Unified Diff: css/desktop-options.scss

Issue 29733668: Handle disabled state of AA
Patch Set: Hide toggle button when AA is enabled (Manvel Suggestion) Created March 26, 2018, 9 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 | « no previous file | js/desktop-options.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: css/desktop-options.scss
===================================================================
--- a/css/desktop-options.scss
+++ b/css/desktop-options.scss
@@ -1101,16 +1101,26 @@
font-weight: 400;
}
li.preconfigured [data-hide="preconfigured"]
{
display: none !important;
}
+li:not(.acceptable-ads) [data-show="acceptable-ads"]
+{
+ display: none;
+}
+
+li.acceptable-ads [data-hide="acceptable-ads"]
+{
+ display: none;
+}
+
/*
Tooltips
*/
.tooltip
{
position: relative;
margin: 0rem;
« no previous file with comments | « no previous file | js/desktop-options.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld