FEATURE #2351 @30m: modify responsive version
This commit is contained in:
+25
-4
@@ -17,6 +17,10 @@ a {
|
|||||||
color: #FF7F11;
|
color: #FF7F11;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
color: #983628;
|
||||||
|
}
|
||||||
|
|
||||||
/** HEADER **/
|
/** HEADER **/
|
||||||
header.top-bar {
|
header.top-bar {
|
||||||
background: #3F3F37;
|
background: #3F3F37;
|
||||||
@@ -52,6 +56,11 @@ header.top-bar h1 a {
|
|||||||
background: #FF7F11;
|
background: #FF7F11;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.menu a:hover {
|
||||||
|
background: #983628;
|
||||||
|
transition: background 400ms linear;
|
||||||
|
}
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
max-height: 25px;
|
max-height: 25px;
|
||||||
margin: 0 15px;
|
margin: 0 15px;
|
||||||
@@ -59,7 +68,6 @@ header.top-bar h1 a {
|
|||||||
|
|
||||||
/** END HEADER **/
|
/** END HEADER **/
|
||||||
|
|
||||||
|
|
||||||
.stripe {
|
.stripe {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
@@ -90,7 +98,7 @@ header.top-bar h1 a {
|
|||||||
|
|
||||||
.orbit .stripe {
|
.orbit .stripe {
|
||||||
height: 20px;
|
height: 20px;
|
||||||
background: rgba(255,127,17, 0.3);
|
background: rgba(255, 127, 17, 0.3);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
@@ -114,6 +122,7 @@ header.top-bar h1 a {
|
|||||||
.trainee-team {
|
.trainee-team {
|
||||||
margin-top: 2em;
|
margin-top: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.trainee-team .thumbnail {
|
.trainee-team .thumbnail {
|
||||||
max-height: 150px;
|
max-height: 150px;
|
||||||
}
|
}
|
||||||
@@ -132,12 +141,24 @@ header.top-bar h1 a {
|
|||||||
border: solid 1px #CCC;
|
border: solid 1px #CCC;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#footer {
|
#footer {
|
||||||
|
margin-bottom: 150px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#footer-widgets {
|
||||||
border-top: solid 2px #FF7F11;
|
border-top: solid 2px #FF7F11;
|
||||||
background: #3F3F37;
|
background: #3F3F37;
|
||||||
margin-bottom: 150px;
|
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
border-radius: 0 0 5px 5px;
|
border-radius: 0 0 5px 5px;
|
||||||
color: #EEF4D4;
|
color: #EEF4D4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#binarity {
|
||||||
|
margin-top: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 639px) {
|
||||||
|
.menu > li {
|
||||||
|
display: block !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
+2
-3
@@ -1,11 +1,10 @@
|
|||||||
@extendVisitor('defaultLayout')
|
@extendVisitor('defaultLayout')
|
||||||
|
|
||||||
@section('topMenu')
|
@section('topMenu')
|
||||||
<div class="top-bar-right">
|
@include(\App\CMS\Helpers\Template::name('commonHeader'))
|
||||||
@widgetArea('mainMenu')
|
|
||||||
</div>
|
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
|
|
||||||
<div class="row content-container">
|
<div class="row content-container">
|
||||||
|
|||||||
+1
-12
@@ -1,18 +1,7 @@
|
|||||||
@extendVisitor('defaultLayout')
|
@extendVisitor('defaultLayout')
|
||||||
|
|
||||||
@section('topMenu')
|
@section('topMenu')
|
||||||
<div class="top-bar-left hide-for-small-only">
|
@include(\App\CMS\Helpers\Template::name('commonHeader'))
|
||||||
<h1 class="text-center">
|
|
||||||
<a href="{{route('page.index')}}">
|
|
||||||
<img class="logo" src="@asset('visitor/images/logo.png')" alt="">
|
|
||||||
{{setting('pageName')}}
|
|
||||||
</a>
|
|
||||||
</h1>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="top-bar-right">
|
|
||||||
@widgetArea('mainMenu')
|
|
||||||
</div>
|
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
|
|||||||
+18
-11
@@ -1,14 +1,23 @@
|
|||||||
@extendVisitor('defaultLayout', ['test' => 1])
|
@extendVisitor('defaultLayout', ['test' => 1])
|
||||||
|
|
||||||
@section('topMenu')
|
@section('topMenu')
|
||||||
<div class="hide-for-small-only">
|
<h1 class="text-center">
|
||||||
<h1 class="text-center">
|
<a href="{{route('page.index')}}">
|
||||||
<a href="{{route('page.index')}}">
|
<img class="logo" src="@asset('visitor/images/logo.png')" alt="">
|
||||||
<img class="logo" src="@asset('visitor/images/logo.png')" alt="">
|
{{setting('pageName')}}
|
||||||
{{setting('pageName')}}
|
</a>
|
||||||
</a>
|
</h1>
|
||||||
</h1>
|
|
||||||
|
<div class="title-bar text-right" data-responsive-toggle="main-menu" data-hide-for="medium">
|
||||||
|
<button class="menu-icon" type="button" data-toggle></button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<header class="hide-for-small hide-for-medium hide-for-large top-bar centered text-center">
|
||||||
|
<div id="main-menu">
|
||||||
|
@widgetArea('mainMenu')
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
@@ -29,11 +38,9 @@
|
|||||||
<button @if($i == 0) class="is-active" @endif data-slide="{{$i}}"></button>
|
<button @if($i == 0) class="is-active" @endif data-slide="{{$i}}"></button>
|
||||||
@endforeach
|
@endforeach
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
{{--<div class="stripe orbit-top"></div>--}}
|
|
||||||
{{--<div class="stripe orbit-bottom"></div>--}}
|
|
||||||
</div>
|
</div>
|
||||||
<header class="top-bar centered text-center">
|
|
||||||
|
<header class="hide-for-small-only top-bar centered text-center">
|
||||||
@widgetArea('mainMenu')
|
@widgetArea('mainMenu')
|
||||||
</header>
|
</header>
|
||||||
@endif
|
@endif
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
<div class="title-bar text-right" data-responsive-toggle="main-menu" data-hide-for="medium">
|
||||||
|
<button class="menu-icon" type="button" data-toggle></button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="main-menu">
|
||||||
|
<div class="top-bar-left hide-for-medium-only hide-for-small-only">
|
||||||
|
<h1 class="text-center">
|
||||||
|
<a href="{{route('page.index')}}">
|
||||||
|
<img class="logo" src="@asset('visitor/images/logo.png')" alt="">
|
||||||
|
{{setting('pageName')}}
|
||||||
|
</a>
|
||||||
|
</h1>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="top-bar-right">
|
||||||
|
@widgetArea('mainMenu')
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
@@ -45,10 +45,10 @@
|
|||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
|
|
||||||
|
|
||||||
<footer id="footer" class="row">
|
<footer class="row" id="footer">
|
||||||
<div id="footer-widgets text-center">
|
<div id="footer-widgets" class=" text-center">
|
||||||
@widgetArea('footer')
|
@widgetArea('footer')
|
||||||
</div>
|
</div>
|
||||||
<div id="binarity" class="text-right">
|
<div id="binarity" class="text-right">
|
||||||
<a target="_blank" href="https://www.binarity.cz/"> binarity s.r.o.</a>
|
<a target="_blank" href="https://www.binarity.cz/"> binarity s.r.o.</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user