diff --git a/frontend/biochem-library.html b/frontend/biochem-library.html index 1fb1ddf..b2e3b6e 100644 --- a/frontend/biochem-library.html +++ b/frontend/biochem-library.html @@ -278,7 +278,44 @@ .page-header { padding: 10px; } .filters-row { padding: 8px 10px; } } - + + /* ── Biochem subnav ─────────────────────────────────────────────── */ + .biochem-subnav { + display: flex; align-items: center; gap: 2px; + padding: 0 16px; + background: rgba(255,255,255,0.92); + backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); + border-bottom: 1.5px solid rgba(15,23,42,0.07); + flex-shrink: 0; overflow-x: auto; + scrollbar-width: none; position: relative; + } + .biochem-subnav::-webkit-scrollbar { display: none; } + .biochem-subnav::after { + content: ''; position: absolute; bottom: -1px; left: 0; right: 0; + height: 1.5px; background: rgba(15,23,42,0.07); + } + .bsn-tab { + display: inline-flex; align-items: center; gap: 7px; + padding: 11px 14px; border-radius: 9px; margin: 5px 1px; + font-family: 'Manrope', sans-serif; font-size: 0.82rem; font-weight: 600; + color: var(--text-3, #56687A); text-decoration: none; white-space: nowrap; + transition: background .15s, color .15s; position: relative; + } + .bsn-tab svg { stroke: currentColor; width: 15px; height: 15px; flex-shrink: 0; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; } + .bsn-tab:hover { background: rgba(155,93,229,0.08); color: #9B5DE5; } + .bsn-active { + background: rgba(155,93,229,0.10); color: #7c3aed; font-weight: 700; + } + .bsn-active::after { + content: ''; position: absolute; bottom: -5px; left: 14px; right: 14px; + height: 2.5px; border-radius: 99px; background: #9B5DE5; + } + @media (max-width: 560px) { + .biochem-subnav { padding: 0 6px; } + .bsn-tab { padding: 10px 10px; gap: 0; } + .bsn-tab .bsn-label { display: none; } + } +