Commit 92abfc4a authored by nirgendswo's avatar nirgendswo

adding

parent 0ac2a10c
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -10,9 +10,12 @@
@mixin fuzzy-cms-button() {
@include crispy-boilerplate-button(){
&--navigation {
float: left;
padding: 0;
@media (min-width: $reflex-md) {
display: inline-block;
float: right;
border: 0;
padding: 5px;
@media (min-width: $reflex-sm) {
display: none;
}
}
......
......@@ -11,13 +11,25 @@ $site-navigation-color--hover: white;
@mixin fuzzy-cms-site-navigation() {
.site-navigation {
display: none;
line-height: 3.2em;
text-align: right;
text-align: left;
@media (min-width: $reflex-sm) {
display: block;
text-align: right;
}
&__item {
color: $color;
display: inline-block;
margin: 0 0 0 15px;
display: block;
margin: 0;
@media (min-width: $reflex-sm) {
display: inline-block;
margin: 15px 0 0 5px;
}
&--current,
&:hover {
......@@ -51,5 +63,9 @@ $site-navigation-color--hover: white;
&__text {
color: $color;
}
&-button {
@extend .clearfix;
}
}
}
......@@ -34,6 +34,11 @@
&--date {
vertical-align: text-top;
}
&--navigation {
height: 40px;
width: 40px;
}
}
@include crispy-boilerplate-body() {
......
......@@ -2,12 +2,7 @@
@inject('pageRepository', 'App\PageRepository')
@section('header')
<div class="grid">
<div class="grid__col-xs-12">
</div>
</div>
@endsection
@stop
@section('content')
<div class="grid">
......@@ -43,4 +38,18 @@
</section>
</div>
</div>
@endsection
@stop
@section('main')
<div class="grid grid--justify-center">
<div class="grid__col-xs-12 grid__col-sm-6">
<main class="site-main">
<div class="hutch">
<div class="hutch__content">
@yield('content')
</div>
</div>
</main>
</div>
</div>
@stop
......@@ -2,11 +2,6 @@
@inject('viewHelper', 'App\ViewHelper')
@section('header')
<div class="grid">
<div class="grid__col-xs-12">
</div>
</div>
@endsection
@section('content')
......
......@@ -26,7 +26,7 @@
Fuzzy CMS
</div>
</a>
@include('FuzzyCms.views.navigation')
@include('FuzzyCms.views.partials.navigation')
</div>
</div>
</div>
......@@ -47,17 +47,19 @@
</div>
@show
<div class="grid">
<div class="grid__col-xs-12">
<main class="site-main">
<div class="hutch">
<div class="hutch__content">
@yield('content')
@section('main')
<div class="grid">
<div class="grid__col-xs-12">
<main class="site-main">
<div class="hutch">
<div class="hutch__content">
@yield('content')
</div>
</div>
</div>
</main>
</main>
</div>
</div>
</div>
@show
<footer class="site-footer">
<div class="grid">
......
@inject('pageRepository', 'App\PageRepository')
@inject('viewHelper', 'App\ViewHelper')
<div class="site-navigation-button">
<button class="button button--navigation">
<svg class="icon icon--navigation">
<use xlink:href="/assets/svg/icons.svg#menu" />
</svg>
</button>
</div>
<nav class="site-navigation">
@foreach($pageRepository->find(
['type' => 'page', 'exclude' => ['imprint']],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment