summaryrefslogtreecommitdiff
path: root/public/stylesheets/admin.css
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-08-04 17:13:18 +0200
committererdgeist <erdgeist@erdgeist.org>2026-08-04 17:13:18 +0200
commitac01156d00b24d14225c8e75979fb59bba69640d (patch)
treef223b41358debb6cee45c5351d885505615b0e02 /public/stylesheets/admin.css
parent409d71ed471703be8c56f2639a3ecb0fa387e6a7 (diff)
Tidy up headings on house keeping views
- Collapse page headers into one action row with an optional hint - limit will_paginate to one row
Diffstat (limited to 'public/stylesheets/admin.css')
-rw-r--r--public/stylesheets/admin.css108
1 files changed, 101 insertions, 7 deletions
diff --git a/public/stylesheets/admin.css b/public/stylesheets/admin.css
index 8b976599..e6f31709 100644
--- a/public/stylesheets/admin.css
+++ b/public/stylesheets/admin.css
@@ -338,7 +338,7 @@ div.pagination span.gap {
338 justify-content: center; 338 justify-content: center;
339 min-width: 1.75rem; 339 min-width: 1.75rem;
340 height: 1.75rem; 340 height: 1.75rem;
341 padding: 0 0.4rem; 341 padding: 0 0.2rem;
342 border-radius: 4px; 342 border-radius: 4px;
343 font-style: normal; 343 font-style: normal;
344} 344}
@@ -357,6 +357,11 @@ div.pagination span.gap {
357 color: var(--text-muted); 357 color: var(--text-muted);
358} 358}
359 359
360div.pagination .previous_page,
361div.pagination .next_page {
362 min-width: 2rem;
363}
364
360div.pagination .previous_page.disabled, 365div.pagination .previous_page.disabled,
361div.pagination .next_page.disabled { 366div.pagination .next_page.disabled {
362 color: var(--text-muted); 367 color: var(--text-muted);
@@ -824,11 +829,6 @@ table.revisions_table tr:hover {
824.node_table td.actions { 829.node_table td.actions {
825 width: 1px; 830 width: 1px;
826 white-space: nowrap; 831 white-space: nowrap;
827}
828
829/* Only where the action column is last. In the node lists rev. follows it,
830 and the 25px gutter is a real gap between columns there. */
831.user_table td.actions {
832 padding-right: 0; 832 padding-right: 0;
833} 833}
834 834
@@ -901,6 +901,7 @@ table.revisions_table tr:hover {
901.flag_stack { 901.flag_stack {
902 display: inline-flex; 902 display: inline-flex;
903 flex-direction: column; 903 flex-direction: column;
904 flex-shrink: 0;
904 align-items: flex-start; 905 align-items: flex-start;
905 gap: 0.25rem; 906 gap: 0.25rem;
906 vertical-align: -0.15em; 907 vertical-align: -0.15em;
@@ -917,6 +918,11 @@ table.revisions_table tr:hover {
917.flag_stack .flag_attention svg { color: var(--accent); } 918.flag_stack .flag_attention svg { color: var(--accent); }
918.flag_stack .flag_alert svg { color: var(--danger); } 919.flag_stack .flag_alert svg { color: var(--danger); }
919 920
921table.node_table td {
922 padding-top: 0.8rem;
923 padding-bottom: 0.8rem;
924}
925
920.title_with_flags { 926.title_with_flags {
921 display: flex; 927 display: flex;
922 align-items: flex-start; 928 align-items: flex-start;
@@ -931,9 +937,15 @@ table.revisions_table tr:hover {
931} 937}
932 938
933.node_table .node_path { 939.node_table .node_path {
934 margin-top: 0.15rem; 940 margin-top: 0.25rem;
941 font-size: 0.875rem;
935} 942}
936 943
944.node_table .node_path a {
945 color: var(--text-muted);
946}
947
948
937.user_group_heading { 949.user_group_heading {
938 margin-top: 1.5rem; 950 margin-top: 1.5rem;
939} 951}
@@ -1516,6 +1528,88 @@ input#menu_item_title {
1516 } 1528 }
1517} 1529}
1518 1530
1531.page_actions {
1532 display: flex;
1533 flex-wrap: wrap;
1534 align-items: baseline;
1535 gap: 0.5rem;
1536 margin-bottom: 1rem;
1537}
1538
1539/* Pushes the actions to the right of the heading. */
1540.page_actions h1 {
1541 margin: 0 auto 0 0;
1542}
1543
1544.page_action_group {
1545 display: flex;
1546 align-items: flex-start;
1547 gap: 0.5rem;
1548}
1549
1550.action_menu {
1551 position: relative;
1552}
1553
1554/* Safari renders a disclosure triangle unless both are set. */
1555.action_menu > summary,
1556.action_hint > summary {
1557 cursor: pointer;
1558 list-style: none;
1559}
1560
1561.action_menu > summary::-webkit-details-marker,
1562.action_hint > summary::-webkit-details-marker {
1563 display: none;
1564}
1565
1566.action_menu_items {
1567 position: absolute;
1568 top: 100%;
1569 right: 0;
1570 z-index: 1;
1571 display: flex;
1572 flex-direction: column;
1573 align-items: stretch;
1574 gap: 0.25rem;
1575 margin-top: 0.25rem;
1576 padding: 0.5rem;
1577 background-color: var(--surface-raised);
1578 border: 1px solid var(--border);
1579 border-radius: var(--radius);
1580}
1581
1582.action_hint > summary {
1583 display: inline-flex;
1584 align-items: center;
1585 justify-content: center;
1586 width: 1.5rem;
1587 height: 1.5rem;
1588 border: 1px solid var(--border);
1589 border-radius: 50%;
1590 color: var(--text-muted);
1591 font-weight: bold;
1592}
1593
1594.action_hint {
1595 position: relative;
1596}
1597
1598.action_hint p {
1599 position: absolute;
1600 top: 100%;
1601 right: 0;
1602 z-index: 1;
1603 width: max-content;
1604 max-width: 22rem;
1605 margin: 0.5rem 0 0;
1606 padding: 0.5rem;
1607 color: var(--text-muted);
1608 background-color: var(--surface-raised);
1609 border: 1px solid var(--border);
1610 border-radius: var(--radius);
1611}
1612
1519/* ============================================================ 1613/* ============================================================
1520 Draft list (dashboard widget) 1614 Draft list (dashboard widget)
1521 ============================================================ */ 1615 ============================================================ */