aboutsummaryrefslogtreecommitdiff
path: root/templates/partials/shared/nav.html
diff options
context:
space:
mode:
authorsptaule <lecas83@gmail.com>2022-01-31 18:43:17 +0100
committersptaule <lecas83@gmail.com>2022-01-31 18:43:17 +0100
commite463223e15ff95ba58726ddf7b652a1a9cd41059 (patch)
tree2bcfcd8d17a678d760a1248d5329dbe9bc23a313 /templates/partials/shared/nav.html
parent608c3f7759f2edf6b8defcf2abe0a9031184c136 (diff)
downloadgaragehq.deuxfleurs.fr-e463223e15ff95ba58726ddf7b652a1a9cd41059.tar.gz
garagehq.deuxfleurs.fr-e463223e15ff95ba58726ddf7b652a1a9cd41059.zip
Fix doc submenus states, doc links hover, split page & global ToC
Diffstat (limited to 'templates/partials/shared/nav.html')
-rw-r--r--templates/partials/shared/nav.html9
1 files changed, 6 insertions, 3 deletions
diff --git a/templates/partials/shared/nav.html b/templates/partials/shared/nav.html
index a4a4b99..adb1a70 100644
--- a/templates/partials/shared/nav.html
+++ b/templates/partials/shared/nav.html
@@ -22,13 +22,16 @@
{% endfor %}
{% endif %}
{% endfor %}
- <button
+ <a
id="nav-search-btn"
+ href="javascript:openSearchModal()"
type="button"
title="Open Search (alt + S)"
class="focus:bg-white hover:bg-white hover:shadow px-4 py-2 rounded-lg">
- <svg id="nav-search-btn-icon" class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"></path></svg>
- </button>
+ <svg id="nav-search-btn-icon" class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"></path>
+ </svg>
+ </a>
<a
href="https://garagehq.deuxfleurs.fr/_releases.html"
class="group flex items-center justify-center space-x-1 font-semibold shadow hover:shadow px-2 py-1.5 rounded text-white transition-all duration-500 bg-gradient-to-tl from-garage-orange via-orange-500 to-orange-300 bg-size-200 bg-pos-0 hover:bg-pos-100">