mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-02-21 10:03:48 -05:00
[Glitch] Add active animation to header settings button
Port cb93c1edf08865b1ac528a9a4cb747dab3d57e8d to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
666760f450
commit
160823716a
@ -4602,12 +4602,20 @@ a.status-card {
|
|||||||
outline: $ui-button-focus-outline;
|
outline: $ui-button-focus-outline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.no-reduce-motion .icon {
|
||||||
|
transition: transform 0.15s ease-in-out;
|
||||||
|
}
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
color: $primary-text-color;
|
color: $primary-text-color;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: $primary-text-color;
|
color: $primary-text-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.icon {
|
||||||
|
transform: rotate(60deg);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:disabled {
|
&:disabled {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user