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"] {
|
[type="submit"] {
|
||||||
@include button($background: $link);
|
@include regular-button;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
|
|
||||||
&[disabled] {
|
|
||||||
@include button-disabled;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,6 +5,10 @@
|
|||||||
&:hover {
|
&:hover {
|
||||||
text-decoration: none !important;
|
text-decoration: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&[disabled] {
|
||||||
|
@include button-disabled;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
%button {
|
%button {
|
||||||
|
|||||||
Reference in New Issue
Block a user