style: stadium scoreboard kickoff display in card header

Kickoff time styled as LED scoreboard: monospace font, dark background,
gold text with glow effect. Placed in card header next to group badge.
Cards are more compact without the separate kickoff row.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ronny
2026-04-11 22:50:12 +02:00
parent 137e14b3d1
commit 6be9bcdc1b
2 changed files with 15 additions and 18 deletions
+11 -10
View File
@@ -77,17 +77,18 @@
border: 1px solid rgba(75,183,248,0.15);
}
/* Kickoff time — centered above flags */
.kickoffRow {
text-align: center;
margin-bottom: 6px;
}
.kickoffTime {
font-size: 13px;
/* Kickoff — stadium scoreboard display */
.kickoffDisplay {
font-family: 'Courier New', 'Lucida Console', monospace;
font-size: 16px;
font-weight: 700;
color: var(--text-secondary);
letter-spacing: 0.05em;
color: var(--gold);
letter-spacing: 0.12em;
background: rgba(0, 0, 0, 0.4);
padding: 3px 10px;
border-radius: 4px;
border: 1px solid rgba(254, 174, 50, 0.15);
text-shadow: 0 0 8px rgba(254, 174, 50, 0.5);
}
.topRowSpacer {
+4 -8
View File
@@ -84,7 +84,7 @@ export default function MatchCard({ match, onTip }: Props) {
return (
<div className={`card ${styles.card} ${styles[`card_${state}`]} ${isLive ? styles.live : ''} ${glowClass}`}>
{/* Top row: Group + Countdown */}
{/* Top row: Group + Kickoff (stadium display) + Countdown */}
<div className={styles.topRow}>
{(isLive || isFinished) && (
<span className={`${styles.status} ${isLive ? styles.statusLive : ''}`}>
@@ -97,6 +97,9 @@ export default function MatchCard({ match, onTip }: Props) {
{match.group.replace('GROUP_', 'Gruppe ')}
</span>
)}
{!isFinished && !isLive && (
<span className={styles.kickoffDisplay}>{formatKickoff(match.utcDate)}</span>
)}
<span className={styles.topRowSpacer} />
{(state === 'open' || state === 'tipped') && match.tippable && (
<span className={`${styles.badge} ${remainingMins < 60 ? styles.badgeUrgent : ''} ${remainingMins < 5 ? styles.countdownUrgent : ''}`}>
@@ -113,13 +116,6 @@ export default function MatchCard({ match, onTip }: Props) {
)}
</div>
{/* Kickoff time — centered above flags */}
{!isFinished && !isLive && (
<div className={styles.kickoffRow}>
<span className={styles.kickoffTime}>{formatKickoff(match.utcDate)}</span>
</div>
)}
{/* Teams + Score */}
<div className={styles.matchRow}>
{/* Home */}