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

Unified Diff: chrome/browser/resources/settings/settings_shared_css.html

Issue 2570783002: MD Settings: actually hide subpage and open-in-new indicators when inactive (Closed)
Patch Set: . Created 4 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/settings_shared_css.html
diff --git a/chrome/browser/resources/settings/settings_shared_css.html b/chrome/browser/resources/settings/settings_shared_css.html
index 50002a165ada72a80e33259f5732c08587ae87b7..9c9f57f74f21c74beed5f47c8e85f8f67b395da8 100644
--- a/chrome/browser/resources/settings/settings_shared_css.html
+++ b/chrome/browser/resources/settings/settings_shared_css.html
@@ -26,14 +26,24 @@
transform: scaleX(-1); /* Flip on the X axis (aka mirror). */
}
- [actionable] button[is='paper-icon-button-light'].subpage-arrow {
+ button[is='paper-icon-button-light'].subpage-arrow {
background-image: url(images/arrow_right.svg);
}
- [actionable] button[is='paper-icon-button-light'].icon-external {
+ button[is='paper-icon-button-light'].icon-external {
background-image: url(images/open_in_new.svg);
}
+ .subpage-arrow,
+ .icon-external {
+ display: none;
+ }
+
+ [actionable] :-webkit-any(.subpage-arrow, .icon-external),
+ [actionable]:-webkit-any(.subpage-arrow, .icon-external) {
+ display: block;
+ }
+
:host-context([dir=rtl]) paper-icon-button[icon='settings:arrow-back'] {
transform: scaleX(-1); /* Flip on the X axis (aka mirror). */
}
« 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