From: Jo-Philipp Wich Date: Tue, 9 Mar 2010 02:13:24 +0000 (+0000) Subject: themes/openwrt-light: merge tab support from openwrt.org theme X-Git-Tag: 0.10.0~826 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=95d316a55c541b3576593867f3998f913a7ac8ef;p=oweals%2Fluci.git themes/openwrt-light: merge tab support from openwrt.org theme --- diff --git a/themes/openwrt-light/htdocs/luci-static/openwrt-light/cascade.css b/themes/openwrt-light/htdocs/luci-static/openwrt-light/cascade.css index a26e66222..385b0b5f9 100644 --- a/themes/openwrt-light/htdocs/luci-static/openwrt-light/cascade.css +++ b/themes/openwrt-light/htdocs/luci-static/openwrt-light/cascade.css @@ -602,7 +602,7 @@ table.cbi-section-table .cbi-rowstyle-1 * { div.cbi-value { clear: left; vertical-align: middle; - padding-left: 0.25em; + padding: 0.25em; border-bottom: 1px dotted #bbbbbb; } @@ -727,6 +727,56 @@ 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.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; +} + .right { text-align: right; }