Changed it so that tasks can be dragged and reordered, as well as having tasks breathe to leave a space where the task will go when you let go

This commit is contained in:
NPS Agent
2026-05-12 12:31:44 +09:30
parent 84592b8b3b
commit b0fd767c80
9 changed files with 127 additions and 30 deletions
+15
View File
@@ -356,6 +356,21 @@ input, textarea { font: inherit; color: inherit; }
padding: 18px 0;
}
.drop-placeholder {
height: 52px;
background: color-mix(in oklch, var(--accent) 6%, var(--bg-sunken));
border: 1.5px dashed var(--accent-line);
border-radius: var(--radius);
margin: 4px 0;
pointer-events: none;
animation: placeholder-pulse 1.5s ease-in-out infinite;
}
@keyframes placeholder-pulse {
0%, 100% { opacity: 0.5; border-color: var(--accent-line); }
50% { opacity: 1; border-color: var(--accent); }
}
/* === CARD === */
.card {
background: var(--bg-elev);