56 lines
1005 B
CSS
56 lines
1005 B
CSS
|
|
.root {
|
||
|
|
display: inline-flex;
|
||
|
|
align-items: stretch;
|
||
|
|
gap: 2px;
|
||
|
|
height: 36px;
|
||
|
|
padding: 4px;
|
||
|
|
border: 1px solid var(--border-soft);
|
||
|
|
border-radius: 999px;
|
||
|
|
background: var(--surface-soft);
|
||
|
|
}
|
||
|
|
|
||
|
|
.option {
|
||
|
|
appearance: none;
|
||
|
|
display: inline-flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
width: 28px;
|
||
|
|
padding: 0;
|
||
|
|
border: 0;
|
||
|
|
border-radius: 999px;
|
||
|
|
color: var(--text-muted);
|
||
|
|
background: transparent;
|
||
|
|
font: inherit;
|
||
|
|
font-size: 13px;
|
||
|
|
font-weight: 700;
|
||
|
|
letter-spacing: -0.01em;
|
||
|
|
cursor: pointer;
|
||
|
|
transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.option:hover {
|
||
|
|
color: var(--text-primary);
|
||
|
|
}
|
||
|
|
|
||
|
|
.option:focus-visible {
|
||
|
|
outline: 2px solid var(--focus-ring);
|
||
|
|
outline-offset: 3px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.option[data-active='true'] {
|
||
|
|
color: var(--text-primary);
|
||
|
|
background: var(--page-bg);
|
||
|
|
box-shadow: 0 1px 2px var(--shadow-subtle);
|
||
|
|
}
|
||
|
|
|
||
|
|
.icon {
|
||
|
|
display: inline-flex;
|
||
|
|
width: 16px;
|
||
|
|
height: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.icon svg {
|
||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
}
|