style: add animation on active

This commit is contained in:
MAZE 2025-10-26 12:43:14 +03:30
parent 95b641a88f
commit 50687c97ca
2 changed files with 8 additions and 0 deletions

View file

@ -18,6 +18,10 @@
background-color: var(--color-neutral-800); background-color: var(--color-neutral-800);
} }
&:not(.disabled):active {
transform: scale(0.97);
}
&:disabled, &:disabled,
&.disabled { &.disabled {
cursor: not-allowed; cursor: not-allowed;

View file

@ -19,6 +19,10 @@
cursor: not-allowed; cursor: not-allowed;
} }
&:active {
transform: scale(0.97);
}
&:hover, &:hover,
&:focus-visible { &:focus-visible {
background-color: var(--color-neutral-200); background-color: var(--color-neutral-200);