25 lines
585 B
SCSS
25 lines
585 B
SCSS
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;
|
|
}
|
|
} |