Skip to content

Commit

Permalink
Merge pull request #894 from gregorylegarec/feat/field/avoid-styling-…
Browse files Browse the repository at this point in the history
…aria-disabled-false

Avoid styling form element when `aria-disabled` is `false`
  • Loading branch information
gregorylegarec authored Apr 4, 2019
2 parents a6090f8 + c261f09 commit 8e6ed8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stylus/components/forms.styl
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ $input-text
&:not(:focus):invalid
border rem(1) solid var(--pomegranate)

&[aria-disabled]
&[aria-disabled=true]
&[disabled]
@extend $input--disabled

Expand Down Expand Up @@ -346,7 +346,7 @@ $checkbox
background-image embedurl('../../assets/icons/ui/dash-white.svg')
background-size contain

&[aria-disabled]
&[aria-disabled=true]
span
opacity .5
cursor not-allowed
Expand Down

0 comments on commit 8e6ed8b

Please sign in to comment.