mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-08-10 07:11:18 +02:00
admin toc: label rename + padding
- rename 'Sur cette page' to 'Parties' - add padding-top between PARTIES label and toc links
This commit is contained in:
@@ -2240,6 +2240,10 @@ th.admin-ap-col {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Admin TOC: same <details class="toc"> as public pages, positioned sticky */
|
/* Admin TOC: same <details class="toc"> as public pages, positioned sticky */
|
||||||
|
#admin-toc .toc-list {
|
||||||
|
padding-top: var(--space-2xs);
|
||||||
|
}
|
||||||
|
|
||||||
#admin-toc .toc-list a {
|
#admin-toc .toc-list a {
|
||||||
font-size: var(--step--1);
|
font-size: var(--step--1);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
* at runtime.
|
* at runtime.
|
||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
<details class="toc" id="admin-toc" open aria-label="Sur cette page">
|
<details class="toc" id="admin-toc" open aria-label="Parties">
|
||||||
<summary><?= icon('caret-down', 0, 'toc-caret') ?> SUR CETTE PAGE</summary>
|
<summary><?= icon('caret-down', 0, 'toc-caret') ?> PARTIES</summary>
|
||||||
<ul class="toc-list" id="admin-toc-list">
|
<ul class="toc-list" id="admin-toc-list">
|
||||||
<!-- populated by admin-toc.js -->
|
<!-- populated by admin-toc.js -->
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
Reference in New Issue
Block a user