diff --git a/core/frontend/src/admin-page.css b/core/frontend/src/admin-page.css index 5926998..4cc7263 100644 --- a/core/frontend/src/admin-page.css +++ b/core/frontend/src/admin-page.css @@ -220,7 +220,9 @@ font-size: 11px; cursor: help; } -.bulk-bar { +/* 收窄到 .admin-app 作用域:`.bulk-bar` 是全局裸类(商品库/项目/资产库各有黑底版), + 不限定会随 main.tsx 末位加载盖掉那些黑底浮条 → 全站批量栏被染白。 */ +.admin-app .bulk-bar { position: fixed; left: 50%; bottom: 28px; @@ -235,7 +237,7 @@ box-shadow: var(--shadow-floating); z-index: 50; } -.bulk-count { font-size: 13px; color: var(--accent-black); font-weight: 500; } +.admin-app .bulk-count { font-size: 13px; color: var(--accent-black); font-weight: 500; } /* ── 任务监控 ── */ .admin-anomaly-chip { height: 28px; padding: 0 14px; font-size: 12.5px; cursor: pointer; } diff --git a/core/frontend/src/ai-tools-page.css b/core/frontend/src/ai-tools-page.css index 21db569..f8c871b 100644 --- a/core/frontend/src/ai-tools-page.css +++ b/core/frontend/src/ai-tools-page.css @@ -44,7 +44,7 @@ .asset-factory .factory-tag { align-self: flex-start; font-family: var(--font-mono); - font-size: 12px; + font-size: 10.5px; color: var(--black-alpha-48); letter-spacing: .06em; padding: 2px 8px; @@ -62,7 +62,7 @@ } .asset-factory .factory-desc { margin-top: 8px; - font-size: 14px; + font-size: 13.5px; color: var(--black-alpha-64); line-height: 1.55; } @@ -77,7 +77,7 @@ } .asset-factory .factory-cta .cost { font-family: var(--font-mono); - font-size: 12px; + font-size: 10.5px; color: var(--black-alpha-48); letter-spacing: .04em; } diff --git a/core/frontend/src/design-restraint.css b/core/frontend/src/design-restraint.css index 17e74cf..7f5a756 100644 --- a/core/frontend/src/design-restraint.css +++ b/core/frontend/src/design-restraint.css @@ -554,7 +554,8 @@ main { position: relative; background: var(--background-base); min-width: 0; } /* ─── Content ─── */ .content { - padding: 48px 28px 72px; + /* 对齐 HTML 设计稿 #page-content(24px 28px 60px):原 48px 顶距使全站标题整体偏低 24px */ + padding: 24px 28px 60px; position: relative; z-index: 1; min-height: calc(100vh - 64px); diff --git a/core/frontend/src/library-page.css b/core/frontend/src/library-page.css index b72a39a..b2a6cf5 100644 --- a/core/frontend/src/library-page.css +++ b/core/frontend/src/library-page.css @@ -54,7 +54,8 @@ body.edit-mode .library-page .asset-card .card-del-btn { opacity: 0 !important; padding: 10px 14px 10px 18px; display: none; align-items: center; gap: 16px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); z-index: 100; font-size: 13px; } -body.edit-mode .lib-bulk-bar { display: inline-flex; } +/* 显隐绑定「是否有选中」而非编辑模式 → 退选即消失 */ +.lib-bulk-bar.show { display: inline-flex; } .lib-bulk-bar .ct { font-family: var(--font-mono); letter-spacing: .02em; } .lib-bulk-bar .ct b { color: var(--heat); font-weight: 600; padding: 0 3px; } .lib-bulk-bar .sep { width: 1px; height: 18px; background: rgba(255, 255, 255, .16); } diff --git a/core/frontend/src/pipeline-page.css b/core/frontend/src/pipeline-page.css index 3cadfe1..476ca60 100644 --- a/core/frontend/src/pipeline-page.css +++ b/core/frontend/src/pipeline-page.css @@ -448,7 +448,7 @@ .video-thumb:hover .play { opacity: 1; } .video-thumb .btn-play { width: 36px; height: 36px; background: rgba(0,0,0,.7); color: var(--accent-white); border-radius: 50%; display: grid; place-items: center; } .video-card .body { padding: 12px 12px 14px; flex: 1 1 auto; min-height: 118px; display: flex; flex-direction: column; } - .video-card-head { display: flex; align-items: flex-start; gap: 8px; } + .video-card-head { display: flex; align-items: center; gap: 8px; } .video-card-title { min-width: 0; flex: 1 1 auto; font-size: 13px; line-height: 1.4; font-weight: 600; color: var(--accent-black); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .video-card-head .pill { flex: 0 0 auto; } .video-meta { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); letter-spacing: .02em; margin-top: 5px; } diff --git a/core/frontend/src/projects-page.css b/core/frontend/src/projects-page.css index 5929c2e..2d41f09 100644 --- a/core/frontend/src/projects-page.css +++ b/core/frontend/src/projects-page.css @@ -72,7 +72,8 @@ body.edit-mode .proj-card.selected { border-color: var(--heat); box-shadow: 0 0 padding: 10px 14px 10px 18px; display: none; align-items: center; gap: 16px; box-shadow: 0 8px 24px rgba(0,0,0,.18); z-index: 100; font-size: 13px; } -body.edit-mode .bulk-bar { display: inline-flex; } +/* 显隐绑定「是否有选中」而非编辑模式 → 退选即消失 */ +.bulk-bar.show { display: inline-flex; } .bulk-bar .ct { font-family: var(--font-mono); letter-spacing: .02em; } .bulk-bar .ct b { color: var(--heat); font-weight: 700; padding: 0 3px; } .bulk-bar .sep { width: 1px; height: 18px; background: rgba(255,255,255,.16); } diff --git a/core/frontend/src/routes/ai-tools.tsx b/core/frontend/src/routes/ai-tools.tsx index 70ce2b8..0ea2941 100644 --- a/core/frontend/src/routes/ai-tools.tsx +++ b/core/frontend/src/routes/ai-tools.tsx @@ -210,13 +210,15 @@ export function AssetFactoryPage({ navigate }: { navigate: (page: Page) => void {card.tag}