feat: Stadium Elite Design, Rangliste, Profil-Team, User-Upsert & n8n Cronjob
- MatchCard + TipModal: Uhrzeit statt VS zwischen Flaggen, Gruppe zentriert - LeaderboardPage: Podium (2./1./3.), DU-Badge, Trend-Pfeile, Team-Zeile, CTA-Card - AdminPage: Stadium Elite Redesign mit Result-Bar und Inline-Spinner - ProfilePage: Team-Feld inline editierbar (PATCH /api/profile/team) - User-Upsert beim ersten App-Aufruf (Matches-Route) statt erst beim Tipp - DB Migration 002: team-Spalte in users, Leaderboard View aktualisiert - Leaderboard-Refresh automatisch nach Tipps-Auswertung - n8n Workflow angelegt: stündlicher Sync + Auswertung (ID: t3SDspIGDXwkfOt3) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,61 +1,153 @@
|
||||
.card { padding: 16px 20px; transition: box-shadow 0.2s; }
|
||||
.card:hover { box-shadow: 0 12px 30px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.09); }
|
||||
.live { box-shadow: 0 0 0 1px rgba(248,113,113,0.3), 0 10px 25px rgba(0,0,0,0.25) !important; }
|
||||
/* MatchCard — Stadium Elite Style */
|
||||
|
||||
.card {
|
||||
padding: 20px 24px;
|
||||
transition: box-shadow 0.2s, transform 0.15s;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.card:hover {
|
||||
transform: translateY(-1px);
|
||||
box-shadow:
|
||||
0 16px 36px rgba(0,0,0,0.35),
|
||||
inset 0 1px 0 rgba(255,255,255,0.10),
|
||||
inset 1px 0 0 rgba(255,255,255,0.05);
|
||||
}
|
||||
|
||||
.live {
|
||||
box-shadow:
|
||||
0 0 0 1px rgba(248,113,113,0.25),
|
||||
0 10px 30px rgba(248,113,113,0.08),
|
||||
inset 0 1px 0 rgba(255,255,255,0.07) !important;
|
||||
}
|
||||
|
||||
/* Top row */
|
||||
.topRow {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
margin-bottom: 14px;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.status {
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.06em;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.statusLive {
|
||||
color: var(--error);
|
||||
animation: pulse 1.5s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes pulse {
|
||||
0%, 100% { opacity: 1; }
|
||||
50% { opacity: 0.5; }
|
||||
}
|
||||
|
||||
.status { font-size: 12px; color: var(--text-muted); }
|
||||
.statusLive { color: var(--error); font-weight: 600; }
|
||||
.kickoff { font-size: 13px; color: var(--text-secondary); margin-left: auto; }
|
||||
|
||||
.badge, .badgeUrgent {
|
||||
font-size: 11px;
|
||||
padding: 3px 8px;
|
||||
border-radius: 10px;
|
||||
font-weight: 600;
|
||||
font-weight: 700;
|
||||
padding: 3px 9px;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
.badge {
|
||||
background: var(--surface-high);
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.badgeUrgent {
|
||||
background: rgba(254,174,50,0.12);
|
||||
color: var(--gold);
|
||||
border: 1px solid rgba(254,174,50,0.2);
|
||||
}
|
||||
.badge { background: var(--surface-high); color: var(--text-secondary); }
|
||||
.badgeUrgent { background: rgba(254,174,50,0.15); color: var(--gold); }
|
||||
|
||||
.group {
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
color: var(--primary);
|
||||
background: var(--primary-dim);
|
||||
padding: 2px 8px;
|
||||
border-radius: 10px;
|
||||
padding: 3px 9px;
|
||||
border-radius: 20px;
|
||||
border: 1px solid rgba(75,183,248,0.15);
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
/* Match row — Teams + Score */
|
||||
.matchRow {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto 1fr;
|
||||
grid-template-columns: 1fr 100px 1fr;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
margin-bottom: 16px;
|
||||
gap: 12px;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.teamHome { display: flex; align-items: center; gap: 10px; justify-content: flex-end; }
|
||||
.teamAway { display: flex; align-items: center; gap: 10px; }
|
||||
.crest { width: 28px; height: 28px; object-fit: contain; }
|
||||
/* Teams */
|
||||
.teamHome {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.teamAway {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
/* Flag box — glossy square */
|
||||
.flagBox {
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
border-radius: 13px;
|
||||
background: var(--surface-high);
|
||||
box-shadow:
|
||||
0 4px 12px rgba(0,0,0,0.3),
|
||||
inset 0 1px 0 rgba(255,255,255,0.12);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.flagBox::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0; left: 0; right: 0;
|
||||
height: 50%;
|
||||
background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
|
||||
pointer-events: none;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.crest {
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
object-fit: contain;
|
||||
position: relative;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.teamName {
|
||||
font-family: 'Plus Jakarta Sans', sans-serif;
|
||||
font-weight: 600;
|
||||
font-weight: 700;
|
||||
font-size: 15px;
|
||||
color: var(--text-primary);
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
/* Score / VS center */
|
||||
.scoreBox {
|
||||
min-width: 80px;
|
||||
text-align: center;
|
||||
background: var(--surface-high);
|
||||
border-radius: var(--radius-sm);
|
||||
padding: 8px 12px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.score {
|
||||
@@ -63,63 +155,95 @@
|
||||
font-size: 22px;
|
||||
font-weight: 800;
|
||||
color: var(--text-primary);
|
||||
letter-spacing: 2px;
|
||||
letter-spacing: 4px;
|
||||
}
|
||||
|
||||
.vs {
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
color: var(--text-muted);
|
||||
.kickoffCenter {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
/* Tipp */
|
||||
.kickoffCenterTime {
|
||||
font-family: 'Plus Jakarta Sans', sans-serif;
|
||||
font-size: 13px;
|
||||
font-weight: 800;
|
||||
color: var(--primary);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Tipp area */
|
||||
.tipRow {
|
||||
border-top: 1px solid rgba(255,255,255,0.06);
|
||||
padding-top: 12px;
|
||||
border-top: 1px solid rgba(255,255,255,0.05);
|
||||
padding-top: 14px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 44px;
|
||||
}
|
||||
|
||||
.tipBtn { width: 100%; max-width: 240px; }
|
||||
.tipBtn {
|
||||
width: 100%;
|
||||
max-width: 260px;
|
||||
padding: 11px 20px;
|
||||
font-size: 14px;
|
||||
letter-spacing: 0.02em;
|
||||
}
|
||||
|
||||
/* Existing tip display */
|
||||
.tipDisplay {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.tipLabel { font-size: 13px; color: var(--text-secondary); }
|
||||
.tipLabel {
|
||||
font-size: 12px;
|
||||
color: var(--text-muted);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
.tipScore {
|
||||
font-family: 'Plus Jakarta Sans', sans-serif;
|
||||
font-weight: 700;
|
||||
font-size: 16px;
|
||||
font-weight: 800;
|
||||
font-size: 17px;
|
||||
color: var(--primary);
|
||||
background: var(--primary-dim);
|
||||
padding: 3px 12px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid rgba(75,183,248,0.15);
|
||||
}
|
||||
|
||||
.points {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
padding: 3px 10px;
|
||||
border-radius: 10px;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
padding: 4px 10px;
|
||||
border-radius: 20px;
|
||||
}
|
||||
.exact { background: rgba(52,211,153,0.15); color: var(--success); }
|
||||
.tendency { background: rgba(75,183,248,0.15); color: var(--primary); }
|
||||
.wrong { background: rgba(248,113,113,0.12); color: var(--error); }
|
||||
|
||||
.exact { background: rgba(52,211,153,0.12); color: var(--success); border: 1px solid rgba(52,211,153,0.2); }
|
||||
.tendency { background: rgba(75,183,248,0.12); color: var(--primary); border: 1px solid rgba(75,183,248,0.2); }
|
||||
.wrong { background: rgba(248,113,113,0.10); color: var(--error); border: 1px solid rgba(248,113,113,0.15); }
|
||||
|
||||
.editBtn {
|
||||
background: transparent;
|
||||
border: 1px solid rgba(255,255,255,0.15);
|
||||
color: var(--text-secondary);
|
||||
border: 1px solid rgba(255,255,255,0.1);
|
||||
color: var(--text-muted);
|
||||
padding: 4px 12px;
|
||||
border-radius: 6px;
|
||||
border-radius: 20px;
|
||||
font-size: 12px;
|
||||
cursor: pointer;
|
||||
transition: all 0.15s;
|
||||
}
|
||||
.editBtn:hover { border-color: var(--primary); color: var(--primary); }
|
||||
|
||||
.noTip { font-size: 13px; color: var(--text-muted); }
|
||||
.noTip {
|
||||
font-size: 12px;
|
||||
color: var(--text-muted);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user