feat(ui): remove upside-down rendering clone pipeline and implement ultra-fast pure liquid glass navbar
This commit is contained in:
+40
-56
@@ -75,87 +75,70 @@
|
||||
border: 1px solid rgba(15, 23, 42, 0.06);
|
||||
}
|
||||
|
||||
/* Authentic True Liquid Glass Capsule with High Refraction & Real Specular Gloss */
|
||||
/* Authentic True Liquid Glass Capsule with High Refraction & Specular Gloss */
|
||||
.liquid-glass-nav {
|
||||
position: relative;
|
||||
/* Crystal transparent optical liquid baseline - zero edge fog/smog */
|
||||
background: rgba(255, 255, 255, 0.12);
|
||||
backdrop-filter: blur(14px) saturate(210%) contrast(108%) brightness(1.08);
|
||||
-webkit-backdrop-filter: blur(14px) saturate(210%) contrast(108%) brightness(1.08);
|
||||
border: 1px solid rgba(255, 255, 255, 0.55);
|
||||
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%
|
||||
);
|
||||
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);
|
||||
box-shadow:
|
||||
/* Razor-sharp 1px top specular ridge */
|
||||
inset 0 1px 0 0 rgba(255, 255, 255, 0.85),
|
||||
inset 0 1px 0 0 rgba(255, 255, 255, 0.95),
|
||||
/* Crisp 1px bottom reflection */
|
||||
inset 0 -1px 0 0 rgba(255, 255, 255, 0.25),
|
||||
/* Refractive drop shadows with subtle caustic tint */
|
||||
0 20px 45px -10px rgba(15, 23, 42, 0.12),
|
||||
0 8px 16px -4px rgba(15, 23, 42, 0.05);
|
||||
inset 0 -1px 0 0 rgba(255, 255, 255, 0.3),
|
||||
/* Soft volumetric ambient shadows */
|
||||
0 20px 45px -10px rgba(15, 23, 42, 0.1),
|
||||
0 8px 16px -4px rgba(15, 23, 42, 0.04);
|
||||
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%
|
||||
);
|
||||
box-shadow:
|
||||
inset 0 1px 0 0 rgba(255, 255, 255, 0.9),
|
||||
inset 0 -1px 0 0 rgba(255, 255, 255, 0.25),
|
||||
0 24px 50px -12px rgba(15, 23, 42, 0.14),
|
||||
0 10px 20px -5px rgba(15, 23, 42, 0.06);
|
||||
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);
|
||||
}
|
||||
|
||||
/* Ensure inner contents sit crisply above liquid reflection layers */
|
||||
/* Ensure foreground elements sit crisply */
|
||||
.liquid-glass-nav > * {
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
/* Prismatic Chromatic Caustic Highlight Line */
|
||||
/* Abbe Chromatic Dispersion Highlight Line (Physical Prismatic Spectral Edge) */
|
||||
.liquid-glass-nav::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 8%;
|
||||
right: 8%;
|
||||
left: 6%;
|
||||
right: 6%;
|
||||
height: 1px;
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
transparent 0%,
|
||||
rgba(56, 189, 248, 0.6) 20%,
|
||||
rgba(56, 189, 248, 0.55) 20%,
|
||||
rgba(255, 255, 255, 0.95) 50%,
|
||||
rgba(168, 85, 247, 0.5) 80%,
|
||||
transparent 100%
|
||||
);
|
||||
pointer-events: none;
|
||||
z-index: 3;
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
/* Inverted Optical Liquid Glass Refraction Chamber with Dynamic Fluid Wobble */
|
||||
.liquid-refraction-chamber {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
border-radius: inherit;
|
||||
overflow: hidden;
|
||||
pointer-events: none;
|
||||
z-index: 1;
|
||||
/* Exact 1:1 speed matching inversion with 3D perspective */
|
||||
transform: perspective(380px) rotateX(6deg) scaleY(-1);
|
||||
transform-origin: center center;
|
||||
opacity: 0.78;
|
||||
mix-blend-mode: normal;
|
||||
filter: url("#liquid-glass-vertical-refraction") blur(0.2px) contrast(124%) saturate(210%) brightness(1.05);
|
||||
contain: strict;
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
.liquid-refraction-mirror {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
pointer-events: none;
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
/* Prismatic Liquid Caustic Refraction Overlay - Vertical Cylindrical Lens Bands */
|
||||
/* Cylindrical Lens Caustic Bands & Longitudinal Focal Concentration Overlay */
|
||||
.liquid-caustic-refraction {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
@@ -163,14 +146,15 @@
|
||||
background:
|
||||
linear-gradient(
|
||||
180deg,
|
||||
rgba(255, 255, 255, 0.24) 0%,
|
||||
transparent 22%,
|
||||
rgba(255, 255, 255, 0.03) 50%,
|
||||
transparent 78%,
|
||||
rgba(255, 255, 255, 0.15) 100%
|
||||
rgba(255, 255, 255, 0.3) 0%,
|
||||
rgba(255, 255, 255, 0.08) 16%,
|
||||
transparent 28%,
|
||||
rgba(255, 255, 255, 0.03) 50%,
|
||||
transparent 72%,
|
||||
rgba(255, 255, 255, 0.08) 84%,
|
||||
rgba(255, 255, 255, 0.2) 100%
|
||||
),
|
||||
radial-gradient(ellipse 70% 45% at 30% 35%, rgba(56, 189, 248, 0.15) 0%, transparent 60%),
|
||||
radial-gradient(ellipse 70% 45% at 70% 65%, rgba(168, 85, 247, 0.13) 0%, transparent 60%);
|
||||
radial-gradient(ellipse 70% 50% at 50% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 75%);
|
||||
mix-blend-mode: overlay;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user