* luci/themes: add required css classes for cbi-uvl-errors
[project/luci.git] / themes / openwrt.org / htdocs / luci-static / openwrt.org / cascade.css
index add60dfb1c19f513e7a1256ffe674d2aa30d74c4..1e2e7eb7bb9aa7c7b6aaac2043b69e0f328ed00e 100644 (file)
@@ -414,14 +414,7 @@ div.cbi-value-field {
 
 div.cbi-value-description {
        font-size: 90%;
-}
-
-div.cbi-value-field > div.cbi-value-description {
-       display: none;
-}
-
-div.cbi-value:hover div.cbi-value-field > div.cbi-value-description {
-       display: block;
+       display: inline;
 }
 
 div.cbi-section-create {
@@ -481,6 +474,24 @@ div.cbi-error {
        color: #FF0000;
 }
 
+td.cbi-value-error {
+       border-color: red !important;
+}
+
+.cbi-value-error input,
+.cbi-value-error select {
+       color: red !important;
+       background-color: #FFCCCC;
+}
+
+.cbi-section-error {
+       color: red;
+       font-size: 95%;
+       border: 1px dotted red;
+       margin: 3px;
+       padding: 3px;
+}
+
 .right {
        text-align: right;
 }