mirror of
https://github.com/remvze/moodist.git
synced 2026-03-09 21:43:18 +08:00
51 lines
966 B
CSS
51 lines
966 B
CSS
.sounds {
|
|
display: grid;
|
|
margin-top: 20px;
|
|
gap: 20px;
|
|
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
|
}
|
|
|
|
.button {
|
|
position: relative;
|
|
display: flex;
|
|
width: max-content;
|
|
height: 35px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0 15px;
|
|
border: 1px solid var(--color-neutral-200);
|
|
border-radius: 50px;
|
|
margin: 25px auto 0;
|
|
background-color: var(--color-neutral-50);
|
|
color: var(--color-neutral-subtle);
|
|
cursor: pointer;
|
|
font-size: var(--font-xsm);
|
|
|
|
&::before {
|
|
position: absolute;
|
|
top: -1px;
|
|
left: 50%;
|
|
width: 70%;
|
|
height: 1px;
|
|
background: linear-gradient(
|
|
90deg,
|
|
transparent,
|
|
var(--color-neutral-300),
|
|
transparent
|
|
);
|
|
content: '';
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
&.active::after {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background-color: #818cf8;
|
|
content: '';
|
|
}
|
|
}
|