From 2769091b74758552162984c7bda6e5519c934d1d Mon Sep 17 00:00:00 2001 From: haunter Date: Fri, 1 May 2026 21:16:20 +0300 Subject: [PATCH] fix 1 --- static/css/styles.css | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/static/css/styles.css b/static/css/styles.css index 03a792d..cc74754 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -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; position: fixed; inset: 0; @@ -325,9 +325,9 @@ tr:hover td { background: #1e1e40; } align-items: 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; 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, #academy-modal-header { +#building-modal-header, #academy-modal-header, .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, #academy-modal-header h3 { +#building-modal-header h3, #academy-modal-header h3, .modal-header h3 { color: #c8a44a; font-size: 1rem; letter-spacing: 0.5px; } -#building-modal-close, #academy-modal-close { +#building-modal-close, #academy-modal-close, #unit-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, #academy-modal-close:hover { color: #fff; } +#building-modal-close:hover, #academy-modal-close:hover, #unit-modal-close:hover { color: #fff; } #building-grid { display: grid;