feat: Füge Legende hinzu und passe Ranglistenfarben an
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
parent
4478346653
commit
fd878550ff
2 changed files with 35 additions and 4 deletions
|
|
@ -31,11 +31,33 @@ th { background-color: #f4f4f4; }
|
|||
|
||||
/* Stile für Zellen in Rangliste/Rundenansicht */
|
||||
td.tipp-cell { text-align: center !important; position: relative; }
|
||||
td.tipp-cell.col_exact { background-color: #28a745 !important; color: white; } /* Exaktes Ergebnis */
|
||||
td.tipp-cell.col_diff { background-color: #ffc107 !important; } /* Richtige Tordifferenz */
|
||||
td.tipp-cell.col_tendenz { background-color: #17a2b8 !important; color: white; } /* Richtige Tendenz */
|
||||
td.tipp-cell.col_joker_exact { background-color: #6f42c1 !important; color: white; } /* Exaktes Ergebnis mit Joker */
|
||||
td.tipp-cell.col_exact { background-color: orange !important; color: white; } /* Exaktes Ergebnis */
|
||||
td.tipp-cell.col_diff { background-color: gold !important; } /* Richtige Tordifferenz */
|
||||
td.tipp-cell.col_tendenz { background-color: grey !important; color: white; } /* Richtige Tendenz */
|
||||
td.tipp-cell.col_joker_exact { background-color: red !important; color: white; } /* Exaktes Ergebnis mit Joker */
|
||||
|
||||
.round-filter { margin-bottom: 20px; }
|
||||
.joker-icon { font-size: 0.7em; vertical-align: top; }
|
||||
th.game-header { white-space: normal; }
|
||||
|
||||
/* Legende */
|
||||
.legend {
|
||||
margin: 20px 0;
|
||||
padding: 10px;
|
||||
border: 1px solid #ccc;
|
||||
background-color: #f9f9f9;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 15px;
|
||||
align-items: center;
|
||||
}
|
||||
.legend-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
}
|
||||
.legend-color {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border: 1px solid #666;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,6 +30,15 @@ if (!isset($currentSeason) || !isset($ranking) || !isset($games) || !isset($allR
|
|||
</form>
|
||||
</div>
|
||||
|
||||
<div class="legend">
|
||||
<div class="legend-item">🏆 Tagessieger</div>
|
||||
<div class="legend-item">🃏 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>
|
||||
<div class="legend-item"><div class="legend-color" style="background-color: grey;"></div> Richtige Tendenz</div>
|
||||
</div>
|
||||
|
||||
<div class="table-container">
|
||||
<?php if (!empty($ranking)): ?>
|
||||
<table>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue