fix: Joker-Symbol von CSS-Hintergrund auf IMG-Tag umstellen
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
parent
9a325aef48
commit
2ba24c0536
3 changed files with 3 additions and 8 deletions
|
|
@ -38,13 +38,8 @@ td.tipp-cell.col_joker_exact { background-color: red !important; color: white; }
|
|||
|
||||
.round-filter { margin-bottom: 20px; }
|
||||
.joker-icon {
|
||||
display: inline-block;
|
||||
width: 1.1em;
|
||||
height: 1.1em;
|
||||
background-image: url(/public/icons/joker.png);
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
vertical-align: text-bottom;
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ if (!isset($currentSeason) || !isset($ranking) || !isset($games) || !isset($allR
|
|||
|
||||
<div class="legend">
|
||||
<div class="legend-item">🏆 Tagessieger</div>
|
||||
<div class="legend-item"><span class="joker-icon"></span> Joker gesetzt</div>
|
||||
<div class="legend-item"><img src="/icons/joker.png" alt="Joker" class="joker-icon"> Joker gesetzt</div>
|
||||
<div class="legend-item"><div class="legend-color" style="background-color: orange;"></div> Exaktes Ergebnis</div>
|
||||
<div class="legend-item"><div class="legend-color" style="background-color: red;"></div> Exakt mit Joker</div>
|
||||
<div class="legend-item"><div class="legend-color" style="background-color: gold;"></div> Richtige Differenz</div>
|
||||
|
|
@ -78,7 +78,7 @@ if (!isset($currentSeason) || !isset($ranking) || !isset($games) || !isset($allR
|
|||
<td class="tipp-cell <?php echo htmlspecialchars($td_class); ?>" title="Tipp: <?php echo htmlspecialchars($tipp['text']); ?> | Punkte: <?php echo $tipp['points']; ?>">
|
||||
<?php echo $tipp['points']; ?>
|
||||
<?php if ($tipp['is_joker']): ?>
|
||||
<span class="joker-icon" title="Joker"></span>
|
||||
<img src="/icons/joker.png" alt="Joker" class="joker-icon" title="Joker">
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<?php endforeach; ?>
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ require __DIR__ . '/partials/header.php';
|
|||
<td class="tipp-cell <?php echo htmlspecialchars($td_class); ?>" title="Tipp: <?php echo htmlspecialchars($text); ?>">
|
||||
<?php echo htmlspecialchars($text); ?>
|
||||
<?php if ($is_joker && Game::isLocked($game['kickoff'])): ?>
|
||||
<span class="joker-icon" title="Joker"></span>
|
||||
<img src="/icons/joker.png" alt="Joker" class="joker-icon" title="Joker">
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<?php endforeach; ?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue