3d3ff097cf
- MatchCard: farbiger Ergebnis-Banner (Exakt/Tendenz/Falsch) ersetzt tipRow, passender Card-Glow je Ergebnis; Lucide-Icons (lucide-react) - MatchCard: Ändern-Button links, vertikal mittig zur Tipp-Box ausgerichtet - DevPanel: Simulationsmodus mit User-Switcher, Zeit- & Status-Presets - DevPanel: Reset-Section mit "Spiel zurücksetzen", "Alle Spiele" und "Tipps löschen" (3 Buttons, farblich differenziert) - Backend: dev.ts mit set-time, set-status, reset-tips, reset-match - reset-match stellt Original-Datum wieder her (original_utc_date Spalte) - set-time sichert Original-Datum per COALESCE beim ersten Aufruf - Supabase Migration: original_utc_date TIMESTAMPTZ zu matches hinzugefügt Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
133 lines
2.7 KiB
CSS
133 lines
2.7 KiB
CSS
.page { display: flex; flex-direction: column; gap: 24px; }
|
|
|
|
.statsRow {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 16px;
|
|
}
|
|
|
|
.statCard {
|
|
padding: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.statValue {
|
|
font-family: 'Plus Jakarta Sans', sans-serif;
|
|
font-size: 32px;
|
|
font-weight: 800;
|
|
line-height: 1;
|
|
}
|
|
|
|
.statLabel {
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.filters {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.filter, .filterActive {
|
|
padding: 7px 16px;
|
|
border-radius: 20px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
border: 1px solid rgba(255,255,255,0.1);
|
|
background: transparent;
|
|
color: var(--text-secondary);
|
|
transition: all 0.15s;
|
|
}
|
|
.filter:hover { border-color: var(--primary); color: var(--primary); }
|
|
.filterActive {
|
|
background: var(--primary-dim);
|
|
border-color: rgba(75,183,248,0.3);
|
|
color: var(--primary);
|
|
}
|
|
|
|
/* Gruppen-Filter (zweite Ebene) */
|
|
.groupFilters {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
padding: 4px 0;
|
|
border-top: 1px solid rgba(255,255,255,0.05);
|
|
margin-top: -8px;
|
|
}
|
|
|
|
.groupFilter, .groupFilterActive {
|
|
padding: 5px 13px;
|
|
border-radius: 16px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
border: 1px solid rgba(255,255,255,0.08);
|
|
background: transparent;
|
|
color: var(--text-muted);
|
|
transition: all 0.15s;
|
|
}
|
|
.groupFilter:hover { border-color: rgba(75,183,248,0.3); color: var(--text-secondary); }
|
|
.groupFilterActive {
|
|
background: rgba(75,183,248,0.12);
|
|
border-color: rgba(75,183,248,0.25);
|
|
color: var(--primary);
|
|
}
|
|
|
|
.dayGroup { display: flex; flex-direction: column; gap: 12px; }
|
|
|
|
.dayHeader {
|
|
font-family: 'Plus Jakarta Sans', sans-serif;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
padding: 0 4px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.todayDot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: var(--primary);
|
|
box-shadow: 0 0 6px rgba(75,183,248,0.6);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.matchList { display: flex; flex-direction: column; gap: 10px; }
|
|
|
|
/* States */
|
|
.loadingState, .errorState, .emptyState {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 16px;
|
|
padding: 60px 20px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.spinner {
|
|
width: 32px; height: 32px;
|
|
border: 3px solid var(--surface-high);
|
|
border-top-color: var(--primary);
|
|
border-radius: 50%;
|
|
animation: spin 0.8s linear infinite;
|
|
}
|
|
@keyframes spin { to { transform: rotate(360deg); } }
|
|
|
|
.emptyIcon { font-size: 48px; }
|
|
.emptyHint { font-size: 13px; color: var(--text-muted); }
|
|
|
|
.errorState { color: var(--error); }
|