themes/bootstrap: add missing styles for server side validation errors
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 1 Jul 2014 11:09:33 +0000 (11:09 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 1 Jul 2014 11:09:33 +0000 (11:09 +0000)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
themes/bootstrap/htdocs/luci-static/bootstrap/cascade.css

index 24b0e049bb065d0bdd0a35ae2c4f21a3eeffd275..7654aa3032c161fdc429cfc65b3203a7fcd4035c 100644 (file)
@@ -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;