mediawiki-skins-Citizen/templates/Search__button.mustache
alistair3149 516ef3a1cb
feat(dropdown): revamp dropdown menu handling
Putting the dropdown content in the details elemenet have been inconsistent.
Transition are not working correctly and different browsers are not handling it well.
Furthermore, the previous implementation does not allow an always visible state of dropdown content.

Fixes: #882
2024-07-03 16:07:19 -04:00

17 lines
444 B
Plaintext

{{!
string msg-citizen-search-toggle-shortcut shortcut key message
string msg-citizen-search-toggle tooltip message for search toggle
}}
<summary
class="citizen-dropdown-summary"
title="{{msg-citizen-search-toggle}} {{msg-citizen-search-toggle-shortcut}}"
aria-details="citizen-search__card">
<span class="citizen-ui-icon">
<span></span>
<span></span>
<span></span>
</span>
<span>{{msg-citizen-search-toggle}}</span>
</summary>