- 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)
80 lines
1.2 KiB
CSS
80 lines
1.2 KiB
CSS
.list {
|
|
margin: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-2);
|
|
}
|
|
|
|
.row {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 0;
|
|
font-size: var(--font-size-sm);
|
|
}
|
|
|
|
.term {
|
|
color: var(--color-text-muted);
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
font-size: var(--font-size-xs);
|
|
white-space: nowrap;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.detail {
|
|
margin: 0;
|
|
color: var(--color-text);
|
|
word-break: break-all;
|
|
}
|
|
|
|
.detail a {
|
|
color: var(--color-link);
|
|
}
|
|
|
|
.detail a:hover {
|
|
color: var(--color-link-hover);
|
|
}
|
|
|
|
.truncate {
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
word-break: normal;
|
|
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);
|
|
}
|
|
|