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

Unified Diff: ui/webui/resources/html/md_select_css.html

Issue 2811403002: WebUI: Fix md-select disabled look after adding left/right padding. (Closed)
Patch Set: Created 3 years, 8 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: ui/webui/resources/html/md_select_css.html
diff --git a/ui/webui/resources/html/md_select_css.html b/ui/webui/resources/html/md_select_css.html
index 0c483beffdd2ad6b7a9946b6138db8d86d210800..f9a8062ca2d57c38ec145e4f78e55e138ca1f4b4 100644
--- a/ui/webui/resources/html/md_select_css.html
+++ b/ui/webui/resources/html/md_select_css.html
@@ -34,10 +34,13 @@
/* Mirroring paper-dropdown-menu disabled style. */
.md-select[disabled] {
- border-bottom: 1px dashed var(--secondary-text-color);
+ pointer-events: none;
+ }
+
+ .md-select[disabled],
+ .md-select[disabled] + .md-select-underline {
color: var(--secondary-text-color);
opacity: 0.65;
- pointer-events: none;
}
:host-context([dir=rtl]) .md-select {
@@ -77,6 +80,10 @@
transition: transform 200ms ease-out;
}
+ .md-select[disabled] + .md-select-underline {
+ border-top: 1px dashed var(--secondary-text-color);
+ }
+
.md-select-wrapper {
display: inline-block;
max-width: 100%;
« 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