themes/openwrt.org: add css class for invalid fields
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 26 Apr 2010 00:27:37 +0000 (00:27 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 26 Apr 2010 00:27:37 +0000 (00:27 +0000)
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;
 }