From 9a7c358cfb684970ae050681067e4f87a079cbc0 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 20 Aug 2008 16:11:27 +0000 Subject: [PATCH] * luci/themes: fix help text styles in openwrt.org theme --- libs/cbi/luasrc/view/cbi/full_valuefooter.htm | 9 +++++++-- .../htdocs/luci-static/openwrt.org/cascade.css | 5 ++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/libs/cbi/luasrc/view/cbi/full_valuefooter.htm b/libs/cbi/luasrc/view/cbi/full_valuefooter.htm index 8084cfda9..a01f6bd6c 100644 --- a/libs/cbi/luasrc/view/cbi/full_valuefooter.htm +++ b/libs/cbi/luasrc/view/cbi/full_valuefooter.htm @@ -14,8 +14,13 @@ $Id$ -%> <% if #self.description > 0 then -%> - <%:help%> -
<%=self.description%>
+ <% if not luci.util.instanceof( self, luci.cbi.Flag ) then -%> +
+ <%- end %> +
+ <%:help%> + <%=self.description%> +
<%- end %> <%- if self.title and #self.title > 0 then -%> 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 add60dfb1..a022bccbf 100644 --- a/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css +++ b/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css @@ -414,8 +414,10 @@ div.cbi-value-field { div.cbi-value-description { font-size: 90%; + display: inline; } +/* div.cbi-value-field > div.cbi-value-description { display: none; } @@ -423,6 +425,7 @@ div.cbi-value-field > div.cbi-value-description { div.cbi-value:hover div.cbi-value-field > div.cbi-value-description { display: block; } +*/ div.cbi-section-create { clear: left; @@ -442,7 +445,7 @@ div.cbi-section-remove { } .cbi-section-node { - clear: both; + CLEAR: Both; border: 1px dotted #bbbbbb; padding-bottom: 0; } -- 2.25.1