mirror of
https://github.com/remvze/moodist.git
synced 2026-02-28 00:53:13 +08:00
style: add animation on active
This commit is contained in:
@@ -18,6 +18,10 @@
|
||||
background-color: var(--color-neutral-800);
|
||||
}
|
||||
|
||||
&:not(.disabled):active {
|
||||
transform: scale(0.97);
|
||||
}
|
||||
|
||||
&:disabled,
|
||||
&.disabled {
|
||||
cursor: not-allowed;
|
||||
|
||||
@@ -19,6 +19,10 @@
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
&:active {
|
||||
transform: scale(0.97);
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:focus-visible {
|
||||
background-color: var(--color-neutral-200);
|
||||
|
||||
Reference in New Issue
Block a user