mediawiki-skins-Citizen/templates/Drawer.mustache
alistair3149 a2d3159def
feat(core): replace checkbox hack with details and summary
Note that ToC is still using the old checkbox hack, it will be replaced in a later time.
Related: T333394
2024-05-30 02:20:13 -04:00

19 lines
647 B
Plaintext

{{!
string msg-citizen-drawer-toggle The label used by the drawer button.
string msg-sitetitle the contents of the sitesubtitle message key
}}
<details class="citizen-drawer citizen-header__item citizen-menu__dropdown">
{{>Drawer__button}}
<div id="citizen-drawer__card" class="citizen-drawer__card citizen-menu__card">
<header class="citizen-drawer__header">
{{>Drawer__logo}}
<div class="citizen-drawer__siteinfo">
{{#data-site-stats}}{{>SiteStats}}{{/data-site-stats}}
<div class="mw-logo-wordmark">{{msg-sitetitle}}</div>
</div>
</header>
{{#data-main-menu}}
{{>MainMenu}}
{{/data-main-menu}}
</div>
</details>