fix css
This commit is contained in:
parent
700e35af7b
commit
8a7cb0a077
@ -16,6 +16,11 @@
|
|||||||
body.dark-mode .navbar {
|
body.dark-mode .navbar {
|
||||||
background-color: #333 !important;
|
background-color: #333 !important;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
|
/* ---
|
||||||
|
border-bottom: 1px solid #e0e0e0;
|
||||||
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||||
|
padding: 0.5rem 1rem;
|
||||||
|
--- */
|
||||||
}
|
}
|
||||||
body.dark-mode .navbar .navbar-brand,
|
body.dark-mode .navbar .navbar-brand,
|
||||||
body.dark-mode .navbar .nav-link {
|
body.dark-mode .navbar .nav-link {
|
||||||
@ -52,10 +57,11 @@
|
|||||||
background-color: #f8f9fa;
|
background-color: #f8f9fa;
|
||||||
color: #212529;
|
color: #212529;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Alerty – pozostają bez zmian */
|
/* Alerty – pozostają bez zmian */
|
||||||
.diff-add { color: green; }
|
.diff-add { color: green; }
|
||||||
.diff-rem { color: red; }- Tabele --- */
|
.diff-rem { color: red; }
|
||||||
body.dark-mode table {
|
body.dark-mode table {
|
||||||
background-color: #1a1a1a;
|
background-color: #1a1a1a;
|
||||||
color: #cccccc;
|
color: #cccccc;
|
||||||
@ -128,44 +134,25 @@
|
|||||||
/* ========== Tryb jasny (light-mode) ========== */
|
/* ========== Tryb jasny (light-mode) ========== */
|
||||||
/* --- Nawigacja (Navbar) --- */
|
/* --- Nawigacja (Navbar) --- */
|
||||||
body.light-mode .navbar {
|
body.light-mode .navbar {
|
||||||
background-color: #ffffff !important;
|
background-color: #dcdcdc !important;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
|
/* ---
|
||||||
border-bottom: 1px solid #e0e0e0;
|
border-bottom: 1px solid #e0e0e0;
|
||||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||||
padding: 0.5rem 1rem;
|
padding: 0.5rem 1rem;
|
||||||
|
--- */
|
||||||
}
|
}
|
||||||
body.light-mode .navbar .nav-link {
|
|
||||||
color: #333333 !important;
|
|
||||||
padding: 0.5rem 1rem;
|
|
||||||
transition: color 0.3s ease, background-color 0.3s ease;
|
|
||||||
}
|
|
||||||
body.light-mode .navbar .nav-link:hover {
|
|
||||||
background-color: #f0f0f0;
|
|
||||||
color: #007bff !important;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
/* --- Przyciski (dla niezalogowanych) --- */
|
/* --- Przyciski (dla niezalogowanych) --- */
|
||||||
body.light-mode .navbar .btn {
|
|
||||||
background: none !important;
|
|
||||||
border: none !important;
|
|
||||||
box-shadow: none !important;
|
|
||||||
padding: 0 !important;
|
|
||||||
margin: 0 0.5rem !important;
|
|
||||||
color: inherit !important;
|
|
||||||
font-size: inherit !important;
|
|
||||||
}
|
|
||||||
body.light-mode .navbar .btn-outline-primary:hover {
|
body.light-mode .navbar .btn-outline-primary:hover {
|
||||||
background-color: #007bff;
|
background-color: #007bff;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
/* --- Stopka --- */
|
/* --- Stopka --- */
|
||||||
body.light-mode .footer {
|
footer {
|
||||||
background-color: #ffffff;
|
background-color: #f8f9fa;
|
||||||
color: #333333;
|
color: #212529;
|
||||||
border-top: 1px solid #e0e0e0;
|
|
||||||
padding: 20px 0;
|
|
||||||
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
|
|
||||||
text-align: center;
|
|
||||||
}
|
}
|
||||||
/* --- Responsywność --- */
|
/* --- Responsywność --- */
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user