315 lines
26 KiB
CSS
315 lines
26 KiB
CSS
:root {
|
||
font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
|
||
color: #111827;
|
||
background: #f6f7f9;
|
||
font-synthesis: none;
|
||
--blue: #1769e8;
|
||
--blue-soft: #eef5ff;
|
||
--muted: #667085;
|
||
--line: #e3e8ef;
|
||
--green: #087d41;
|
||
--surface: #fff;
|
||
--canvas: #f6f7f9;
|
||
}
|
||
|
||
* { box-sizing: border-box; }
|
||
body { margin: 0; min-width: 0; min-height: 100vh; }
|
||
button, input, textarea { font: inherit; }
|
||
a { color: inherit; text-decoration: none; }
|
||
|
||
.app-shell { min-height: 100vh; display: flex; background: var(--canvas); }
|
||
.rail { width: 76px; flex: 0 0 76px; height: 100vh; position: sticky; top: 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; padding: 20px 8px; gap: 16px; background: var(--surface); }
|
||
.brand { width: 46px; height: 46px; border-radius: 9px; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; }
|
||
.brand svg { width: 24px; }
|
||
.rail a { width: 60px; height: 62px; border-radius: 8px; color: #526078; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; font-size: 14px; }
|
||
.rail a svg { width: 24px; height: 24px; }
|
||
.rail a.active { background: var(--blue); color: #fff; }
|
||
.rail .brand + a { margin-top: 6px; }
|
||
|
||
.project-list { width: 264px; flex: 0 0 264px; height: 100vh; position: sticky; top: 0; overflow-y: auto; border-right: 1px solid var(--line); padding: 24px 14px; background: var(--surface); }
|
||
.aside-title { display: flex; align-items: center; justify-content: space-between; padding: 0 12px; }
|
||
.aside-title h2 { font-size: 20px; margin: 0; }
|
||
.icon-button { width: 32px; height: 32px; border: 1px solid #9aa8bd; border-radius: 50%; background: #fff; color: #395277; font-size: 23px; line-height: 27px; cursor: pointer; }
|
||
.aside-label { margin: 32px 12px 12px; color: #596883; font-size: 14px; }
|
||
.project-item { display: flex; flex-direction: column; gap: 8px; padding: 16px 14px; border-radius: 8px; margin-bottom: 7px; }
|
||
.project-item span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
|
||
.project-item time { color: #697794; font-size: 13px; }
|
||
.project-item.selected { background: #edf4ff; color: var(--blue); }
|
||
.aside-empty { padding: 20px 12px; color: #98a2b3; }
|
||
.main-view { min-width: 0; flex: 1; background: var(--surface); }
|
||
|
||
.project-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--canvas); }
|
||
.page-header { height: 72px; flex: 0 0 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 28px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); position: sticky; top: 0; z-index: 3; }
|
||
.page-heading, .run-actions { display: flex; align-items: center; gap: 12px; }
|
||
.page-header h1 { margin: 0; font-size: 24px; letter-spacing: -.02em; }
|
||
.tag { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border: 1px solid #cfd7e4; border-radius: 6px; color: #52617b; font-size: 13px; font-weight: 500; white-space: nowrap; }
|
||
.tag.blue { color: var(--blue); border-color: #9dbdff; }
|
||
.tag.green { color: var(--green); border-color: #9be0bd; }
|
||
.project-workspace { width: min(1280px, 100%); margin: 0 auto; padding: 24px; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
|
||
.workspace-main { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
|
||
.project-stage-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 20px 24px; border-bottom: 1px solid var(--line); list-style: none; }
|
||
.project-stage { min-width: 0; position: relative; display: flex; align-items: center; gap: 10px; color: #8a94a6; }
|
||
.project-stage:not(:last-child)::after { content: ""; height: 1px; position: absolute; top: 15px; left: 42px; right: 12px; background: #dce2eb; }
|
||
.project-stage.is-complete:not(:last-child)::after { background: #8fb6f4; }
|
||
.stage-marker { width: 30px; height: 30px; flex: 0 0 30px; position: relative; z-index: 1; display: grid; place-items: center; border: 1px solid #cfd7e4; border-radius: 50%; background: #f8fafc; color: #68758a; font-size: 13px; font-weight: 700; }
|
||
.project-stage.is-complete .stage-marker { border-color: #b8e0cc; background: #e9f7f0; color: var(--green); }
|
||
.project-stage.is-current .stage-marker { border-color: var(--blue); background: var(--blue); color: #fff; }
|
||
.stage-copy { min-width: 0; position: relative; z-index: 1; display: flex; flex-direction: column; gap: 3px; padding-right: 10px; background: var(--surface); }
|
||
.stage-copy strong { overflow: hidden; color: #4f5d73; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
|
||
.stage-copy small { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
|
||
.project-stage.is-current .stage-copy strong { color: #172033; }
|
||
.project-stage.is-complete .stage-copy strong { color: #344054; }
|
||
.work-scroll { width: min(900px, calc(100% - 48px)); margin: 0 auto; padding: 28px 0 72px; }
|
||
.project-context-panel { min-width: 0; position: sticky; top: 96px; display: grid; gap: 12px; }
|
||
.context-card { padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
|
||
.context-card h2 { margin: 0; color: #253047; font-size: 15px; }
|
||
.context-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
|
||
.context-card-heading > span, .context-status { color: #768399; font-size: 12px; white-space: nowrap; }
|
||
.context-status { padding: 3px 7px; border-radius: 4px; background: #e9f7f0; color: var(--green); }
|
||
.context-stage-summary { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
|
||
.context-stage-index { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; }
|
||
.context-stage-summary > div { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
|
||
.context-stage-summary strong { color: #202b3f; font-size: 14px; }
|
||
.context-stage-summary small { color: var(--blue); font-size: 12px; }
|
||
.context-definition-list { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
|
||
.context-definition-list > div { display: flex; justify-content: space-between; gap: 12px; color: #748096; font-size: 12px; }
|
||
.context-definition-list dt, .context-definition-list dd { margin: 0; }
|
||
.context-definition-list dd { overflow: hidden; color: #47546a; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
|
||
.current-model-name { display: block; overflow: hidden; color: #344054; font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
|
||
.context-file-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
|
||
.context-file-list li { min-width: 0; display: flex; align-items: center; gap: 8px; color: #536078; font-size: 13px; }
|
||
.context-file-list svg { width: 16px; flex: 0 0 16px; color: #728099; }
|
||
.context-file-list span, .context-file-list a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||
.artifact-context-list a { color: var(--blue); }
|
||
.context-empty { margin: 0; color: #8a94a6; font-size: 13px; line-height: 1.6; }
|
||
.context-more { display: block; margin-top: 12px; color: #768399; }
|
||
.history-loading { margin-top: 24vh; text-align: center; color: var(--muted); }
|
||
|
||
.material-start { width: 640px; max-width: 100%; margin: 10vh auto 0; }
|
||
.material-start h2 { font-size: 24px; margin: 0 0 24px; }
|
||
.upload-box .el-upload-dragger { border: 1px dashed #a9b8cf; background: #fbfdff; padding: 44px; }
|
||
.upload-box .el-icon { color: var(--blue); font-size: 34px; }
|
||
.upload-box p { margin: 14px 0 4px; font-size: 16px; }
|
||
.upload-box small { color: #8995a8; }
|
||
.folder-upload { display: flex; justify-content: center; margin-top: 12px; }
|
||
.folder-upload input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
|
||
.file-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
|
||
.file-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; }
|
||
.file-chips svg { width: 16px; color: var(--blue); }
|
||
.file-chips > small { align-self: center; color: var(--muted); }
|
||
|
||
.timeline { display: flex; flex-direction: column; gap: 10px; }
|
||
.load-earlier { align-self: center; border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 8px 16px; }
|
||
.load-earlier:hover, .load-earlier:focus-visible { color: var(--primary); }
|
||
.flow-row { min-width: 0; content-visibility: auto; contain-intrinsic-size: 54px; }
|
||
.flow-message { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
|
||
.flow-message > .flow-content { grid-column: 2; }
|
||
.flow-tool, .flow-reasoning, .flow-notice { position: relative; padding-left: 54px; }
|
||
.agent-avatar { width: 38px; height: 38px; border-radius: 11px; background: #edf4ff; color: var(--blue); display: grid; place-items: center; }
|
||
.agent-avatar svg { width: 21px; height: 21px; stroke-width: 1.8; }
|
||
.flow-content { min-width: 0; }
|
||
.flow-meta { display: flex; gap: 10px; align-items: baseline; margin: 1px 0 8px; }
|
||
.flow-meta time { color: #6c7b95; font-size: 13px; }
|
||
.agent-markdown { min-width: 0; color: #253247; font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }
|
||
.agent-markdown > :first-child { margin-top: 0; }
|
||
.agent-markdown > :last-child { margin-bottom: 0; }
|
||
.agent-markdown p.paragraph-node { margin: 0; }
|
||
.agent-markdown > .node-slot + .node-slot { margin-top: 12px; }
|
||
.agent-markdown h1, .agent-markdown h2, .agent-markdown h3 { margin: 20px 0 10px; line-height: 1.35; color: #182235; }
|
||
.agent-markdown h1 { font-size: 21px; }
|
||
.agent-markdown h2 { font-size: 18px; }
|
||
.agent-markdown h3 { font-size: 16px; }
|
||
.agent-markdown ul, .agent-markdown ol { margin: 8px 0 12px; padding-left: 24px; }
|
||
.agent-markdown li + li { margin-top: 4px; }
|
||
.agent-markdown blockquote { margin: 12px 0; padding-left: 14px; border-left: 2px solid #d8e0eb; color: #5d687b; }
|
||
.agent-markdown code { padding: 2px 5px; border-radius: 4px; background: #f2f4f7; font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; }
|
||
.agent-markdown pre { margin: 12px 0; padding: 14px 16px; overflow-x: auto; border-radius: 7px; background: #f5f7fa; }
|
||
.agent-markdown pre code { padding: 0; background: transparent; }
|
||
.agent-markdown a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
|
||
.agent-markdown table { display: block; max-width: 100%; margin: 12px 0; overflow-x: auto; border-collapse: collapse; }
|
||
.agent-markdown th, .agent-markdown td { padding: 7px 10px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
|
||
.activity-row { color: #6f7b90; font-size: 13px; border: 0; }
|
||
.flow-tool .activity-row { padding: 9px 12px; border: 1px solid var(--line); border-radius: 7px; background: #fafbfc; }
|
||
.flow-tool .activity-row summary { width: 100%; }
|
||
.activity-row summary { width: max-content; max-width: 100%; display: flex; align-items: center; gap: 8px; padding: 3px 0; cursor: pointer; list-style: none; }
|
||
.activity-row summary::-webkit-details-marker { display: none; }
|
||
.activity-row summary::after { content: "›"; margin-left: 2px; color: #a1a9b7; transition: transform .16s ease; }
|
||
.activity-row[open] summary::after { transform: rotate(90deg); }
|
||
.activity-row summary > svg { width: 15px; height: 15px; flex: 0 0 15px; color: currentColor; stroke-width: 1.8; }
|
||
.activity-row p { margin: 6px 0 2px 23px; color: #647084; font-size: 13px; line-height: 1.65; white-space: pre-wrap; }
|
||
.activity-row.failed { color: #b54747; }
|
||
.activity-row.active summary span { color: transparent; background: linear-gradient(90deg, #8d96a6 25%, #3f83ed 50%, #8d96a6 75%); background-size: 220% 100%; background-clip: text; animation: activity-shimmer 1.7s linear infinite; }
|
||
.view-image-strip { display: flex; flex-wrap: nowrap; gap: 10px; margin: 8px 0 4px 23px; overflow-x: auto; padding: 0 0 8px; }
|
||
.view-image-item { flex: 0 0 168px; min-width: 0; padding: 0; border: 0; color: #657187; background: transparent; text-align: left; cursor: zoom-in; }
|
||
.view-image-item:focus-visible { border-radius: 7px; outline: 2px solid var(--blue); outline-offset: 3px; }
|
||
.view-image-strip img { display: block; width: 168px; height: 98px; object-fit: cover; border-radius: 7px; background: #f4f6f8; }
|
||
.view-image-strip span { display: block; margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
|
||
.finalizing-row { margin-left: 54px; color: #778195; font-size: 13px; }
|
||
.finalizing-row span { color: transparent; background: linear-gradient(90deg, #8d96a6 25%, #3f83ed 50%, #8d96a6 75%); background-size: 220% 100%; background-clip: text; animation: activity-shimmer 1.7s linear infinite; }
|
||
@keyframes activity-shimmer { to { background-position: -220% 0; } }
|
||
@media (prefers-reduced-motion: reduce) { .activity-row.active summary span, .finalizing-row span { color: inherit; background: none; animation: none; } }
|
||
.notice-row { display: flex; align-items: center; gap: 9px; padding: 12px 14px; border: 1px solid #dce5f2; border-radius: 8px; background: #f6f9ff; }
|
||
.notice-row svg { width: 18px; }
|
||
.notice-row.success { color: #087d41; }
|
||
.notice-row.error { color: #c53131; background: #fff7f7; }
|
||
.notice-row.info { color: #45658f; background: #f7f9fc; }
|
||
.pending { opacity: .9; }
|
||
|
||
.ask-card { width: 700px; max-width: calc(100% - 60px); margin: 28px 0 0 60px; padding: 22px; border-radius: 9px; background: #fffaf2; box-shadow: inset 0 0 0 1px #f1ca8b; }
|
||
.ask-card h3 { color: #28354a; margin: 0 0 5px; font-size: 19px; }
|
||
.ask-card > p { color: #697794; margin: 0 0 16px; font-size: 14px; }
|
||
.plan-fields { overflow: hidden; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px #dce4ef; }
|
||
.plan-fields label { display: grid; grid-template-columns: 150px 1fr; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); }
|
||
.plan-fields label:last-child { border: 0; }
|
||
.plan-fields label > span { padding-left: 16px; }
|
||
.plan-fields .el-input__wrapper { box-shadow: none; }
|
||
.plan-fields .el-input-number { width: 100%; }
|
||
.plan-fields .el-input-number .el-input__wrapper { box-shadow: none; }
|
||
.plan-summary { margin: 12px 0 16px; padding: 11px 14px; border-radius: 6px; color: #4b6188; background: #eaf2ff; }
|
||
.plan-note { display: block; margin-bottom: 16px; }
|
||
.plan-note > span { display: block; margin-bottom: 8px; color: #53617b; font-size: 14px; }
|
||
.ask-actions { display: flex; justify-content: flex-end; gap: 8px; }
|
||
.material-items { margin-bottom: 16px; overflow: hidden; border-radius: 7px; background: #fff; box-shadow: inset 0 0 0 1px #dce4ef; }
|
||
.material-item { min-height: 72px; display: grid; grid-template-columns: minmax(180px, 1fr) 190px 58px; gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
|
||
.material-item:last-child { border-bottom: 0; }
|
||
.material-item > div { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
|
||
.material-item strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||
.material-item small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||
.material-item small.field-error { color: #b42318; }
|
||
.material-upload { color: var(--blue); cursor: pointer; text-align: center; }
|
||
.material-upload.busy { color: var(--muted); }
|
||
.material-upload input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
|
||
.material-clear { margin: 0; padding: 16px; color: var(--green); }
|
||
.material-more { width: 100%; padding: 11px; border: 0; border-top: 1px solid var(--line); background: #fff; color: var(--blue); cursor: pointer; }
|
||
.material-upload:focus-within, .material-more:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
|
||
.artifact-card { margin: 28px 0 72px 60px; border-radius: 8px; overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px #dce4ef; }
|
||
.artifact-row { display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
|
||
.artifact-row:last-child { border: 0; }
|
||
.artifact-row > svg { width: 25px; color: var(--blue); }
|
||
.artifact-row div { display: flex; flex-direction: column; gap: 4px; }
|
||
.artifact-row small { color: #7b879b; }
|
||
.artifact-row a { color: var(--blue); }
|
||
.stream-error { display: block; border: 0; background: transparent; color: #c53131; margin: 24px auto; cursor: pointer; }
|
||
.retry-button { display: block; margin: 28px auto 0; }
|
||
.back-to-bottom { position: fixed; right: 32px; bottom: 28px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #fff; color: var(--blue); box-shadow: 0 6px 22px rgba(29, 58, 111, .14); cursor: pointer; }
|
||
.back-to-bottom:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
|
||
.empty-main { display: grid; place-items: center; min-height: 100vh; color: #8995a8; }
|
||
.model-picker-field { display: grid; grid-template-columns: 86px minmax(0, 1fr); align-items: center; gap: 14px; min-height: 52px; }
|
||
.model-picker-field > span { color: #53617b; font-size: 14px; }
|
||
|
||
.settings-page { min-height: 100vh; padding: 28px 42px; }
|
||
.settings-page > header h1 { margin: 0; font-size: 28px; }
|
||
.settings-page > header p { color: #5f6d86; margin: 10px 0 0; }
|
||
.settings-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
|
||
.settings-grid { display: grid; grid-template-columns: 380px minmax(520px, 1fr); margin-top: 38px; min-height: 740px; }
|
||
.settings-list { padding-right: 28px; border-right: 1px solid var(--line); }
|
||
.settings-list h2, .skill-list h2 { font-size: 18px; margin: 0 0 18px; }
|
||
.settings-list h2 small { margin-left: 6px; color: #7b879b; font-size: 13px; font-weight: 500; }
|
||
.settings-list button { width: 100%; display: grid; grid-template-columns: 1fr auto; text-align: left; padding: 18px 16px; border: 0; border-radius: 7px; background: #fff; cursor: pointer; }
|
||
.settings-list button.selected { background: #edf4ff; color: var(--blue); }
|
||
.settings-list button.disabled strong, .settings-list button.disabled span { color: #8b96a8; }
|
||
.settings-list button strong, .settings-list button span { grid-column: 1; }
|
||
.settings-list button span { margin-top: 8px; color: #5f6d86; }
|
||
.settings-list button small { grid-column: 2; grid-row: 1 / span 2; align-self: end; color: var(--green); }
|
||
.settings-list button small.muted { color: #8b96a8; }
|
||
.settings-list button i, .skill-list button > i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 6px; }
|
||
.settings-list button small.muted i { background: #9ca6b5; }
|
||
.model-empty { min-height: 160px; display: grid; place-items: center; color: #8995a8; border: 1px dashed #d9e0ea; border-radius: 7px; }
|
||
.settings-form { padding-left: 28px; }
|
||
.form-title { height: 62px; display: flex; align-items: start; justify-content: space-between; border-bottom: 1px solid var(--line); }
|
||
.form-title h2 { margin: 0; font-size: 22px; }
|
||
.model-title-actions { display: flex; align-items: center; gap: 10px; }
|
||
.settings-form > label { display: grid; grid-template-columns: 170px minmax(320px, 1fr); align-items: center; min-height: 88px; border-bottom: 1px solid var(--line); }
|
||
.capability-row { display: grid; grid-template-columns: 170px 1fr; min-height: 88px; align-items: center; border-bottom: 1px solid var(--line); }
|
||
.capability-row div { display: flex; gap: 8px; }
|
||
.capability-row b { padding: 6px 10px; border: 1px solid #d3dbe7; border-radius: 5px; font-size: 13px; font-weight: 500; }
|
||
.model-actions { display: flex; align-items: center; gap: 16px; padding-top: 28px; }
|
||
.model-danger-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
|
||
.connection-ok { color: var(--green); display: inline-flex; align-items: center; gap: 6px; }
|
||
.connection-ok svg { width: 18px; }
|
||
|
||
.skills-header { display: flex; justify-content: space-between; align-items: start; }
|
||
.import-skill-trigger { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 15px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: #fff; cursor: pointer; }
|
||
.import-skill-trigger:hover, .skills-header .el-upload:focus-visible .import-skill-trigger { border-color: var(--primary); color: var(--primary); }
|
||
.skill-grid { display: grid; grid-template-columns: 480px minmax(540px, 1fr); margin-top: 24px; min-height: 780px; }
|
||
.skill-list { border-right: 1px solid var(--line); padding-right: 16px; overflow-y: auto; max-height: calc(100vh - 150px); }
|
||
.skill-item { min-height: 84px; display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; border-bottom: 1px solid var(--line); background: #fff; }
|
||
.skill-item.selected { background: #edf4ff; }
|
||
.skill-select { min-width: 0; min-height: 84px; display: grid; grid-template-columns: minmax(0, 1fr) 52px 54px; align-items: center; gap: 8px; border: 0; background: transparent; text-align: left; padding: 14px; cursor: pointer; }
|
||
.skill-select > span { min-width: 0; display: flex; flex-direction: column; gap: 7px; }
|
||
.skill-select strong, .skill-select span > small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
|
||
.skill-select strong { color: #1f2a3d; }
|
||
.skill-select span > small { color: #667085; font-size: 13px; }
|
||
.skill-select > i { color: var(--green); font-style: normal; white-space: nowrap; }
|
||
.skill-select > i::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 5px; }
|
||
.skill-detail { padding-left: 28px; }
|
||
.skill-title { min-height: 72px; display: flex; justify-content: space-between; align-items: start; gap: 12px; }
|
||
.skill-title > div { min-width: 0; flex: 1; display: flex; align-items: center; gap: 8px; }
|
||
.skill-title h2 { margin: 0 6px 0 0; font-size: 24px; }
|
||
.skill-detail pre { min-height: 450px; max-height: calc(100vh - 280px); overflow: auto; white-space: pre-wrap; margin: 8px 0 0; padding: 22px; border-radius: 7px; background: #fafbfd; color: #293752; line-height: 1.7; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; box-shadow: inset 0 0 0 1px #e1e7f0; }
|
||
.resource-list { display: flex; flex-direction: column; gap: 8px; }
|
||
.resource-list span { padding: 12px; border-bottom: 1px solid var(--line); }
|
||
.validation-ok { color: var(--green); }
|
||
|
||
.login-page { min-height: 100vh; display: grid; place-items: center; background: #f8faff; }
|
||
.login-panel { width: 360px; padding: 36px; display: flex; flex-direction: column; gap: 16px; border-radius: 14px; background: #fff; box-shadow: 0 12px 44px rgba(34, 64, 120, .08); }
|
||
.login-panel .brand.large { margin: 0 auto; }
|
||
.login-panel h1 { margin: 4px 0 10px; text-align: center; font-size: 24px; }
|
||
.full-button { width: 100%; }
|
||
.form-error { color: #c53131; font-size: 13px; margin: 0; }
|
||
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
|
||
|
||
.el-button--primary { --el-button-bg-color: var(--blue); --el-button-border-color: var(--blue); }
|
||
.el-input__wrapper, .el-textarea__inner { box-shadow: inset 0 0 0 1px #d9e0ea; }
|
||
.el-dialog { border-radius: 12px; }
|
||
|
||
@media (max-width: 1320px) {
|
||
.project-workspace { max-width: 960px; grid-template-columns: minmax(0, 1fr); }
|
||
.project-context-panel { display: none; }
|
||
}
|
||
|
||
@media (max-width: 1180px) {
|
||
.project-list { width: 240px; flex-basis: 240px; }
|
||
.project-workspace { padding: 20px; }
|
||
.project-stage-bar { padding-right: 18px; padding-left: 18px; }
|
||
.stage-copy small { display: none; }
|
||
.settings-page { padding-left: 28px; padding-right: 28px; }
|
||
.settings-grid { grid-template-columns: 310px 1fr; }
|
||
.skill-grid { grid-template-columns: 390px 1fr; }
|
||
.skill-title { min-height: 100px; }
|
||
.skill-title > div { align-items: flex-start; flex-wrap: wrap; }
|
||
.skill-title h2 { flex-basis: 100%; font-size: 21px; overflow-wrap: anywhere; }
|
||
}
|
||
|
||
@media (max-width: 720px) {
|
||
.rail { width: 64px; flex-basis: 64px; padding-left: 0; padding-right: 0; }
|
||
.rail a { width: 52px; font-size: 12px; }
|
||
.project-list { width: 190px; flex-basis: 190px; padding: 20px 10px; }
|
||
.project-workspace { padding: 12px; }
|
||
.workspace-main { border-radius: 7px; }
|
||
.project-stage-bar { grid-template-columns: repeat(4, minmax(112px, 1fr)); overflow-x: auto; padding: 16px; }
|
||
.project-stage:not(:last-child)::after { right: 8px; }
|
||
.work-scroll { width: calc(100% - 32px); }
|
||
.page-header { padding: 0 16px; }
|
||
.page-header h1 { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 20px; }
|
||
.run-actions { gap: 2px; }
|
||
.ask-card, .artifact-card { max-width: 100%; margin-left: 0; }
|
||
.flow-tool, .flow-reasoning, .flow-notice { padding-left: 28px; }
|
||
.flow-tool::before, .flow-reasoning::before { left: 7px; }
|
||
.flow-tool::after, .flow-reasoning::after { left: 4px; }
|
||
.material-item { grid-template-columns: 1fr 160px; }
|
||
.material-upload { grid-column: 2; }
|
||
.settings-page { padding: 24px 16px; }
|
||
.settings-header { align-items: center; }
|
||
.settings-grid, .skill-grid { grid-template-columns: 1fr; }
|
||
.settings-list, .skill-list { max-height: 300px; border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 20px; }
|
||
.settings-form, .skill-detail { padding: 24px 0 0; }
|
||
.settings-form > label, .capability-row { grid-template-columns: 130px 1fr; }
|
||
.model-actions { flex-wrap: wrap; }
|
||
.model-danger-actions { width: 100%; margin-left: 0; padding-top: 6px; }
|
||
}
|
||
|
||
@media (prefers-reduced-motion: reduce) {
|
||
*, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
|
||
}
|