From 8169f8ca8bc35349136d66dd12683222435967f9 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 6 Jul 2008 21:17:07 +0000 Subject: [PATCH] * luci/themes: several css fixes for openwrt.org theme --- .../luci-static/openwrt.org/cascade.css | 75 ++++++++++++++++++- 1 file changed, 71 insertions(+), 4 deletions(-) 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 62b59adf56..13c5ac13b3 100644 --- a/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css +++ b/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css @@ -15,6 +15,10 @@ body { line-height: 100%; } +div#content ul { + margin-left: 2em; +} + .clear { clear: both; height: 1px; @@ -50,12 +54,15 @@ body { .mainmenu { float: left; width: 100%; -/* height: 2em;*/ - min-height: 1.5em; + min-height: 1.8em; background: #000000; color: #ffffff; } +* html .mainmenu { + height: 1.8em; +} + .mainmenu div { float: left; /*display: inline;*/ @@ -190,11 +197,19 @@ body { } .cbi-section { - margin: 0 1em; + margin-bottom: 0.5em; + padding: 0.5em 1em; + border: 1px dotted #555555; + background-color: #ffffff; } .cbi-section h2 { - margin: 0.5em 0 0.5em -0.5em !important; + margin: 0em 0 0.5em -0.5em !important; +} + +.cbi-section h3 { + height: 1.2em; + margin-top: -1.2em; } .cbi-section-descr { @@ -249,6 +264,58 @@ table.smalltext tr td { border-left: 1px solid #666666; } +div.cbi-value { + clear: left; + border-bottom: 1px dotted #AAAAAA; +} + +div.cbi-value:last-child { + border: none; +} + +div.cbi-value-title { + width: 30%; + float: left; + margin: 0.5em 0; +} + +div.cbi-value-field { + width: 68%; + float: left; + margin: 0.5em 0; +} + +div.cbi-value-description { + font-size: 90%; +} + +div.cbi-section-create { + clear: left; +} + +div.cbi-map-descr { + margin-bottom: 1em; +} + +div.cbi-optionals { + margin: 0.5em 0; +} + +div.cbi-section-remove input { + border-color: #AAAAAA; + border-bottom: none; +} + +div.cbi-section-node { + border: 1px solid #AAAAAA; + padding: 0.25em; + padding-bottom: 0; +} + +.right { + text-align: right; +} + .luci { position: fixed; bottom: 0; -- 2.30.2