themes/bootstrap: add missing styles for server side validation errors

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
This commit is contained in:
Jo-Philipp Wich 2014-07-01 11:09:33 +00:00
parent 89678917bd
commit 3ebb519411

View 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;