kfetcms: Update the fixtures and fix the navbar behaviour due to a longer menu

This commit is contained in:
Tom Hubrecht 2022-10-03 10:22:32 +02:00
parent 69de48f285
commit 85e30056a6
4 changed files with 695 additions and 12 deletions

File diff suppressed because one or more lines are too long

View file

@ -1,3 +1,40 @@
/* Navbar hacks -------------------- */
.visible-xl,
.visible-xl-block,
.visible-xl-inline,
.visible-xl-inline-block {
display: none !important;
}
@media (min-width: 1415px) {
.visible-xl {
display: block !important;
}
table.visible-xl {
display: table !important;
}
tr.visible-xl {
display: table-row !important;
}
th.visible-xl,
td.visible-xl {
display: table-cell !important;
}
.visible-xl-block {
display: block !important;
}
.visible-xl-inline {
display: inline !important;
}
.visible-xl-inline-block {
display: inline-block !important;
}
}
/* Global layout ------------------- */
.main-col, .fixed-col {

View file

@ -32,20 +32,20 @@
</li>
{% for item in menu_items %}
{% if item.text == "Accueil" %}
<li class="{{ item.active_class }} hidden-xs hidden-sm">
<li class="{{ item.active_class }} hidden-xs hidden-sm hidden-md">
<a href="{{ item.href }}" title="Accueil">
<span class="glyphicon glyphicon-home"></span>
</a>
</li>
{% else %}
<li class="{{ item.active_class }} hidden-xs hidden-sm">
<li class="{{ item.active_class }} hidden-xs hidden-sm hidden-md">
<a href="{{ item.href }}">
{{ item.text }}
</a>
</li>
{% endif %}
{% endfor %}
<li class="dropdown visible-xs visible-sm nav-pages">
<li class="dropdown visible-xs visible-sm visible-md nav-pages">
<a href="#" data-toggle="dropdown" roles="button" aria-haspopup="true" aria-expanded="false" class="navbar-toggle">
<span class="icon-bar"></span>
<span class="icon-bar"></span>

View file

@ -11,7 +11,7 @@
--><span class="glyphicon glyphicon-{{ glyphicon }}"></span><!--
{% endif %}
{% if text %}
--><span class="visible-lg-inline">{{ text }}</span><!--
--><span class="visible-xl-inline">{{ text }}</span><!--
{% endif %}
-->
{% if href %}