mediawiki-skins-Citizen/includes/templates/Drawer.mustache
alistair3149 f65bf157bd
feat: move personal menu to header (#231)
* fix: fix header background bleeding in VE

* feat: move personal menu out of drawer to header

* feat: update personal menu styles in smaller breakpoints

* fix: fix typo in qqq documentation

* ci: lint code to MediaWiki standards

Check commit and GitHub actions for more details

* feat: add title text to personal menu button

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2021-01-19 15:56:42 -05:00

30 lines
929 B
Plaintext

{{!
string msg-citizen-drawer-toggle The label used by the drawer button.
}}
<input
type="checkbox"
id="mw-drawer-checkbox"
class="mw-checkbox-hack-checkbox">
<label
id="mw-drawer-button"
class="mw-checkbox-hack-button"
for="mw-drawer-checkbox"
role="button"
aria-controls="mw-drawer">
{{msg-citizen-drawer-toggle}}
</label>
<div id="mw-drawer-button-icon">
<div id="mw-drawer-button-icon-1" class="mw-drawer-button-icon-div"></div>
<div id="mw-drawer-button-icon-2" class="mw-drawer-button-icon-div"></div>
<div id="mw-drawer-button-icon-3" class="mw-drawer-button-icon-div"></div>
</div>
<nav id="mw-drawer">
<section id="mw-drawer-logo" role="banner">
{{>Logo}}
</section>
<section id="mw-drawer-menu">
{{#data-portals-first}}{{>Menu}}{{/data-portals-first}}
{{#array-portals-rest}}{{>Menu}}{{/array-portals-rest}}
{{#data-portals-languages}}{{>Menu}}{{/data-portals-languages}}
</section>
</nav>