* luci/themes: add required css classes for cbi-uvl-errors
[project/luci.git] / themes / openwrt.org / htdocs / luci-static / openwrt.org / cascade.css
index ae3e5901d0a3e88477e96df9da2a3533f8155fc6..1e2e7eb7bb9aa7c7b6aaac2043b69e0f328ed00e 100644 (file)
@@ -214,6 +214,14 @@ div#content ul {
        font-size: 95%;
 }
 
+.cbi-title-ref {
+       color: inherit;
+       text-decoration: none;
+       padding-right: 18px;
+       background: url('../resources/cbi/link.gif') no-repeat scroll right center;
+       background-color: inherit;
+}
+
 input[type=submit],
 input[type=reset],
 input[type=image],
@@ -241,7 +249,7 @@ select:focus,
 select:hover,
 textarea:focus,
 textarea:hover {
-       background: #ffffff;
+       background-color: #ffffff;
 }
 
 select,
@@ -256,39 +264,79 @@ td input[type=password] {
        width: 99%;
 }
 
-input.cbi-button {
+input.cbi-input-user {
+       background: url('../resources/cbi/user.gif') no-repeat scroll 1px center;
+       background-color: inherit;
+       padding-left: 17px;
+}
+
+input.cbi-input-key {
+       background: url('../resources/cbi/key.gif') no-repeat scroll 1px center;
+       background-color: inherit;
        padding-left: 17px;
 }
 
+input.cbi-input-find {
+       background: url('../resources/cbi/find.gif') no-repeat scroll 1px center;
+       background-color: inherit;
+       padding-left: 17px;
+}
+
+input.cbi-input-reload {
+       background: url('../resources/cbi/reload.gif') no-repeat scroll 1px center;
+       background-color: inherit;
+       padding-left: 17px;
+}
+
+input.cbi-input-add,
 input.cbi-button-add {
-       background: url('../resources/cbi/add.gif') 1px 1px;
-       background-repeat: no-repeat;
+       background: url('../resources/cbi/add.gif') no-repeat scroll 1px center;
+       background-color: inherit;
+       padding-left: 17px;
+       padding-right: 1px;
 }
 
+input.cbi-input-fieldadd,
 input.cbi-button-fieldadd {
-       background: url('../resources/cbi/fieldadd.gif') 1px 1px;
-       background-repeat: no-repeat;
+       background: url(../resources/cbi/fieldadd.gif) no-repeat scroll 1px center;
+       background-color: inherit;
+       padding-left: 17px;
+       padding-right: 1px;
 }
 
+input.cbi-input-reset,
 input.cbi-button-reset {
-       background: url('../resources/cbi/reset.gif') 1px 1px;
-       background-repeat: no-repeat;
+       background: url('../resources/cbi/reset.gif') no-repeat scroll 1px center;
+       background-color: inherit;
+       padding-left: 17px;
+       padding-right: 1px;
 }
 
+input.cbi-input-save,
 input.cbi-button-save {
-       background: url('../resources/cbi/save.gif') 1px 1px;
-       background-repeat: no-repeat;
+       background: url('../resources/cbi/save.gif') no-repeat scroll 1px center;
+       background-color: inherit;
+       padding-left: 17px;
+       padding-right: 1px;
 }
 
+input.cbi-input-apply,
 input.cbi-button-apply {
-       background: url('../resources/cbi/apply.gif') 1px 1px;
-       background-repeat: no-repeat;
+       background: url('../resources/cbi/apply.gif') no-repeat scroll 1px center;
+       background-color: inherit;
+       padding-left: 17px;
+       padding-right: 1px;
 }
 
+input.cbi-input-remove,
 div.cbi-section-remove input {
-       background: url('../resources/cbi/remove.gif') 1px 1px;
-       background-repeat: no-repeat;
+       background: url('../resources/cbi/remove.gif') no-repeat scroll 1px center;
+       background-color: inherit;
        padding-left: 17px;
+       padding-right: 1px;
+}
+
+div.cbi-section-remove input {
        border-bottom: none;
 }
 
@@ -341,7 +389,8 @@ table.smalltext tr td {
 
 div.cbi-value {
        clear: left;
-       padding: 0.25em;
+       vertical-align: middle;
+       padding-left: 0.25em;
        border-bottom: 1px dotted #bbbbbb;
 }
 
@@ -356,7 +405,6 @@ div.cbi-value:last-child {
 .cbi-value-title {
        float: left;
        width: 40%;
-       margin: 0.25em 0;
 }
 
 div.cbi-value-field {
@@ -366,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 {
@@ -399,6 +440,10 @@ div.cbi-section-remove {
        padding-bottom: 0;
 }
 
+.cbi-section-node div.cbi-section-table-row {
+       margin: 0.25em;
+}
+
 table.cbi-section-table {
        width: 100%;
        font-size: 95%;
@@ -419,6 +464,34 @@ td.cbi-section-table-optionals {
        padding-top: 1em;
 }
 
+.cbi-value-helpicon img {
+       vertical-align: bottom;
+}
+
+div.cbi-error {
+       font-size: 95%;
+       font-weight: bold;
+       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;
 }
@@ -440,6 +513,13 @@ td.cbi-section-table-optionals {
        display: inline;
 }
 
+.error500 {
+       white-space: normal;
+       border: 1px dotted #FF0000;
+       background-color: #FFFFFF;
+       padding: 0.5em;
+}
+
 #memorybar {
        width:200px;
        height:8px;