mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 08:09:18 +02:00
Fix nettoyage modal: SVG icon files, padding/margin consistency, BBBDMSans font, fix HTMX trigger, nested details cleanup
This commit is contained in:
@@ -1075,7 +1075,6 @@ th.admin-ap-col {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
font-size: 0.85em;
|
||||
margin: var(--space-xs) 0 var(--space-md) 0;
|
||||
}
|
||||
.n-table thead th {
|
||||
text-align: left;
|
||||
@@ -1119,6 +1118,10 @@ th.admin-ap-col {
|
||||
.n-grid > section,
|
||||
.n-grid > details {
|
||||
margin: 2ch 0;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
overflow: visible;
|
||||
}
|
||||
.n-section:first-child,
|
||||
.n-grid > section:first-child,
|
||||
@@ -1135,27 +1138,54 @@ th.admin-ap-col {
|
||||
}
|
||||
|
||||
/* <details>/<summary> inside cleanup sections */
|
||||
.n-grid > details > summary {
|
||||
.n-grid > details > summary,
|
||||
.n-section > summary {
|
||||
cursor: pointer;
|
||||
font-weight: 600;
|
||||
font-size: var(--step--1);
|
||||
color: var(--text-primary);
|
||||
padding: var(--space-xs) 0;
|
||||
padding: var(--space-xs);
|
||||
list-style: none;
|
||||
font-family: var(--font-body);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-2xs);
|
||||
}
|
||||
.n-grid > details > summary::-webkit-details-marker {
|
||||
.n-grid > details > summary::-webkit-details-marker,
|
||||
.n-section > summary::-webkit-details-marker {
|
||||
display: none;
|
||||
}
|
||||
.n-grid > details > summary::before {
|
||||
content: '▸ ';
|
||||
.n-section[open],
|
||||
.n-grid > details[open] {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.n-grid > details > summary:hover,
|
||||
.n-section > summary:hover {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.n-grid > details > summary::before,
|
||||
.n-section > summary::before {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
flex-shrink: 0;
|
||||
background: currentColor;
|
||||
mask-image: url("/assets/icons/caret-right.svg");
|
||||
mask-size: contain;
|
||||
mask-repeat: no-repeat;
|
||||
mask-position: center;
|
||||
transition: transform 0.15s;
|
||||
}
|
||||
.n-grid > details[open] > summary::before {
|
||||
.n-grid > details[open] > summary::before,
|
||||
.n-section[open] > summary::before {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
.n-grid > details > :not(summary) {
|
||||
padding-left: calc(1ch + var(--space-xs));
|
||||
.n-grid > details > :not(summary),
|
||||
.n-section > :not(summary) {
|
||||
padding: 0 var(--space-s) var(--space-xs) var(--space-s);
|
||||
}
|
||||
|
||||
/* ── Import results log ─────────────────────────────────────────────── */
|
||||
|
||||
Reference in New Issue
Block a user