fix(web): 文件管理目录树与主面板共用实底 slab 与表头 token(FIX-9)

两块面板垫同一层底色(pg-slab-solid),背后光斑不再让目录树更亮更透;
列表粘性表头改用与卡片同色系的 pg-slab-head,不再是一条纯黑。

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
rootandClaude Opus 5.5 committed 2026-09-30 19:32:32 +08:00
1 parent 6f450ed329
commit fe6649f17d
3 files changed
+18 -3

No files matched your search

+2 -2
View File
@@ -891,7 +891,7 @@ export default function FilesPage() {
style={{ width: treeOpen ? treeW : 52 }}
aria-label="登记目录与目录树"
>
<div className="pg-slab flex min-h-0 w-full flex-col overflow-hidden rounded-2xl">
<div className="pg-slab pg-slab-solid flex min-h-0 w-full flex-col overflow-hidden rounded-2xl">
{treeOpen ? (
<>
{/* 头部一行与主面板工具栏第一行等高(同 px-3 py-2.5 + 按钮高度) */}
@@ -956,7 +956,7 @@ export default function FilesPage() {
) : null}
<section
className="pg-slab relative flex min-h-[24rem] min-w-0 flex-1 flex-col overflow-hidden rounded-2xl"
className="pg-slab pg-slab-solid relative flex min-h-[24rem] min-w-0 flex-1 flex-col overflow-hidden rounded-2xl"
aria-label="目录内容"
>
{/* 工具栏 */}