From 9b20f7ac521bff3848d501c1ecff49e6ccf1d61e Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 21 Oct 2018 11:47:29 +0200 Subject: [PATCH] luci-theme-material: add invalid input class Fixes #1070. Signed-off-by: Jo-Philipp Wich --- .../htdocs/luci-static/material/cascade.css | 5 +++++ 1 file changed, 5 insertions(+) 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 e62c9be21..3b53570a5 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; -- 2.25.1