themes/openwrt.org: add css class for invalid fields
[project/luci.git] / themes / openwrt.org / htdocs / luci-static / openwrt.org / cascade.css
index 122dc23..ae9d45a 100644 (file)
@@ -548,6 +548,14 @@ div.cbi-section-remove input {
        padding-right: 1px;
 }
 
+.cbi-input-invalid {
+       background-image: url('../resources/cbi/reset.gif');
+       background-repeat: no-repeat;
+       background-position: right;
+       color: #FF0000 !important;
+       border-color: #FF0000;
+}
+
 div.cbi-section-remove input {
        border-bottom: none;
 }