From 8537d8172d3b34d23c10a05f89cb3e2ece9bee7c Mon Sep 17 00:00:00 2001 From: vodyanoysh Date: Tue, 31 Mar 2026 23:51:27 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D1=80=D0=B0=D0=B1?= =?UTF-8?q?=D0=BE=D1=82=D0=B0=D1=82=D1=8C=20liquid=20glass=20=D0=B2=20?= =?UTF-8?q?=D1=81=D0=B0=D0=B9=D0=B4=D0=B1=D0=B0=D1=80=D0=B5=20=D0=BF=D0=BE?= =?UTF-8?q?=20best=20practice?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ключевые исправления: - blur снижен до 14-16px (was 36px) — правильный диапазон для сайдбара - Активный элемент: specular через ::after (inset 1px 1px 0 rgba(255,255,255,0.55)) и градиент-тинт через ::before — классическая трёхслойная модель Apple - Убраны иконочные чипы — лишнее нагромождение - Убрана тяжёлая glass-карточка заголовка аккаунта - folder-pane: единый умеренный blur вместо gradient + layered shadows Co-Authored-By: Claude Sonnet 4.6 --- .../src/components/layout/AppShell.vue | 18 +- .../src/components/sidebar/FolderTree.vue | 25 +-- .../src/components/sidebar/FolderTreeItem.vue | 199 +++++++----------- 3 files changed, 92 insertions(+), 150 deletions(-) diff --git a/src/renderer/src/components/layout/AppShell.vue b/src/renderer/src/components/layout/AppShell.vue index 97f8a9d..fdaba2c 100644 --- a/src/renderer/src/components/layout/AppShell.vue +++ b/src/renderer/src/components/layout/AppShell.vue @@ -129,22 +129,14 @@ function stopResize(): void { flex-shrink: 0; position: relative; z-index: 3; - background: linear-gradient( - 165deg, - rgba(255, 255, 255, 0.055) 0%, - rgba(255, 255, 255, 0.032) 60%, - rgba(255, 255, 255, 0.022) 100% - ); - backdrop-filter: blur(36px) saturate(2) brightness(1.04); - -webkit-backdrop-filter: blur(36px) saturate(2) brightness(1.04); + background: rgba(255, 255, 255, 0.035); + backdrop-filter: blur(16px) saturate(180%); + -webkit-backdrop-filter: blur(16px) saturate(180%); overflow-y: auto; min-width: 180px; max-width: 400px; - border-right: 1px solid rgba(255, 255, 255, 0.09); - box-shadow: - 4px 0 28px rgba(0, 0, 0, 0.45), - inset 0 1px 0 rgba(255, 255, 255, 0.12), - inset -1px 0 0 rgba(255, 255, 255, 0.04); + border-right: 1px solid rgba(255, 255, 255, 0.08); + box-shadow: 4px 0 20px rgba(0, 0, 0, 0.35); } .message-pane { diff --git a/src/renderer/src/components/sidebar/FolderTree.vue b/src/renderer/src/components/sidebar/FolderTree.vue index 1eacbd0..837ddee 100644 --- a/src/renderer/src/components/sidebar/FolderTree.vue +++ b/src/renderer/src/components/sidebar/FolderTree.vue @@ -34,29 +34,16 @@ const accountsStore = useAccountsStore()