* luci/libs/cbi: better layout for apply output
[project/luci.git] / themes / fledermaus / htdocs / luci-static / fledermaus / cascade.css
index c12a9e4..7deeaeb 100644 (file)
@@ -221,6 +221,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],
@@ -248,7 +256,7 @@ select:focus,
 select:hover,
 textarea:focus,
 textarea:hover {
-       background: #f2f3f9;
+       background-color: #f2f3f9;
 }
 
 select,
@@ -263,35 +271,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;
-       padding-right: 1px;
 }
 
+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: transparent url('../resources/cbi/add.gif') no-repeat scroll 1px center;
+       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: transparent url(../resources/cbi/fieldadd.gif) no-repeat scroll 1px center;
+       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: transparent url('../resources/cbi/reset.gif') no-repeat scroll 1px center;
+       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: transparent url('../resources/cbi/save.gif') no-repeat scroll 1px center;
+       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: transparent url('../resources/cbi/apply.gif') no-repeat scroll 1px center;
+       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: transparent url('../resources/cbi/remove.gif') no-repeat scroll 1px center;
+       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;
 }
 
@@ -381,6 +433,7 @@ div.cbi-value:hover div.cbi-value-field > div.cbi-value-description {
 
 div.cbi-section-create {
        clear: left;
+       white-space: nowrap;
 }
 
 div.cbi-map-descr {
@@ -436,6 +489,28 @@ 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;
+}
+
+ul.cbi-apply {
+       font-size: 90%;
+}
+
 .right {
        text-align: right;
 }