diff --git a/frontend/trainer.html b/frontend/trainer.html index fb071b2..d4182d3 100644 --- a/frontend/trainer.html +++ b/frontend/trainer.html @@ -39,9 +39,9 @@ } .tr-wrap { max-width: 740px; margin: 0 auto; padding: 34px 20px 90px; } @keyframes trUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } } - .tr-head, .tr-overall, .tr-mode, .tr-topics, .tr-skills, .tr-card { animation: trUp .5s var(--ease) both; } + .tr-head, .tr-overall, .tr-mode, .tr-topbar, .tr-skillpanel, .tr-card { animation: trUp .5s var(--ease) both; } .tr-overall { animation-delay: .04s; } .tr-mode { animation-delay: .06s; } - .tr-topics { animation-delay: .1s; } .tr-skills { animation-delay: .13s; } .tr-card { animation-delay: .16s; } + .tr-topbar { animation-delay: .1s; } .tr-skillpanel { animation-delay: .13s; } .tr-card { animation-delay: .16s; } .tr-head { margin-bottom: 20px; } .tr-h1 { @@ -56,7 +56,15 @@ } /* ── выбор темы (вкладки) ── */ - .tr-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 12px; } + .tr-topbar { margin: 18px 0 14px; } + .tr-nav-eyebrow { display: block; font-family: 'Manrope', sans-serif; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); margin-bottom: 9px; } + .tr-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; } + .tr-grade { display: inline-flex; align-items: center; justify-content: center; margin-left: 7px; font-family: 'Manrope', sans-serif; font-size: .6rem; font-weight: 800; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: rgba(99,102,241,.14); color: var(--accent-ink); } + .tr-chip.on .tr-grade { background: rgba(255,255,255,.26); color: #fff; } + + /* ── панель навыков выбранной темы ── */ + .tr-skillpanel { background: rgba(99,102,241,.05); border: 1px solid rgba(99,102,241,.12); border-radius: 16px; padding: 13px 15px; margin-bottom: 22px; } + .tr-skillpanel-hd { font-family: 'Manrope', sans-serif; font-size: .74rem; font-weight: 800; color: var(--accent-ink); margin-bottom: 10px; } .tr-chip { font: inherit; font-size: .86rem; font-weight: 700; cursor: pointer; color: var(--ink-soft); padding: 9px 16px; border-radius: 99px; border: 1px solid rgba(99,102,241,.18); @@ -172,8 +180,8 @@ /* текстовый prompt (проценты/упрощение) — компактнее уравнения, на сцене белым */ .tr-eq.tr-eq-text { font-family: 'Manrope', sans-serif; font-weight: 600; font-size: clamp(1.15rem, 3.4vw, 1.6rem); line-height: 1.45; color: #fff; } - /* выбор навыка внутри темы */ - .tr-skills { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 24px; } + /* выбор навыка внутри темы (внутри панели) */ + .tr-skills { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; } .tr-skills .tr-skill { font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; font-family: 'Cambria Math', 'Times New Roman', serif; padding: 7px 13px; border-radius: 11px; border: 1px solid rgba(99,102,241,.16); background: rgba(255,255,255,.7); @@ -327,8 +335,14 @@ -
- + +