Merge pull request #6351 from gschlager/btn_primary

UX: Primary button didn't have hover effect anymore
This commit is contained in:
Jeff Atwood 2018-09-02 14:26:40 -07:00 committed by GitHub
commit c3a898795a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 4 deletions

View File

@ -88,13 +88,14 @@
}
&:hover,
&.btn-hover {
color: #fff;
background: dark-light-choose($tertiary, $tertiary);
background: scale-color($tertiary, $lightness: -20%);
}
&:active,
&.btn-active {
@include linear-gradient($tertiary, $tertiary);
color: $secondary;
@include linear-gradient(
scale-color($tertiary, $lightness: -20%),
$tertiary
);
}
&[disabled],
&.disabled {