academy mode

This commit is contained in:
2026-04-25 15:18:56 +03:00
parent 22a379c2a1
commit 853525d8ad
6 changed files with 213 additions and 10 deletions

View File

@@ -314,9 +314,9 @@ tr:hover td { background: #1e1e40; }
}
/* ==========================================================================
Building Picker Modal
Building & Academy Picker Modal
========================================================================== */
#building-modal-overlay {
#building-modal-overlay, #academy-modal-overlay {
display: none;
position: fixed;
inset: 0;
@@ -325,9 +325,9 @@ tr:hover td { background: #1e1e40; }
align-items: center;
justify-content: center;
}
#building-modal-overlay.open { display: flex; }
#building-modal-overlay.open, #academy-modal-overlay.open { display: flex; }
#building-modal {
#building-modal, #academy-modal {
background: #16213e;
border: 2px solid #c8a44a;
border-radius: 10px;
@@ -342,7 +342,7 @@ tr:hover td { background: #1e1e40; }
from { transform: scale(0.92); opacity: 0; }
to { transform: scale(1); opacity: 1; }
}
#building-modal-header {
#building-modal-header, #academy-modal-header {
display: flex;
justify-content: space-between;
align-items: center;
@@ -350,12 +350,12 @@ tr:hover td { background: #1e1e40; }
padding-bottom: 10px;
border-bottom: 1px solid #2a4a6a;
}
#building-modal-header h3 {
#building-modal-header h3, #academy-modal-header h3 {
color: #c8a44a;
font-size: 1rem;
letter-spacing: 0.5px;
}
#building-modal-close {
#building-modal-close, #academy-modal-close {
background: none;
border: none;
color: #888;
@@ -364,7 +364,7 @@ tr:hover td { background: #1e1e40; }
line-height: 1;
padding: 0 4px;
}
#building-modal-close:hover { color: #fff; }
#building-modal-close:hover, #academy-modal-close:hover { color: #fff; }
#building-grid {
display: grid;
@@ -436,3 +436,26 @@ tr:hover td { background: #1e1e40; }
@media (max-width: 600px) {
#building-grid { grid-template-columns: repeat(2, 1fr); }
}
/* Academy Grid specific styling */
#academy-grid {
display: flex;
gap: 12px;
overflow-x: auto;
padding-bottom: 12px;
}
.academy-col {
display: flex;
flex-direction: column;
gap: 8px;
min-width: 140px;
}
.academy-col-header {
text-align: center;
font-size: 0.8rem;
color: #c8a44a;
border-bottom: 1px solid #2a4a6a;
padding-bottom: 4px;
margin-bottom: 4px;
}