diff --git a/web/navi.css b/web/navi.css index 544adbf..bc2dbdb 100644 --- a/web/navi.css +++ b/web/navi.css @@ -1738,3 +1738,47 @@ html.navi-dark body.navi-dark .navi-footer .navi-footer-sep { color: #9fb0c8 !important; } html.navi-dark body.navi-dark .navi-footer a:hover { color: #7dd3fc !important; } + +/* ── workspace / minimal 深色补齐(实测数据驱动)── + 实测:nav.side-bar 已是深色,但 .side-bar-item 仍是 rgba(255,255,255,.7) + 的白色药丸;.work-space .web-content 是纯白 —— 深色下最刺眼的两处。 */ +html.navi-dark body nav.side-bar .side-bar-item, +html.navi-dark body nav.side-bar .side-bar-item .item-icon, +html.navi-dark body nav.side-bar a, +html.navi-dark body .switch-view-buttons button { + background-color: rgba(30, 41, 59, .0) !important; + color: #cbd5e1 !important; + border-color: rgba(148, 163, 184, .22) !important; +} +html.navi-dark body nav.side-bar .side-bar-item:hover, +html.navi-dark body nav.side-bar .side-bar-item:focus, +html.navi-dark body nav.side-bar .side-bar-item.active { + background-color: rgba(51, 65, 85, .72) !important; + color: #e8eefc !important; +} +html.navi-dark body nav.side-bar .side-bar-item svg, +html.navi-dark body nav.side-bar .side-bar-item i, +html.navi-dark body nav.side-bar .side-bar-item .item-icon i { + color: #cbd5e1 !important; + fill: currentColor !important; +} +/* 内嵌应用的外框与占位:白底会在深色下形成刺眼的白框 */ +html.navi-dark body .work-space .web-content, +html.navi-dark body .work-space .web-content iframe { + background-color: #0f172a !important; +} +html.navi-dark body .work-space .navi-ws-notice, +html.navi-dark body .navi-ws-toolbar { + background-color: rgba(20, 31, 49, .91) !important; + color: #dce6f5 !important; +} +html.navi-dark body .navi-ws-bar-btn { + background-color: rgba(30, 41, 59, .85) !important; + color: #cbd5e1 !important; + border-color: rgba(148, 163, 184, .24) !important; +} +html.navi-dark body .navi-ws-bar-host, +html.navi-dark body .navi-ws-modal-title, +html.navi-dark body .navi-ws-notice-title { + color: #e8eefc !important; +}