mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 07:43:47 +00:00
a7f008b9bc
This is an incomplete styling of the menu. This should be enough to start an initial design review and unblock other work on the dropdown. Out of scope for this patch: - Pinning (being done in T317900) - Design (will be done in follow up) This should cause no visual regressions in Pixel. Bug: T317899 Change-Id: Id7b47cc16fc8cf93d406687198ba37acf7a9cf24
22 lines
755 B
Plaintext
22 lines
755 B
Plaintext
{{!
|
|
@typedef object main-menu-action
|
|
@prop string href
|
|
@prop string text
|
|
|
|
string html-logo-attributes for site logo. Must be used inside tag e.g. `class="logo" lang="en-gb"`
|
|
MenuDefinition data-portlets-first
|
|
MenuDefinition[] array-portlets-rest
|
|
main-menu-action data-main-menu-action For displaying an emphasized action in the main menu.
|
|
}}
|
|
<div class="vector-main-menu-container {{^data-toc}}vector-sidebar-container-no-toc{{/data-toc}}">
|
|
<div id="mw-navigation">
|
|
<nav id="mw-panel" class="vector-main-menu" aria-label="{{msg-vector-site-nav-label}}" role="navigation">
|
|
{{^is-page-tools-enabled}}
|
|
{{#data-portlets-main-menu}}
|
|
{{>MainMenuContents}}
|
|
{{/data-portlets-main-menu}}
|
|
{{/is-page-tools-enabled}}
|
|
</nav>
|
|
</div>
|
|
</div>
|