ajustes de boton de navegación para mobiles y comportamiento de los menus desplegables

This commit is contained in:
Hacky Purple 2018-10-13 02:23:14 -05:00
parent bb9bab3f07
commit b2fcec010b
2 changed files with 36 additions and 41 deletions

View File

@ -1140,45 +1140,42 @@ $panel_aplicaciones = panel_aplicaciones('1',"","");
$barra="
<div class='noprint nomostrar container' id='cabecera' style=' $no_mostrar '>
<nav class='navbar navbar-fixed-top navbar-inverse navbar-toggleable-sm ' id='navbar-principal'>
<div class='container navegacion'>
<div class='navbar-header'>
<button type='button' class='navbar-toggle collapsed' data-toggle='collapse' data-target='#navbar' aria-expanded='false' aria-controls='navbar'>
<span class='sr-only'>Toggle navigation</span>
<span class='icon-bar'></span>
<span class='icon-bar'></span>
<span class='icon-bar'></span>
</button>
<a class='navbar-brand' href='$link_empresa'>
<img id='logo_cabecera' class='center-block img img-responsive' style='' src='milfs/images/secure/?file=300/$logo[0]'>
</a>
</div>
<div id='menu_principal' class='navbar-collapse collapse'>
<ul class='nav navbar-nav'>
<li class='dropdown '>
<a href='#' class='dropdown-toggle menu_tupale img-rounded' data-toggle='dropdown' role='button' aria-haspopup='true' aria-expanded='false'><i class='fa fa-bars'></i><span class='hidden-xs'> $portal_sigla<span></a>
<ul class='dropdown-menu' id='menu_tupale'>
<li><a class='' href='$portal_url'><i class='fa fa-home'></i> Portal</a></li>
<li><a class='' href='$link_empresa'>$sigla[0] Inicio</a></li>
<li><a href='s363'>Blog</a></li>
<li><a href='s133'>Ayuda y documentación</a></li>
<li role='separator' class='divider'></li>
".aplicaciones_listado("$id_empresa",'','nav','')."
</ul>
</li>
</ul>
<ul class='nav navbar-nav navbar-right'>
$boton_ingresar
$soporte
<li><a href='https://twitter.com/$twitter[0]'><i class='fa fa-twitter'></i></a></li>
<li><a href='$facebook[0]'><i class='fa fa-facebook'></i></a></li>
</ul>
</div>
</nav>
</div>
<nav class='navbar navbar-fixed-top navbar-inverse navbar-toggleable-sm ' id='navbar-principal'>
<div class='container navegacion'>
<div class='navbar-header'>
<button type='button' class='navbar-toggle collapsed' data-toggle='collapse' data-target='#navbar' aria-expanded='false' aria-controls='navbar'>
<span class='sr-only'>Toggle navigation</span>
<span class='icon-bar'></span>
<span class='icon-bar'></span>
<span class='icon-bar'></span>
</button>
<a class='navbar-brand' href='$link_empresa'>
<img id='logo_cabecera' class='center-block img img-responsive' style='' src='milfs/images/secure/?file=300/$logo[0]'>
</a>
</div>
<div id='navbar' class='navbar-collapse collapse'>
<ul class='nav navbar-nav'>
<li class='dropdown '>
<a href='#' class='dropdown-toggle img-rounded' data-toggle='dropdown' role='button' aria-haspopup='true' aria-expanded='false'><i class='fa fa-bars'></i><span> $portal_sigla<span></a>
<ul class='dropdown-menu'>
<li><a class='' href='$portal_url'><i class='fa fa-home'></i> Portal</a></li>
<li><a class='' href='$link_empresa'>$sigla[0] Inicio</a></li>
<li><a href='s363'>Blog</a></li>
<li><a href='s133'>Ayuda y documentación</a></li>
<li class='divider'> </li>
".aplicaciones_listado("$id_empresa",'','nav','')."
</ul>
</li>
</ul>
<ul class='nav navbar-nav navbar-right'>
$boton_ingresar
$soporte
<li><a href='https://twitter.com/$twitter[0]'><i class='fa fa-twitter'></i></a></li>
<li><a href='$facebook[0]'><i class='fa fa-facebook'></i></a></li>
</ul>
</div>
</nav>
</div>
";

View File

@ -79,8 +79,6 @@ ul, ol {
/* USING BOOTSTRAP 3.0.3 */
/*NAVBAR BRAND*/
.navbar-brand {
transform: translateX(-50%);
left: 50%;