práce na menu
This commit is contained in:
parent
bd2cf3e758
commit
244a6658a3
2 changed files with 15 additions and 5 deletions
|
@ -301,6 +301,8 @@ div.zadani_azad_termin {
|
|||
* Footer
|
||||
**********/
|
||||
|
||||
/* nefunguje pro mobily */
|
||||
|
||||
#footer {
|
||||
background: url("../images/mozaika-footer.svg") no-repeat top center;
|
||||
height: 200px;
|
||||
|
@ -322,9 +324,6 @@ p.license-mobile {
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**********************
|
||||
* Zmenšování displeje
|
||||
***********************/
|
||||
|
@ -442,6 +441,14 @@ ul.submenu {
|
|||
display: none;
|
||||
}
|
||||
|
||||
div.submenu_mobile {
|
||||
display: none;
|
||||
}
|
||||
|
||||
div.submenu_mobile active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
nav.nav-button {
|
||||
display: block;
|
||||
|
@ -473,6 +480,8 @@ ul.submenu {
|
|||
|
||||
/*stránka organizátorů*/
|
||||
|
||||
/*todo pro mobily*/
|
||||
|
||||
div.seznam_orgu {
|
||||
}
|
||||
|
||||
|
|
|
@ -6,11 +6,12 @@
|
|||
<li class="{% if item.has_children %}dropdown{% endif %} {% if item.is_current or item.in_current_branch %}active{% endif %}">
|
||||
<a href="{% if item.has_children %}#{% else %}{% sitetree_url for item %}{% endif %}" {% if item.has_children %}class="dropdown-toggle" data-toggle="dropdown"{% endif %}>
|
||||
{{ item.title_resolved }}
|
||||
{% if item.has_children %}<b class="caret"></b>{% endif %}
|
||||
</a>
|
||||
<div class="submenu_mobile {% if item.is_current or item.in_current_branch %}active{% endif %}">
|
||||
{% if item.has_children %}
|
||||
{% sitetree_children of item for menu template "sitetree/menu_bootstrap_dropdown.html" %}
|
||||
{% sitetree_children of item for menu template "menu_mobile_dropdown.html" %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
|
Loading…
Reference in a new issue