Enhance dashboard layout and styles with task grouping and priority indicators

This commit is contained in:
IluaAir
2025-10-15 20:04:34 +03:00
parent b816906c5c
commit 6712c189c0
2 changed files with 135 additions and 67 deletions

View File

@@ -162,19 +162,34 @@
border: 2px solid var(--color-primary);
}
.dashboard-day-header {
text-align: center;
padding-bottom: 0.75rem;
border-bottom: 1px solid var(--color-border);
margin-bottom: 0.75rem;
}
.dashboard-day-title {
font-size: 1rem;
font-weight: 600;
margin-bottom: 0.75rem;
text-align: center;
padding-bottom: 0.5rem;
border-bottom: 1px solid var(--color-border);
margin: 0 0 0.25rem 0;
}
.dashboard-day-date {
font-size: 0.875rem;
color: var(--color-muted-foreground);
margin: 0;
}
.dashboard-day-column.today .dashboard-day-title {
color: var(--color-primary);
}
.dashboard-day-column.today .dashboard-day-date {
color: var(--color-primary);
font-weight: 600;
}
.dashboard-tasks-container {
flex: 1;
display: flex;
@@ -202,10 +217,36 @@
text-decoration: line-through;
}
.dashboard-task-header {
display: flex;
align-items: center;
gap: 0.5rem;
}
.dashboard-task-priority {
width: 4px;
height: 4px;
border-radius: 50%;
flex-shrink: 0;
}
.dashboard-task-priority.low {
background: #10b981; /* green */
}
.dashboard-task-priority.medium {
background: #f59e0b; /* orange */
}
.dashboard-task-priority.high {
background: #ef4444; /* red */
}
.dashboard-task-title {
margin: 0;
font-size: 0.875rem;
color: var(--color-foreground);
flex: 1;
}
.dashboard-no-tasks {