Füge Artikel mit dem Eingabefeld oben hinzu.
`;
}
diff --git a/public/pages/tasks.js b/public/pages/tasks.js
index b9e0fef..6572928 100644
--- a/public/pages/tasks.js
+++ b/public/pages/tasks.js
@@ -195,10 +195,13 @@ function renderTaskCard(task, opts = {}) {
function renderTaskGroups(tasks, groupMode) {
if (!tasks.length) {
- return `
-
-
Keine Aufgaben
-
Erstelle eine neue Aufgabe mit dem + Button.
+ return `
+
+
Keine Aufgaben — alles erledigt?
+
Neue Aufgaben über den + Button erstellen.
`;
}
diff --git a/public/styles/budget.css b/public/styles/budget.css
index 3958ad0..bcca4ac 100644
--- a/public/styles/budget.css
+++ b/public/styles/budget.css
@@ -281,19 +281,6 @@
color: var(--color-danger);
}
-/* --------------------------------------------------------
- * Leer-Zustand
- * -------------------------------------------------------- */
-.budget-empty {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- flex: 1;
- padding: var(--space-12) var(--space-6);
- text-align: center;
- color: var(--color-text-secondary);
-}
/* --------------------------------------------------------
* Budget-Modal Content-Styles (Overlay/Panel via shared modal.js)
diff --git a/public/styles/contacts.css b/public/styles/contacts.css
index 85e78c6..bf98021 100644
--- a/public/styles/contacts.css
+++ b/public/styles/contacts.css
@@ -221,17 +221,4 @@
.contact-action-btn--mail:hover { background-color: var(--color-accent-light); color: var(--color-accent); }
.contact-action-btn--maps:hover { background-color: var(--color-warning-light); color: var(--color-warning); }
-/* --------------------------------------------------------
- * Leer-Zustand
- * -------------------------------------------------------- */
-.contacts-empty {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- flex: 1;
- padding: var(--space-12) var(--space-6);
- text-align: center;
- color: var(--color-text-secondary);
-}
diff --git a/public/styles/layout.css b/public/styles/layout.css
index 4b3782f..249fd17 100644
--- a/public/styles/layout.css
+++ b/public/styles/layout.css
@@ -935,6 +935,14 @@
line-height: var(--line-height-base);
}
+.empty-state--compact {
+ padding: var(--space-4) var(--space-3);
+ gap: var(--space-2);
+}
+.empty-state--compact .empty-state__description {
+ font-size: var(--text-sm);
+}
+
/* --------------------------------------------------------
* Responsive Grid (Utility)
* -------------------------------------------------------- */
diff --git a/public/styles/notes.css b/public/styles/notes.css
index f507830..1149476 100644
--- a/public/styles/notes.css
+++ b/public/styles/notes.css
@@ -211,26 +211,6 @@
color: var(--color-danger);
}
-/* --------------------------------------------------------
- * Leer-Zustand
- * -------------------------------------------------------- */
-.notes-empty {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- padding: var(--space-12) var(--space-6);
- text-align: center;
- color: var(--color-text-secondary);
- column-span: all; /* Multicolumn: volle Breite */
-}
-
-.notes-empty__icon {
- width: 56px;
- height: 56px;
- color: var(--color-text-disabled);
- margin-bottom: var(--space-4);
-}
/* --------------------------------------------------------
* Notes-Modal Content-Styles (Overlay/Panel via shared modal.js)
diff --git a/public/styles/shopping.css b/public/styles/shopping.css
index 4e43851..d6a9614 100644
--- a/public/styles/shopping.css
+++ b/public/styles/shopping.css
@@ -416,36 +416,6 @@
.item-delete:hover { color: var(--color-danger); }
-/* --------------------------------------------------------
- * Leer-Zustand
- * -------------------------------------------------------- */
-.shopping-empty {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- padding: var(--space-12) var(--space-6);
- text-align: center;
- flex: 1;
-}
-
-.shopping-empty__icon {
- width: 56px;
- height: 56px;
- color: var(--color-text-disabled);
- margin-bottom: var(--space-4);
-}
-
-.shopping-empty__title {
- font-size: var(--text-lg);
- font-weight: var(--font-weight-semibold);
- margin-bottom: var(--space-2);
-}
-
-.shopping-empty__desc {
- font-size: var(--text-sm);
- color: var(--color-text-secondary);
-}
/* --------------------------------------------------------
* No-Lists-Zustand
diff --git a/public/styles/tasks.css b/public/styles/tasks.css
index c905ae7..c08079e 100644
--- a/public/styles/tasks.css
+++ b/public/styles/tasks.css
@@ -629,29 +629,4 @@
opacity: 0.5;
}
-/* --------------------------------------------------------
- * Leer-Zustand
- * -------------------------------------------------------- */
-.tasks-empty {
- padding: var(--space-12) var(--space-4);
- text-align: center;
-}
-.tasks-empty__icon {
- width: 56px;
- height: 56px;
- color: var(--color-text-disabled);
- margin: 0 auto var(--space-4);
-}
-
-.tasks-empty__title {
- font-size: var(--text-lg);
- font-weight: var(--font-weight-semibold);
- margin-bottom: var(--space-2);
-}
-
-.tasks-empty__desc {
- font-size: var(--text-sm);
- color: var(--color-text-secondary);
- margin-bottom: var(--space-6);
-}