feat: add drag-and-drop task reordering (#14, #15, #16)

This commit is contained in:
2026-03-04 18:09:34 -08:00
parent fa5e1887f4
commit c310b22e8e
2 changed files with 96 additions and 2 deletions

View File

@@ -1000,3 +1000,28 @@ label {
flex: 1;
}
}
/* Drag and Drop */
.task-card {
cursor: grab;
transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.task-card:active {
cursor: grabbing;
}
.task-card.dragging {
opacity: 0.5;
transform: scale(1.02);
}
.column.drag-over {
background: var(--hover-bg);
border: 2px dashed var(--primary);
}
.column.drag-over .column-header {
background: var(--primary);
color: white;
}