mirror of
https://github.com/discourse/discourse.git
synced 2025-02-17 02:12:59 +08: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,
|
&: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 {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user