From d54fdaf7c44e4c9a80f10de4d089ba27df76c70a Mon Sep 17 00:00:00 2001 From: vshnosngh Date: Tue, 3 Nov 2026 16:25:52 +0530 Subject: [PATCH] style(ui): increase liquid glass capsule optical transparency --- src/app/globals.css | 34 +++++++++++++++++----------------- src/components/ui/Navbar.tsx | 6 +++--- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/app/globals.css b/src/app/globals.css index 5fb8a6b..bf94d5f 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -80,36 +80,36 @@ position: relative; background: linear-gradient( 180deg, - rgba(255, 255, 255, 0.72) 0%, - rgba(250, 248, 245, 0.58) 50%, - rgba(255, 255, 255, 0.68) 100% + rgba(255, 255, 255, 0.48) 0%, + rgba(250, 248, 245, 0.32) 50%, + rgba(255, 255, 255, 0.42) 100% ); - backdrop-filter: blur(20px) saturate(190%) contrast(105%) brightness(1.05); - -webkit-backdrop-filter: blur(20px) saturate(190%) contrast(105%) brightness(1.05); - border: 1px solid rgba(255, 255, 255, 0.85); + backdrop-filter: blur(16px) saturate(190%) contrast(104%) brightness(1.04); + -webkit-backdrop-filter: blur(16px) saturate(190%) contrast(104%) brightness(1.04); + border: 1px solid rgba(255, 255, 255, 0.65); box-shadow: /* Razor-sharp 1px top specular ridge */ - inset 0 1px 0 0 rgba(255, 255, 255, 0.95), + inset 0 1px 0 0 rgba(255, 255, 255, 0.85), /* Crisp 1px bottom reflection */ - inset 0 -1px 0 0 rgba(255, 255, 255, 0.3), + inset 0 -1px 0 0 rgba(255, 255, 255, 0.2), /* Soft volumetric ambient shadows */ - 0 20px 45px -10px rgba(15, 23, 42, 0.1), - 0 8px 16px -4px rgba(15, 23, 42, 0.04); + 0 20px 45px -10px rgba(15, 23, 42, 0.08), + 0 8px 16px -4px rgba(15, 23, 42, 0.03); overflow: hidden; } .liquid-glass-nav.nav-scrolled { background: linear-gradient( 180deg, - rgba(255, 255, 255, 0.82) 0%, - rgba(250, 248, 245, 0.72) 50%, - rgba(255, 255, 255, 0.80) 100% + rgba(255, 255, 255, 0.58) 0%, + rgba(250, 248, 245, 0.42) 50%, + rgba(255, 255, 255, 0.52) 100% ); box-shadow: - inset 0 1px 0 0 rgba(255, 255, 255, 1), - inset 0 -1px 0 0 rgba(255, 255, 255, 0.3), - 0 24px 50px -12px rgba(15, 23, 42, 0.12), - 0 10px 20px -5px rgba(15, 23, 42, 0.05); + inset 0 1px 0 0 rgba(255, 255, 255, 0.95), + inset 0 -1px 0 0 rgba(255, 255, 255, 0.25), + 0 24px 50px -12px rgba(15, 23, 42, 0.1), + 0 10px 20px -5px rgba(15, 23, 42, 0.04); } /* Ensure foreground elements sit crisply */ diff --git a/src/components/ui/Navbar.tsx b/src/components/ui/Navbar.tsx index c9e5325..45091c7 100644 --- a/src/components/ui/Navbar.tsx +++ b/src/components/ui/Navbar.tsx @@ -68,7 +68,7 @@ export function Navbar({ config, currentLocale }: NavbarProps) { {/* Center Navigation Links - Protected Optical Floating Pill */} -