diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-08-06 21:15:03 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-08-06 21:15:03 +0200 |
| commit | 0f8a3066c55b6ecb9d95b3e9306eee5262928b14 (patch) | |
| tree | 47dea8952fd458e0c100682b26c9a50c6f6ee293 /public/stylesheets | |
| parent | 5644fffbc3c58e6dd7e3c4103c28bad8f4c0bbc6 (diff) | |
Re-structure sitemap, all subpages collapsed by default, visually tightened
Diffstat (limited to 'public/stylesheets')
| -rw-r--r-- | public/stylesheets/admin.css | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/public/stylesheets/admin.css b/public/stylesheets/admin.css index 334e0bd5..50ea1d51 100644 --- a/public/stylesheets/admin.css +++ b/public/stylesheets/admin.css | |||
| @@ -1442,6 +1442,10 @@ form.button_to button[type="submit"] { | |||
| 1442 | max-width: 60rem; | 1442 | max-width: 60rem; |
| 1443 | } | 1443 | } |
| 1444 | 1444 | ||
| 1445 | #sitemap .node_title a { | ||
| 1446 | font-weight: bold; | ||
| 1447 | } | ||
| 1448 | |||
| 1445 | #sitemap .title_with_flags { | 1449 | #sitemap .title_with_flags { |
| 1446 | align-items: start; | 1450 | align-items: start; |
| 1447 | } | 1451 | } |
| @@ -1454,7 +1458,7 @@ form.button_to button[type="submit"] { | |||
| 1454 | display: flex; | 1458 | display: flex; |
| 1455 | align-items: center; | 1459 | align-items: center; |
| 1456 | gap: 0.3rem; | 1460 | gap: 0.3rem; |
| 1457 | margin-top: 0.15rem; | 1461 | margin-top: 0.25rem; |
| 1458 | font-size: 0.875rem; | 1462 | font-size: 0.875rem; |
| 1459 | color: var(--text-muted); | 1463 | color: var(--text-muted); |
| 1460 | } | 1464 | } |
| @@ -1492,38 +1496,34 @@ form.button_to button[type="submit"] { | |||
| 1492 | border-bottom: 1px solid var(--hairline); | 1496 | border-bottom: 1px solid var(--hairline); |
| 1493 | } | 1497 | } |
| 1494 | 1498 | ||
| 1495 | #sitemap > .sitemap_node { | 1499 | #sitemap details { |
| 1496 | border-bottom-width: 8px; | ||
| 1497 | margin-bottom: 0.75rem; | ||
| 1498 | } | ||
| 1499 | |||
| 1500 | #sitemap > details > summary { | ||
| 1501 | display: none; | ||
| 1502 | } | ||
| 1503 | |||
| 1504 | #sitemap details details { | ||
| 1505 | margin-left: 0.75rem; | 1500 | margin-left: 0.75rem; |
| 1506 | padding-left: 0.5rem; | 1501 | padding-left: 0.5rem; |
| 1507 | } | 1502 | } |
| 1508 | 1503 | ||
| 1509 | @media(min-width:1016px) { | 1504 | @media(min-width:1016px) { |
| 1510 | #sitemap details details { | 1505 | #sitemap details { |
| 1511 | margin-left: 1.5rem; | 1506 | margin-left: 1.5rem; |
| 1512 | border-left: 1px solid var(--hairline); | 1507 | border-left: 1px solid var(--hairline); |
| 1513 | padding-left: 0.75rem; | 1508 | padding-left: 0.75rem; |
| 1514 | } | 1509 | } |
| 1515 | } | 1510 | } |
| 1516 | 1511 | ||
| 1512 | /* The two margin-left rules make the triangle align optically with the | ||
| 1513 | globe above it, so the two meta lines read as one block under the | ||
| 1514 | title. Tuned by eye at both indent widths. Re-check if the indent | ||
| 1515 | changes. */ | ||
| 1517 | #sitemap summary { | 1516 | #sitemap summary { |
| 1518 | padding: 0.10rem 0 0.5rem 0; | 1517 | padding: 0 0 0.5rem 0; |
| 1519 | margin-left: -0.25rem; | 1518 | font-size: 0.875rem; |
| 1520 | margin-top: -0.1rem; | 1519 | margin-left: 1rem; |
| 1521 | color: var(--text-muted); | 1520 | color: var(--text-muted); |
| 1522 | } | 1521 | } |
| 1523 | 1522 | ||
| 1524 | #sitemap details:not([open]) > summary { | 1523 | @media (min-width: 1016px) { |
| 1525 | color: var(--accent); | 1524 | #sitemap summary { |
| 1526 | font-weight: bold; | 1525 | margin-left: -0.1rem; |
| 1526 | } | ||
| 1527 | } | 1527 | } |
| 1528 | 1528 | ||
| 1529 | .aligned_action_row { | 1529 | .aligned_action_row { |
