feat: disabled groups (fieldset)

This commit is contained in:
Lucas Larroche 2022-03-06 18:25:58 +07:00
parent 43cacb0b93
commit 19d2ffad02
18 changed files with 42 additions and 29 deletions

View file

@ -175,7 +175,8 @@ input[type="reset"],
// Button [disabled]
// Links without href are disabled by default
:where(button, input[type="submit"], input[type="reset"], [role="button"])[disabled],
:where(button, [type="submit"], [type="button"], [type="reset"], [role="button"])[disabled],
:where([disabled]) :is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]),
a[role="button"]:not([href]) {
opacity: 0.5;
pointer-events: none;