fix(workspace): 弹窗卡片在深色下仍是白卡(补齐)
实测(打开被拒绝内嵌的应用时弹出提示): .navi-ws-modal 遮罩已是深色,但 .navi-ws-modal-card 仍为 rgba(255,255,255,.96), 深色下是刺眼白块且与浅色文字冲突;按钮同样是亮色。 补齐卡片/标题/正文/按钮的深色样式。内嵌区上一条已改为透明(去黑方块)。
This commit is contained in:
31
web/navi.css
31
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user