* luci/themes: compat fix for all css files
[project/luci.git] / themes / fledermaus / htdocs / luci-static / fledermaus / cascade.css
index a6dbcf8..590e062 100644 (file)
@@ -16,7 +16,7 @@ code {
        white-space: pre;
 }
 
-div#content ul {
+div#maincontent ul {
        margin-left: 2em;
 }
 
@@ -164,7 +164,7 @@ div#content ul {
        float: right;
 }
 
-#content {
+#maincontent {
        clear: both;
        width: 90%;
        margin: 0 auto;
@@ -174,20 +174,20 @@ div#content ul {
        font-size: 80%;
 }
 
-#content h1 {
+#maincontent h2 {
        margin: 0.25em 0 0.5em 0;
        font-size: 150%;
        font-weight: normal;
 }
 
-#content h2 {
+#maincontent h3 {
        margin: 0.5em 0;
        font-size: 120%;
        font-weight: normal;
        text-decoration: underline;
 }
 
-#content p {
+#maincontent p {
        margin-bottom: 1em;
 }
 
@@ -221,8 +221,17 @@ 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],
 label {
        cursor: pointer;
 }
@@ -232,12 +241,22 @@ input,
 textarea {
        background: #eeeeee;
        color: #000000;
-       border: 1px solid #000000;
+       border-width: 1px;
+       border-color: #000000;
 }
 
+input[type=image] {
+       border: none;
+}
+
+
 input:focus,
-textarea:focus {
-       background: #f2f3f9;
+input:hover,
+select:focus,
+select:hover,
+textarea:focus,
+textarea:hover {
+       background-color: #f2f3f9;
 }
 
 select,
@@ -252,10 +271,80 @@ td input[type=password] {
        width: 99%;
 }
 
-button.clean {
-       cursor: pointer;
-       border: none;
+input.cbi-input-user {
+       background: url('../resources/cbi/user.gif') no-repeat scroll 1px center;
+       background-color: inherit;
+       padding-left: 17px;
+}
+
+input.cbi-input-password {
+       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') 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) 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') 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') 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') 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') no-repeat scroll 1px center;
        background-color: inherit;
+       padding-left: 17px;
+       padding-right: 1px;
+}
+
+div.cbi-section-remove input {
+       border-bottom: none;
 }
 
 textarea {
@@ -297,9 +386,18 @@ table.smalltext tr td {
        border-left: 1px solid #666666;
 }
 
+.cbi-rowstyle-1 {
+       background-color: #eeeeff;
+}
+
+.cbi-rowstyle-2 {
+
+}
+
 div.cbi-value {
        clear: left;
-       padding: 0.25em;
+       vertical-align: middle;
+       padding-left: 0.25em;
        border-bottom: 1px dotted #bbbbbb;
 }
 
@@ -314,7 +412,6 @@ div.cbi-value:last-child {
 .cbi-value-title {
        float: left;
        width: 40%;
-       margin: 0.25em 0;
 }
 
 div.cbi-value-field {
@@ -336,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 {
@@ -351,17 +449,16 @@ div.cbi-section-remove {
        float: right;
 }
 
-div.cbi-section-remove input {
-       border-color: #bbbbbb;
-       border-bottom: none;
-}
-
 .cbi-section-node {
        clear: both;
        border: 1px dotted #bbbbbb;
        padding-bottom: 0;
 }
 
+.cbi-section-node div.cbi-section-table-row {
+       margin: 0.25em;
+}
+
 table.cbi-section-table {
        width: 100%;
        font-size: 95%;
@@ -382,6 +479,38 @@ 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;
+}
+
+ul.cbi-apply {
+       font-size: 90%;
+}
+
 .right {
        text-align: right;
 }
@@ -403,6 +532,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;
@@ -443,7 +579,7 @@ td.cbi-section-table-optionals {
        width: 200% !important;
 }
 
-* html div#content {
+* html div#maincontent {
        margin-left: -80% !important;
        width: 160% !important;
 }