X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=themes%2Fopenwrt.org%2Fhtdocs%2Fluci-static%2Fopenwrt.org%2Fcascade.css;h=c699af6a913a2b2519d4af35a6c3db3c65e9d073;hb=4e587d53a882be462f32e9e4bf03d87ed216871d;hp=ef1b57a1bac94a20430874c8a566b5d1f19c7a67;hpb=40fbc2d7c25b3994e33567e5983f76ed7a615d2e;p=project%2Fluci.git diff --git a/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css b/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css index ef1b57a1b..c699af6a9 100644 --- a/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css +++ b/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css @@ -24,6 +24,11 @@ div#content ul { margin-left: 2em; } +.warning { + color: red !important; + font-weight: bold; +} + .clear { clear: both; height: 1px; @@ -39,7 +44,7 @@ div#content ul { #header { min-height: 98px; - background-image: url(header.jpg); + background-image: url(header.png); background-repeat: no-repeat; background-position: left center; background-color: #557788; @@ -75,10 +80,6 @@ div#content ul { color: #ffffff; } -* html .mainmenu { - height: 1.8em; -} - .mainmenu div { float: left; } @@ -155,7 +156,7 @@ div#content ul { #content { clear: both; - width: 60%; + width: 80%; margin: 0 auto; padding: 0.5em; background: #f5f5f5; @@ -190,17 +191,27 @@ div#content ul { background-color: #ffffff; } +.cbi-section legend { + font-size: 110%; + font-weight: bold; + height: 1em; + padding: 0 0.25em; + color: #555555; +} + .cbi-section h2 { margin: 0em 0 0.5em -0.5em !important; } .cbi-section h3 { - height: 1em; - font-size: 120%; + height: 1.5em; + font-size: 90%; + color: #555555; } .cbi-section-descr { margin-bottom: 0.5em; + font-size: 95%; } input[type=submit], @@ -251,11 +262,19 @@ table.smalltext { border-right: 1px solid #666666; border-bottom: 1px solid #666666; font-size: 90%; + width: 80%; + margin-left: auto; + margin-right: auto; +} + +table.smalltext tr:hover td { + background-color: #bbddee; } table.smalltext tr th { padding: 0 0.25em; border-left: 1px solid #666666; + text-align: left; } table.smalltext tr td { @@ -280,19 +299,27 @@ div.cbi-value:last-child { .cbi-value-title { float: left; - width: 30%; + width: 40%; margin: 0.25em 0; } div.cbi-value-field { - width: 68%; - margin: 0.25em 0 0.25em 30%; + width: 58%; + margin: 0.25em 0 0.25em 40%; } 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; } @@ -315,7 +342,7 @@ div.cbi-section-remove input { border-bottom: none; } -div.cbi-section-node { +.cbi-section-node { clear: both; border: 1px dotted #bbbbbb; padding-bottom: 0; @@ -358,10 +385,38 @@ td.cbi-section-table-optionals { font-size: 70%; } +.inline { + 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; +} + /* obligatory IE6 Voodoo Code */ * html body { - behavior:url(/luci/csshover_htc/void.htc); padding-left: 50% !important; } @@ -375,8 +430,8 @@ td.cbi-section-table-optionals { } * html div#content { - margin-left: -60% !important; - width: 120% !important; + margin-left: -80% !important; + width: 160% !important; } * html div.mainmenu div.hover ul, @@ -403,3 +458,11 @@ td.cbi-section-table-optionals { height: 1em !important; width: 10em !important; } + +* html .mainmenu { + height: 1.8em; +} + +* html div.cbi-value-description { + margin-left: 40%; +}