feat(scenarios): add detail page, comfortable DescriptionList layout, and environment card refactor
- Add ScenarioDetailPage with DescriptionList, steps table, run/delete actions - Add /scenarios/:id route - Add i18n keys for scenario detail fields, steps columns, and 404 error - Add 'comfortable' and 'inline' layout variants to DescriptionList (with compact as default stacked) - Apply layout="comfortable" to session, environment, and scenario detail pages - Apply layout="compact" to EnvironmentsPage card DescriptionList - Refactor EnvironmentsPage card to use ContextMenu (view/edit/delete) with icons - Add ScenariosPage clickable rows, Play icon (primary) and Trash2 icon (danger) action buttons - Add Page.module.css sectionHeading and stepsSection utility classes - Fix Notification.tsx and Table.tsx formatting (prettier)
This commit is contained in:
1 parent
d342637eb6
commit
a5f87b904e
14 files changed
+275
-56
No files matched your search
@@ -45,3 +45,35 @@
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/* ── Layout modifiers ───────────────────────────────────────── */
|
||||
|
||||
.inline .row {
|
||||
flex-direction: row;
|
||||
align-items: baseline;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
|
||||
.inline .term {
|
||||
min-width: 120px;
|
||||
}
|
||||
|
||||
.comfortable {
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
.comfortable .row {
|
||||
padding: var(--space-4) 0;
|
||||
}
|
||||
|
||||
.comfortable .row:first-child {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.comfortable .term {
|
||||
margin-bottom: var(--space-1);
|
||||
}
|
||||
|
||||
.comfortable .detail {
|
||||
font-size: var(--font-size-md);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user