From 7809d2603a0d90f7048c9c8d81886e423001262a Mon Sep 17 00:00:00 2001 From: Stephan Richter Date: Thu, 9 Oct 2025 08:33:07 +0200 Subject: [PATCH] set background-color for due date Signed-off-by: Stephan Richter --- frontend/src/routes/project/KanbanCard.svelte | 2 +- web/src/main/resources/web/css/default-color.css | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/frontend/src/routes/project/KanbanCard.svelte b/frontend/src/routes/project/KanbanCard.svelte index 251a1f7..5ffbac3 100644 --- a/frontend/src/routes/project/KanbanCard.svelte +++ b/frontend/src/routes/project/KanbanCard.svelte @@ -32,7 +32,7 @@ {/if} {#if task.due_date} - + {#if task.start_date} {task.start_date} {/if} diff --git a/web/src/main/resources/web/css/default-color.css b/web/src/main/resources/web/css/default-color.css index 5f34fbc..054211f 100644 --- a/web/src/main/resources/web/css/default-color.css +++ b/web/src/main/resources/web/css/default-color.css @@ -91,13 +91,18 @@ textarea{ } .kanban .state_10 .box, +.kanban .state_10 .due_date, .kanban .state_20 .box, +.kanban .state_20 .due_date, .kanban .state_40 .box, -.kanban .state_100 .box{ +.kanban .state_40 .due_date, +.kanban .state_100 .box +.kanban .state_100 .due_date{ background-color: orange; } -.kanban .state_60 .box{ +.kanban .state_60 .box, +.kanban .state_60 .due_date{ background-color: #d3ff00; }