summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-11-27 23:46:08 +0100
committerGitHub <noreply@github.com>2018-11-27 23:46:08 +0100
commit4fe427ebcdf23435d4429e2d1748f660a1cf5aff (patch)
tree00e34d0c45638f24e3e7e1b72492c86ff0cf4c5a
parent7e2b21d9b41ea7e6c624f9e12fdad913547dd8a8 (diff)
parent57b8d305afa32f9ac6368af77202e8345f353d96 (diff)
Merge pull request #2329 from TDT-AG/pr/20181123-luci-theme-material
luci-theme-material: add missing css cbi-section-error definitions
-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;
}