From 1aca73eda780d6c1816a72f8dcd5571d55b611fa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Sun, 7 Mar 2021 00:49:23 +0100 Subject: [PATCH] always display first filter box --- style.css | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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 ====== */ -- 2.39.2