From 41d89842e6ef58f24f9f9b730cde9f3a7ddb5491 Mon Sep 17 00:00:00 2001 From: merdan Date: Fri, 14 Feb 2020 17:14:19 +0500 Subject: [PATCH] mobile version render homepage --- public/assets/stylesheet/custom.css | 280 ++++++++++++++++++ .../Shared/Layouts/BilettmLayout.blade.php | 2 +- .../mobile/Layouts/EventsLayout.blade.php | 41 +++ .../mobile/Pages/CategoryEventsPage.blade.php | 29 ++ 4 files changed, 351 insertions(+), 1 deletion(-) create mode 100644 resources/views/mobile/Layouts/EventsLayout.blade.php create mode 100644 resources/views/mobile/Pages/CategoryEventsPage.blade.php diff --git a/public/assets/stylesheet/custom.css b/public/assets/stylesheet/custom.css index cdaa8dd4..1cb2ea2b 100644 --- a/public/assets/stylesheet/custom.css +++ b/public/assets/stylesheet/custom.css @@ -2147,3 +2147,283 @@ choose_seats_content > div.tab-pane.fade{ background-color: rgba(211,61,51,1); border-color: rgba(211,61,51,1); } + +#mobile { + display: none !important; } +@media only screen and (max-width: 992px) { + #mobile { + display: block !important; } } + +#mobile .navbar-brand { + position: absolute; + left: 50%; + top: 8px; + transform: translateX(-50%); } +#mobile .navbar-collapse { + position: absolute; + top: 70px; } +#mobile .header-search-a { + margin-top: 5px; + margin-right: 32px; } +#mobile .header-search-a i { + font-size: 20px; } +#mobile nav.navbar { + background-image: url(../images/bg/menu-bg.svg); + background-position: center center; + background-size: cover; + padding-right: 0; + padding-left: 0; + height: 70px; } +#mobile .navbar-toggler { + border: none; + margin-left: 32px; + padding: 0; } +#mobile .navbar-toggler:focus { + outline: none; + border: none; } +#mobile .navbar-toggler span { + color: #ffffff !important; + background-image: none !important; + font-size: 24px; } +#mobile #mob-top-slider .bg-img { + background-size: cover; + background-position: center center; + width: 100%; + padding-top: 75%; } +#mobile #mob-top-slider .owl-dots { + display: none; } +#mobile #mob-top-slider .owl-nav { + display: none; } +#mobile .mob-footer h2 { + font-size: 20px; } +#mobile .mob-footer p { + font-size: 13px; + color: #ffffff; + width: 100%; } +#mobile .mob-footer p.all-rights { + border-top: 1px solid #ffffff; + margin: 15px 0 0 0; + padding: 23px 0; } +#mobile .mob-footer input { + height: 36px; } +#mobile .mob-footer input[type=text]::placeholder { + color: #ab4541; } +#mobile .mob-footer input[type=text]:focus { + outline: none !important; + border: none !important; + font-size: 12px; } +#mobile .mob-footer input[type=submit] { + background-color: unset; + border: 1px solid #ffffff; + border-radius: 5px; + color: #ffffff; + font-size: 12px; } +#mobile .mob-footer ul { + list-style: none; + padding: 0 10px; } +#mobile .mob-footer li { + margin-bottom: 10px; } +#mobile .mob-footer li a { + color: #ffffff; + font-size: 10px; } +#mobile .title-bottom-line { + height: 3px; + margin-top: 2px; + width: 40px; + background-color: #d43d34; } +#mobile .section-section h5 { + font-size: 17px; + font-weight: bold; + margin-bottom: -5px; } +#mobile .section-section .show-all { + font-size: 13px; + color: #ffffff; + background-color: #d43d34; + border-radius: 5px; + line-height: 36px; + padding: 0 13px; + margin-top: -1px; } +#mobile .section-section .dropdown-menu { + min-width: unset; + padding: 0 5px; } +#mobile .section-section .dropdown-menu li:last-child a { + border: none; } +#mobile .section-menu-ul { + padding-left: 0; } +#mobile .section-menu-ul li { + display: inline-block; + margin-right: 10px; } +#mobile .section-menu-ul li a { + font-size: 11px; + color: #000000; } +#mobile .owl-carousel .owl-stage::after { + content: unset !important; } +#mobile #section-slider1 .item, #mobile #section-slider2 .item, #mobile #section-slider3 .item { + text-align: center; + border-radius: 10px; } +#mobile #section-slider1 .overlay-details.smalll, #mobile #section-slider2 .overlay-details.smalll, #mobile #section-slider3 .overlay-details.smalll { + position: absolute; + bottom: 0; } +#mobile #section-slider1 .overlay-details.smalll .title, #mobile #section-slider2 .overlay-details.smalll .title, #mobile #section-slider3 .overlay-details.smalll .title { + font-size: 22px; + font-weight: bold; } +#mobile #section-slider1 .owl-nav, #mobile #section-slider2 .owl-nav, #mobile #section-slider3 .owl-nav { + display: none; } +#mobile #section-slider1 .owl-dots, #mobile #section-slider2 .owl-dots, #mobile #section-slider3 .owl-dots { + padding-top: 20px; } +#mobile #section-slider1 .owl-dots .owl-dot span, #mobile #section-slider2 .owl-dots .owl-dot span, #mobile #section-slider3 .owl-dots .owl-dot span { + height: 4px; + width: 20px; + background-color: #f1c4c1; } +#mobile #section-slider1 .owl-dots .owl-dot.active span, #mobile #section-slider2 .owl-dots .owl-dot.active span, #mobile #section-slider3 .owl-dots .owl-dot.active span { + background-color: #d53c34; } +#mobile .container-checkbox .checkmark::after { + left: 4px; + top: 2px; + width: 5px; + height: 8px; + border: solid black; + border-width: 0px 1.5px 1.5px 0px; } +#mobile #login-login, #mobile #login-signup { + font-size: 14px; + padding: 5px 10px; } +#mobile input[type=text]::placeholder { + font-size: 14px !important; } +#mobile input[type=email]::placeholder { + font-size: 14px !important; } +#mobile input:focus { + outline: none; } +#mobile #mbirth select, #mobile #mbirth option { + font-size: 14px !important; + height: 40px; } +#mobile #mbirth > .col-4 { + padding: 0 3px; } +#mobile #msubmit-a { + background-color: #d43d34; + color: #ffffff; + padding: 10px 60px; + border-radius: 5px; } +#mobile #mlogin-form input[type=text] { + color: #000000; + font-size: 24px; + width: 100%; + border: none; + padding-left: 0; + border-bottom: 2px solid #808080; + margin: 10px 0; + padding-bottom: 15px; } +#mobile #mlogin-form input[type=password] { + color: #000000; + font-size: 24px; + width: 100%; + border: none; + padding-left: 0; + border-bottom: 2px solid #808080; + margin: 10px 0; + padding-bottom: 15px; } +#mobile #mlogin-form input[type=text]:focus { + outline: none; } +#mobile #mlogin-form input[type=password]:focus { + outline: none; } +#mobile #mlogin-form .form-group input[type=text]::placeholder { + color: black !important; } +#mobile #mlogin-form .form-group input[type=password]::placeholder { + color: black !important; } +#mobile #mlogin-forgot { + font-size: 22px; + color: #000000; } +#mobile #mlogin-login, #mobile #mlogin-signup { + width: 48%; + border-radius: 5px; + text-align: center; + padding: 10px 10px; + font-size: 14px; } +#mobile #mlogin-login { + background-color: #d43d34; + color: #ffffff; } +#mobile #mlogin-signup { + border: 1px solid #000000; + color: #000000; } +#mobile #mlogin-term { + width: 100%; + display: block; + text-align: center; + margin-top: 25px; + color: #000000; + font-size: 20px; + text-decoration: underline; } +#mobile #mcontinue-as-guest { + width: 100%; + color: #d43d34; + border: 1px solid #d43d34; + border-radius: 5px; + display: block; + text-align: center; + padding: 10px; + font-size: 24px; } +#mobile #mchoose_seats li { + margin: 0 5px; } +#mobile #mchoose_seats li a { + color: #000000; + border: 1px solid #000000; + border-radius: 5px; + font-size: 24px; + padding: 15px 50px; } +#mobile #mchoose_seats li a.active.show { + color: #ffffff; + background-color: #d43d34; + border-color: #d43d34; } +#mobile #mchoose_seats_content > div.active.show .seats-top-overlay { + display: none; } +#mobile #mseats-form input:checked ~ label svg { + fill: #d43d34; } +#mobile tr.first-tr td { + font-size: 6px; } +#mobile tr.last-tr td { + font-size: 6px; } +#mobile tr td:first-child { + font-size: 8px; } +#mobile tr { + height: 10px; } +#mobile td { + padding: 0 1px !important; + line-height: 1.1; } +#mobile td label { + margin-bottom: 0 !important; } +#mobile td svg { + width: 10px !important; + height: 10px !important; } +#mobile .seats-top-overlay { + width: 100%; + display: block; } +#mobile #mchoose_seats_content > div.active.show .seats-top-overlay { + display: none; } +#mobile #mconfirm-seats { + font-size: 14px; + color: #d43d34; + display: block; + width: 100%; + border: 1px solid #d43d34; + border-radius: 5px; + padding: 7px 20px; } +#mobile .review-and-pay span { + position: absolute; + color: #ffffff; + background-color: #d43d34; + border-radius: 2px; + padding: 5px 10px; + top: 0; + font-size: 10px; + margin-top: 5px; + margin-left: 5px; } +#mobile .review-and-pay-form input[type=text]::placeholder, #mobile .review-and-pay-form input[type=email]::placeholder { + font-size: 12px !important; } +#mobile .review-and-pay-form input[type=text] { + font-size: 14px; } +#mobile .review-and-pay-form .form-group { + margin-bottom: 0; } +#mobile .review-and-pay-form input { + padding-bottom: 0; } +#mobile #navbarSupportedContent { + z-index: 100; + background-color: #ffffff; } diff --git a/resources/views/Shared/Layouts/BilettmLayout.blade.php b/resources/views/Shared/Layouts/BilettmLayout.blade.php index b0f4bc53..ad50d989 100644 --- a/resources/views/Shared/Layouts/BilettmLayout.blade.php +++ b/resources/views/Shared/Layouts/BilettmLayout.blade.php @@ -37,7 +37,7 @@ -
+
@include($folder.'.Partials.PublicHeader') @yield('content') @stack('after_content') diff --git a/resources/views/mobile/Layouts/EventsLayout.blade.php b/resources/views/mobile/Layouts/EventsLayout.blade.php new file mode 100644 index 00000000..08b232c1 --- /dev/null +++ b/resources/views/mobile/Layouts/EventsLayout.blade.php @@ -0,0 +1,41 @@ +@extends('Shared.Layouts.BilettmLayout',['folder' => 'mobile']) + +@section('after_styles') + +@endsection + +@section('content') + {{\DaveJamesMiller\Breadcrumbs\Facades\Breadcrumbs::render('category',$category)}} + @include("desktop.Partials.FilterMenu") + + @yield('inner_content') + +@endsection +@push('after_styles') + +@endpush +@section('after_scripts') + + + + +@endsection diff --git a/resources/views/mobile/Pages/CategoryEventsPage.blade.php b/resources/views/mobile/Pages/CategoryEventsPage.blade.php new file mode 100644 index 00000000..56fdca9a --- /dev/null +++ b/resources/views/mobile/Pages/CategoryEventsPage.blade.php @@ -0,0 +1,29 @@ +@extends("mobile.Layouts.EventsLayout") +@section('inner_content') +
+
+
+
+

{{$category->title}}

+
+
+
+ +
+
+
+ @foreach($events as $event) + @include("desktop.EventsList.{$category->view_type}") + @endforeach +
+
+ {{$events->appends(['sort'=>$sort,'start'=>$start,'end'=>$end])->links()}} +
+
+
+ +
+
+
+
+@endsection