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

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

Issue 2406993002: MD Settings: Add style for disabled <select>. (Closed)
Patch Set: No diff Created 4 years, 2 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
« 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/md_select_css.html
diff --git a/chrome/browser/resources/settings/md_select_css.html b/chrome/browser/resources/settings/md_select_css.html
index 708d5aabd0984e31d191bacb31bc89a7b8e64060..f528d1c8987dbed68f4b4cc8aa90f3d2f9cc1018 100644
--- a/chrome/browser/resources/settings/md_select_css.html
+++ b/chrome/browser/resources/settings/md_select_css.html
@@ -26,6 +26,14 @@
width: 200px;
}
+ /* Mirroring paper-dropdown-menu disabled style. */
+ .md-select[disabled] {
+ border-bottom: 1px dashed var(--secondary-text-color);
+ color: var(--secondary-text-color);
+ opacity: 0.33;
+ pointer-events: none;
+ }
+
:host-context([dir=rtl]) .md-select {
background-position-x: 3%;
}
« 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