Fix pulsanti navbar da mobile

This commit is contained in:
Thomas Zilio 2019-05-10 20:35:00 -07:00
parent 79e9b7df5f
commit 6143a25c83
2 changed files with 90 additions and 89 deletions

View File

@ -29,13 +29,6 @@ a.disabled {
opacity: 0.6;
}
.btn-calendar>.btn {
color: inherit;
background: transparent;
font-size: 20px;
margin-top: 2px;
}
#progress {
margin: auto;
position: relative;
@ -198,19 +191,15 @@ body .header .logo {
}
.btn-github {
color: #ffffff;
background-color: #444444;
border-color: rgba(0, 0, 0, 0.2);
color: #ffffff !important;
background-color: #444444 !important;
border-color: rgba(0, 0, 0, 0.2) !important;
}
.btn-github:hover,
.btn-github:focus,
.btn-github:active,
.btn-github.active,
.open .dropdown-toggle.btn-github {
color: #ffffff;
background-color: #303030;
border-color: rgba(0, 0, 0, 0.2);
.navbar-custom-menu>ul>li>a:hover,
.navbar-custom-menu>ul>li>a:focus,
.navbar-custom-menu>ul>li>a:active{
filter: brightness(75%);
}
.btn-github:active,
@ -328,8 +317,7 @@ span.form-control {
color: #3C8DBC;
}
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a, .navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a, .navbar-nav > .tasks-menu > .dropdown-menu > li .menu > li > a
{
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a, .navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a, .navbar-nav > .tasks-menu > .dropdown-menu > li .menu > li > a {
white-space: normal;
}
@ -539,14 +527,20 @@ input.small-width {
}
@media screen and (max-width: 767px) {
.navbar-left{
display: none;
}
.box-center,
.box-center-large {
width: 90%;
margin-top: 20px
}
.main-header .logo {
display: none;
}
/*
.content-wrapper,
.right-side,
@ -577,6 +571,7 @@ input.small-width {
.push {
position: static;
}
.signature-pad {
top: 0;
left: 0;

View File

@ -212,18 +212,24 @@ if (Auth::check()) {
<span class="icon-bar"></span>
</a>
<div class="input-group btn-calendar pull-left">
<button id="daterange" class="btn"><i class="fa fa-calendar" style="color:'.$calendar.'"></i> <i class="fa fa-caret-down" style="color:'.$calendar.';" ></i></button>
<span class="hidden-xs" style="vertical-align:middle; color:'.$calendar.';">
<!-- Navbar Left Menu -->
<div class="navbar-left" class="hidden-xs">
<ul class="nav navbar-nav" class="hidden-xs">
<li><a href="#" id="daterange" style="color:'.$calendar.';background:inherit">
<i class="fa fa-calendar" style="color:inherit"></i> <i class="fa fa-caret-down" style="color:inherit"></i>
</a></li>
<li><a href="#" style="color:'.$calendar.';background:inherit">
'.Translator::dateToLocale($_SESSION['period_start']).' - '.Translator::dateToLocale($_SESSION['period_end']).'
</span>
</a></li>
</ul>
</div>
<!-- Navbar Right Menu -->
<div class="navbar-custom-menu" id="right-menu">
<div class="navbar-custom-menu">
<ul class="nav navbar-nav">
<li class="dropdown notifications-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<a href="#" class="dropdown-toggle btn-github" data-toggle="dropdown">
<i class="fa fa-bell-o"></i>
<span class="label label-warning">
<span id="hooks-loading"><i class="fa fa-spinner fa-spin"></i></span>
@ -237,7 +243,7 @@ if (Auth::check()) {
</ul>
</li>
<li><a href="#" onclick="window.print()" class="btn-info tip" title="'.tr('Stampa').'">
<li><a href="#" onclick="window.print()" class="btn-github tip" style="background-color:#5bc0de!important" title="'.tr('Stampa').'">
<i class="fa fa-print"></i>
</a></li>
@ -253,7 +259,7 @@ if (Auth::check()) {
<i class="fa fa-info"></i>
</a></li>
<li><a href="'.$rootdir.'/index.php?op=logout" class="btn-danger tip" title="'.tr('Esci').'">
<li><a href="'.$rootdir.'/index.php?op=logout" class="btn-github tip" style="background-color:#dd4b39!important" title="'.tr('Esci').'">
<i class="fa fa-power-off"></i>
</a></li>
</ul>