themes: CSS fix for iface badges
[project/luci.git] / themes / fledermaus / htdocs / luci-static / fledermaus / cascade.css
index a6dbcf8..18b7f1c 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,23 +174,31 @@ 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;
 }
 
+textarea#syslog {
+       width: 98%;
+       min-height: 500px;
+       border: 3px solid #cccccc;
+       padding: 5px;
+       font-family: monospace;
+}
+
 .cbi-section {
        margin-bottom: 0.5em;
        padding: 0.5em 1em;
@@ -221,8 +229,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 +249,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 +279,134 @@ td input[type=password] {
        width: 99%;
 }
 
-button.clean {
+img.cbi-image-button {
        cursor: pointer;
-       border: none;
+       margin: 0 2px;
+       vertical-align: middle;
+}
+
+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;
+}
+
+input.cbi-button-up {
+       background-image: url('../resources/cbi/up.gif');
+       padding-left: 11px;
+       padding-right: 1px;
+}
+
+input.cbi-button-down {
+       background-image: url('../resources/cbi/down.gif');
+       padding-left: 11px;
+       padding-right: 1px;
+}
+
+input.cbi-button-edit {
+       background-image: url('../resources/cbi/edit.gif');
+       color: #000000;
+       padding-left: 17px;
+       padding-right: 1px;
+}
+
+input.cbi-button-reload {
+       background-image: url('../resources/cbi/reload.gif');
+       color: #000000;
+       padding-left: 17px;
+       padding-right: 1px;
+}
+
+input.cbi-button-reset {
+       background-image: url('../resources/cbi/reset.gif');
+       color: #000000;
+       padding-left: 17px;
+       padding-right: 1px;
+}
+
+input.cbi-button-remove {
+       background-image: url('../resources/cbi/remove.gif');
+       color: #000000;
+       padding-left: 17px;
+       padding-right: 1px;
+}
+
+.cbi-input-invalid {
+       background-image: url('../resources/cbi/reset.gif');
+       background-repeat: no-repeat;
+       background-position: right;
+       color: #FF0000 !important;
+       border-color: #FF0000;
+}
+
+div.cbi-section-remove input {
+       border-bottom: none;
 }
 
 textarea {
@@ -297,9 +448,23 @@ table.smalltext tr td {
        border-left: 1px solid #666666;
 }
 
+.cbi-rowstyle-1 {
+       background-color: #eeeeff;
+}
+
+.cbi-rowstyle-2 {
+
+}
+
+table.cbi-section-table .cbi-section-table-cell {
+       padding: 3px;
+       white-space: nowrap;
+}
+
 div.cbi-value {
        clear: left;
-       padding: 0.25em;
+       vertical-align: middle;
+       padding-left: 0.25em;
        border-bottom: 1px dotted #bbbbbb;
 }
 
@@ -314,7 +479,6 @@ div.cbi-value:last-child {
 .cbi-value-title {
        float: left;
        width: 40%;
-       margin: 0.25em 0;
 }
 
 div.cbi-value-field {
@@ -326,16 +490,9 @@ 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;
-}
-
 div.cbi-section-create {
        clear: left;
+       white-space: nowrap;
 }
 
 div.cbi-map-descr {
@@ -351,17 +508,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,8 +538,94 @@ 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%;
+}
+
+ul.cbi-tabmenu {
+       padding: 3px 0;
+       margin-left: 0 !important;
+       margin-bottom: -1px;
+       list-style-type: none;
+}
+
+ul.cbi-tabmenu li.cbi-tab,
+ul.cbi-tabmenu li.cbi-tab-disabled {
+       display: inline;
+       margin: 0;
+}
+
+ul.cbi-tabmenu li.cbi-tab a,
+ul.cbi-tabmenu li.cbi-tab-disabled a {
+       text-decoration: none;
+       padding: 3px 7px;
+       margin-right: 3px;
+       border: 1px outset #000000;
+       border-bottom: none;
+       background-color: #EEEEEE;
+       color: #BBBBBB;
+}
+
+ul.cbi-tabmenu li.cbi-tab-highlighted a {
+       color: #000000;
+       background-color: #FFEEAA;
+}
+
+ul.cbi-tabmenu li a:hover {
+       color: #000000;
+}
+
+ul.cbi-tabmenu li.cbi-tab a {
+       position: relative;
+       top: 1px;
+       padding-top: 4px;
+       color: #000000;
+       background-color: #FFFFFF;
+}
+
+div.cbi-tab-descr {
+       background-image: url(/luci-static/resources/cbi/help.gif);
+       background-position: 0.25em 50%;
+       background-repeat: no-repeat;
+       border-bottom: 1px solid #CCCCCC;
+       margin: 0.25em 0.25em 2em;
+       padding: 0.5em 0.5em 0.5em 2em;
+}
+
+.left {
+       text-align: left !important;
+}
+
 .right {
-       text-align: right;
+       text-align: right !important;
 }
 
 .luci {
@@ -403,32 +645,13 @@ td.cbi-section-table-optionals {
        display: inline;
 }
 
-#memorybar {
-       width:200px;
-       height:8px;
-       border:1px solid #bbb;
-       background-color:red
-}
-
-#memfree, #membuffers, #memcached {
-       float:right;
-       border:1px solid #bbb;
-       height:6px;
-}
-
-#memfree {
-       background-color:green;
-}
-
-#membuffers {
-       background-color:yellow;
-}
-
-#memcached {
-       background-color:orange;
+.error500 {
+       white-space: normal;
+       border: 1px dotted #FF0000;
+       background-color: #FFFFFF;
+       padding: 0.5em;
 }
 
-
 /* obligatory IE6 Voodoo Code */
 * html body {
        padding-left: 50% !important;
@@ -443,7 +666,7 @@ td.cbi-section-table-optionals {
        width: 200% !important;
 }
 
-* html div#content {
+* html div#maincontent {
        margin-left: -80% !important;
        width: 160% !important;
 }
@@ -480,3 +703,35 @@ td.cbi-section-table-optionals {
 * html div.cbi-value-description {
        margin-left: 40%;
 }
+
+
+.ifacebox {
+       background-color: #FFFFFF;
+       border: 1px solid #CCCCCC;
+       margin: 0 10px;
+       text-align: center;
+       white-space: nowrap;
+}
+
+.ifacebox .ifacebox-head {
+       border-bottom: 1px solid #CCCCCC;
+       padding: 2px;
+}
+
+.ifacebox .ifacebox-body {
+       padding: 2px;
+}
+
+
+.ifacebadge {
+       background-color: #FFFFFF;
+       border: 1px solid #CCCCCC;
+       padding: 2px;
+       margin-left: 2px;
+       display: inline-block;
+}
+
+.ifacebadge-active {
+       border-color: #000000;
+       font-weight: bold;
+}