Website/docs/assets/scss/components/aki-button.scss

25 lines
585 B
SCSS
Raw Normal View History

2020-10-13 01:18:11 +02:00
aki-button,
*[aki-button],
*.aki-button {
background-color: $accent;
border: none;
border-radius: .125rem;
box-shadow: $elevation-z2;
color: $on-accent;
cursor: pointer;
font-size: 1rem;
padding: .5rem 1rem;
text-decoration: none;
user-select: none;
// transition: background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
&:hover:not(:active) {
filter: invert(.15);
}
&:active {
background: $primary;
box-shadow: $elevation-z8;
color: $on-primary;
}
}