mirror of
https://github.com/remvze/moodist.git
synced 2025-12-17 08:54:13 +00:00
31 lines
609 B
CSS
31 lines
609 B
CSS
.favoriteButton {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 30px;
|
|
height: 30px;
|
|
line-height: 0;
|
|
color: var(--color-foreground-subtle);
|
|
cursor: pointer;
|
|
background-color: black;
|
|
background-color: var(--color-neutral-100);
|
|
border: 1px solid var(--color-neutral-200);
|
|
border-radius: 50%;
|
|
outline: none;
|
|
transition: 0.2s;
|
|
|
|
&:hover {
|
|
color: var(--color-foreground);
|
|
}
|
|
|
|
&.isFavorite {
|
|
color: var(--color-foreground);
|
|
}
|
|
|
|
&:focus-visible {
|
|
outline: 1px solid var(--color-neutral-950);
|
|
}
|
|
}
|