2026-08-06 08:20:17 +08:00
|
|
|
|
/* iAOP 管理控制台样式(issue #135)。Ant Design 5 token 调色(2026-08 全站 AntD Pro 重构)。 */
|
2026-08-05 10:27:10 +08:00
|
|
|
|
:root {
|
2026-08-06 08:20:17 +08:00
|
|
|
|
/* 默认值 = Ant Design 5 亮色 token(pro.css 在后加载再次确认) */
|
|
|
|
|
|
--bg: #f0f2f5; --surface: #ffffff; --fg: rgba(0,0,0,0.88);
|
|
|
|
|
|
--muted: rgba(0,0,0,0.45);
|
|
|
|
|
|
--accent: #1677ff; --warn: #faad14; --line: rgba(5,5,5,0.06);
|
2026-08-05 10:27:10 +08:00
|
|
|
|
}
|
|
|
|
|
|
* { box-sizing: border-box; }
|
|
|
|
|
|
body { margin: 0; font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
|
|
|
|
|
|
background: var(--bg); color: var(--fg); }
|
|
|
|
|
|
|
|
|
|
|
|
#topbar { display: flex; align-items: center; justify-content: space-between;
|
|
|
|
|
|
padding: 10px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
|
|
|
|
|
|
h1 { font-size: 18px; color: var(--accent); margin: 0; }
|
|
|
|
|
|
h1 .sub { font-size: 12px; color: var(--muted); font-weight: 400; }
|
|
|
|
|
|
#topbar-right { display: flex; gap: 14px; align-items: center; font-size: 13px; }
|
|
|
|
|
|
#topbar-right a { color: var(--accent); text-decoration: none; }
|
2026-08-06 08:20:17 +08:00
|
|
|
|
.hint { font-size: 11px; color: rgba(0,0,0,0.45); }
|
2026-08-05 10:27:10 +08:00
|
|
|
|
|
|
|
|
|
|
#tabs { display: flex; gap: 4px; padding: 8px 16px 0; }
|
|
|
|
|
|
.tab { padding: 8px 18px; border: 1px solid var(--line); border-bottom: none;
|
|
|
|
|
|
border-radius: 8px 8px 0 0; background: transparent; color: var(--muted);
|
|
|
|
|
|
cursor: pointer; font-size: 14px; }
|
|
|
|
|
|
.tab.active { background: var(--surface); color: var(--accent); }
|
|
|
|
|
|
|
|
|
|
|
|
.page { display: none; padding: 12px 16px 24px; }
|
|
|
|
|
|
.page.active { display: block; }
|
|
|
|
|
|
.panel { background: var(--surface); border: 1px solid var(--line);
|
|
|
|
|
|
border-radius: 8px; padding: 14px 16px; }
|
|
|
|
|
|
.panel h2 { font-size: 14px; margin: 0 0 10px; color: var(--accent); }
|
|
|
|
|
|
.row { display: flex; align-items: center; gap: 10px; margin: 10px 0; flex-wrap: wrap; }
|
|
|
|
|
|
|
|
|
|
|
|
select, input { padding: 7px 10px; border-radius: 6px; font-size: 13px;
|
|
|
|
|
|
border: 1px solid var(--line); background: var(--bg); color: var(--fg); }
|
|
|
|
|
|
button { padding: 6px 14px; border: none; border-radius: 6px; cursor: pointer;
|
|
|
|
|
|
background: #1e293b; color: var(--fg); font-size: 12px; }
|
2026-08-06 08:20:17 +08:00
|
|
|
|
button.primary { background: var(--accent); color: #ffffff; }
|
2026-08-05 10:27:10 +08:00
|
|
|
|
button:disabled { opacity: .4; cursor: not-allowed; }
|
|
|
|
|
|
|
|
|
|
|
|
table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 13px; }
|
|
|
|
|
|
th, td { padding: 7px 8px; border-bottom: 1px solid var(--line); text-align: left; }
|
|
|
|
|
|
th { color: var(--muted); font-weight: 400; }
|
|
|
|
|
|
|
|
|
|
|
|
/* 模型阶段徽标 */
|
|
|
|
|
|
.stage { padding: 2px 10px; border-radius: 10px; font-size: 12px; }
|
2026-08-06 08:20:17 +08:00
|
|
|
|
.stage-dev { background: rgba(0,0,0,0.06); color: var(--muted); }
|
|
|
|
|
|
.stage-staging { background: rgba(250,173,20,.15); color: var(--warn); }
|
|
|
|
|
|
.stage-prod { background: rgba(82,196,26,.15); color: #52c41a; }
|
2026-08-05 10:27:10 +08:00
|
|
|
|
|
|
|
|
|
|
/* 知识库 */
|
|
|
|
|
|
.detail { margin-top: 12px; background: var(--bg); border-radius: 6px; padding: 10px;
|
|
|
|
|
|
font-size: 12px; color: var(--muted); max-height: 260px; overflow-y: auto; }
|
2026-08-06 08:20:17 +08:00
|
|
|
|
.idx-ok { color: #52c41a; }
|
2026-08-05 10:27:10 +08:00
|
|
|
|
.idx-pending { color: var(--warn); }
|
|
|
|
|
|
|
|
|
|
|
|
/* 告警 */
|
|
|
|
|
|
.split-alerts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
|
|
|
|
|
|
.alert-item { border-radius: 6px; padding: 8px 12px; margin-bottom: 6px; font-size: 13px;
|
|
|
|
|
|
border-left: 3px solid transparent; cursor: pointer;
|
|
|
|
|
|
display: flex; gap: 10px; align-items: center; }
|
|
|
|
|
|
.alert-item:hover { outline: 1px solid var(--line); }
|
|
|
|
|
|
.alert-item .sev { font-weight: 700; }
|
|
|
|
|
|
.alert-item .st { margin-left: auto; font-size: 11px; color: var(--muted); }
|
|
|
|
|
|
#alert-detail { font-size: 13px; line-height: 1.7; }
|
|
|
|
|
|
#alert-detail .llm { background: var(--bg); border-radius: 6px; padding: 10px;
|
|
|
|
|
|
white-space: pre-wrap; margin: 8px 0; }
|
|
|
|
|
|
#alert-detail .sop { border-left: 3px solid var(--warn); padding: 4px 10px;
|
|
|
|
|
|
color: var(--muted); font-size: 12px; }
|
|
|
|
|
|
@media (max-width: 1000px) { .split-alerts { grid-template-columns: 1fr; } }
|