From a9f954b7b34016a664a7aadec82aca2194e1eba8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Tue, 25 Feb 2025 12:42:46 +0100 Subject: [PATCH] dark mode --- templates/base.html | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/templates/base.html b/templates/base.html index e13abab..b9a1cec 100644 --- a/templates/base.html +++ b/templates/base.html @@ -82,7 +82,6 @@ color: #fff !important; } - /* Alerty – pozostają bez zmian */ .diff-add { color: green; } .diff-rem { color: red; } @@ -101,7 +100,22 @@ border-color: #444 !important; } - + /* Style trybu ciemnego dla modala */ + .dark-mode .modal-content { + background-color: #333; + color: #ddd; + border: none; + } + .dark-mode .modal-header, + .dark-mode .modal-footer { + border-color: #444; + } + .dark-mode .modal-title { + color: #fff; + } + .dark-mode .btn-close { + filter: invert(1); + }