style: unify recap+edit file figure styling — two-column grid dl, vertical spacing, admin-back-btn sizing, standardise file display and delete-to-trash SVG icons

This commit is contained in:
Pontoporeia
2026-05-11 14:53:51 +02:00
parent 230555a4c4
commit 206a6427e7
9 changed files with 183 additions and 196 deletions

View File

@@ -87,13 +87,15 @@
display: inline-flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
width: 40px;
height: 40px;
border-radius: var(--radius);
color: var(--text-secondary);
text-decoration: none;
transition: background 0.15s, color 0.15s;
flex-shrink: 0;
vertical-align: middle;
margin-right: var(--space-2xs);
}
.admin-back-btn:hover {
@@ -102,8 +104,8 @@
}
.admin-back-btn svg {
width: 22px;
height: 22px;
width: 28px;
height: 28px;
fill: currentColor;
}
@@ -2067,3 +2069,36 @@ th.admin-ap-col {
.htmx-indicator img {
transition: opacity 300ms ease-in;
}
/* ── Récapitulatif sections ───────────────────────────────── */
.recap-synopsis,
.recap-long-text {
max-width: 70ch;
line-height: 1.6;
}
/* Two-column definition lists */
.recap-dl {
display: grid;
grid-template-columns: auto 1fr;
gap: var(--space-2xs) var(--space-m);
margin: 0;
}
.recap-dl dt {
font-weight: 600;
color: var(--text-secondary);
font-size: var(--step--1);
white-space: nowrap;
}
.recap-dl dd {
margin: 0 0 var(--space-xs) 0;
color: var(--text-primary);
font-size: var(--step--1);
}
.recap-dl dd:last-of-type {
margin-bottom: 0;
}