style(workspace): 全量模式通用问答左栏深色深蓝玻璃适配

深色(.dark)主题下,全量模式聊天页左栏(GeneralQaSidebar)由扁平 bg-sidebar
改为「深蓝主题底图 + 半透明蓝罩」玻璃面板:与右侧 workspace-chat-bg 主区同一张
fixed 底图、左右连续,叠蓝罩略深一档作面板区分。浅色/浅蓝主题不命中,仍用
sidebar token,内部元素走语义 token 自适配。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
董宏凯andClaude Opus 4.8 committed 2026-06-18 17:45:17 +08:00
1 parent 03b6fb724c
commit 3758122cf7
2 files changed
+21 -2

No files matched your search

+17
View File
@@ -609,6 +609,23 @@
color: #faad14 !important;
}
/* 全量模式通用问答左栏(GeneralQaSidebar,class=gq-sidebar)的深蓝适配:深蓝(.dark)
* 主题下由扁平 bg-sidebar 改为「深蓝主题底图 + 半透明蓝罩」玻璃面板——与右侧主区
* workspace-chat-bg 同一张 fixed 底图(视口对齐、左右连续),叠一层蓝罩使其略深、读作
* 独立面板。内部元素已走语义 token,自适配。浅色 / 浅蓝主题不命中,仍用 sidebar token。 */
.dark .gq-sidebar {
background-color: transparent !important;
background-image: linear-gradient(
rgba(3, 38, 80, 0.72),
rgba(3, 38, 80, 0.72)
),
url("../assets/img/layout-bg-theme-dark-blue.svg");
background-size: cover, cover;
background-position: center top, center top;
background-repeat: no-repeat, no-repeat;
background-attachment: fixed, fixed;
}
.workspace-panel {
border: 1px solid #f0d7d0;
background: #ffffff;