323 lines
24 KiB
CSS
323 lines
24 KiB
CSS
/* ============================================================
|
|
Tournament management page styles
|
|
============================================================ */
|
|
|
|
html, body { height: 100%; overflow: hidden; }
|
|
|
|
body { display: flex; flex-direction: column; }
|
|
|
|
.container { flex: 1; overflow: hidden; display: flex; flex-direction: column; padding: 8px !important; }
|
|
|
|
.section { background: white; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); padding: 18px 20px; flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
|
|
.section:has(.default-layout) { overflow: hidden; }
|
|
.section-title { font-size: 1.2rem; font-weight: bold; color: #333; margin-bottom: 12px; border-bottom: 3px solid #28a745; padding-bottom: 6px; }
|
|
|
|
/* League Status */
|
|
.league-status { text-align: center; padding: 30px; }
|
|
.league-active { color: #28a745; font-size: 1.4rem; font-weight: bold; margin-bottom: 20px; }
|
|
.league-inactive { color: #6c757d; font-size: 0.9rem; margin-bottom: 8px; }
|
|
.league-info { background: #f8f9fa; border: 1px solid #dee2e6; border-radius: 8px; padding: 20px; margin: 20px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 15px; }
|
|
|
|
/* League & Tournament container */
|
|
.league-tournament-container { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin: 20px 0; flex: 1; min-height: 0; }
|
|
.league-tournament-container.single-card { grid-template-columns: 1fr; }
|
|
.league-tournament-container.no-stretch { flex: 0 0 auto; }
|
|
.league-tournament-card { background: white; border: 2px solid #dee2e6; border-radius: 12px; padding: 20px; display: flex; flex-direction: column; }
|
|
.league-tournament-card h3 { font-size: 1.1rem; font-weight: bold; color: #333; margin: 0 0 15px 0; padding-bottom: 10px; border-bottom: 3px solid #28a745; }
|
|
.league-tournament-card.joker { background: #fff3cd; border-color: #ffeaa7; display: flex; flex-direction: column; }
|
|
|
|
.compact-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
|
|
.compact-info-item { background: #f8f9fa; padding: 12px; border-radius: 6px; border: 1px solid #e9ecef; }
|
|
.compact-info-label { font-size: 0.85rem; color: #666; margin-bottom: 4px; }
|
|
.compact-info-value { font-size: 1.2rem; font-weight: bold; color: #333; }
|
|
|
|
.unified-status { margin-bottom: 15px; padding: 10px; border-radius: 6px; text-align: center; font-weight: bold; font-size: 0.95rem; }
|
|
.unified-status.league { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
|
|
.unified-status.tournament { background: #cfe2ff; color: #084298; border: 1px solid #b6d4fe; }
|
|
|
|
/* League Progress Bar */
|
|
.league-progress-bar { background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); border: 2px solid #dee2e6; border-radius: 12px; padding: 20px; margin-bottom: 25px; width: 100%; box-sizing: border-box; }
|
|
.progress-title { font-size: 1.1rem; font-weight: bold; color: #333; margin-bottom: 15px; display: flex; align-items: center; gap: 8px; }
|
|
|
|
.tournaments-progress-horizontal { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; position: relative; }
|
|
|
|
.tournament-progress-dot {
|
|
display: flex; flex-direction: column; align-items: center; justify-content: center;
|
|
width: 80px; height: 80px; border-radius: 12px; border: 2.5px solid #dee2e6;
|
|
background: white; cursor: pointer; transition: all 0.3s ease; position: relative;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
|
|
}
|
|
.tournament-progress-dot:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.12); }
|
|
.tournament-progress-dot::after { content: '→'; position: absolute; right: -24px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: #dee2e6; font-weight: bold; }
|
|
.tournament-progress-dot:last-child::after { display: none; }
|
|
|
|
.dot-number { font-size: 1.6rem; font-weight: bold; color: #495057; margin-bottom: 2px; }
|
|
.dot-status { font-size: 1.3rem; line-height: 1; }
|
|
|
|
.tournament-progress-dot.pending { background: #f8f9fa; border-color: #dee2e6; }
|
|
.tournament-progress-dot.pending .dot-number { color: #adb5bd; }
|
|
|
|
.tournament-progress-dot.active { background: linear-gradient(135deg, #cfe2ff 0%, #e7f1ff 100%); border-color: #1e7e34; border-width: 3px; box-shadow: 0 4px 16px rgba(0, 123, 255, 0.3); }
|
|
.tournament-progress-dot.active .dot-number { color: #1e7e34; animation: pulse-dot 1.5s infinite; }
|
|
.tournament-progress-dot.active::after { color: #28a745; animation: pulse-arrow 1.5s infinite; }
|
|
|
|
@keyframes pulse-dot { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
|
|
@keyframes pulse-arrow { 0%, 100% { transform: translateY(-50%) translateX(0); opacity: 0.6; } 50% { transform: translateY(-50%) translateX(4px); opacity: 1; } }
|
|
|
|
.tournament-progress-dot.completed { background: linear-gradient(135deg, #d4edda 0%, #e8f5e8 100%); border-color: #1e7e34; }
|
|
.tournament-progress-dot.completed .dot-number { color: #1e7e34; }
|
|
.tournament-progress-dot.completed::after { color: #28a745; }
|
|
|
|
/* Round progress */
|
|
.rounds-progress-bar { margin-top: 20px; padding-top: 20px; border-top: 2px solid #dee2e6; display: flex; flex-direction: column; justify-content: center; }
|
|
.rounds-progress-title { font-size: 0.95rem; font-weight: 600; color: #495057; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
|
|
.rounds-progress-horizontal { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; }
|
|
|
|
.round-progress-dot { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 10px; border: 2px solid #dee2e6; background: white; cursor: pointer; transition: all 0.3s ease; position: relative; box-shadow: 0 2px 4px rgba(0,0,0,0.05); font-size: 0.85rem; font-weight: bold; }
|
|
.round-progress-dot:hover { cursor: default; }
|
|
.round-progress-dot::after { content: '→'; position: absolute; right: -18px; top: 50%; transform: translateY(-50%); font-size: 1.2rem; color: #dee2e6; font-weight: bold; }
|
|
.round-progress-dot:last-child::after { display: none; }
|
|
.round-progress-dot.pending { background: #f8f9fa; border-color: #dee2e6; color: #adb5bd; }
|
|
.round-progress-dot.active { background: linear-gradient(135deg, #cfe2ff 0%, #e7f1ff 100%); border-color: #1e7e34; border-width: 2px; color: #1e7e34; box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3); }
|
|
.round-progress-dot.active::after { color: #28a745; }
|
|
.round-progress-dot.completed { background: linear-gradient(135deg, #d4edda 0%, #e8f5e8 100%); border-color: #1e7e34; color: #1e7e34; }
|
|
.round-progress-dot.completed::after { color: #28a745; }
|
|
|
|
/* Tournament cards */
|
|
.tournaments-progress-container { margin-top: 30px; }
|
|
.tournaments-grid { display: grid; grid-template-columns: 1fr; gap: 15px; margin-top: 20px; max-width: 600px; }
|
|
|
|
.tournament-card { background: white; border: 2px solid #dee2e6; border-radius: 12px; padding: 20px; transition: all 0.3s ease; position: relative; overflow: hidden; }
|
|
.tournament-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: #dee2e6; transition: all 0.3s ease; }
|
|
.tournament-card.pending { opacity: 0.7; background: #f8f9fa; }
|
|
.tournament-card.pending::before { background: linear-gradient(90deg, #6c757d 0%, #95a3b3 100%); }
|
|
.tournament-card.active { border-color: #28a745; box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2); }
|
|
.tournament-card.active::before { background: linear-gradient(90deg, #28a745 0%, #1e7e34 100%); }
|
|
.tournament-card.completed { opacity: 0.8; }
|
|
.tournament-card.completed::before { background: linear-gradient(90deg, #28a745 0%, #20c997 100%); }
|
|
|
|
.tournament-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
|
|
.tournament-card-number { font-size: 1.4rem; font-weight: bold; color: #28a745; background: #e7f1ff; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
|
|
.tournament-card.pending .tournament-card-number { background: #e9ecef; color: #6c757d; }
|
|
.tournament-card.completed .tournament-card-number { background: #d4edda; color: #28a745; }
|
|
|
|
.tournament-card-status { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 0.85rem; font-weight: bold; text-align: center; }
|
|
.tournament-card.pending .tournament-card-status { background: #e9ecef; color: #6c757d; }
|
|
.tournament-card.active .tournament-card-status { background: #cfe2ff; color: #084298; animation: pulse 2s infinite; }
|
|
.tournament-card.completed .tournament-card-status { background: #d4edda; color: #155724; }
|
|
|
|
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
|
|
|
|
.tournament-card-info { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 15px; }
|
|
.tournament-card-info-item { background: #f8f9fa; padding: 10px; border-radius: 6px; text-align: center; }
|
|
.tournament-card-info-label { font-size: 0.8rem; color: #666; margin-bottom: 4px; }
|
|
.tournament-card-info-value { font-size: 1.1rem; font-weight: bold; color: #333; }
|
|
.tournament-card-actions { display: flex; gap: 10px; flex-direction: column; }
|
|
|
|
.tournament-card-btn { padding: 10px 15px; border: none; border-radius: 6px; cursor: pointer; font-weight: bold; font-size: 0.9rem; transition: all 0.2s ease; text-decoration: none; text-align: center; }
|
|
.tournament-card-btn.start { background: #28a745; color: white; }
|
|
.tournament-card-btn.start:hover { background: #218838; transform: translateY(-2px); }
|
|
.tournament-card-btn.disabled { background: #e9ecef; color: #6c757d; cursor: not-allowed; }
|
|
.tournament-card-btn.disabled:hover { transform: none; }
|
|
.tournament-card-check { font-size: 2rem; color: #28a745; text-align: center; margin: 10px 0; }
|
|
|
|
.info-item { background: white; padding: 15px; border-radius: 6px; border: 1px solid #e9ecef; text-align: center; }
|
|
.info-label { font-size: 0.9rem; color: #666; margin-bottom: 5px; }
|
|
.info-value { font-size: 1.3rem; font-weight: bold; color: #333; }
|
|
|
|
/* Default two-column layout */
|
|
.default-layout { display: grid; grid-template-columns: 340px 1fr; gap: 0; flex: 1; overflow: hidden; min-height: 0; }
|
|
.default-left { border-right: 2px solid #e9ecef; padding-right: 20px; overflow-y: auto; display: flex; flex-direction: column; }
|
|
.default-right { padding-left: 20px; display: flex; flex-direction: column; overflow: hidden; min-height: 0; }
|
|
|
|
@media (max-width: 900px) {
|
|
.default-layout { grid-template-columns: 1fr; overflow-y: auto; }
|
|
.default-left { border-right: none; border-bottom: 2px solid #e9ecef; padding-right: 0; padding-bottom: 16px; margin-bottom: 16px; overflow: visible; }
|
|
.default-right { padding-left: 0; }
|
|
}
|
|
|
|
.type-options-vertical { grid-template-columns: 1fr !important; }
|
|
|
|
/* Tournament type selection */
|
|
.tournament-type-selection { background: #f8f9fa; border: 2px solid #e9ecef; border-radius: 8px; padding: 12px; margin: 10px 0; }
|
|
.type-title { font-size: 0.95rem; font-weight: bold; color: #333; margin-bottom: 10px; }
|
|
.type-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 8px; }
|
|
|
|
.type-option { background: white; border: 2px solid #dee2e6; border-radius: 8px; padding: 10px 14px; cursor: pointer; transition: all 0.3s ease; text-align: left; position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; }
|
|
.type-option::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 12px 12px 0 0; background: #dee2e6; transition: all 0.3s ease; }
|
|
|
|
.type-option[data-type="4_targets"] { border-color: #11998e; }
|
|
.type-option[data-type="4_targets"]:hover { border-color: #0f766e; box-shadow: 0 4px 15px rgba(17, 153, 142, 0.25); transform: translateY(-2px); }
|
|
.type-option[data-type="4_targets"].selected { border-color: #0f766e; background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); }
|
|
.type-option[data-type="4_targets"]::before { background: linear-gradient(90deg, #11998e 0%, #38ef7d 100%); }
|
|
|
|
.type-option[data-type="20_targets"] { border-color: #ff6b6b; }
|
|
.type-option[data-type="20_targets"]:hover { border-color: #e53e3e; box-shadow: 0 4px 15px rgba(255, 107, 107, 0.25); transform: translateY(-2px); }
|
|
.type-option[data-type="20_targets"].selected { border-color: #e53e3e; background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%); }
|
|
.type-option[data-type="20_targets"]::before { background: linear-gradient(90deg, #ff6b6b 0%, #ff8e53 100%); }
|
|
|
|
.type-option[data-type="40_targets"] { border-color: #667eea; }
|
|
.type-option[data-type="40_targets"]:hover { border-color: #5a67d8; box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25); transform: translateY(-2px); }
|
|
.type-option[data-type="40_targets"].selected { border-color: #5a67d8; background: linear-gradient(135deg, #f8f9ff 0%, #e8ebff 100%); }
|
|
.type-option[data-type="40_targets"]::before { background: linear-gradient(90deg, #667eea 0%, #764ba2 100%); }
|
|
|
|
.type-option[data-type="nabijanje"] { border-color: #f97316; }
|
|
.type-option[data-type="nabijanje"]:hover { border-color: #ea580c; box-shadow: 0 4px 15px rgba(249, 115, 22, 0.25); transform: translateY(-2px); }
|
|
.type-option[data-type="nabijanje"].selected { border-color: #ea580c; background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%); }
|
|
.type-option[data-type="nabijanje"]::before { background: linear-gradient(90deg, #f97316 0%, #fbbf24 100%); }
|
|
|
|
.type-option input[type="radio"] { margin-right: 10px; width: 18px; height: 18px; }
|
|
.type-option-text { flex: 1; min-width: 0; }
|
|
.type-name { font-size: 1rem; font-weight: bold; color: #333; margin-bottom: 2px; }
|
|
.type-description { font-size: 0.78rem; color: #666; line-height: 1.3; }
|
|
|
|
/* Joker management */
|
|
.joker-section { background: #fff3cd; border: 2px solid #ffeaa7; border-radius: 8px; padding: 20px; margin: 20px 0; display: flex; flex-direction: column; }
|
|
.joker-players-card { background: white; border: 1px solid #ffd54f; border-radius: 8px; padding: 8px; flex: 1; overflow: hidden; display: flex; flex-direction: column; }
|
|
.joker-title { font-size: 1.1rem; font-weight: bold; color: #856404; margin-bottom: 15px; display: flex; align-items: center; gap: 8px; }
|
|
.joker-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; }
|
|
.joker-list { display: flex; flex-direction: column; gap: 6px; overflow-y: auto; max-height: 510px; flex: 1; }
|
|
.joker-player { background: white; border: 1px solid #dee2e6; border-radius: 6px; padding: 10px 15px; display: flex; align-items: center; justify-content: space-between; }
|
|
.joker-player.used { opacity: 0.6; background: #f8f9fa; }
|
|
.joker-checkbox { width: 18px; height: 18px; }
|
|
.joker-checkbox:disabled { cursor: not-allowed; }
|
|
|
|
/* Action buttons */
|
|
.action-buttons { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 10px 0; }
|
|
.action-btn { background: #28a745; border: none; color: white; padding: 10px 18px; border-radius: 8px; cursor: pointer; font-size: 0.85rem; font-weight: bold; transition: all 0.2s ease; min-width: 0; text-decoration: none !important; font-family: Arial, sans-serif; display: inline-block; }
|
|
.action-btn:hover { background: #1e7e34; transform: translateY(-1px); box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3); text-decoration: none !important; }
|
|
.action-btn:focus, .action-btn:active, .action-btn:visited { text-decoration: none !important; }
|
|
.action-btn:disabled { background: #6c757d; cursor: not-allowed; transform: none; box-shadow: none; }
|
|
.action-btn.success { background: #28a745; }
|
|
.action-btn.success:hover { background: #1e7e34; }
|
|
.action-btn.danger { background: #dc3545; }
|
|
.action-btn.danger:hover { background: #c82333; }
|
|
.action-btn.info { background: #007bff; border-color: #0056b3; }
|
|
.action-btn.info:hover { background: #0056b3; box-shadow: 0 4px 8px rgba(0, 123, 255, 0.4); }
|
|
|
|
.player-count { margin: 10px 0; font-size: 0.95rem; color: #333; text-align: center; }
|
|
.enabled-count { color: #28a745; font-weight: bold; font-size: 1.1rem; }
|
|
.warning { background: #fff3cd; border: 1px solid #ffeaa7; color: #856404; padding: 12px 16px; border-radius: 6px; margin: 15px 0; font-weight: 500; }
|
|
|
|
/* Tournament status */
|
|
.tournament-status { text-align: center; padding: 30px; }
|
|
.tournament-active { color: #28a745; font-size: 1.4rem; font-weight: bold; margin-bottom: 20px; }
|
|
.tournament-inactive { color: #6c757d; font-size: 1.2rem; margin-bottom: 20px; }
|
|
.tournament-info { background: #f8f9fa; border: 1px solid #dee2e6; border-radius: 8px; padding: 20px; margin: 20px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; }
|
|
|
|
/* Player management toolbar */
|
|
.player-toolbar { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
|
|
.search-container { flex: 1; min-width: 140px; position: relative; }
|
|
.search-input { width: 100%; padding: 7px 32px 7px 10px; border: 1.5px solid #e9ecef; border-radius: 6px; font-size: 0.88rem; transition: border-color 0.2s ease; box-sizing: border-box; }
|
|
.search-input:focus { outline: none; border-color: #28a745; }
|
|
.search-icon { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); color: #6c757d; font-size: 0.9rem; }
|
|
|
|
.filter-btn { padding: 6px 10px; border: 1.5px solid #e9ecef; background: white; border-radius: 6px; cursor: pointer; font-size: 0.8rem; font-weight: 500; transition: all 0.2s ease; white-space: nowrap; }
|
|
.filter-btn:hover { border-color: #28a745; background: #f8f9fa; }
|
|
.filter-btn.active { background: #28a745; color: white; border-color: #28a745; }
|
|
|
|
.add-player-row { display: flex; gap: 6px; margin-bottom: 8px; }
|
|
.add-player-row input { flex: 1; padding: 7px 10px; border: 1.5px solid #ced4da; border-radius: 6px; font-size: 0.88rem; }
|
|
.add-player-row input:focus { outline: none; border-color: #28a745; }
|
|
.add-btn { background: #28a745; border: none; color: white; padding: 7px 14px; border-radius: 6px; cursor: pointer; font-weight: bold; font-size: 0.85rem; white-space: nowrap; }
|
|
.add-btn:hover { background: #218838; }
|
|
.add-btn:disabled { background: #6c757d; cursor: not-allowed; }
|
|
|
|
.stats-bar { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; font-size: 0.82rem; color: #555; }
|
|
.stats-bar strong { font-size: 0.95rem; }
|
|
.stat-enabled { color: #28a745; }
|
|
.stat-disabled { color: #dc3545; }
|
|
.stat-total { color: #28a745; }
|
|
|
|
/* Player list */
|
|
.player-list { flex: 1; overflow-y: auto; min-height: 0; }
|
|
.player-row { display: flex; align-items: center; gap: 0; padding: 0 4px; border-bottom: 1px solid #f0f0f0; min-height: 36px; transition: background 0.1s; cursor: pointer; user-select: none; }
|
|
.player-row:last-child { border-bottom: none; }
|
|
.player-row:hover { background: #f8f9fa; }
|
|
.player-row.selected { background: #eaf4ff; }
|
|
.player-row.disabled-player { opacity: 0.5; }
|
|
|
|
.pr-dot { width: 8px; height: 8px; border-radius: 50%; background: #dee2e6; flex-shrink: 0; margin-right: 10px; margin-left: 4px; transition: background 0.15s; cursor: pointer; }
|
|
.player-row:not(.disabled-player) .pr-dot { background: #28a745; }
|
|
.pr-check { flex-shrink: 0; margin-right: 8px; cursor: pointer; }
|
|
.pr-name { flex: 1; font-size: 0.88rem; font-weight: 500; color: #222; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.pr-name input { width: 100%; padding: 2px 6px; border: 1.5px solid #28a745; border-radius: 4px; font-size: 0.88rem; font-weight: 500; }
|
|
.pr-actions { display: flex; gap: 2px; flex-shrink: 0; opacity: 0.35; transition: opacity 0.15s; }
|
|
.player-row:hover .pr-actions { opacity: 1; }
|
|
.pr-btn { padding: 3px 6px; border: none; border-radius: 4px; cursor: pointer; font-size: 0.72rem; background: transparent; color: #555; transition: background 0.12s; }
|
|
.pr-btn:hover { background: #e9ecef; }
|
|
.pr-btn.del:hover { background: #f8d7da; color: #721c24; }
|
|
|
|
/* Bulk action strip */
|
|
.bulk-strip { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; flex-wrap: wrap; }
|
|
.bulk-btn { padding: 4px 10px; border: 1.5px solid #e9ecef; background: white; border-radius: 5px; cursor: pointer; font-size: 0.78rem; font-weight: 500; transition: all 0.15s; white-space: nowrap; }
|
|
.bulk-btn:hover { border-color: #28a745; background: #f8fff9; }
|
|
.bulk-btn.danger:hover { border-color: #dc3545; background: #fff5f5; }
|
|
|
|
.stat-item { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }
|
|
.stat-number { font-weight: bold; font-size: 1.1rem; }
|
|
.no-results { text-align: center; padding: 40px 20px; color: #6c757d; font-style: italic; }
|
|
|
|
/* Confirmation modal */
|
|
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 1000; opacity: 0; visibility: hidden; transition: all 0.2s ease; }
|
|
.modal-overlay.active { opacity: 1; visibility: visible; }
|
|
.confirmation-modal { background: white; border-radius: 8px; padding: 25px; max-width: 500px; width: 90%; box-shadow: 0 4px 12px rgba(0,0,0,0.3); transform: scale(0.9); transition: transform 0.2s ease; }
|
|
.modal-overlay.active .confirmation-modal { transform: scale(1); }
|
|
.modal-title { font-size: 1.2rem; font-weight: bold; color: #333; margin-bottom: 12px; }
|
|
.modal-message { color: #666; margin-bottom: 20px; line-height: 1.4; }
|
|
.modal-buttons { display: flex; gap: 12px; justify-content: flex-end; }
|
|
.modal-btn { padding: 8px 16px; border: none; border-radius: 4px; cursor: pointer; font-weight: 500; transition: background-color 0.2s ease; }
|
|
.modal-btn.cancel { background: #6c757d; color: white; }
|
|
.modal-btn.cancel:hover { background: #5a6268; }
|
|
.modal-btn.confirm { background: #dc3545; color: white; }
|
|
.modal-btn.confirm:hover { background: #c82333; }
|
|
|
|
/* Config modal */
|
|
.config-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 1100; opacity: 0; visibility: hidden; transition: all 0.2s ease; }
|
|
.config-modal-overlay.active { opacity: 1; visibility: visible; }
|
|
.config-modal { background: white; border-radius: 12px; padding: 28px; width: 340px; box-shadow: 0 8px 32px rgba(0,0,0,0.2); transform: scale(0.9); transition: transform 0.2s ease; }
|
|
.config-modal-overlay.active .config-modal { transform: scale(1); }
|
|
.config-modal h3 { margin: 0 0 18px 0; font-size: 1.1rem; color: #333; border-bottom: 3px solid #fd7e14; padding-bottom: 8px; }
|
|
.config-row { margin-bottom: 16px; }
|
|
.config-row label { display: block; font-size: 0.88rem; font-weight: 600; color: #555; margin-bottom: 6px; }
|
|
.config-row input[type="number"] { width: 100%; padding: 9px 12px; border: 1.5px solid #dee2e6; border-radius: 6px; font-size: 1rem; box-sizing: border-box; }
|
|
.config-row input[type="number"]:focus { outline: none; border-color: #fd7e14; }
|
|
.config-preview { background: #fff8f3; border: 1.5px solid #ffd5b0; border-radius: 6px; padding: 10px 14px; font-size: 0.85rem; color: #7a3a00; margin-bottom: 18px; }
|
|
.config-modal-btns { display: flex; gap: 10px; justify-content: flex-end; }
|
|
|
|
@media (max-width: 1024px) { .league-tournament-container { grid-template-columns: 1fr; gap: 20px; } }
|
|
|
|
@media (max-width: 1200px) {
|
|
.tournament-progress-dot { width: 70px; height: 70px; }
|
|
.dot-number { font-size: 1.3rem; }
|
|
.dot-status { font-size: 1.1rem; }
|
|
.tournament-progress-dot::after { font-size: 1.3rem; right: -20px; }
|
|
.tournaments-progress-horizontal { gap: 14px; }
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.league-progress-bar { padding: 16px; margin-bottom: 20px; }
|
|
.progress-title { font-size: 1rem; margin-bottom: 12px; }
|
|
.tournament-progress-dot { width: 65px; height: 65px; }
|
|
.dot-number { font-size: 1.2rem; }
|
|
.dot-status { font-size: 1rem; }
|
|
.tournament-progress-dot::after { font-size: 1.2rem; right: -18px; }
|
|
.tournaments-progress-horizontal { gap: 12px; }
|
|
.container { padding: 20px 15px; }
|
|
.player-toolbar { flex-wrap: wrap; }
|
|
.add-player-row { flex-wrap: wrap; }
|
|
.tournament-info, .league-info { grid-template-columns: 1fr; }
|
|
.type-options { grid-template-columns: 1fr; }
|
|
.action-buttons { flex-direction: column; align-items: center; }
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.league-progress-bar { padding: 12px; margin-bottom: 16px; }
|
|
.progress-title { font-size: 0.95rem; margin-bottom: 10px; }
|
|
.tournament-progress-dot { width: 60px; height: 60px; }
|
|
.dot-number { font-size: 1.1rem; margin-bottom: 1px; }
|
|
.dot-status { font-size: 0.9rem; }
|
|
.tournament-progress-dot::after { font-size: 1rem; right: -16px; }
|
|
.tournaments-progress-horizontal { gap: 10px; }
|
|
}
|