luci-theme-material: Fix section title padding. 4538/head
authorOldřich Jedlička <oldium.pro@gmail.com>
Sun, 25 Oct 2020 11:11:24 +0000 (12:11 +0100)
committerOldřich Jedlička <oldium.pro@gmail.com>
Sun, 25 Oct 2020 11:11:24 +0000 (12:11 +0100)
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>
themes/luci-theme-material/htdocs/luci-static/material/cascade.css

index f3922c00f95d9acf0857af4a58e6c62b004c8ee3..dfa9c5dc0335a09b51bbabb6e93a9a5fad1c613f 100644 (file)
@@ -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;