* luci/themes: fix margin for field titles
[project/luci.git] / themes / openwrt.org / htdocs / luci-static / openwrt.org / cascade.css
index ae3e590..aed90ae 100644 (file)
@@ -258,37 +258,33 @@ td input[type=password] {
 
 input.cbi-button {
        padding-left: 17px;
+       padding-right: 1px;
 }
 
 input.cbi-button-add {
-       background: url('../resources/cbi/add.gif') 1px 1px;
-       background-repeat: no-repeat;
+       background: transparent url('../resources/cbi/add.gif') no-repeat scroll 1px center;
 }
 
 input.cbi-button-fieldadd {
-       background: url('../resources/cbi/fieldadd.gif') 1px 1px;
-       background-repeat: no-repeat;
+       background: transparent url(../resources/cbi/fieldadd.gif) no-repeat scroll 1px center;
 }
 
 input.cbi-button-reset {
-       background: url('../resources/cbi/reset.gif') 1px 1px;
-       background-repeat: no-repeat;
+       background: transparent url('../resources/cbi/reset.gif') no-repeat scroll 1px center;
 }
 
 input.cbi-button-save {
-       background: url('../resources/cbi/save.gif') 1px 1px;
-       background-repeat: no-repeat;
+       background: transparent url('../resources/cbi/save.gif') no-repeat scroll 1px center;
 }
 
 input.cbi-button-apply {
-       background: url('../resources/cbi/apply.gif') 1px 1px;
-       background-repeat: no-repeat;
+       background: transparent url('../resources/cbi/apply.gif') no-repeat scroll 1px center;
 }
 
 div.cbi-section-remove input {
-       background: url('../resources/cbi/remove.gif') 1px 1px;
-       background-repeat: no-repeat;
+       background: transparent url('../resources/cbi/remove.gif') no-repeat scroll 1px center;
        padding-left: 17px;
+       padding-right: 1px;
        border-bottom: none;
 }
 
@@ -341,7 +337,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 +353,6 @@ div.cbi-value:last-child {
 .cbi-value-title {
        float: left;
        width: 40%;
-       margin: 0.25em 0;
 }
 
 div.cbi-value-field {
@@ -399,6 +395,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 +419,12 @@ td.cbi-section-table-optionals {
        padding-top: 1em;
 }
 
+div.cbi-error {
+       font-size: 95%;
+       font-weight: bold;
+       color: #FF0000;
+}
+
 .right {
        text-align: right;
 }
@@ -440,6 +446,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;