summaryrefslogtreecommitdiffhomepage
path: root/themes
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-10-21 11:47:29 +0200
committerJo-Philipp Wich <jo@mein.io>2018-11-05 11:05:12 +0100
commit9b20f7ac521bff3848d501c1ecff49e6ccf1d61e (patch)
tree07900342b15047c6dbe10957d5afa30de9345c1e /themes
parent7c78218339ac914f097db79c343b07ea86c7313a (diff)
luci-theme-material: add invalid input class
Fixes #1070. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'themes')
-rw-r--r--themes/luci-theme-material/htdocs/luci-static/material/cascade.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css
index e62c9be216..3b53570a5f 100644
--- a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css
+++ b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css
@@ -1254,6 +1254,11 @@ td > table > tbody > tr > td,
width: 15rem;
}
+.cbi-value-field .cbi-input-invalid {
+ border-bottom-color: #f00;
+ color: #f00;
+}
+
.th[data-type="button"], .td[data-type="button"],
.th[data-type="fvalue"], .td[data-type="fvalue"] {
flex: 1 1 2em;