feat: enhance TrainingPlanningPage with new training unit creation UI
Deploy Development / deploy (push) Successful in 34s
Test Suite / pytest-backend (push) Successful in 6s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 6s
Test Suite / playwright-tests (push) Successful in 22s
Deploy Development / deploy (push) Successful in 34s
Test Suite / pytest-backend (push) Successful in 6s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 6s
Test Suite / playwright-tests (push) Successful in 22s
- Introduced a new layout for creating training units within a card format, improving visual organization and user experience. - Added CSS styles for various elements related to training unit creation, including titles, hints, and action buttons. - Removed the quick template ID state and related functionality to streamline the creation process. - Updated user prompts and hints to guide users more effectively in selecting training groups and creating new training units.
This commit is contained in:
1 parent
d4b9db9520
commit
2007f3f659
2 files changed
+130
-92
No files matched your search
@@ -3824,6 +3824,98 @@ a.analysis-split__nav-item {
|
||||
}
|
||||
}
|
||||
|
||||
/* ── Trainingsplanung: Abschnitt „Neue Trainingseinheit“ + Vorlage im Modal ───────── */
|
||||
.training-planning-create--in-card {
|
||||
margin-top: 1.25rem;
|
||||
padding-top: 1.25rem;
|
||||
border-top: 1px solid var(--border, rgba(0, 0, 0, 0.08));
|
||||
}
|
||||
|
||||
.training-planning-create__intro {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.training-planning-create__title {
|
||||
margin: 0 0 0.45rem;
|
||||
font-size: 1.06rem;
|
||||
font-weight: 700;
|
||||
color: var(--text1);
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
|
||||
.training-planning-create__lede {
|
||||
margin: 0;
|
||||
font-size: 0.92rem;
|
||||
line-height: 1.55;
|
||||
color: var(--text2);
|
||||
max-width: 52rem;
|
||||
}
|
||||
|
||||
.training-planning-create__actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 12px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.training-planning-create__cta {
|
||||
min-height: 44px;
|
||||
padding-left: 1.35rem;
|
||||
padding-right: 1.35rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.training-planning-create__secondary {
|
||||
min-height: 44px;
|
||||
padding-left: 1rem;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
|
||||
.training-planning-create__hint {
|
||||
margin: 0.85rem 0 0;
|
||||
font-size: 0.82rem;
|
||||
line-height: 1.45;
|
||||
color: var(--text3);
|
||||
max-width: 48rem;
|
||||
}
|
||||
|
||||
.training-planning-create__hint--warn {
|
||||
color: var(--text2);
|
||||
margin-top: 0.65rem;
|
||||
padding: 0.55rem 0.7rem;
|
||||
border-radius: 8px;
|
||||
background: var(--surface2);
|
||||
border: 1px solid var(--border2);
|
||||
}
|
||||
|
||||
.training-planning-template-panel {
|
||||
padding: 1rem 1.1rem;
|
||||
border-radius: 12px;
|
||||
border: 1px solid var(--border2);
|
||||
background: linear-gradient(165deg, var(--surface2) 0%, var(--surface) 100%);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
|
||||
}
|
||||
|
||||
.training-planning-template-panel__label {
|
||||
font-weight: 600;
|
||||
margin-bottom: 0.4rem;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.training-planning-template-panel__select {
|
||||
font-size: 0.94rem;
|
||||
padding: 0.55rem 0.65rem;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.training-planning-template-panel__help {
|
||||
margin: 0.65rem 0 0;
|
||||
font-size: 0.82rem;
|
||||
color: var(--text2);
|
||||
line-height: 1.48;
|
||||
}
|
||||
|
||||
@media print {
|
||||
.desktop-sidebar,
|
||||
.bottom-nav,
|
||||
|
||||
Reference in new issue
Block a user