From e68eb52578008a99390221695cc261a0cff84043 Mon Sep 17 00:00:00 2001 From: jordi fita mas Date: Wed, 24 May 2023 11:41:48 +0200 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20show=20the=20=E2=80=9C(optional?= =?UTF-8?q?)=E2=80=9D=20label=20for=20filter=20inputs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It adds nothing, as all input fields for filters show be optional. --- web/static/numerus.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/web/static/numerus.css b/web/static/numerus.css index 0382025..df427de 100644 --- a/web/static/numerus.css +++ b/web/static/numerus.css @@ -374,15 +374,15 @@ input.width-2x { color: var(--numerus--color--red); } -[lang="en"] textarea:not([required]) + label::after, -[lang="en"] input:not([required]) + label::after, -[lang="en"] select:not([required]) + label::after { +[lang="en"] form:not(.filters) textarea:not([required]) + label::after, +[lang="en"] form:not(.filters) input:not([required]) + label::after, +[lang="en"] form:not(.filters) select:not([required]) + label::after { content: " (optional)" } -[lang="ca"] textarea:not([required]) + label::after, [lang="es"] textarea:not([required]) + label::after, -[lang="ca"] input:not([required]) + label::after, [lang="es"] input:not([required]) + label::after, -[lang="ca"] select:not([required]) + label::after, [lang="es"] select:not([required]) + label::after { +[lang="ca"] form:not(.filters) textarea:not([required]) + label::after, [lang="es"] form:not(.filters) textarea:not([required]) + label::after, +[lang="ca"] form:not(.filters) input:not([required]) + label::after, [lang="es"] form:not(.filters) input:not([required]) + label::after, +[lang="ca"] form:not(.filters) select:not([required]) + label::after, [lang="es"] form:not(.filters) select:not([required]) + label::after { content: " (opcional)" }