mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-24 03:23:33 +00:00
5ef5694fbf
- Define icon size variables in icons.less - Update icon classes to use .cdx-mixin-css-icon() - Remove temporary fixes in icons.less - Add 'codex.styles' dependency in skin.json - Set 'useMaskImage' to true in skin.json Bug: T374145 Depends-On: Ia8f770aec365da77b39cb0258f546df7894e6ba4 Change-Id: I87b060cf98194d81679da2610944f58e8d941389
19 lines
737 B
Plaintext
19 lines
737 B
Plaintext
<form action="{{form-action}}" method="get" class="minerva-search-form">
|
|
<div class="search-box">
|
|
<input type="hidden" name="title" value="{{page-title}}"/>
|
|
<input class="search skin-minerva-search-trigger" id="searchInput"
|
|
{{{html-input-attributes}}}>
|
|
{{#data-btn.data-icon}}<span class="search-box-icon-overlay">{{>Icon}}</span>{{/data-btn.data-icon}}
|
|
</div>
|
|
{{!
|
|
A button when clicked will submit the form
|
|
This is used so that on tablet devices with JS disabled the search button
|
|
passes the value of input to the search
|
|
We avoid using input[type=submit] as these cannot be easily styled as mediawiki ui icons
|
|
which is problematic in Opera Mini (see T140490)
|
|
}}
|
|
{{#data-btn}}
|
|
{{>Button}}
|
|
{{/data-btn}}
|
|
</form>
|