From ee7c79a7d523bc249a0a6cc5bb9d25fd04c6bf97 Mon Sep 17 00:00:00 2001 From: NicolasCantu Date: Sun, 27 Apr 2025 16:42:18 +0200 Subject: [PATCH] Update css --- public/style/4nk.css | 93 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) diff --git a/public/style/4nk.css b/public/style/4nk.css index 4a3d88b..02b4533 100755 --- a/public/style/4nk.css +++ b/public/style/4nk.css @@ -77,6 +77,99 @@ body { position: relative; } + /* Confirmation Modal Styles */ + #confirmation-modal { + position: fixed; + top: 0; + left: 0; + width: 100vw; + height: 100vh; + z-index: 1000; + } + + .modal-overlay { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.5); + display: flex; + justify-content: center; + align-items: center; + } + + .modal-content { + background: white; + padding: 20px; + border-radius: 8px; + width: 90%; + max-width: 500px; + max-height: 80vh; + overflow-y: auto; + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); + } + + .modal-confirmation { + text-align: left; + padding: 10px; + } + + .modal-confirmation h3 { + margin-bottom: 15px; + color: var(--primary-color); + font-size: 1.1em; + } + + .modal-confirmation p { + margin: 8px 0; + font-size: 0.9em; + line-height: 1.4; + } + + .modal-footer { + display: flex; + justify-content: flex-end; + gap: 10px; + margin-top: 20px; + padding-top: 15px; + border-top: 1px solid #eee; + } + + .modal-footer button { + padding: 8px 16px; + border-radius: 4px; + border: none; + cursor: pointer; + font-size: 0.9em; + } + + .btn-primary { + background: var(--primary-color); + color: white; + } + + .btn-secondary { + background: var(--secondary-color); + color: white; + } + + /* Responsive adjustments */ + @media only screen and (max-width: 600px) { + .modal-content { + width: 95%; + margin: 10px; + padding: 15px; + } + + .modal-confirmation h3 { + font-size: 1em; + } + + .modal-confirmation p { + font-size: 0.85em; + } + } .nav-wrapper { position: fixed;