style(ui): increase liquid glass capsule optical transparency
This commit is contained in:
+17
-17
@@ -80,36 +80,36 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
background: linear-gradient(
|
background: linear-gradient(
|
||||||
180deg,
|
180deg,
|
||||||
rgba(255, 255, 255, 0.72) 0%,
|
rgba(255, 255, 255, 0.48) 0%,
|
||||||
rgba(250, 248, 245, 0.58) 50%,
|
rgba(250, 248, 245, 0.32) 50%,
|
||||||
rgba(255, 255, 255, 0.68) 100%
|
rgba(255, 255, 255, 0.42) 100%
|
||||||
);
|
);
|
||||||
backdrop-filter: blur(20px) saturate(190%) contrast(105%) brightness(1.05);
|
backdrop-filter: blur(16px) saturate(190%) contrast(104%) brightness(1.04);
|
||||||
-webkit-backdrop-filter: blur(20px) saturate(190%) contrast(105%) brightness(1.05);
|
-webkit-backdrop-filter: blur(16px) saturate(190%) contrast(104%) brightness(1.04);
|
||||||
border: 1px solid rgba(255, 255, 255, 0.85);
|
border: 1px solid rgba(255, 255, 255, 0.65);
|
||||||
box-shadow:
|
box-shadow:
|
||||||
/* Razor-sharp 1px top specular ridge */
|
/* 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 */
|
/* 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 */
|
/* Soft volumetric ambient shadows */
|
||||||
0 20px 45px -10px rgba(15, 23, 42, 0.1),
|
0 20px 45px -10px rgba(15, 23, 42, 0.08),
|
||||||
0 8px 16px -4px rgba(15, 23, 42, 0.04);
|
0 8px 16px -4px rgba(15, 23, 42, 0.03);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.liquid-glass-nav.nav-scrolled {
|
.liquid-glass-nav.nav-scrolled {
|
||||||
background: linear-gradient(
|
background: linear-gradient(
|
||||||
180deg,
|
180deg,
|
||||||
rgba(255, 255, 255, 0.82) 0%,
|
rgba(255, 255, 255, 0.58) 0%,
|
||||||
rgba(250, 248, 245, 0.72) 50%,
|
rgba(250, 248, 245, 0.42) 50%,
|
||||||
rgba(255, 255, 255, 0.80) 100%
|
rgba(255, 255, 255, 0.52) 100%
|
||||||
);
|
);
|
||||||
box-shadow:
|
box-shadow:
|
||||||
inset 0 1px 0 0 rgba(255, 255, 255, 1),
|
inset 0 1px 0 0 rgba(255, 255, 255, 0.95),
|
||||||
inset 0 -1px 0 0 rgba(255, 255, 255, 0.3),
|
inset 0 -1px 0 0 rgba(255, 255, 255, 0.25),
|
||||||
0 24px 50px -12px rgba(15, 23, 42, 0.12),
|
0 24px 50px -12px rgba(15, 23, 42, 0.1),
|
||||||
0 10px 20px -5px rgba(15, 23, 42, 0.05);
|
0 10px 20px -5px rgba(15, 23, 42, 0.04);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Ensure foreground elements sit crisply */
|
/* Ensure foreground elements sit crisply */
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ export function Navbar({ config, currentLocale }: NavbarProps) {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Center Navigation Links - Protected Optical Floating Pill */}
|
{/* 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) => {
|
{config.nav.header.map((item) => {
|
||||||
const active = pathname === item.href;
|
const active = pathname === item.href;
|
||||||
return (
|
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 ${
|
className={`relative px-4 py-2 rounded-full text-xs font-bold tracking-wide transition-all duration-200 ${
|
||||||
active
|
active
|
||||||
? 'text-blue-700 bg-white shadow-sm border border-slate-900/[0.06]'
|
? '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)}
|
{resolveLocalised(item.label, currentLocale)}
|
||||||
@@ -89,7 +89,7 @@ export function Navbar({ config, currentLocale }: NavbarProps) {
|
|||||||
{/* Direct Anchor to Studio Suite */}
|
{/* Direct Anchor to Studio Suite */}
|
||||||
<Link
|
<Link
|
||||||
href="/#studio-suite"
|
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" />
|
<Layers className="w-3.5 h-3.5 text-blue-600" />
|
||||||
<span>Creative Suite</span>
|
<span>Creative Suite</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user