mirror of
https://github.com/primer/css.git
synced 2025-01-05 21:22:57 +03:00
Add hover transition to buttons
This commit is contained in:
parent
d75c9d3cd9
commit
ddc13d5962
@ -78,13 +78,13 @@
|
||||
background-color: $bg-default;
|
||||
border-color: $border-color-button;
|
||||
box-shadow: $box-shadow, $box-shadow-highlight;
|
||||
transition: background-color 0.18s ease-out;
|
||||
transition: background-color 0.2s cubic-bezier(0.3, 0, 0.5, 1);
|
||||
|
||||
&:hover,
|
||||
&.hover,
|
||||
[open] > & {
|
||||
background-color: $bg-hover;
|
||||
transition: none;
|
||||
transition-duration: 0.1s;
|
||||
}
|
||||
|
||||
&:active,
|
||||
|
Loading…
Reference in New Issue
Block a user