set background-color for due date

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2025-10-09 08:33:07 +02:00
parent 97feb317a7
commit 7809d2603a
2 changed files with 8 additions and 3 deletions

View File

@@ -32,7 +32,7 @@
</span>
{/if}
{#if task.due_date}
<span class="due_date">
<span class="due_date" style={style}>
{#if task.start_date}
{task.start_date}
{/if}

View File

@@ -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;
}