Open-source, local-first AI agent for real work.
TypeScript agent-toolsai-agentbyokcoding-agentcross-platformdesktop-appdeveloper-toolselectronharnessknowledge-basellmwikilocal-firstmcpplugin-systemprivacy-firstskillstypescriptvettaworkflow-automation
/* 工作区配置页。与 canvas 共用宿主语义色变量,只补页面级排版与控件皮肤。 */
.content-settings-page {
height: 100%;
overflow-y: auto;
background: var(--background);
color: var(--foreground);
}
.content-settings-inner {
max-width: 46rem;
margin: 0 auto;
padding: 2.5rem 1.75rem 4rem;
display: flex;
flex-direction: column;
gap: 2.25rem;
}
.content-settings-label {
font-size: 0.6875rem;
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--muted-foreground);
}
.content-settings-card {
display: flex;
flex-direction: column;
border: 1px solid var(--border);
border-radius: 0.875rem;
background: var(--card);
color: var(--card-foreground);
}
.content-settings-field {
display: flex;
flex-direction: column;
gap: 0.5rem;
padding: 0.875rem 1rem;
}
/* 同一张卡片内的字段用发丝线分隔,读起来像设置表而不是一堆输入框。 */
.content-settings-field + .content-settings-field {
border-top: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
}
.content-settings-input {
width: 100%;
height: 2rem;
padding: 0 0.625rem;
border: 1px solid var(--border);
border-radius: 0.5rem;
background: transparent;
color: inherit;
font: inherit;
font-size: 0.8125rem;
outline: none;
transition: border-color 0.15s ease;
}
.content-settings-input:focus-visible {
border-color: color-mix(in oklab, var(--primary) 55%, var(--border));
}
.content-settings-button {
flex-shrink: 0;
font-size: 0.8125rem;
font-weight: 500;
padding: 0.375rem 0.875rem;
border-radius: 0.5rem;
border: 1px solid transparent;
background: var(--primary);
color: var(--primary-foreground);
cursor: pointer;
transition: opacity 0.15s ease;
}
.content-settings-button:hover:not(:disabled) {
opacity: 0.88;
}
.content-settings-button:disabled {
opacity: 0.45;
cursor: default;
}
.content-settings-link {
font-size: 0.75rem;
color: var(--muted-foreground);
background: none;
border: 0;
padding: 0;
font-family: inherit;
cursor: pointer;
}
.content-settings-link:hover {
color: var(--foreground);
}
.content-settings-dot {
width: 0.5rem;
height: 0.5rem;
border-radius: 9999px;
flex-shrink: 0;
}