2026-10-11 15:44:42 -05:00
|
|
|
.options {
|
2026-10-12 00:04:47 -05:00
|
|
|
width: max-content;
|
|
|
|
|
|
2026-10-11 15:44:42 -05:00
|
|
|
position: relative;
|
|
|
|
|
display: grid;
|
|
|
|
|
|
|
|
|
|
border-radius: var(--radius-max);
|
|
|
|
|
|
2026-10-12 00:04:47 -05:00
|
|
|
&[data-size="minor"] {
|
|
|
|
|
.option {
|
|
|
|
|
padding: var(--space-2) var(--space-3);
|
|
|
|
|
font-size: 0.75em;
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-10-11 15:44:42 -05:00
|
|
|
|
|
|
|
|
.indicator {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
|
|
outline: var(--outline-focus);
|
|
|
|
|
border-radius: var(--radius-max);
|
|
|
|
|
|
|
|
|
|
transition: var(--duration-brief);
|
|
|
|
|
}
|
|
|
|
|
|
2026-10-12 00:04:47 -05:00
|
|
|
&[data-variant="solid"] {
|
|
|
|
|
background-color: var(--gray-3);
|
|
|
|
|
|
|
|
|
|
.indicator {
|
|
|
|
|
background-color: var(--accent-3);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&[data-variant="underline"] {
|
|
|
|
|
border-radius: 0;
|
|
|
|
|
|
|
|
|
|
.indicator {
|
|
|
|
|
top: auto;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
|
|
|
|
|
background: linear-gradient(transparent, var(--accent-a2));
|
|
|
|
|
|
|
|
|
|
outline: none;
|
|
|
|
|
border-radius: 0;
|
|
|
|
|
|
|
|
|
|
border-bottom: var(--space-1) solid var(--accent-9);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-10-11 15:44:42 -05:00
|
|
|
.option {
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
|
|
padding: var(--space-3) var(--space-4);
|
|
|
|
|
|
|
|
|
|
color: var(--gray-11);
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
|
|
input {
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: 1px;
|
|
|
|
|
height: 1px;
|
|
|
|
|
margin: 0;
|
|
|
|
|
opacity: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.label {
|
|
|
|
|
white-space: nowrap;
|
2026-10-27 18:58:21 -05:00
|
|
|
|
|
|
|
|
line-height: 1;
|
|
|
|
|
|
|
|
|
|
img,
|
|
|
|
|
svg {
|
|
|
|
|
height: 1em;
|
|
|
|
|
}
|
2026-10-11 15:44:42 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:has(input:checked) {
|
|
|
|
|
color: var(--gray-12);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:has(input:focus-visible) {
|
|
|
|
|
outline: 2px solid var(--accent-8);
|
|
|
|
|
outline-offset: 2px;
|
|
|
|
|
border-radius: var(--radius-max);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|