summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-10-20 19:02:26 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-10-20 19:02:26 +0000
commit76f8a9cfd2a3c17f3967351b3c6e027b7f864908 (patch)
treeff604b7d86c1b581fc0989b2362c5dff077d5b2a
parent0a4b6c33b5a6730e01d3c107a07992e552c83e08 (diff)
* luci/themes: fix small styling issue
-rw-r--r--libs/cbi/luasrc/view/cbi/tblsection.htm2
-rw-r--r--themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css18
2 files changed, 10 insertions, 10 deletions
diff --git a/libs/cbi/luasrc/view/cbi/tblsection.htm b/libs/cbi/luasrc/view/cbi/tblsection.htm
index af62c53ba..898645a72 100644
--- a/libs/cbi/luasrc/view/cbi/tblsection.htm
+++ b/libs/cbi/luasrc/view/cbi/tblsection.htm
@@ -108,7 +108,7 @@ end
<%- if self.addremove then -%>
<% if self.template_addremove then include(self.template_addremove) else -%>
- <div class="cbi-section-create">
+ <div class="cbi-section-create cbi-tblsection-create">
<% if self.anonymous then %>
<input class="cbi-button cbi-button-add" type="submit" value="<%:cbi_add%>" name="cbi.cts.<%=self.config%>.<%=self.sectiontype%>" title="<%:cbi_add%>" />
<% else %>
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 7457977c0..d83733ff3 100644
--- a/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css
+++ b/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css
@@ -630,6 +630,15 @@ div.cbi-value-description {
div.cbi-section-create {
clear: left;
white-space: nowrap;
+ vertical-align: top;
+}
+
+div.cbi-tblsection-create {
+ border-bottom: 1px dotted #bbbbbb;
+}
+
+div.cbi-section-create .cbi-button {
+ margin: 0.25em;
}
input.cbi-section-create-name {
@@ -687,15 +696,6 @@ td.cbi-section-table-optionals {
padding-top: 1em;
}
-div.cbi-section-create {
- border-bottom: 1px dotted #bbbbbb;
- vertical-align: top;
-}
-
-div.cbi-section-create .cbi-button {
- margin: 0.25em;
-}
-
.cbi-value-helpicon img {
vertical-align: bottom;
}