Mercurial > libervia-templates
view sat_templates/templates/bulma/dialogs/macros.html @ 318:b7e5ce6bc82d
CSS (noscript): new `nojs_hide` class to hide an element when JS is not available
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 29 Apr 2021 15:53:31 +0200 |
parents | 2378084522e1 |
children |
line wrap: on
line source
{# macros for generic dialogs #} {% macro search_dialog(id=none, class='') %} <div{{ {'id': id}|xmlattr }} class="search_dialog dropdown is-active {{class}}"> <div class="dropdown-trigger"> {{ caller() }} </div> <div class="dropdown-menu" id="dropdown-menu" role="menu"> <div class="search_dialog__content dropdown-content"> </div> </div> </div> {% endmacro %}