From f375ae23fee6c758733919bcb9a74ce9b203f375 Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Fri, 23 Jan 2026 23:32:07 -0600 Subject: [PATCH] style(sidebar): solid toggle button with shadow - Remove transparency, use solid bg-tertiary - Reduce diameter from 28px to 24px (center preserved) - Add drop shadow like context menu caret --- src/lib/components/Sidebar.svelte | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/lib/components/Sidebar.svelte b/src/lib/components/Sidebar.svelte index 2bc494aed..ff8aab16c 100644 --- a/src/lib/components/Sidebar.svelte +++ b/src/lib/components/Sidebar.svelte @@ -993,30 +993,30 @@ .toggle-btn { position: absolute; - right: -14px; + right: -12px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; - width: 28px; - height: 28px; + width: 24px; + height: 24px; padding: 0; - background: rgba(255, 255, 255, 0.08); - backdrop-filter: blur(12px); - -webkit-backdrop-filter: blur(12px); + background: var(--bg-tertiary); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 50%; color: var(--text-muted); cursor: pointer; - transition: transform 150ms ease, background-color 150ms ease, color 150ms ease; + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); + transition: transform 150ms ease, background-color 150ms ease, color 150ms ease, box-shadow 150ms ease; z-index: 10; } .toggle-btn:hover { color: var(--text-primary); - background: rgba(255, 255, 255, 0.12); + background: var(--bg-hover); transform: translateY(-50%) scale(1.1); + box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6); } .user-section {