This commit is contained in:
2026-05-01 21:16:20 +03:00
parent f4a0e18686
commit 2769091b74

View File

@@ -314,9 +314,9 @@ tr:hover td { background: #1e1e40; }
} }
/* ========================================================================== /* ==========================================================================
Building & Academy Picker Modal Building, Academy & Unit Picker Modals
========================================================================== */ ========================================================================== */
#building-modal-overlay, #academy-modal-overlay { #building-modal-overlay, #academy-modal-overlay, #unit-modal-overlay {
display: none; display: none;
position: fixed; position: fixed;
inset: 0; inset: 0;
@@ -325,9 +325,9 @@ tr:hover td { background: #1e1e40; }
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
#building-modal-overlay.open, #academy-modal-overlay.open { display: flex; } #building-modal-overlay.open, #academy-modal-overlay.open, #unit-modal-overlay.open { display: flex; }
#building-modal, #academy-modal { #building-modal, #academy-modal, #unit-modal {
background: #16213e; background: #16213e;
border: 2px solid #c8a44a; border: 2px solid #c8a44a;
border-radius: 10px; border-radius: 10px;
@@ -342,7 +342,7 @@ tr:hover td { background: #1e1e40; }
from { transform: scale(0.92); opacity: 0; } from { transform: scale(0.92); opacity: 0; }
to { transform: scale(1); opacity: 1; } to { transform: scale(1); opacity: 1; }
} }
#building-modal-header, #academy-modal-header { #building-modal-header, #academy-modal-header, .modal-header {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
@@ -350,12 +350,12 @@ tr:hover td { background: #1e1e40; }
padding-bottom: 10px; padding-bottom: 10px;
border-bottom: 1px solid #2a4a6a; border-bottom: 1px solid #2a4a6a;
} }
#building-modal-header h3, #academy-modal-header h3 { #building-modal-header h3, #academy-modal-header h3, .modal-header h3 {
color: #c8a44a; color: #c8a44a;
font-size: 1rem; font-size: 1rem;
letter-spacing: 0.5px; letter-spacing: 0.5px;
} }
#building-modal-close, #academy-modal-close { #building-modal-close, #academy-modal-close, #unit-modal-close {
background: none; background: none;
border: none; border: none;
color: #888; color: #888;
@@ -364,7 +364,7 @@ tr:hover td { background: #1e1e40; }
line-height: 1; line-height: 1;
padding: 0 4px; padding: 0 4px;
} }
#building-modal-close:hover, #academy-modal-close:hover { color: #fff; } #building-modal-close:hover, #academy-modal-close:hover, #unit-modal-close:hover { color: #fff; }
#building-grid { #building-grid {
display: grid; display: grid;