Expand React race hub analytics

This commit is contained in:
2026-05-25 01:20:04 -04:00
parent 32d500f5af
commit 5470b0df38
13 changed files with 593 additions and 95 deletions

View File

@@ -363,6 +363,65 @@ a { color: inherit; text-decoration: none; }
color: var(--text-3);
}
/* ── Tab bar ── */
.tab-bar {
display: flex;
border-bottom: 1px solid var(--border);
margin-bottom: var(--s5);
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
}
.tab-bar::-webkit-scrollbar { display: none; }
.tab-btn {
padding: 8px 14px;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--text-3);
background: none;
border: none;
border-bottom: 2px solid transparent;
cursor: pointer;
white-space: nowrap;
transition: color 0.1s;
margin-bottom: -1px;
flex-shrink: 0;
}
.tab-btn:hover { color: var(--text-2); }
.tab-btn.active { color: var(--text); border-bottom-color: var(--red); }
/* ── Dataset status view ── */
.ds-legend {
display: flex;
align-items: center;
gap: var(--s5);
margin-bottom: var(--s5);
font-size: 12px;
color: var(--text-2);
}
.ds-legend code {
font-family: var(--f-mono);
font-size: 11px;
color: var(--text-3);
}
/* ── Strategy / position views ── */
.analysis-notice {
padding: var(--s4) var(--s5);
background: var(--surface);
border: 1px solid var(--border);
border-left: 3px solid var(--border-2);
font-size: 12px;
color: var(--text-2);
margin-bottom: var(--s5);
max-width: 560px;
}
.analysis-notice strong { color: var(--text); }
.analysis-notice code { font-family: var(--f-mono); font-size: 11px; color: var(--text-3); }
/* ── Mobile ── */
@media (max-width: 640px) {
.page { padding: var(--s3); }