Include disabled state in base button mixin
So all disabled buttons have the same styles.
This commit is contained in:
@@ -31,12 +31,8 @@
|
||||
}
|
||||
|
||||
[type="submit"] {
|
||||
@include button($background: $link);
|
||||
@include regular-button;
|
||||
border-radius: 0;
|
||||
font-size: 1rem;
|
||||
|
||||
&[disabled] {
|
||||
@include button-disabled;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,6 +5,10 @@
|
||||
&:hover {
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
&[disabled] {
|
||||
@include button-disabled;
|
||||
}
|
||||
}
|
||||
|
||||
%button {
|
||||
|
||||
Reference in New Issue
Block a user