diff options
Diffstat (limited to 'templates/partials/doc/global_toc.html')
-rw-r--r-- | templates/partials/doc/global_toc.html | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/templates/partials/doc/global_toc.html b/templates/partials/doc/global_toc.html index 277739c..eea7d26 100644 --- a/templates/partials/doc/global_toc.html +++ b/templates/partials/doc/global_toc.html @@ -7,7 +7,7 @@ {% for page in section.pages %} <a href="{{ page.permalink | safe }}" - class="bg-white border border-garage-orange block p-1 rounded block font-semibold hover:bg-garage-orange hover:bg-opacity-20 + class="bg-white border border-garage-orange block p-1 rounded font-semibold hover:bg-garage-orange hover:bg-opacity-20 {% if current_path == page.path %} activePage text-garage-orange border-opacity-100 border-garage-orange {% endif %}"> {{ page.title }} </a> @@ -19,13 +19,15 @@ <li class="relative"> <a href="{{ h1.permalink | safe }}" - class="bg-white border border-garage-orange block p-1 rounded-r rounded-tl font-semibold - {% if current_path == h1.path %} activePage text-garage-orange font-semibold border-opacity-100 border-garage-orange {% else %}text-gray-800{% endif %} - "> + class="bg-white border border-garage-orange block p-1 rounded-r rounded-tl font-semibold {% if current_path == h1.path %}activePage text-garage-orange font-semibold border-opacity-100 border-garage-orange{% else %}text-gray-800{% endif %}"> {{ h1.title }} </a> {% if h1.pages %} - <input type="checkbox" id="btn-{{ h1.title | slugify }}" class="deploySubMenu"/> + <input + type="checkbox" + id="btn-{{ h1.title | slugify }}" + class="deploySubMenu" + /> <label for="btn-{{ h1.title | slugify }}" class="absolute top-0 right-0.5 bg-garage-orange bg-opacity-10 border-l border-garage-orange border-opacity-20 cursor-pointer inline-block px-3 py-1" style="margin-top:0.08rem;"> <svg class="arrow w-6 h-6 text-garage-gray group-hover:text-garage-orange transform rotate-90" 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="M9 5l7 7-7 7"></path></svg> </label> |