mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 21:19:41 -06:00
Merge pull request #6351 from gschlager/btn_primary
UX: Primary button didn't have hover effect anymore
This commit is contained in:
commit
c3a898795a
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user