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

Side by Side Diff: ui/webui/resources/cr_elements/shared_vars_css.html

Issue 2231593003: Add [hidden] rule to cr-elements :root stylesheet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment spacing 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 unified diff | Download patch
« no previous file with comments | « no previous file | 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 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html "> 1 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html ">
2 2
3 <!-- Common css variables for Material Design WebUI. --> 3 <!-- Common css variables for Material Design WebUI. -->
4 <style is="custom-style"> 4 <style is="custom-style">
5 :root { 5 :root {
6 --cr-actionable: { 6 --cr-actionable: {
7 cursor: pointer; 7 cursor: pointer;
8 }; 8 };
9 --cr-focused-item-color: var(--google-grey-300); 9 --cr-focused-item-color: var(--google-grey-300);
10 --cr-separator-line: 1px solid rgba(0, 0, 0, 0.06); 10 --cr-separator-line: 1px solid rgba(0, 0, 0, 0.06);
11 } 11 }
12
13 /* Because everyone assumes [hidden] overrides {display: foo}.
14 * TODO(michaelpg): Rename to shared_global_css.html and import only from
15 * entry points (md_foo.html and tests). Eventually find alternative solution
16 * to this deprecated /deep/ selector (crbug.com/498405). */
17 :root /deep/ [hidden] {
18 display: none !important;
19 }
12 </style> 20 </style>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698