- Model browser: per-million input/output price on every row; time to first token (p50) and tokens/s for the busiest OpenRouter provider, fetched lazily for visible rows and cached 10 minutes. - Fix: Free badge and free-first sorting (prices are strings), and the list was empty until typing. - Settings: text-only tabs styled like Waypoint's; drop the heading that repeated the tab name.
191 lines
3.8 KiB
CSS
191 lines
3.8 KiB
CSS
/* ── Recording Controls Modal ── */
|
|
.recording-controls .modal-content {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
.recording-controls .button-group {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
}
|
|
.recording-controls .button-component {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 6px 12px;
|
|
border-radius: 6px;
|
|
background-color: var(--interactive-accent);
|
|
color: var(--text-on-accent);
|
|
cursor: pointer;
|
|
font-size: var(--font-ui-small);
|
|
}
|
|
.recording-controls .button-component:hover {
|
|
background-color: var(--interactive-accent-hover);
|
|
}
|
|
.recording-controls .button-component:disabled {
|
|
pointer-events: none;
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
}
|
|
.recording-controls .button-component svg {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
|
|
/* ── Recording Status Meter ── */
|
|
.nibbleai-status-recording {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
color: var(--text-error);
|
|
}
|
|
|
|
.nibbleai-status-paused {
|
|
color: var(--text-warning);
|
|
}
|
|
|
|
.nibbleai-status-processing {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.nibbleai-status-idle {
|
|
color: var(--text-success);
|
|
}
|
|
|
|
.nibbleai-input-meter {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
height: 12px;
|
|
}
|
|
|
|
.nibbleai-meter-bar {
|
|
width: 2px;
|
|
height: 4px;
|
|
border-radius: 999px;
|
|
background-color: currentColor;
|
|
opacity: 0.25;
|
|
transition: height 70ms ease-out, opacity 70ms ease-out;
|
|
}
|
|
|
|
.nibbleai-meter-bar-active {
|
|
height: 12px;
|
|
opacity: 1;
|
|
animation: nibbleai-meter-pulse 360ms ease-in-out infinite alternate;
|
|
}
|
|
|
|
.nibbleai-meter-bar:nth-child(2n).nibbleai-meter-bar-active {
|
|
animation-delay: 80ms;
|
|
}
|
|
|
|
.nibbleai-meter-bar:nth-child(3n).nibbleai-meter-bar-active {
|
|
animation-delay: 160ms;
|
|
}
|
|
|
|
@keyframes nibbleai-meter-pulse {
|
|
from {
|
|
transform: scaleY(0.55);
|
|
}
|
|
to {
|
|
transform: scaleY(1);
|
|
}
|
|
}
|
|
|
|
/* ── Model Browser Suggestion ── */
|
|
.model-suggestion {
|
|
padding: 4px 0;
|
|
}
|
|
.model-suggestion-name {
|
|
font-weight: 500;
|
|
}
|
|
.model-suggestion-id {
|
|
font-size: 0.8em;
|
|
opacity: 0.6;
|
|
}
|
|
.model-suggestion-badge {
|
|
margin-left: 8px;
|
|
padding: 0 6px;
|
|
border-radius: 4px;
|
|
background-color: var(--color-green);
|
|
color: var(--text-on-accent);
|
|
font-size: 0.75em;
|
|
}
|
|
.model-suggestion-stats {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0 12px;
|
|
font-size: 0.8em;
|
|
color: var(--text-muted);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.model-suggestion-desc {
|
|
font-size: 0.75em;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
/* ── Property Prompt Modal ── */
|
|
.modal-button-container {
|
|
display: flex;
|
|
gap: 8px;
|
|
justify-content: flex-end;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
/* ── API Key Modal ── */
|
|
.api-key-modal input {
|
|
width: 100%;
|
|
padding: 8px;
|
|
margin-bottom: 16px;
|
|
border-radius: 4px;
|
|
border: 1px solid var(--background-modifier-border);
|
|
background-color: var(--background-primary);
|
|
color: var(--text-normal);
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* ── Settings Tab Bar (matches Waypoint's settings tabs) ── */
|
|
.nibbleai-tab-bar {
|
|
display: flex;
|
|
gap: 4px;
|
|
margin-bottom: 20px;
|
|
border-bottom: 1px solid var(--background-modifier-border);
|
|
padding-bottom: 8px;
|
|
}
|
|
|
|
.nibbleai-tab {
|
|
background: none;
|
|
border: none;
|
|
cursor: var(--cursor-link, pointer);
|
|
color: var(--text-muted);
|
|
padding: 6px 14px;
|
|
border-radius: 6px 6px 0 0;
|
|
font-size: var(--font-ui-small);
|
|
font-weight: var(--font-medium);
|
|
transition: color 100ms, background 100ms;
|
|
}
|
|
|
|
.nibbleai-tab:hover {
|
|
color: var(--text-normal);
|
|
background: var(--background-modifier-hover);
|
|
}
|
|
|
|
.nibbleai-tab.is-active {
|
|
color: var(--text-accent);
|
|
background: var(--background-modifier-active-hover);
|
|
border-bottom: 2px solid var(--text-accent);
|
|
margin-bottom: -9px;
|
|
}
|
|
|
|
/* ── Tab Content ── */
|
|
.nibbleai-tab-content h3 {
|
|
margin-top: 28px;
|
|
margin-bottom: 10px;
|
|
font-size: var(--font-ui-medium);
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
border-bottom: 1px solid var(--background-modifier-border);
|
|
padding-bottom: 6px;
|
|
} |