From 57ffbc8ae62543638cb79d04dff9410c9c1fa7b2 Mon Sep 17 00:00:00 2001 From: Maxim Dolgolyov Date: Mon, 1 Jun 2026 09:47:28 +0300 Subject: [PATCH] =?UTF-8?q?style(dashboard):=20=D1=83=D0=BB=D1=83=D1=87?= =?UTF-8?q?=D1=88=D0=B5=D0=BD=20=D0=B2=D0=B8=D0=B7=D1=83=D0=B0=D0=BB=20?= =?UTF-8?q?=D0=B3=D0=B0=D0=BC=D0=B8=D1=84=D0=B8=D0=BA=D0=B0=D1=86=D0=B8?= =?UTF-8?q?=D0=BE=D0=BD=D0=BD=D0=BE=D0=B9=20=D0=BF=D0=BE=D0=BB=D0=BE=D1=81?= =?UTF-8?q?=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Фон: radial-gradient пятно за бейджем уровня + inset highlight - Бейдж уровня: 56px, гло-тень + внешнее кольцо rgba - Progress bar: 10px, 3-стоп градиент + box-shadow свечение - Разделитель border-left между прогрессом и чипами - Чипы: белый фон с тенью, увеличен padding, крупнее шрифт Co-Authored-By: Claude Sonnet 4.6 --- frontend/dashboard.html | 52 ++++++++++++++++++++++++++--------------- 1 file changed, 33 insertions(+), 19 deletions(-) diff --git a/frontend/dashboard.html b/frontend/dashboard.html index 40df104..8e1ef88 100644 --- a/frontend/dashboard.html +++ b/frontend/dashboard.html @@ -1257,34 +1257,48 @@ /* ── Gamification bar ── */ .gam-bar { display: flex; align-items: center; gap: 18px; - padding: 14px 20px; border-radius: 16px; margin-bottom: 16px; - background: linear-gradient(135deg, rgba(155,93,229,0.07), rgba(6,214,224,0.05)); - border: 1.5px solid rgba(155,93,229,0.12); + padding: 16px 22px; border-radius: 18px; margin-bottom: 16px; + background: + radial-gradient(ellipse at 6% 50%, rgba(155,93,229,.14) 0%, transparent 38%), + linear-gradient(135deg, rgba(155,93,229,.07) 0%, rgba(6,214,224,.04) 100%); + border: 1.5px solid rgba(155,93,229,.18); + box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 2px 14px rgba(155,93,229,.07); } .gam-level { - width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; + width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; background: var(--grad-1); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; line-height: 1; + box-shadow: 0 4px 18px rgba(155,93,229,.45), 0 0 0 3px rgba(155,93,229,.18); } - .gam-level-num { font-family: 'Unbounded', sans-serif; font-size: 1.1rem; font-weight: 900; } - .gam-level-lbl { font-size: 0.52rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.85; } + .gam-level-num { font-family: 'Unbounded', sans-serif; font-size: 1.2rem; font-weight: 900; } + .gam-level-lbl { font-size: 0.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.82; } .gam-main { flex: 1; min-width: 0; } - .gam-top { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; } - .gam-rank { font-family: 'Unbounded', sans-serif; font-size: 0.82rem; font-weight: 800; color: var(--text); } + .gam-top { display: flex; align-items: baseline; gap: 8px; margin-bottom: 7px; } + .gam-rank { font-family: 'Unbounded', sans-serif; font-size: 0.84rem; font-weight: 800; color: var(--text); } .gam-xp-text { font-size: 0.72rem; color: var(--text-3); font-weight: 600; } - .gam-progress { height: 8px; border-radius: 99px; background: rgba(15,23,42,0.07); overflow: hidden; } - .gam-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, #9B5DE5, #06D6E0); transition: width 0.6s ease; } - .gam-chips { display: flex; gap: 10px; flex-shrink: 0; } - .gam-chip { - display: flex; flex-direction: column; align-items: center; gap: 2px; - padding: 6px 12px; border-radius: 12px; - background: rgba(255,255,255,0.8); border: 1px solid rgba(15,23,42,0.06); - min-width: 62px; + .gam-progress { height: 10px; border-radius: 99px; background: rgba(155,93,229,.1); overflow: hidden; } + .gam-fill { + height: 100%; border-radius: 99px; + background: linear-gradient(90deg, #9B5DE5 0%, #4DC8D4 60%, #06D6E0 100%); + transition: width 0.6s ease; + box-shadow: 0 0 10px rgba(155,93,229,.35); } - .gam-chip-icon { font-size: 1.1rem; line-height: 1; } - .gam-chip-val { font-family: 'Unbounded', sans-serif; font-size: 0.78rem; font-weight: 800; color: var(--text); } - .gam-chip-lbl { font-size: 0.58rem; color: var(--text-3); font-weight: 600; text-transform: uppercase; } + .gam-chips { + display: flex; gap: 10px; flex-shrink: 0; + padding-left: 18px; + border-left: 1.5px solid rgba(155,93,229,.14); + } + .gam-chip { + display: flex; flex-direction: column; align-items: center; gap: 3px; + padding: 8px 14px; border-radius: 14px; + background: rgba(255,255,255,.92); border: 1px solid rgba(155,93,229,.12); + min-width: 66px; + box-shadow: 0 2px 8px rgba(15,23,42,.05); + } + .gam-chip-icon { line-height: 1; } + .gam-chip-val { font-family: 'Unbounded', sans-serif; font-size: 0.82rem; font-weight: 800; color: var(--text); } + .gam-chip-lbl { font-size: 0.56rem; color: var(--text-3); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; } .gam-goal-ring { position: relative; width: 40px; height: 40px; } .gam-goal-ring svg { width: 40px; height: 40px; }