* luci/themes: fix help text styles in openwrt.org theme
This commit is contained in:
parent
431a2cac7b
commit
9a7c358cfb
2 changed files with 11 additions and 3 deletions
|
@ -14,8 +14,13 @@ $Id$
|
||||||
-%>
|
-%>
|
||||||
|
|
||||||
<% if #self.description > 0 then -%>
|
<% if #self.description > 0 then -%>
|
||||||
|
<% if not luci.util.instanceof( self, luci.cbi.Flag ) then -%>
|
||||||
|
<br />
|
||||||
|
<%- end %>
|
||||||
|
<div class="cbi-value-description">
|
||||||
<span class="cbi-value-helpicon"><img src="<%=resource%>/cbi/help.gif" alt="<%:help%>" /></span>
|
<span class="cbi-value-helpicon"><img src="<%=resource%>/cbi/help.gif" alt="<%:help%>" /></span>
|
||||||
<div class="cbi-value-description"><%=self.description%></div>
|
<%=self.description%>
|
||||||
|
</div>
|
||||||
<%- end %>
|
<%- end %>
|
||||||
<%- if self.title and #self.title > 0 then -%>
|
<%- if self.title and #self.title > 0 then -%>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -414,8 +414,10 @@ div.cbi-value-field {
|
||||||
|
|
||||||
div.cbi-value-description {
|
div.cbi-value-description {
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
|
display: inline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
div.cbi-value-field > div.cbi-value-description {
|
div.cbi-value-field > div.cbi-value-description {
|
||||||
display: none;
|
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 {
|
div.cbi-value:hover div.cbi-value-field > div.cbi-value-description {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
div.cbi-section-create {
|
div.cbi-section-create {
|
||||||
clear: left;
|
clear: left;
|
||||||
|
@ -442,7 +445,7 @@ div.cbi-section-remove {
|
||||||
}
|
}
|
||||||
|
|
||||||
.cbi-section-node {
|
.cbi-section-node {
|
||||||
clear: both;
|
CLEAR: Both;
|
||||||
border: 1px dotted #bbbbbb;
|
border: 1px dotted #bbbbbb;
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue