Open chris-pearce opened 7 years ago
There are styles common to when an element is in a disabled state so we should handle this via a mixin to keep things DRY, which can reside in the Shared styles section of _mixins-functions.scss.
_mixins-functions.scss
Something like this:
@mixin disabled { cursor: not-allowed; opacity: $shell-g-opacity-disabled; pointer-events: none; }
Applied like this:
&:disabled { @include disabled; […] }
See: #96.
@DaveOrDead @davidberner FYI.
There are styles common to when an element is in a disabled state so we should handle this via a mixin to keep things DRY, which can reside in the Shared styles section of
_mixins-functions.scss
.Something like this:
Applied like this:
See: #96.
@DaveOrDead @davidberner FYI.