feat(ui): theme & layout improvements
- Dark-blue theme background assets and styling integration - Appearance settings with layoutMode (full/compact) preference - Settings dialog and auth context updates - AI writing form and panel refinements - Open Canvas context updates - Roundtable planning styling and dashboard enhancements - Strategy components and header updates - Light app management and routing improvements - Global style enhancements for dark theme - Various page layout and workspace routing optimizations
This commit is contained in:
1 parent
da2864f422
commit
56449ed129
33 files changed
+1133
-491
No files matched your search
@@ -502,6 +502,20 @@
|
||||
background: var(--background);
|
||||
}
|
||||
|
||||
/* 深色背景换成设计稿深蓝主题底图。background-color 作为图片加载前/超出
|
||||
* 区域的回落底色。仅 .dark 生效,浅色模式不受影响。
|
||||
* - .workspace-chat-bg:紧凑模式聊天页(ChatPage 在 compactChrome 下挂)
|
||||
* - .canvas-writing-bg:AI 写作页(AIWritingPage 根容器)*/
|
||||
.dark .workspace-chat-bg,
|
||||
.dark .canvas-writing-bg {
|
||||
background-color: var(--background);
|
||||
background-image: url("../assets/img/layout-bg-theme-dark-blue.svg");
|
||||
background-size: cover;
|
||||
background-position: center top;
|
||||
background-repeat: no-repeat;
|
||||
background-attachment: fixed;
|
||||
}
|
||||
|
||||
.workspace-panel {
|
||||
border: 1px solid #f0d7d0;
|
||||
background: #ffffff;
|
||||
@@ -924,7 +938,43 @@ body {
|
||||
}
|
||||
|
||||
html.dark .strategy-app-header {
|
||||
background-image: url("../assets/img/dark-blue-header.svg");
|
||||
background-image: url("../assets/img/top-bg.svg");
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
/* 深色顶栏:居中「CM助手」标题,落在背景图中间的发光梯形基座上。
|
||||
左右菜单分区各 flex-1 等宽,本元素居中即对齐背景图基座。 */
|
||||
.header-center-title {
|
||||
flex: 0 0 auto;
|
||||
height: 64px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0 155px;
|
||||
/* 文字略微上移,贴合基座视觉中心 */
|
||||
transform: translateY(-6px);
|
||||
font-family: "Source Han Sans SC", "Noto Sans SC", "Noto Sans S Chinese",
|
||||
"Microsoft YaHei", sans-serif;
|
||||
font-size: 26px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 4px;
|
||||
white-space: nowrap;
|
||||
pointer-events: none;
|
||||
user-select: none;
|
||||
/* 白→浅蓝→白 金属质感渐变文字 */
|
||||
background: linear-gradient(
|
||||
180deg,
|
||||
#f9f9fa 0%,
|
||||
#ffffff 15%,
|
||||
#d8e5ff 49%,
|
||||
#ffffff 89%,
|
||||
#f8fafb 100%
|
||||
);
|
||||
-webkit-background-clip: text;
|
||||
background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
color: transparent;
|
||||
filter: drop-shadow(0 0 14px rgba(120, 200, 255, 0.35));
|
||||
}
|
||||
|
||||
/* ── 浅蓝主题:覆盖散落在各处的红色硬编码(CSS 变量管不到的地方)────────── */
|
||||
|
||||
Reference in new issue
Block a user