From 4e587d53a882be462f32e9e4bf03d87ed216871d Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 20 Jul 2008 15:16:13 +0000 Subject: * luci/themes: several small tweaks in openwrt.org theme * luci/libs/cbi: some template improvements --- .../htdocs/luci-static/openwrt.org/cascade.css | 25 ++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) (limited to 'themes/openwrt.org') 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 0febd3b6e..c699af6a9 100644 --- a/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css +++ b/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css @@ -191,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], @@ -302,6 +312,14 @@ 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; } @@ -324,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; @@ -448,4 +466,3 @@ td.cbi-section-table-optionals { * html div.cbi-value-description { margin-left: 40%; } - -- cgit v1.2.3