From d787f6b7d02095d9670e62b760516d8d7e610b3d Mon Sep 17 00:00:00 2001 From: "d.a.kolesov" Date: Mon, 6 Apr 2026 10:38:32 +0700 Subject: [PATCH] =?UTF-8?q?feature/liquid-glass-ui:=20=D0=B2=D1=81=D0=B5?= =?UTF-8?q?=20=D0=BF=D0=B0=D0=BD=D0=B5=D0=BB=D0=B8=20=E2=80=94=20floating?= =?UTF-8?q?=20glass-=D0=BA=D0=B0=D1=80=D1=82=D0=BE=D1=87=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - app-shell: background #07070c — тёмная подложка между карточками - content-area: padding 8px 8px 6px — воздух вокруг карточек - account-bar, folder-pane, message-pane, preview-pane: border-radius 14px, border 1px solid rgba(255,255,255,0.08-0.09), inset specular, box-shadow 0 8px 28-32px — плавающие glass-карточки Убраны border-right разделители — заменены зазором 8px между панелями - resize-handle: width 8px (воздух между панелями), hover — тонкая accent-полоска по центру зазора - StatusBar: margin 0 8px 8px, border-radius 10px — тоже карточка Co-Authored-By: Claude Sonnet 4.6 --- .../src/components/layout/AppShell.vue | 68 +++++++++++-------- .../src/components/layout/StatusBar.vue | 5 +- 2 files changed, 42 insertions(+), 31 deletions(-) diff --git a/src/renderer/src/components/layout/AppShell.vue b/src/renderer/src/components/layout/AppShell.vue index f6e7b30..a4f8059 100644 --- a/src/renderer/src/components/layout/AppShell.vue +++ b/src/renderer/src/components/layout/AppShell.vue @@ -104,6 +104,7 @@ function stopResize(): void { flex-direction: column; height: 100vh; overflow: hidden; + background: #07070c; } .content-area { @@ -111,6 +112,8 @@ function stopResize(): void { flex: 1; overflow: hidden; min-height: 0; + padding: 8px 8px 6px; + gap: 0; } .account-bar { @@ -118,93 +121,104 @@ function stopResize(): void { flex-shrink: 0; position: relative; z-index: 4; + border-radius: 14px; + border: 1px solid rgba(255, 255, 255, 0.09); background: - linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%), - rgba(8, 8, 13, 0.82); + linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%), + rgba(8, 8, 13, 0.88); backdrop-filter: blur(40px) saturate(2.0); -webkit-backdrop-filter: blur(40px) saturate(2.0); - border-right: 1px solid rgba(255, 255, 255, 0.08); box-shadow: - 4px 0 28px rgba(0, 0, 0, 0.55), - inset -1px 0 0 rgba(255, 255, 255, 0.04), - inset 0 1px 0 rgba(255, 255, 255, 0.08); + inset 0 1px 0 rgba(255, 255, 255, 0.12), + 0 8px 32px rgba(0, 0, 0, 0.50); } .folder-pane { flex-shrink: 0; position: relative; z-index: 3; + border-radius: 14px; + border: 1px solid rgba(255, 255, 255, 0.08); background: - linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%), - rgba(9, 9, 15, 0.72); + linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%), + rgba(9, 9, 15, 0.80); backdrop-filter: blur(28px) saturate(1.8); -webkit-backdrop-filter: blur(28px) saturate(1.8); overflow: hidden; min-width: 180px; max-width: 400px; - border-right: 1px solid rgba(255, 255, 255, 0.07); box-shadow: - 4px 0 22px rgba(0, 0, 0, 0.38), - inset -1px 0 0 rgba(255, 255, 255, 0.03), - inset 0 1px 0 rgba(255, 255, 255, 0.06); + inset 0 1px 0 rgba(255, 255, 255, 0.10), + 0 8px 28px rgba(0, 0, 0, 0.40); } .message-pane { flex-shrink: 0; position: relative; z-index: 2; + border-radius: 14px; + border: 1px solid rgba(255, 255, 255, 0.08); background: - linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%), - rgba(10, 10, 17, 0.62); + linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%), + rgba(10, 10, 17, 0.72); backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5); overflow: hidden; min-width: 240px; max-width: 600px; - border-right: 1px solid rgba(255, 255, 255, 0.07); box-shadow: - 4px 0 18px rgba(0, 0, 0, 0.28), - inset -1px 0 0 rgba(255, 255, 255, 0.03), - inset 0 1px 0 rgba(255, 255, 255, 0.06); + inset 0 1px 0 rgba(255, 255, 255, 0.09), + 0 8px 28px rgba(0, 0, 0, 0.38); } .preview-pane { flex: 1; position: relative; z-index: 1; + border-radius: 14px; + border: 1px solid rgba(255, 255, 255, 0.08); background: - linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%), - rgba(10, 10, 17, 0.45); + linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%), + rgba(10, 10, 17, 0.55); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); overflow: hidden; min-width: 0; - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); + box-shadow: + inset 0 1px 0 rgba(255, 255, 255, 0.08), + 0 8px 28px rgba(0, 0, 0, 0.32); } .resize-handle { - width: 1px; + width: 8px; flex-shrink: 0; background: transparent; cursor: col-resize; position: relative; - transition: background var(--transition-fast); } .resize-handle::after { content: ''; position: absolute; - inset: 0 -3px; + inset: 0 -2px; cursor: col-resize; } -.resize-handle:hover, -.resize-handle:active { - background: color-mix(in srgb, var(--accent) 40%, transparent); +.resize-handle:hover::after, +.resize-handle:active::after { + background: color-mix(in srgb, var(--accent) 25%, transparent); + border-radius: 9999px; + width: 3px; + left: 50%; + transform: translateX(-50%); } .statusbar { flex-shrink: 0; + margin: 0 8px 8px; + border-radius: 10px; + border: 1px solid rgba(255, 255, 255, 0.07); + overflow: hidden; } .empty-state { diff --git a/src/renderer/src/components/layout/StatusBar.vue b/src/renderer/src/components/layout/StatusBar.vue index 931ee07..f456e0a 100644 --- a/src/renderer/src/components/layout/StatusBar.vue +++ b/src/renderer/src/components/layout/StatusBar.vue @@ -50,10 +50,7 @@ const isConnected = computed(() => { rgba(9, 9, 14, 0.6); backdrop-filter: blur(28px) saturate(1.6); -webkit-backdrop-filter: blur(28px) saturate(1.6); - border-top: 1px solid rgba(255, 255, 255, 0.08); - box-shadow: - inset 0 1px 0 rgba(255, 255, 255, 0.08), - 0 -2px 12px rgba(0, 0, 0, 0.18); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); font-size: 11px; color: var(--text-muted); flex-shrink: 0;