summaryrefslogtreecommitdiffhomepage
path: root/themes/bootstrap
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2014-07-01 11:09:33 +0000
committerJo-Philipp Wich <jow@openwrt.org>2014-07-01 11:09:33 +0000
commit3ebb5194116ef7c8f411f87764349072660554d0 (patch)
tree2ab050b28d419dd145c1f556281aa3e9caa944a8 /themes/bootstrap
parent89678917bd244337728f3303b9be98455e952dfd (diff)
themes/bootstrap: add missing styles for server side validation errors
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'themes/bootstrap')
-rw-r--r--themes/bootstrap/htdocs/luci-static/bootstrap/cascade.css17
1 files changed, 16 insertions, 1 deletions
diff --git a/themes/bootstrap/htdocs/luci-static/bootstrap/cascade.css b/themes/bootstrap/htdocs/luci-static/bootstrap/cascade.css
index 24b0e049b..7654aa303 100644
--- a/themes/bootstrap/htdocs/luci-static/bootstrap/cascade.css
+++ b/themes/bootstrap/htdocs/luci-static/bootstrap/cascade.css
@@ -1337,7 +1337,8 @@ footer {
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}
-.cbi-input-invalid {
+.cbi-input-invalid,
+.cbi-value-error input {
color: #FF0000;
border-color: #FF0000;
}
@@ -1771,6 +1772,20 @@ table.cbi-section-table td.cbi-section-table-cell select {
.cbi-value-description img { vertical-align: middle; }
+.cbi-section-error {
+ border: 1px solid #FF0000;
+ border-radius: 3px;
+ background-color: #FCE6E6;
+ padding: 5px;
+}
+
+.cbi-section-error ul { margin: 0 0 0 20px; }
+
+.cbi-section-error ul li {
+ color: #FF0000;
+ font-weight: bold;
+}
+
.ifacebox {
background-color: #FFFFFF;
border: 1px solid #CCCCCC;