Implement visual enhancements and logic for section drop bands in TrainingUnitSectionsEditor
Deploy Development / deploy (push) Successful in 43s
Test Suite / pytest-backend (push) Successful in 36s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 11s
Test Suite / k6 /health Baseline (push) Successful in 33s
Test Suite / playwright-tests (push) Successful in 1m20s
Deploy Development / deploy (push) Successful in 43s
Test Suite / pytest-backend (push) Successful in 36s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 11s
Test Suite / k6 /health Baseline (push) Successful in 33s
Test Suite / playwright-tests (push) Successful in 1m20s
- Added CSS styles for visual representation of section drop bands, differentiating between split and whole group regions. - Introduced a new function to determine the appropriate drop band class based on section types, improving user experience during section reordering. - Enhanced drag-and-drop functionality to support parallel phase management, allowing for more intuitive section placement within the editor. - Updated utility functions to handle the movement of parallel phase runs, ensuring proper plan location adjustments during reordering.
This commit is contained in:
1 parent
a0a0be8bef
commit
514b64682c
3 files changed
+211
-13
No files matched your search
@@ -5935,6 +5935,45 @@ a.analysis-split__nav-item {
|
||||
box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 42%, transparent);
|
||||
}
|
||||
|
||||
/* Planungseditor: Einfügebänder — Split vs. Ganzgruppe (inaktiv sichtbar, aktiv weiterhin Akzent-Ring) */
|
||||
.tu-section-dropband--region-split {
|
||||
height: 12px;
|
||||
background: hsl(200 38% 92%);
|
||||
border: 1px dashed hsl(200 42% 58%);
|
||||
}
|
||||
|
||||
.tu-section-dropband--region-whole {
|
||||
height: 12px;
|
||||
background: color-mix(in srgb, var(--accent) 10%, var(--surface2));
|
||||
border: 1px dashed color-mix(in srgb, var(--accent) 32%, transparent);
|
||||
}
|
||||
|
||||
.tu-section-dropband--region-split-to-whole {
|
||||
height: 12px;
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
hsl(200 38% 92%) 0%,
|
||||
color-mix(in srgb, var(--accent) 12%, var(--surface2)) 100%
|
||||
);
|
||||
border: 1px dashed hsl(200 36% 50%);
|
||||
}
|
||||
|
||||
.tu-section-dropband--region-whole-to-split {
|
||||
height: 12px;
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
color-mix(in srgb, var(--accent) 12%, var(--surface2)) 0%,
|
||||
hsl(200 38% 92%) 100%
|
||||
);
|
||||
border: 1px dashed hsl(200 36% 50%);
|
||||
}
|
||||
|
||||
.tu-section-dropband--region-neutral {
|
||||
height: 11px;
|
||||
border: 1px dashed color-mix(in srgb, var(--border) 70%, transparent);
|
||||
background: color-mix(in srgb, var(--surface2) 55%, transparent);
|
||||
}
|
||||
|
||||
.tu-sec-drag-grip {
|
||||
flex-shrink: 0;
|
||||
display: inline-flex;
|
||||
|
||||
Reference in new issue
Block a user