mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-17 03:08:12 +00:00
5263b09397
* 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
17 lines
572 B
Plaintext
17 lines
572 B
Plaintext
{{!
|
|
array components
|
|
string|null components.class Optional anchor CSS class.
|
|
string|null components.href Optional URI.
|
|
string|null components.text Optional text.
|
|
string|null components.data-event-name Optional tracking code.
|
|
}}
|
|
{{#components}}
|
|
<li class="toggle-list-item">
|
|
<a class="toggle-list-item__anchor {{class}}" href="{{href}}"
|
|
data-event-name="{{data-event-name}}" data-mw="interface">
|
|
{{#icon}}<span class="mw-ui-icon mw-ui-icon-{{.}}"></span> {{/icon}}
|
|
<span class="toggle-list-item__label">{{text}}</span>
|
|
</a>
|
|
</li>
|
|
{{/components}}
|