From b03a508c6c5923e18ade8e8fce256cefbd5ad302 Mon Sep 17 00:00:00 2001 From: Oldřich Jedlička Date: Sun, 25 Oct 2020 12:11:24 +0100 Subject: luci-theme-material: Fix section title padding. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- themes/luci-theme-material/htdocs/luci-static/material/cascade.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'themes/luci-theme-material/htdocs/luci-static') 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 f3922c00f9..dfa9c5dc03 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; -- cgit v1.2.3