From 937a3fb719296910a7635454f32010d67c5a31c8 Mon Sep 17 00:00:00 2001 From: kicer Date: Sat, 5 Sep 2026 11:12:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=8B=E7=BC=A9=E6=8C=89=E9=92=AE=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=EF=BC=9A=E5=A4=8D=E7=94=A8=E7=8E=B0=E6=9C=89=20primar?= =?UTF-8?q?y/danger=EF=BC=9B=E5=8F=B3=E5=AF=B9=E9=BD=90=E8=93=9D=E8=89=B2?= =?UTF-8?q?=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 弹窗三按钮复用现有按钮语义:取消=ghost-btn、仅摘要=primary-btn(蓝/确定风)、 压缩总结=ghost-btn.danger(红/删除风);删除之前临时编的 .warn / .outline 样式。 - 压缩按钮 SVG 加 .icon-primary(用 var(--active) 主蓝)+ .phase-bar-right(margin-left:auto 推到 phase-bar 最右侧),与其他 stop-link 视觉区分。 --- app/server/public/index.html | 31 +++++++++---------------------- 1 file changed, 9 insertions(+), 22 deletions(-) diff --git a/app/server/public/index.html b/app/server/public/index.html index 5b7589e..a77c624 100644 --- a/app/server/public/index.html +++ b/app/server/public/index.html @@ -24,24 +24,11 @@ /* 状态栏图标按钮(压缩):仅显示 SVG、去掉文字 padding;保持与文字按钮同高。 */ .stop-link.icon-only { padding: 0 8px; line-height: 0; } .stop-link.icon-only .ic { width: 18px; height: 18px; vertical-align: middle; } - /* 「压缩」弹窗按钮颜色区分。 - - ghost-btn.outline :中性蓝描边,表示「仅生成摘要」这一不修改历史的动作。 - - primary-btn.warn :警示橙填充,表示「压缩总结」将清空历史、不可恢复。 */ - .btn-row .ghost-btn.outline { - color: #3964FE; - border-color: #3964FE; - background: #fff; - } - .btn-row .ghost-btn.outline:hover { background: rgba(57,100,254,.08); } - .btn-row .primary-btn.warn { - background: #E07A1F; - border-color: #E07A1F; - color: #fff; - } - .btn-row .primary-btn.warn:hover { - background: #c86912; - border-color: #c86912; - } + /* 状态栏「压缩」图标按钮:主操作色(蓝色),与其他 stop-link 区分(终止/选择模型是灰) */ + .stop-link.icon-only.icon-primary { color: var(--active); } + .stop-link.icon-only.icon-primary:hover { color: #2854d6; } + /* 推到 phase-bar 最右侧(独立动作,与左侧状态/选择模型区分) */ + .phase-bar .phase-bar-right { margin-left: auto; }