fix drag&drop to reorganize combos
All checks were successful
Deploy Sokko G / deploy (push) Successful in 8s

This commit is contained in:
Shinuwa 2026-07-31 16:47:21 +02:00
parent 7b4cfb7dc2
commit a6d35c6e6b
8 changed files with 724 additions and 282 deletions

View file

@ -1882,6 +1882,19 @@ textarea:focus {
box-shadow: inset 0 -3px 0 rgba(246, 196, 83, 0.8);
}
.task-planner-category-boundary-drop-zone {
min-height: 10px;
border: 1px dashed rgba(165, 180, 252, 0.16);
border-radius: var(--radius-sm);
background: rgba(15, 23, 42, 0.12);
}
.task-planner-category-boundary-drop-zone.is-drop-target {
border-color: rgba(246, 196, 83, 0.72);
background: rgba(246, 196, 83, 0.08);
box-shadow: inset 0 0 0 1px rgba(246, 196, 83, 0.24);
}
.task-planner-category-section {
display: grid;
gap: 8px;
@ -2473,19 +2486,17 @@ textarea:focus {
gap: 6px;
}
.combos-root-list {
padding: 0;
}
.combos-root-drop-zone {
display: none;
padding: 9px 12px;
border: 1px dashed rgba(165, 180, 252, 0.22);
border-radius: var(--radius-md);
background: rgba(5, 7, 17, 0.2);
background: rgba(15, 23, 42, 0.26);
color: var(--color-text-muted);
font-size: var(--font-size-xs);
font-weight: 900;
text-align: center;
text-transform: uppercase;
}
.combos-root-drop-zone.is-visible,
@ -2495,8 +2506,23 @@ textarea:focus {
.combos-root-drop-zone.is-drop-target {
border-color: rgba(246, 196, 83, 0.72);
background: rgba(246, 196, 83, 0.08);
color: var(--color-text-primary);
background:
linear-gradient(135deg, rgba(246, 196, 83, 0.08), transparent 56%),
rgba(15, 23, 42, 0.34);
color: var(--color-accent-gold);
box-shadow: inset 0 3px 0 rgba(246, 196, 83, 0.8);
}
.combos-category-boundary-drop-zone {
min-height: 6px;
border-radius: 999px;
}
.combos-category-boundary-drop-zone.is-drop-target {
min-height: 12px;
border: 1px dashed rgba(246, 196, 83, 0.72);
background: rgba(246, 196, 83, 0.12);
box-shadow: inset 0 2px 0 rgba(246, 196, 83, 0.74);
}
.combos-list {