From 4c1ce38cc0b17f297ba4bb0e83b2ab8d99276d34 Mon Sep 17 00:00:00 2001 From: Metona Date: Mon, 6 Apr 2026 01:09:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=9F=A5=E8=AF=86?= =?UTF-8?q?=E5=BA=93/=E5=8E=86=E5=8F=B2=E5=BC=B9=E6=A1=86=E5=AE=BD?= =?UTF-8?q?=E5=BA=A6=E3=80=81=E5=9B=BE=E7=89=87=E6=8C=89=E9=92=AE=E7=A6=81?= =?UTF-8?q?=E7=94=A8=E6=A0=87=E8=AF=86=E3=80=81Think=20=E6=8C=89=E9=92=AE?= =?UTF-8?q?=20hover=20=E5=85=89=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/style.css | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/css/style.css b/css/style.css index efe5bde..4a9b160 100644 --- a/css/style.css +++ b/css/style.css @@ -228,7 +228,16 @@ html, body { .icon-btn:disabled { opacity: 0.36; cursor: not-allowed; - pointer-events: none; +} + +/* 图片按钮禁用时保留 pointer-events 以显示 tooltip 和 cursor */ +#btnAttachImg.disabled { + pointer-events: auto; +} + +#btnAttachImg.disabled:hover { + opacity: 0.3; + background: rgba(241, 112, 123, 0.08); } .icon-btn.sm { @@ -558,10 +567,12 @@ html, body { background: var(--accent-subtle); border-color: var(--accent); color: var(--accent); + box-shadow: 0 0 12px rgba(96, 205, 255, 0.4), 0 0 4px rgba(96, 205, 255, 0.2); } .think-toggle input:checked + .think-btn:hover { background: var(--accent-subtle-hover); + box-shadow: 0 0 18px rgba(96, 205, 255, 0.55), 0 0 6px rgba(96, 205, 255, 0.3); } .think-toggle.unavailable .think-btn { @@ -1504,6 +1515,12 @@ html, body { font-size: 13px; } +/* ── 历史记录模态框加宽 ── */ +#historyModal .modal { + max-width: 680px; + max-height: 88vh; +} + /* ── 历史记录 ── */ .history-list { display: flex; @@ -1793,6 +1810,12 @@ html, body { } /* ═══ 知识库管理 ═══ */ +#kbModal .modal { + max-width: 95vw; + width: 1100px; + max-height: 88vh; +} + #kbModal .modal-body { padding: 16px 20px; overflow: hidden; @@ -2095,7 +2118,6 @@ html, body { @media (min-width: 1024px) { .messages { max-width: 900px; } - #historyModal .modal { max-width: 620px; } } /* ── 选中文本 ── */