Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(539)

Unified Diff: ui/webui/resources/cr_elements/shared_vars_css.html

Issue 2221073004: Replace deprecated iron-flex-layout/classes with iron-flex-layout-class in MD Settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/webui/resources/cr_elements/shared_vars_css.html
diff --git a/ui/webui/resources/cr_elements/shared_vars_css.html b/ui/webui/resources/cr_elements/shared_vars_css.html
index dceff2a6f51ecad120ccdfab787e658b72069049..d02608200fc9507b6694205941440f3a68976c28 100644
--- a/ui/webui/resources/cr_elements/shared_vars_css.html
+++ b/ui/webui/resources/cr_elements/shared_vars_css.html
@@ -9,4 +9,14 @@
--cr-focused-item-color: var(--google-grey-300);
--cr-separator-line: 1px solid rgba(0, 0, 0, 0.06);
}
+
+ /*
+ * Because everyone assumes [hidden] overrides {display: foo}.
+ * TODO(michaelpg): Rename to shared_global_css.html and import only from
+ * entry points (md_foo.html and tests). Eventually find alternative solution
+ * to this deprecated /deep/ selector (crbug.com/498405).
+ */
+ :root /deep/ [hidden] {
+ display: none !important;
+ }
dschuyler 2016/08/09 02:24:11 Could this be a separate CL?
michaelpg 2016/08/09 02:49:00 It would have to be a precursor CL, as this rule i
dschuyler 2016/08/09 17:19:13 Yeah. I'd like git bisect to be able to help test
michaelpg 2016/08/10 16:11:17 Done.
</style>

Powered by Google App Engine
This is Rietveld 408576698