Add --font-size-min: 12px token to tokens.css. Replace all 10px and 11px font-size declarations with 12px across 54 CSS module files for improved readability. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
149 lines
2.6 KiB
CSS
149 lines
2.6 KiB
CSS
.wrap {
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
|
|
.trigger {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
padding: 6px 12px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
background: var(--bg-raised);
|
|
color: var(--text-primary);
|
|
font-family: var(--font-body);
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
transition: border-color 0.15s, box-shadow 0.15s;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.trigger:focus-visible {
|
|
border-color: var(--amber);
|
|
box-shadow: 0 0 0 3px var(--amber-bg);
|
|
}
|
|
|
|
.trigger[aria-disabled="true"] {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.triggerText {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.triggerPlaceholder {
|
|
color: var(--text-faint);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.chevron {
|
|
color: var(--text-faint);
|
|
font-size: 12px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.panel {
|
|
position: fixed;
|
|
z-index: 1000;
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-md);
|
|
box-shadow: var(--shadow-lg);
|
|
display: flex;
|
|
flex-direction: column;
|
|
animation: panelIn 0.12s ease-out;
|
|
}
|
|
|
|
@keyframes panelIn {
|
|
from { opacity: 0; transform: translateY(-4px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
.search {
|
|
padding: 8px 12px;
|
|
border: none;
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
background: transparent;
|
|
color: var(--text-primary);
|
|
font-family: var(--font-body);
|
|
font-size: 12px;
|
|
outline: none;
|
|
}
|
|
|
|
.search::placeholder {
|
|
color: var(--text-faint);
|
|
}
|
|
|
|
.optionList {
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
padding: 4px 0;
|
|
}
|
|
|
|
.option {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 6px 12px;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
font-family: var(--font-body);
|
|
color: var(--text-primary);
|
|
transition: background 0.1s;
|
|
}
|
|
|
|
.option:hover {
|
|
background: var(--bg-hover);
|
|
}
|
|
|
|
.checkbox {
|
|
accent-color: var(--amber);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.optionLabel {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.empty {
|
|
padding: 12px;
|
|
text-align: center;
|
|
color: var(--text-faint);
|
|
font-size: 12px;
|
|
font-family: var(--font-body);
|
|
}
|
|
|
|
.footer {
|
|
padding: 8px 12px;
|
|
border-top: 1px solid var(--border-subtle);
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.applyBtn {
|
|
padding: 4px 16px;
|
|
border: none;
|
|
border-radius: var(--radius-sm);
|
|
background: var(--amber);
|
|
color: var(--bg-base);
|
|
font-family: var(--font-body);
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: background 0.15s;
|
|
}
|
|
|
|
.applyBtn:hover {
|
|
background: var(--amber-hover);
|
|
}
|