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

View File

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