style(ui): increase liquid glass capsule optical transparency

This commit is contained in:
2026-11-03 16:25:52 +05:30
parent 4c5dad6019
commit 7e3ec96dd5
2 changed files with 20 additions and 20 deletions
+17 -17
View File
@@ -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 */
+3 -3
View File
@@ -68,7 +68,7 @@ export function Navbar({ config, currentLocale }: NavbarProps) {
</div>
{/* Center Navigation Links - Protected Optical Floating Pill */}
<nav className="hidden md:flex items-center gap-1 px-2 py-1 rounded-full bg-white/85 backdrop-blur-md border border-white/90 shadow-sm relative z-20">
<nav className="hidden md:flex items-center gap-1 px-2 py-1 rounded-full bg-white/55 backdrop-blur-md border border-white/70 shadow-sm relative z-20">
{config.nav.header.map((item) => {
const active = pathname === item.href;
return (
@@ -78,7 +78,7 @@ export function Navbar({ config, currentLocale }: NavbarProps) {
className={`relative px-4 py-2 rounded-full text-xs font-bold tracking-wide transition-all duration-200 ${
active
? 'text-blue-700 bg-white shadow-sm border border-slate-900/[0.06]'
: 'text-slate-800 hover:text-slate-950 hover:bg-white/70'
: 'text-slate-800 hover:text-slate-950 hover:bg-white/60'
}`}
>
{resolveLocalised(item.label, currentLocale)}
@@ -89,7 +89,7 @@ export function Navbar({ config, currentLocale }: NavbarProps) {
{/* Direct Anchor to Studio Suite */}
<Link
href="/#studio-suite"
className="flex items-center gap-1.5 px-4 py-2 rounded-full text-xs font-bold tracking-wide text-blue-700 hover:text-blue-900 hover:bg-blue-50/90 transition-colors"
className="flex items-center gap-1.5 px-4 py-2 rounded-full text-xs font-bold tracking-wide text-blue-700 hover:text-blue-900 hover:bg-blue-50/70 transition-colors"
>
<Layers className="w-3.5 h-3.5 text-blue-600" />
<span>Creative Suite</span>