themes/openwrt.org: add reference css for cbi tabs
[project/luci.git] / themes / openwrt.org / htdocs / luci-static / openwrt.org / cascade.css
index 7457977..01ccb1e 100644 (file)
@@ -2,20 +2,21 @@
 
 @media all {
 
-html,
+html {
+       min-height: 100%;
+       height: auto;
+}
+
 body {
+       color: #ffffff;
        background-color: #4a6b7c;
        background-image: url(bg.jpg);
        background-position: bottom center;
-       background-attachment: fixed;
        background-repeat: repeat-x;
-       color: #ffffff;
-}
-
-body {
        font-family: Verdana, Arial, sans-serif;
        font-size: 101%;
        line-height: 100%;
+       padding-bottom: 1.5em;
 }
 
 * {
@@ -333,6 +334,14 @@ html #menubar a:visited.warning {
        width: 11.5em;
 }
 
+textarea#syslog {
+       width: 98%;
+       min-height: 500px;
+       border: 3px solid #cccccc;
+       padding: 5px;
+       font-family: monospace;
+}
+
 #maincontent {
        clear: both;
        width: 80%;
@@ -347,16 +356,22 @@ html #menubar a:visited.warning {
 }
 
 #maincontent h2 {
-       margin: 0.25em 0 0.5em 0;
        font-size: 150%;
-       font-weight: normal;
+       font-family: Trebuchet MS, Verdana, sans-serif;
+       font-weight: bold;
+       margin: 0.25em 0 0.7em 0;
+       border-bottom: 1px solid;
+       padding-top: 10px;
+       padding-bottom: 4px;
 }
 
 #maincontent h3 {
-       margin: 0.5em 0;
-       font-size: 120%;
-       font-weight: normal;
-       text-decoration: underline;
+       margin: 0.5em 0 1.1em 0;
+       font-size: 125%;
+       font-weight: bold;
+       font-style: italic;
+       font-family: Trebuchet MS, Verdana, sans-serif;
+       color: #27408B;
 }
 
 #maincontent p {
@@ -455,14 +470,14 @@ input.cbi-input-user {
        background: url('../resources/cbi/user.gif') no-repeat scroll 1px center;
        background-color: inherit;
        color: #000000;
-       padding-left: 17px;
+       text-indent: 17px;
 }
 
 input.cbi-input-password {
        background: url('../resources/cbi/key.gif') no-repeat scroll 1px center;
        background-color: inherit;
        color: #000000;
-       padding-left: 17px;
+       text-indent: 17px;
 }
 
 input.cbi-input-find {
@@ -630,6 +645,15 @@ div.cbi-value-description {
 div.cbi-section-create {
        clear: left;
        white-space: nowrap;
+       vertical-align: top;
+}
+
+div.cbi-tblsection-create {
+       border-bottom: 1px dotted #bbbbbb;
+}
+
+div.cbi-section-create .cbi-button {
+       margin: 0.25em;
 }
 
 input.cbi-section-create-name {
@@ -687,15 +711,6 @@ td.cbi-section-table-optionals {
        padding-top: 1em;
 }
 
-div.cbi-section-create {
-       border-bottom: 1px dotted #bbbbbb;
-       vertical-align: top;
-}
-
-div.cbi-section-create .cbi-button {
-       margin: 0.25em;
-}
-
 .cbi-value-helpicon img {
        vertical-align: bottom;
 }
@@ -726,6 +741,51 @@ td.cbi-value-error {
        padding: 3px;
 }
 
+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 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;
+}
+
 .right {
        text-align: right;
 }