mirror of
https://github.com/remvze/moodist.git
synced 2025-12-18 01:14:17 +00:00
76 lines
1.5 KiB
CSS
76 lines
1.5 KiB
CSS
.exercise {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 75px 0;
|
|
margin-top: 12px;
|
|
background-color: var(--color-neutral-50);
|
|
border: 1px solid var(--color-neutral-200);
|
|
border-radius: 8px;
|
|
|
|
& .phase {
|
|
font-family: var(--font-display);
|
|
font-size: var(--font-lg);
|
|
font-weight: 600;
|
|
}
|
|
|
|
& .circle {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
z-index: -1;
|
|
height: 55%;
|
|
aspect-ratio: 1 / 1;
|
|
background-image: radial-gradient(
|
|
var(--color-neutral-50),
|
|
var(--color-neutral-100)
|
|
);
|
|
border: 1px solid var(--color-neutral-200);
|
|
border-radius: 50%;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
}
|
|
|
|
.selectWrapper {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 45px;
|
|
padding: 0 12px;
|
|
margin-top: 8px;
|
|
background-color: var(--color-neutral-50);
|
|
border: 1px solid var(--color-neutral-200);
|
|
border-radius: 8px;
|
|
|
|
&::before {
|
|
position: absolute;
|
|
top: -1px;
|
|
left: 50%;
|
|
width: 80%;
|
|
height: 1px;
|
|
content: '';
|
|
background: linear-gradient(
|
|
90deg,
|
|
transparent,
|
|
var(--color-neutral-300),
|
|
transparent
|
|
);
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
& .selectBox {
|
|
width: 100%;
|
|
min-width: 0;
|
|
height: 100%;
|
|
font-size: var(--font-sm);
|
|
color: var(--color-foreground);
|
|
background-color: transparent;
|
|
border: none;
|
|
outline: none;
|
|
|
|
& option {
|
|
color: var(--color-neutral-50);
|
|
}
|
|
}
|
|
}
|