From 90c739d5ee262382d6b5526491452e6c07b727a5 Mon Sep 17 00:00:00 2001 From: Codex Date: Mon, 7 Sep 2026 20:30:32 +0000 Subject: [PATCH] Darken glass panels and stabilize tab transitions --- static/index.html | 2 +- static/styles.css | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/static/index.html b/static/index.html index c2e9b39..a338741 100644 --- a/static/index.html +++ b/static/index.html @@ -6,7 +6,7 @@ Пожитки - + diff --git a/static/styles.css b/static/styles.css index 1407983..8fc4ee9 100644 --- a/static/styles.css +++ b/static/styles.css @@ -1,7 +1,7 @@ :root { --bg: #111111; - --surface: rgba(0, 0, 0, .1); - --surface-active: rgba(0, 0, 0, .28); + --surface: rgba(0, 0, 0, .25); + --surface-active: rgba(0, 0, 0, .42); --text: #ffffff; --muted: rgba(255, 255, 255, .68); --accent: #f0d28a; @@ -72,9 +72,8 @@ h2 { margin: 0; font-size: 23px; letter-spacing: -.025em; } .user-chip { display: flex; align-items: center; gap: 8px; max-width: 48%; padding: 5px 11px 5px 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 12px; font-weight: 650; white-space: nowrap; overflow: hidden; } .mini-avatar { display: grid; flex: 0 0 auto; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: rgba(0, 0, 0, .28); color: var(--text); } -.view { display: none; animation: reveal .25s ease; } +.view { display: none; padding-top: clamp(120px, 17vh, 175px); } .view.active { display: block; } -@keyframes reveal { from { opacity: 0; transform: translateY(5px); } } .hero-card { min-height: 210px;