mediawiki-skins-MinervaNeue/includes/Skins/menuGroup.mustache
jdlrobson 5263b09397 Standardize use of buttons and icons in Minerva
* Adds button hover/focus states to all Minerva button icons
* Removes the deprecated mw-ui-icon-before selector

Depends-On: I4eb28eae4c4e23d58f1f85bc41c0caf77197d8a1
Bug: T288678
Change-Id: I490534f9f704a733191b459c8ee071848c436001
2021-09-17 15:36:54 +00:00

9 lines
280 B
Plaintext

<li class="{{class}}">
{{#components}}
<a href="{{href}}" class="{{class}}"
data-mw="interface" data-event-name="{{data-event-name}}">
{{#icon}}<span class="mw-ui-icon-{{*}} mw-ui-icon"></span>{{/icon}}&nbsp;<span>{{text}}</span>
</a>
{{/components}}
</li>