feat: add LLM配置 management page (profiles view)
This commit is contained in:
@@ -265,3 +265,39 @@ table.group-table td { border-bottom: 1px solid #f1f5f9; font-variant-numeric: t
|
||||
.sidebar { width: 64px; }
|
||||
.brand-sub, .nav-item span:not(.nav-ico), .sidebar-foot span:last-child { display: none; }
|
||||
}
|
||||
|
||||
/* ---------- LLM 配置管理页 ---------- */
|
||||
.profile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
|
||||
.profile-card {
|
||||
background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
|
||||
padding: 16px; box-shadow: var(--shadow);
|
||||
}
|
||||
.profile-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
|
||||
.profile-card-name { font-size: 15px; font-weight: 600; }
|
||||
.profile-card-actions { display: flex; gap: 6px; }
|
||||
.profile-card-field { font-size: 12px; color: var(--slate); margin-top: 4px; }
|
||||
.field-label { font-weight: 600; color: var(--ink); }
|
||||
|
||||
/* Form */
|
||||
.profile-form { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; max-width: 560px; }
|
||||
.form-row { display: flex; flex-direction: column; gap: 4px; }
|
||||
.form-label { font-size: 13px; font-weight: 600; }
|
||||
.req { color: var(--bad); }
|
||||
.form-input {
|
||||
border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px;
|
||||
font-size: 13px; font-family: inherit; width: 100%;
|
||||
}
|
||||
.form-input:focus { outline: none; border-color: var(--petrol); }
|
||||
.form-input-sm { max-width: 120px; }
|
||||
.form-actions { display: flex; gap: 10px; align-items: center; margin-top: 4px; }
|
||||
.form-error { font-size: 12px; color: var(--bad); }
|
||||
.btn-sm { padding: 4px 10px; font-size: 12px; }
|
||||
.btn-danger { color: var(--bad); border-color: var(--bad); }
|
||||
.btn-danger:hover { background: #fee2e2; }
|
||||
|
||||
/* ---------- LLM 角色配置面板 ---------- */
|
||||
.llm-assignment-panel { border-left: 3px solid var(--petrol); }
|
||||
.llm-role-rows { display: flex; flex-direction: column; gap: 10px; }
|
||||
.llm-role-row { display: flex; align-items: center; gap: 14px; }
|
||||
.llm-role-label { font-size: 13px; font-weight: 600; min-width: 180px; color: var(--ink); }
|
||||
.llm-role-select { min-width: 240px; }
|
||||
|
||||
Reference in New Issue
Block a user