This repository has been archived on 2026-05-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
tippspiel/frontend/src/pages/LeaderboardPage.module.css
T
2026-04-03 21:41:19 +02:00

39 lines
1.7 KiB
CSS

.page { display: flex; flex-direction: column; gap: 24px; }
.pageHeader { display: flex; align-items: baseline; gap: 16px; }
.title { font-size: 28px; font-weight: 800; }
.meta { font-size: 13px; color: var(--text-secondary); }
.loading { display: flex; justify-content: center; padding: 60px; }
.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); } }
.empty { text-align: center; color: var(--text-secondary); padding: 60px; }
.list { display: flex; flex-direction: column; gap: 8px; }
.row {
padding: 14px 20px;
display: grid;
grid-template-columns: 44px 1fr auto auto;
align-items: center;
gap: 16px;
transition: all 0.15s;
}
.row:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.09); }
.topThree { box-shadow: 0 10px 25px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.1), 0 0 0 1px rgba(254,174,50,0.1); }
.rank { font-size: 22px; text-align: center; }
.rankNum { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: 700; color: var(--text-secondary); }
.name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; font-size: 15px; }
.stats { display: flex; gap: 16px; }
.stat { display: flex; align-items: center; gap: 4px; }
.statVal { font-weight: 700; font-size: 14px; }
.statLbl { font-size: 12px; color: var(--text-muted); }
.points { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 20px; font-weight: 800; min-width: 70px; text-align: right; }
.ptLabel { font-size: 12px; font-weight: 500; color: var(--text-secondary); }
.gold { color: var(--gold); }
.silver { color: #C0C0C0; }
.bronze { color: #CD7F32; }