summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-material/htdocs/luci-static/material/cascade.css
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2018-11-23 10:26:58 +0100
committerFlorian Eckert <fe@dev.tdt.de>2018-11-23 13:17:41 +0100
commit57b8d305afa32f9ac6368af77202e8345f353d96 (patch)
treead1e2ecefc8f5ec85b51660f439a5ecb581ca2a8 /themes/luci-theme-material/htdocs/luci-static/material/cascade.css
parent42310095df04ba4e799222c6fa66908d7c183c5a (diff)
luci-theme-material: add missing css cbi-section-error definitions
Add the missing error css class definitions. Highlights the wrong inputs detected by the cbi validation function. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'themes/luci-theme-material/htdocs/luci-static/material/cascade.css')
-rw-r--r--themes/luci-theme-material/htdocs/luci-static/material/cascade.css23
1 files changed, 23 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 48812c1c8..cd8229eed 100644
--- a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css
+++ b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css
@@ -853,6 +853,29 @@ td > table > tbody > tr > td,
line-height: 1.25;
}
+.cbi-input-invalid,
+.cbi-value-error input {
+ color: #f00;
+ border-color: #f00;
+}
+
+.cbi-section-error {
+ border: 1px solid #f00;
+ border-radius: 3px;
+ background-color: #fce6e6;
+ padding: 5px;
+ margin: 18px;
+}
+
+.cbi-section-error ul {
+ margin: 0 0 0 20px;
+}
+
+.cbi-section-error ul li {
+ color: #f00;
+ font-weight: bold;
+}
+
.cbi-value-helpicon > img {
display: none;
}