mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 07:43:47 +00:00
fe105edcdb
- Generalize spacing for pinnable header and menu items under PinnableHeader.less and PinnableElement.less - Impacts main menu, page tools & personal tools Bug: T324877 Change-Id: I4042e5c1957d64797f21146f687ef960721299ce
25 lines
1.2 KiB
Plaintext
25 lines
1.2 KiB
Plaintext
{{! Use `.vector-main-menu` to target styles at this element}}
|
|
{{>PinnableElement/Open}}
|
|
{{^is-page-tools-enabled}}
|
|
{{#data-portlets-first}}{{>MainMenuGroup}}{{/data-portlets-first}}
|
|
{{#data-main-menu-action}}{{>MainMenuAction}}{{/data-main-menu-action}}
|
|
{{#array-portlets-rest}}{{>MainMenuGroup}}{{/array-portlets-rest}}
|
|
{{^is-language-in-content}}
|
|
{{#data-languages}}{{>MainMenuGroup}}{{/data-languages}}
|
|
{{/is-language-in-content}}
|
|
{{! T295555 Add language switch alert message. }}
|
|
{{#data-vector-language-switch-alert}}{{>MainMenuAction}}{{/data-vector-language-switch-alert}}
|
|
{{/is-page-tools-enabled}}
|
|
|
|
{{#is-page-tools-enabled}}
|
|
{{#data-portlets-first}}{{>Menu}}{{/data-portlets-first}}
|
|
{{#data-main-menu-action}}{{>MainMenuAction}}{{/data-main-menu-action}}
|
|
{{#array-portlets-rest}}{{>Menu}}{{/array-portlets-rest}}
|
|
{{^is-language-in-content}}
|
|
{{#data-languages}}{{>Menu}}{{/data-languages}}
|
|
{{/is-language-in-content}}
|
|
{{! T295555 Add language switch alert message. }}
|
|
{{#data-vector-language-switch-alert}}{{>MainMenuAction}}{{/data-vector-language-switch-alert}}
|
|
{{/is-page-tools-enabled}}
|
|
{{>PinnableElement/Close}}
|