Don’t show the “(optional)” label for filter inputs

It adds nothing, as all input fields for filters show be optional.
This commit is contained in:
jordi fita mas 2023-05-24 11:41:48 +02:00
parent 79ec3ae4d6
commit e68eb52578
1 changed files with 6 additions and 6 deletions

View File

@ -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)"
}