From 3036df5956633435b06cf22a369f26fbf2648b21 Mon Sep 17 00:00:00 2001 From: sikongyue <3155157671@qq.com> Date: Thu, 20 Aug 2026 00:08:34 +0800 Subject: [PATCH] =?UTF-8?q?refactor(web):=20=E5=B7=A5=E4=BD=9C=E5=8C=BA?= =?UTF-8?q?=E5=B8=83=E5=B1=80=20-=20=E9=A1=B6=E6=A0=8F=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=E5=B5=8C=E5=9C=A8=E4=B8=BB=E5=8C=BA=E5=8D=A1=E7=89=87=E5=86=85?= =?UTF-8?q?=E7=9A=84=E5=9C=86=E8=A7=92=E5=B7=A5=E5=85=B7=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除全宽横条与 border-bottom 分隔线,改为悬浮圆角工具条(12px 圆角、9% 边框、柔和阴影、顶部高光),嵌在主区卡片内、四周留白对齐内容区\n- 层级改由边框 + 阴影表达,不再使用分隔线\n- 暗色主题阴影收敛为黑色阴影 --- web/src/styles/globals.css | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/web/src/styles/globals.css b/web/src/styles/globals.css index c7da6c5dd..adddc75ab 100644 --- a/web/src/styles/globals.css +++ b/web/src/styles/globals.css @@ -1369,15 +1369,23 @@ position: relative; z-index: var(--z-toolbar); height: var(--page-topbar-h); - border: 0; - border-bottom: 1px solid var(--workspace-border); - border-radius: 0; + margin: 10px 12px; + border: 1px solid color-mix(in srgb, var(--foreground) 9%, transparent); + border-radius: var(--r-lg); background: var(--workspace-surface-strong); - box-shadow: none; + box-shadow: + 0 8px 24px color-mix(in srgb, var(--foreground) 8%, transparent), + inset 0 1px 0 color-mix(in srgb, white 6%, transparent); backdrop-filter: none; -webkit-backdrop-filter: none; } + .dark .app-workspace-topbar { + box-shadow: + 0 8px 24px rgba(0, 0, 0, 0.45), + inset 0 1px 0 color-mix(in srgb, white 6%, transparent); + } + .app-workspace-topbar-icon-button { display: inline-flex; width: 36px;