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; +}