mirror of
https://github.com/remvze/moodist.git
synced 2025-12-17 17:04:15 +00:00
style: add animation on active
This commit is contained in:
parent
95b641a88f
commit
50687c97ca
2 changed files with 8 additions and 0 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue