From f08e0bf844737f78301bd5865a397f993d237732 Mon Sep 17 00:00:00 2001 From: HomeDash Bot Date: Sat, 12 Sep 2026 08:39:43 +0800 Subject: [PATCH] =?UTF-8?q?fix(workspace):=20=E5=BC=B9=E7=AA=97=E5=8D=A1?= =?UTF-8?q?=E7=89=87=E5=9C=A8=E6=B7=B1=E8=89=B2=E4=B8=8B=E4=BB=8D=E6=98=AF?= =?UTF-8?q?=E7=99=BD=E5=8D=A1=EF=BC=88=E8=A1=A5=E9=BD=90=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 实测(打开被拒绝内嵌的应用时弹出提示): .navi-ws-modal 遮罩已是深色,但 .navi-ws-modal-card 仍为 rgba(255,255,255,.96), 深色下是刺眼白块且与浅色文字冲突;按钮同样是亮色。 补齐卡片/标题/正文/按钮的深色样式。内嵌区上一条已改为透明(去黑方块)。 --- web/navi.css | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/web/navi.css b/web/navi.css index da63e29..cc8f0f4 100644 --- a/web/navi.css +++ b/web/navi.css @@ -1824,3 +1824,34 @@ html.navi-dark body .navi-ws-notice-title { bottom: calc(60px + env(safe-area-inset-bottom, 0px)) !important; } } + +/* ── 工作空间弹窗("无法内嵌"提示)深色补齐 ── + 实测:.navi-ws-modal 遮罩已是深色,但 .navi-ws-modal-card 仍是 + rgba(255,255,255,.96) 的纯白卡片,深色下非常刺眼且与浅色文字冲突。 */ +html.navi-dark body .navi-ws-modal-card, +html.navi-dark body .navi-ws-notice { + background-color: rgba(20, 31, 49, .97) !important; + border-color: rgba(148, 163, 184, .28) !important; + box-shadow: 0 26px 60px rgba(0, 0, 0, .55) !important; +} +html.navi-dark body .navi-ws-modal-title, +html.navi-dark body .navi-ws-notice-title { + color: #f1f5f9 !important; +} +html.navi-dark body .navi-ws-modal-text, +html.navi-dark body .navi-ws-notice-text, +html.navi-dark body .navi-ws-modal-card p, +html.navi-dark body .navi-ws-notice p { + color: #a9b8cd !important; +} +html.navi-dark body .navi-ws-modal-ok, +html.navi-dark body .navi-ws-open { + background-color: rgba(30, 41, 59, .92) !important; + color: #dbeafe !important; + border-color: rgba(148, 163, 184, .30) !important; +} +html.navi-dark body .navi-ws-modal-ok:hover, +html.navi-dark body .navi-ws-open:hover { + background-color: rgba(51, 65, 85, .95) !important; + color: #e8eefc !important; +}