diff --git a/templates/PragueTennisCamp/Resources/assets/css/app.css b/templates/PragueTennisCamp/Resources/assets/css/app.css index 48b3e9f5..1fd34add 100644 --- a/templates/PragueTennisCamp/Resources/assets/css/app.css +++ b/templates/PragueTennisCamp/Resources/assets/css/app.css @@ -3,16 +3,37 @@ body { font-family: Ubuntu; text-align: justify; - background: #eef4d4 url("./images/bg.png"); + background: #EEF4D4 url("./images/bg.png"); + /*background: url("./images/clay-bg.jpg") no-repeat fixed;*/ + /*background-size: cover;*/ } +h1, h2, h3, h4 { + font-family: Comfortaa; + color: #FF7F11; +} + +a { + color: #FF7F11; +} + +/** HEADER **/ header.top-bar { - background: #3f3f37; + background: #3F3F37; padding: 0; + border-bottom: solid 1px #FF7F11; } header.top-bar h1 { - font-size: 100%; + font-size: 130%; + line-height: 38px; + margin-top: 0; + margin-bottom: 0; + text-align: center; +} + +header.top-bar.centered .menu li { + display: inline-block; } header.top-bar ul { @@ -23,59 +44,53 @@ header.top-bar a { color: white; } +header.top-bar h1 a { + color: #FF7F11; +} + .menu .active > a { - background: #ff7f11; + background: #FF7F11; } .logo { - max-height: 35px; -} - -h1, h2, h3, h4 { - font-family: Comfortaa; - color: #ff7f11; + max-height: 25px; + margin: 0 15px; } +/** END HEADER **/ .stripe { - padding: 50px; - margin: 50px 0; width: 100%; } .stripe.light { - background: rgba(0, 0, 0, 0.1); -} - -.stripe h1 { - color: white; - font-size: 270%; -} - -.stripe p { - padding-left: 150px; + background: rgba(0, 0, 0, 0.3); } .content-container.row { + margin-top: 1em; line-height: 170%; padding: 1em; - background: #FFFEF0; + background: #F8FEF0; + box-shadow: 0 0 10px #CBCBCB; + border-radius: 5px 5px 0 0; } .orbit { position: relative; overflow: hidden; + background: silver; } .orbit-bullets { - margin-top: -54px; - padding-bottom: 11px; + margin-top: -100px; + padding-bottom: 20px; } .orbit .stripe { height: 20px; - background: rgba(255,255,255, 0.2); + background: rgba(255,127,17, 0.3); position: absolute; left: 0; right: 0; @@ -89,26 +104,40 @@ h1, h2, h3, h4 { .orbit-bottom { bottom: 0; + border-bottom: solid 1px #3F3F37; } .slow { - transition-duration: 4500ms !important; + transition-duration: 3500ms !important; } +.trainee-team { + margin-top: 2em; +} .trainee-team .thumbnail { max-height: 150px; } -#footer { - margin-top: 10em; -} - .rounded { border-radius: 50%; } +.title-photo img { + border-radius: 0 0 5px 5px; +} + .trainer { max-width: 25%; padding: 3px; border: solid 1px #CCC; } + + +#footer { + border-top: solid 2px #FF7F11; + background: #3F3F37; + margin-bottom: 150px; + padding: 1em; + border-radius: 0 0 5px 5px; + color: #EEF4D4; +} diff --git a/templates/PragueTennisCamp/Resources/assets/css/images/clay-bg.jpg b/templates/PragueTennisCamp/Resources/assets/css/images/clay-bg.jpg new file mode 100644 index 00000000..ac4adf4c Binary files /dev/null and b/templates/PragueTennisCamp/Resources/assets/css/images/clay-bg.jpg differ diff --git a/templates/PragueTennisCamp/Resources/assets/images/logo.png b/templates/PragueTennisCamp/Resources/assets/images/logo.png index 3a47e570..3c957d70 100644 Binary files a/templates/PragueTennisCamp/Resources/assets/images/logo.png and b/templates/PragueTennisCamp/Resources/assets/images/logo.png differ diff --git a/templates/PragueTennisCamp/Resources/views/modules/contactform/_partials/form.blade.php b/templates/PragueTennisCamp/Resources/views/modules/contactform/_partials/form.blade.php index 336d769b..e7d99aae 100644 --- a/templates/PragueTennisCamp/Resources/views/modules/contactform/_partials/form.blade.php +++ b/templates/PragueTennisCamp/Resources/views/modules/contactform/_partials/form.blade.php @@ -1,13 +1,28 @@
{!! csrf_field() !!} -
+
-
+
-
+
+
+ + +
+ +
+
+ +
+ +
+ +
+ +
diff --git a/templates/PragueTennisCamp/Resources/views/modules/contactform/visitor/default.blade.php b/templates/PragueTennisCamp/Resources/views/modules/contactform/visitor/default.blade.php index 09f233ef..71cd99c6 100644 --- a/templates/PragueTennisCamp/Resources/views/modules/contactform/visitor/default.blade.php +++ b/templates/PragueTennisCamp/Resources/views/modules/contactform/visitor/default.blade.php @@ -1,61 +1,36 @@ @extendVisitor('defaultLayout') + +@section('topMenu') +
+ @widgetArea('mainMenu') +
+@endsection + @section('content') -
+

Kontakt

-
-
-

Kontakt

-

{{$page->moduleSettings['companyName']}}

-

- {!! nl2br($page->moduleSettings['address']) !!} -
- -
- tel.: {{$page->moduleSettings['phone']}}
- e-mail: {{$page->moduleSettings['email']}} -

-
-
-
-
-
+
+

Kontakt

-
-
-

Napište nám

+

{{$page->moduleSettings['companyName']}}

+ +

+ {!! nl2br($page->moduleSettings['address']) !!} +

+ +

+ tel.: {{$page->moduleSettings['phone']}}
+ e-mail: {{$page->moduleSettings['email']}} +

+
+ +
@include('modules.contactform._partials.form')
-@endsection - -@section('javascripts') - - - @endsection \ No newline at end of file diff --git a/templates/PragueTennisCamp/Resources/views/modules/staticpages/visitor/default.blade.php b/templates/PragueTennisCamp/Resources/views/modules/staticpages/visitor/default.blade.php index 3a28b608..3e45a3ef 100644 --- a/templates/PragueTennisCamp/Resources/views/modules/staticpages/visitor/default.blade.php +++ b/templates/PragueTennisCamp/Resources/views/modules/staticpages/visitor/default.blade.php @@ -1,14 +1,30 @@ @extendVisitor('defaultLayout') +@section('topMenu') + + +
+ @widgetArea('mainMenu') +
+@endsection + @section('content') + @if (!empty($page->titlePhoto)) +
+ +
+ @endif

{{$page->title}}

{!! $page->pageContent !!} -
- - - @endsection \ No newline at end of file diff --git a/templates/PragueTennisCamp/Resources/views/modules/staticpages/visitor/homepage.blade.php b/templates/PragueTennisCamp/Resources/views/modules/staticpages/visitor/homepage.blade.php index f3ea1333..e9ea5e00 100644 --- a/templates/PragueTennisCamp/Resources/views/modules/staticpages/visitor/homepage.blade.php +++ b/templates/PragueTennisCamp/Resources/views/modules/staticpages/visitor/homepage.blade.php @@ -1,4 +1,15 @@ -@extendVisitor('defaultLayout') +@extendVisitor('defaultLayout', ['test' => 1]) + +@section('topMenu') + +@endsection @section('content') @php $images = $page->files()->where('mime_type', 'like', 'image%')->get(); @endphp @@ -19,20 +30,22 @@ @endforeach -
-
+ {{--
--}} + {{--
--}}
+
+ @widgetArea('mainMenu') +
@endif
{!! $page->pageContent !!} -
- +

{{$page->traineeTeamCategory->name}}

@foreach($page->traineeTeamCategory->content as $i => $subpage) - @endforeach -
@endsection \ No newline at end of file diff --git a/templates/PragueTennisCamp/Resources/views/visitor/defaultLayout.blade.php b/templates/PragueTennisCamp/Resources/views/visitor/defaultLayout.blade.php index b8e7cc64..edcefc34 100644 --- a/templates/PragueTennisCamp/Resources/views/visitor/defaultLayout.blade.php +++ b/templates/PragueTennisCamp/Resources/views/visitor/defaultLayout.blade.php @@ -12,47 +12,41 @@ + @if (!empty($googleAnalyticsCode)) + + @endif + @include('visitor.metaInformation') -@if (!empty($googleAnalyticsCode)) - -@endif
- -
- @widgetArea('mainMenu') -
+ @yield('topMenu')
@yield('content')
-