feat: enhance dose tracking with takenBy parsing and visual indicators

This commit is contained in:
Daniel Volz
2025-12-29 19:31:34 +01:00
parent 666306b416
commit c378d373d8
3 changed files with 61 additions and 28 deletions
+13
View File
@@ -809,6 +809,19 @@ textarea.auto-resize {
color: var(--text-secondary);
}
/* All persons have taken this dose */
.dose-item.all-taken {
background: var(--success-bg);
border-color: rgba(57, 217, 138, 0.3);
opacity: 0.7;
}
.dose-item.all-taken .dose-time,
.dose-item.all-taken .dose-usage {
text-decoration: line-through;
color: var(--text-secondary);
}
/* Overdue (past, not taken) doses */
.dose-item.overdue {
background: var(--warning-bg);