luci-theme-material: add invalid input class
authorJo-Philipp Wich <jo@mein.io>
Sun, 21 Oct 2018 09:47:29 +0000 (11:47 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 5 Nov 2018 10:05:12 +0000 (11:05 +0100)
Fixes #1070.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
themes/luci-theme-material/htdocs/luci-static/material/cascade.css

index e62c9be2162542c5ffff58e3b2704d06b12d71cb..3b53570a5f1d7047ea7857e3090c1e3b8fd9a732 100644 (file)
@@ -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;