frio - fix tabbar on mobile view
This commit is contained in:
parent
7f1acdb8e9
commit
60ef105a14
|
@ -1719,13 +1719,14 @@ img.acpopup-img {
|
||||||
|
|
||||||
}
|
}
|
||||||
/* Menubar Tabs */
|
/* Menubar Tabs */
|
||||||
section > ul.tabbar {
|
section > .tabbar-wrapper {
|
||||||
/* The tabbar shouldn't' be visibile inside
|
/* The tabbar shouldn't' be visibile inside
|
||||||
the section element. Only after we have
|
the section element. Only after we have
|
||||||
moved it to the nav through js */
|
moved it to the nav through js */
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
#tabmenu,
|
#tabmenu,
|
||||||
|
.tabbar-wrapper,
|
||||||
.tabbar,
|
.tabbar,
|
||||||
.tabbar > li {
|
.tabbar > li {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
|
@ -40,7 +40,7 @@ $(document).ready(function(){
|
||||||
$(".field.select > select, .field.custom > select").addClass("form-control");
|
$(".field.select > select, .field.custom > select").addClass("form-control");
|
||||||
|
|
||||||
// move the tabbar to the second nav bar
|
// move the tabbar to the second nav bar
|
||||||
$("section ul.tabbar").first().appendTo("#topbar-second > .container > #tabmenu");
|
$("section .tabbar-wrapper").first().appendTo("#topbar-second > .container > #tabmenu");
|
||||||
|
|
||||||
// add mask css url to the logo-img container
|
// add mask css url to the logo-img container
|
||||||
//
|
//
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
|
|
||||||
|
<div class="tabbar-wrapper">
|
||||||
{{* Tab navigation bar for tablets and computer *}}
|
{{* Tab navigation bar for tablets and computer *}}
|
||||||
<ul role="menubar" class="tabbar list-inline visible-lg visible-md visible-sm hidden-xs">
|
<ul role="menubar" class="tabbar list-inline visible-lg visible-md visible-sm hidden-xs">
|
||||||
{{* The normal tabbar *}}
|
{{* The normal tabbar *}}
|
||||||
|
@ -56,3 +57,4 @@
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue