diff --git a/tournaments/templates/tournaments/broadcast/broadcasted_planning.html b/tournaments/templates/tournaments/broadcast/broadcasted_planning.html index 46397b1..b253302 100644 --- a/tournaments/templates/tournaments/broadcast/broadcasted_planning.html +++ b/tournaments/templates/tournaments/broadcast/broadcasted_planning.html @@ -4,6 +4,7 @@ + @@ -12,17 +13,38 @@ .running { background-color: #90ee90 !important; } - .bubble-footer.score, .match-cell .bubble { + .match-cell { + box-sizing: border-box; + padding: 0; + flex-grow: 0; + flex-shrink: 0; + } + .match-cell .bubble { height: 8rem; display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; - font-size: 1.2em; + font-size: clamp(0.8rem, 1vw + 0.4rem, 1.2rem); overflow: hidden; text-overflow: ellipsis; - width: 100%; color: black; + background-color: white; + margin: 0; + width: 100%; + } + .match-cell .bubble.even { + background-color: white; + } + .match-cell .bubble.empty { + background-color: rgba(173, 216, 230, 0.3); + color: white; + } + .court-label { + box-sizing: border-box; + padding: 0; + flex-grow: 0; + flex-shrink: 0; } .court-label .bubble { height: 4rem; @@ -36,46 +58,16 @@ font-size: 1em; color: black; } - .match-cell .bubble { - background-color: white; /* Light blue */ - } - .match-cell .bubble.even { - background-color: white; /* Light mint */ - } - .match-cell .bubble.empty { - background-color: rgba(173, 216, 230, 0.3); /* Light blue */ - color: white; - } - .match-cell, .court-label { - width: 165px; + .courts-row, + .matches-row { display: flex; - } - /* Adjust width when court count is 5 or more */ - .court-label .bubble, - .match-cell .bubble { - width: 100%; - margin: 0; - } - .court-label .bubble, - .cell.large-6 { - width: 50%; - padding: 0px; - } - .court-label .bubble, - .cell.large-12 { width: 100%; - padding: 0px; + gap: 20px; } .grid-x { display: flex; flex-wrap: wrap; } - .courts-row, - .matches-row { - display: flex; - width: 100%; - gap: 20px; - } @@ -83,7 +75,6 @@ Programmation - - - + @@ -206,14 +202,14 @@
-
+
-