feat: enhance UI and functionality in Training Framework pages
Deploy Development / deploy (push) Successful in 35s
Test Suite / pytest-backend (push) Successful in 7s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 6s
Test Suite / playwright-tests (push) Failing after 53s
Deploy Development / deploy (push) Successful in 35s
Test Suite / pytest-backend (push) Successful in 7s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 6s
Test Suite / playwright-tests (push) Failing after 53s
- Added new CSS styles for segment buttons and admin assignment matrix, improving layout and responsiveness. - Refactored AssignmentsTab component to utilize new styles and improve accessibility with aria-labels. - Introduced collapsible details for framework edit introduction, enhancing user guidance. - Updated TrainingPlanningPage to streamline button styling and improve visual consistency across components.
This commit is contained in:
1 parent
14884e6e55
commit
18a58cb5a5
5 files changed
+212
-161
No files matched your search
+128
-19
@@ -1213,6 +1213,22 @@ button.capture-shell__nav-item {
|
||||
border-left: 1.5px solid var(--border2);
|
||||
}
|
||||
|
||||
/* Gleich breite Segment-Buttons (z. B. mobile Rahmenprogramm-Tabs) */
|
||||
.planning-segment-group--equal {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
.planning-segment-group--equal .planning-segment-group__btn {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
/* Etwas größere Segmente (Planung: Liste / Kalender) */
|
||||
.planning-segment-group--comfort .planning-segment-group__btn {
|
||||
padding: 10px 18px;
|
||||
font-size: 0.92rem;
|
||||
}
|
||||
|
||||
/* Ausklappbare Kontext-Hilfe (Filterzeile Planung) */
|
||||
.planning-filter-help {
|
||||
flex: 1 1 100%;
|
||||
@@ -1246,6 +1262,109 @@ button.capture-shell__nav-item {
|
||||
}
|
||||
}
|
||||
|
||||
/* Rahmenprogramm-Editor: Kurz-Einstieg ausklappbar */
|
||||
.framework-edit-intro {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
.framework-edit-intro__summary {
|
||||
cursor: pointer;
|
||||
font-size: 0.88rem;
|
||||
font-weight: 600;
|
||||
color: var(--accent-dark);
|
||||
list-style: none;
|
||||
user-select: none;
|
||||
padding: 10px 12px;
|
||||
border-radius: 10px;
|
||||
border: 1px dashed var(--border2);
|
||||
background: var(--surface2);
|
||||
}
|
||||
.framework-edit-intro__summary::-webkit-details-marker {
|
||||
display: none;
|
||||
}
|
||||
.framework-edit-intro__body {
|
||||
margin-top: 10px;
|
||||
padding: 12px 14px;
|
||||
font-size: 0.88rem;
|
||||
line-height: 1.55;
|
||||
color: var(--text2);
|
||||
border-radius: 10px;
|
||||
border: 1px solid var(--border);
|
||||
background: var(--surface);
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.framework-edit-intro__summary {
|
||||
color: var(--accent);
|
||||
}
|
||||
}
|
||||
|
||||
/* Admin: Zuordnungsmatrix (Stilrichtungen ↔ Zielgruppen) */
|
||||
.admin-assignments-wrap {
|
||||
background: var(--surface);
|
||||
border-radius: 12px;
|
||||
padding: 20px;
|
||||
}
|
||||
.admin-assignments-wrap__title {
|
||||
margin-top: 0;
|
||||
font-size: 1.15rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
.admin-assignments-matrix-container {
|
||||
overflow-x: auto;
|
||||
margin-top: 20px;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
.admin-assignments-matrix {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
min-width: 600px;
|
||||
}
|
||||
.admin-assignments-matrix th,
|
||||
.admin-assignments-matrix td {
|
||||
border: 1px solid var(--border);
|
||||
padding: 12px;
|
||||
}
|
||||
.admin-assignments-matrix th {
|
||||
background: var(--surface2);
|
||||
font-weight: 600;
|
||||
color: var(--text1);
|
||||
}
|
||||
.admin-assignments-matrix__corner {
|
||||
position: sticky;
|
||||
left: 0;
|
||||
background: var(--surface);
|
||||
z-index: 2;
|
||||
}
|
||||
.admin-assignments-matrix__row-label {
|
||||
position: sticky;
|
||||
left: 0;
|
||||
background: var(--surface);
|
||||
z-index: 1;
|
||||
padding: 12px;
|
||||
font-weight: 500;
|
||||
}
|
||||
.admin-assignments-matrix tbody tr:hover {
|
||||
background: var(--surface2);
|
||||
}
|
||||
.admin-assignments-matrix__focus-header td {
|
||||
background: var(--surface2);
|
||||
padding: 8px 12px;
|
||||
font-weight: 600;
|
||||
color: var(--text2);
|
||||
}
|
||||
.admin-assignments-matrix__th-narrow {
|
||||
text-align: center;
|
||||
padding: 12px;
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.admin-assignments-matrix {
|
||||
font-size: 14px;
|
||||
}
|
||||
.admin-assignments-matrix th,
|
||||
.admin-assignments-matrix td {
|
||||
padding: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Admin: Split-Layout wie .analysis-split (nur Gruppen in der Nav) */
|
||||
.admin-shell {
|
||||
width: 100%;
|
||||
@@ -2962,36 +3081,26 @@ button.capture-shell__nav-item {
|
||||
}
|
||||
.framework-edit__tabbar {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
align-items: stretch;
|
||||
gap: 8px;
|
||||
margin-bottom: 14px;
|
||||
padding: 2px 0 12px;
|
||||
padding: 6px 0 12px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
flex-wrap: nowrap;
|
||||
overflow-x: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
scrollbar-width: none;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 6;
|
||||
background: var(--bg);
|
||||
}
|
||||
.framework-edit__tabbar::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
.framework-edit__tab {
|
||||
flex: 1 1 0;
|
||||
.framework-edit__tabbar .planning-segment-group {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
padding: 10px 8px;
|
||||
border: 1px solid var(--border2);
|
||||
border-radius: 10px;
|
||||
background: var(--surface2);
|
||||
color: var(--text2);
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
font-family: var(--font);
|
||||
}
|
||||
.framework-edit__tab--active {
|
||||
background: var(--accent-light);
|
||||
color: var(--accent-dark);
|
||||
border-color: var(--accent);
|
||||
}
|
||||
.framework-edit__plan-stack {
|
||||
display: flex;
|
||||
|
||||
Reference in new issue
Block a user