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:
+15
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user