mirror of
https://github.com/remvze/moodist.git
synced 2026-02-28 00:53:13 +08:00
35 lines
642 B
CSS
35 lines
642 B
CSS
.button {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 30px;
|
|
height: 30px;
|
|
font-size: var(--font-sm);
|
|
color: var(--color-foreground);
|
|
cursor: pointer;
|
|
background-color: var(--color-neutral-100);
|
|
border: 1px solid var(--color-neutral-200);
|
|
border-radius: 4px;
|
|
outline: none;
|
|
transition: 0.2s;
|
|
|
|
&:focus-visible {
|
|
outline: 2px solid var(--color-neutral-400);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
&:hover,
|
|
&:focus-visible {
|
|
background-color: var(--color-neutral-200);
|
|
}
|
|
|
|
&.smallIcon {
|
|
font-size: var(--font-xsm);
|
|
}
|
|
|
|
&:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.4;
|
|
}
|
|
}
|