More mobile fixes

This commit is contained in:
snipe 2016-05-24 18:50:54 -07:00
parent 5f91329397
commit 9aff515c0a
8 changed files with 81 additions and 23 deletions

View file

@ -399,6 +399,21 @@ a:focus {
right: 40px;
}
}
@media (max-width: 991px) {
.content-header {
padding-top: 110px;
}
}
@media (max-width: 991px) {
ul.sidebar-menu {
padding-top: 120px;
}
}
@media (max-width: 991px) {
.sidebar-toggle-mobile a {
color: white;
}
}
/*
* Component: Sidebar
* ------------------
@ -4838,7 +4853,7 @@ fieldset[disabled] .btn-yahoo.active {
background-color: inherit;
}
.main-header .logo {
min-width: 530px;
min-width: 380px;
text-align: left;
display: block;
clear: both;

File diff suppressed because one or more lines are too long

View file

@ -399,6 +399,21 @@ a:focus {
right: 40px;
}
}
@media (max-width: 991px) {
.content-header {
padding-top: 110px;
}
}
@media (max-width: 991px) {
ul.sidebar-menu {
padding-top: 120px;
}
}
@media (max-width: 991px) {
.sidebar-toggle-mobile a {
color: white;
}
}
/*
* Component: Sidebar
* ------------------
@ -4838,7 +4853,7 @@ fieldset[disabled] .btn-yahoo.active {
background-color: inherit;
}
.main-header .logo {
min-width: 530px;
min-width: 380px;
text-align: left;
display: block;
clear: both;

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,4 @@
{
"assets/css/app.css": "assets/css/app-8ada858a3e.css",
"assets/css/app.css": "assets/css/app-21c49439ba.css",
"assets/js/all.js": "assets/js/all-edd914620a.js"
}

View file

@ -242,3 +242,27 @@
}
}
}
// Collapse header
@media (max-width: @screen-sm-max) {
.content-header {
padding-top: 110px;
}
}
// Collapse header
@media (max-width: @screen-sm-max) {
ul.sidebar-menu {
padding-top: 120px;
}
}
// Collapse header
@media (max-width: @screen-sm-max) {
.sidebar-toggle-mobile a {
color: white;
}
}

View file

@ -2,7 +2,7 @@
background-color: inherit;
}
.main-header .logo {
min-width: 530px;
min-width: 380px;
text-align: left;
display: block;
clear: both;
@ -280,3 +280,5 @@ a.accordion-header {
a.logo.no-hover a:hover {
background-color: transparent;
}

View file

@ -87,21 +87,17 @@
</a>
<!-- Navbar Right Menu -->
<div class="navbar-custom-menu">
<ul class="nav navbar-nav">
<div class="left-navblock">
<div class="pull-left">
<!-- Sidebar toggle button-->
<a href="#" style="color: white" class="sidebar-toggle-mobile visible-xs-inline-block btn btn-white" data-toggle="offcanvas" role="button">
<li><a href="#" style="color: white; float: right;" class="sidebar-toggle-mobile visible-xs btn btn-white pull-right" data-toggle="offcanvas" role="button">
<span class="sr-only">Toggle navigation</span>
<i class="fa fa-bars"></i>
</a>
</li>
<div class="left-navblock">
<div class="pull-left">
@if (\App\Models\Setting::getSettings()->brand == '3')
<a class="logo navbar-brand no-hover" href="{{ config('app.url') }}">
<img class="navbar-brand-img" src="{{ config('app.url') }}/uploads/{{ \App\Models\Setting::getSettings()->logo }}">
@ -116,7 +112,9 @@
{{ \App\Models\Setting::getSettings()->site_name }}
</a>
@endif
</div>
</div>
@if (Auth::user()->hasAccess('admin'))
@ -148,13 +146,17 @@
</li>
@endif
<form class="navbar-form navbar-left form-inline" role="search" action="{{ route('findbytag/hardware') }}" method="get">
<div class="form-group">
<form class="navbar-form navbar-left form-horizontal" role="search" action="{{ route('findbytag/hardware') }}" method="get">
<div class="col-xs-12 col-md-12">
<div class="col-xs-12 form-group">
<label class="sr-only" for="tagSearch">{{ trans('general.lookup_by_tag') }}</label>
<input type="text" class="form-control" id="tagSearch" name="assetTag" placeholder="{{ trans('general.lookup_by_tag') }}">
<input type="hidden" name="topsearch" value="true">
</div>
<div class="col-xs-1">
<button type="submit" class="btn btn-primary pull-right"><i class="fa fa-search"></i></button>
</div>
</div>
</form>
<li class="dropdown">