summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOldřich Jedlička <oldium.pro@gmail.com>2020-10-25 12:11:24 +0100
committerOldřich Jedlička <oldium.pro@gmail.com>2020-10-25 12:11:24 +0100
commitb03a508c6c5923e18ade8e8fce256cefbd5ad302 (patch)
tree4276e6eaffb57dbc252d9be44919c605eb190f08
parent4775d1ad226b39eb4b0981c89f2407c91a8c3102 (diff)
luci-theme-material: Fix section title padding.
After moving section title from `legend`, which was translated to `span` with style `panel-title`, to `h3`, update also CSS style to match first `h3` in `cbi-section`. Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
-rw-r--r--themes/luci-theme-material/htdocs/luci-static/material/cascade.css3
1 files changed, 2 insertions, 1 deletions
diff --git a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css
index f3922c00f..dfa9c5dc0 100644
--- a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css
+++ b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css
@@ -754,7 +754,6 @@ fieldset > fieldset,
border-bottom: thin solid #eee;
}
-.cbi-section > h3:first-child,
.cbi-section > h4:first-child,
.cbi-section > p:first-child,
[data-tab-title] > h3:first-child,
@@ -2547,6 +2546,7 @@ input[name="nslookup"] {
padding: .2rem .5rem;
}
+ .cbi-section > h3:first-child,
.panel-title {
font-size: 1.1rem;
padding-bottom: 1rem;
@@ -2951,6 +2951,7 @@ input[name="nslookup"] {
display: none;
}
+ .cbi-section > h3:first-child,
.panel-title {
font-size: 1.4rem;
padding-bottom: 1rem;