feat: disabled fieldset

This commit is contained in:
Lucas Larroche 2022-03-06 21:43:51 +07:00
parent 19d2ffad02
commit e821b7647f
18 changed files with 22 additions and 22 deletions

View file

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