Skip to content

Commit

Permalink
Merge pull request #1159 from danmichaelo/topbar-hook
Browse files Browse the repository at this point in the history
Add topbar-container css hook
  • Loading branch information
osma authored Jun 2, 2021
2 parents 7b196d5 + f988ad2 commit 55358c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions view/light.twig
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
<strong>{% trans "We're sorry but Skosmos doesn't work properly without JavaScript enabled. Please enable it to continue." %}</strong>
</noscript>
<a id="skiptocontent" href="{{ request.langurl }}#maincontent">{% trans "Skip to main" %}</a>
{% if request.vocabid != '' or request.page == 'feedback' or request.page == 'about' %}<div class="topbar-white">{% endif %}
<div class="topbar-container {% if request.vocabid != '' or request.page == 'feedback' or request.page == 'about' %}topbar-white{% else %}topbar-frontpage{% endif %}">
<div class="topbar{% if request.vocabid != '' or request.vocabid == 'feedback' or request.vocabid == 'about' %} topbar-white{% else %} frontpage{% endif %}">
{% include 'topbar.twig' %}
</div>
{% if request.vocabid != '' or request.page == 'feedback' or request.page == 'about' %}</div>{% endif %}
</div>
{% block headernav %}
<div class="headerbar{% if request.vocabid == '' or global_search %} frontpage-spacing{% endif %}">
{% include 'headerbar.twig' %}
Expand Down

0 comments on commit 55358c2

Please sign in to comment.