changes toi the darkmode style to have iot be a better edesign
Release Inventarsystem / release-docker (push) Successful in 2m26s

This commit is contained in:
2026-09-14 10:54:19 +02:00
parent 2c6043399e
commit e71567db11
11 changed files with 868 additions and 56 deletions
+75 -5
View File
@@ -229,9 +229,11 @@
#searchInput {
padding: 8px;
border: 1px solid #ddd;
border: 1px solid var(--ui-border);
border-radius: 4px;
width: 200px;
background: var(--ui-bg);
color: var(--ui-text);
}
.date-range {
@@ -242,8 +244,17 @@
.date-range input {
padding: 8px;
border: 1px solid #ddd;
border: 1px solid var(--ui-border);
border-radius: 4px;
background: var(--ui-bg);
color: var(--ui-text);
}
#searchInput:focus,
.date-range input:focus {
outline: none;
border-color: #60a5fa;
box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.22);
}
.status-badge {
display: inline-block;
@@ -308,13 +319,15 @@
table {
width: 100%;
border-collapse: collapse;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
background: var(--ui-surface);
color: var(--ui-text);
box-shadow: var(--ui-shadow-sm);
}
th, td {
padding: 12px 15px;
text-align: left;
border-bottom: 1px solid #ddd;
border-bottom: 1px solid var(--ui-border);
}
th {
@@ -328,7 +341,7 @@
}
tbody tr:hover {
background-color: #f5f5f5;
background-color: var(--ui-bg-accent);
}
.navigation-buttons {
@@ -358,6 +371,52 @@
.export-button:hover {
background-color: #218838;
}
:root[data-theme="dark"] .conflict-summary-banner {
background: #422006 !important;
border-color: #f59e0b !important;
border-left-color: #fb923c !important;
color: #fde68a !important;
}
:root[data-theme="dark"] .banner-close {
color: #fde68a;
}
:root[data-theme="dark"] .banner-close:hover {
color: #fff7ed;
}
:root[data-theme="dark"] .conflict-badge {
background: #422006 !important;
border-color: #f59e0b !important;
color: #fde68a !important;
}
:root[data-theme="dark"] #logsTable {
background: var(--ui-surface) !important;
color: var(--ui-text) !important;
}
:root[data-theme="dark"] #logsTable th {
background: #1d4ed8 !important;
color: #ffffff !important;
border-color: #60a5fa !important;
}
:root[data-theme="dark"] #logsTable th:hover {
background: #2563eb !important;
}
:root[data-theme="dark"] #logsTable td {
background: var(--ui-surface) !important;
color: var(--ui-text) !important;
border-color: var(--ui-border) !important;
}
:root[data-theme="dark"] #logsTable tbody tr:hover td {
background: var(--ui-bg-accent) !important;
}
@media (max-width: 768px) {
.filter-controls {
@@ -373,6 +432,17 @@
width: 100%;
justify-content: space-between;
}
.navigation-buttons {
gap: 10px;
flex-wrap: wrap;
}
.navigation-buttons .button,
.navigation-buttons .export-button {
flex: 1 1 180px;
text-align: center;
}
}
</style>
{% endblock %}