themes: CSS fix for iface badges
[project/luci.git] / themes / fledermaus / htdocs / luci-static / fledermaus / cascade.css
index 537b2ea..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,6 +229,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],
@@ -263,18 +279,36 @@ td input[type=password] {
        width: 99%;
 }
 
+img.cbi-image-button {
+       cursor: pointer;
+       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-key {
+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;
@@ -323,6 +357,54 @@ div.cbi-section-remove input {
        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;
 }
@@ -374,6 +456,11 @@ table.smalltext tr td {
 
 }
 
+table.cbi-section-table .cbi-section-table-cell {
+       padding: 3px;
+       white-space: nowrap;
+}
+
 div.cbi-value {
        clear: left;
        vertical-align: middle;
@@ -403,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 {
@@ -468,8 +548,84 @@ 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%;
+}
+
+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 {
@@ -496,32 +652,6 @@ div.cbi-error {
        padding: 0.5em;
 }
 
-#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;
-}
-
-
 /* obligatory IE6 Voodoo Code */
 * html body {
        padding-left: 50% !important;
@@ -536,7 +666,7 @@ div.cbi-error {
        width: 200% !important;
 }
 
-* html div#content {
+* html div#maincontent {
        margin-left: -80% !important;
        width: 160% !important;
 }
@@ -573,3 +703,35 @@ div.cbi-error {
 * 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;
+}