From: Paul Hänsch Date: Sat, 6 Mar 2021 23:49:23 +0000 (+0100) Subject: always display first filter box X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=1aca73eda780d6c1816a72f8dcd5571d55b611fa;p=serve0 always display first filter box --- diff --git a/style.css b/style.css index ce9813a..fe06de1 100644 --- a/style.css +++ b/style.css @@ -172,7 +172,7 @@ body { #advsearch fieldset.select { display: inline-block; width: 18em; max-width: 100%; - margin: 0 .5em; padding: 0 .375em; + margin: 0 .5em; margin-bottom: .75em; padding: 0 .375em; box-shadow: .125em .125em .25em #000; } #advsearch fieldset.select > label.head { @@ -205,9 +205,13 @@ body { #advsearch input.and { display: none; } #advsearch input.and + label { display: none; } #advsearch input.and + label + fieldset { display: none; } -#advsearch input.and:checked + label + fieldset { display: inline-block; } -#advsearch input.and:checked + label + fieldset + input + label { display: inline-block; } +#advsearch input.and:checked + label + fieldset, +#advsearch input.and:first-of-type + label + fieldset { display: inline-block; } +#advsearch input.and:checked + label + fieldset + input + label, +#advsearch input.and:first-of-type + label + fieldset + input + label { display: inline-block; } #advsearch input.and:checked + label + fieldset + input:checked + label { display: none; } +#advsearch input.and:first-of-type + label + fieldset + input:checked + label { display: none; } + /* ====== MULTITAG DIALOG ====== */