diff --git a/resources/views/front/README.txt b/resources/views/front/README.txt new file mode 100644 index 0000000..3b942b0 --- /dev/null +++ b/resources/views/front/README.txt @@ -0,0 +1,4 @@ +git init +git remote add origin https://ldc-web:phaeZ6ej@voight001.lesidc.com/boutique-cnc-themes +git fetch origin +git checkout -b master --track origin/master \ No newline at end of file diff --git a/resources/views/front/canard/auth/activate.blade.php b/resources/views/front/canard/auth/activate.blade.php deleted file mode 100644 index 14b7ea4..0000000 --- a/resources/views/front/canard/auth/activate.blade.php +++ /dev/null @@ -1,18 +0,0 @@ -@extends('layouts.layout') - -@section('title', __('Inscription')) - -@section('content') -
-
- -
-
- -
-

Inscription

-
-

{{ $message }}

-
-
-@endsection diff --git a/resources/views/front/canard/auth/login-bo.blade.php b/resources/views/front/canard/auth/login-bo.blade.php deleted file mode 100644 index fd3cfd6..0000000 --- a/resources/views/front/canard/auth/login-bo.blade.php +++ /dev/null @@ -1,49 +0,0 @@ -@extends('layouts.layout') - -@section('title', __('Connexion')) - -@section('content') -
-
- -
-
- -
-

Connexion BO

- -
-
- @csrf - @if ($errors->any()) -
-
    - @foreach ($errors->all() as $error) -
  • {{ $error }}
  • - @endforeach -
-
- @endif -
- -
-
- -
-
- -
-
- -
- - -
-
-
-@endsection diff --git a/resources/views/front/canard/auth/login.blade.php b/resources/views/front/canard/auth/login.blade.php deleted file mode 100644 index 6714fa0..0000000 --- a/resources/views/front/canard/auth/login.blade.php +++ /dev/null @@ -1,54 +0,0 @@ -@extends('layouts.layout') - -@section('title', __('Connexion')) - -@section('content') -
-
- -
-
- -
-

Connexion

- -
-
- @csrf - @if ($errors->any()) -
-
    - @foreach ($errors->all() as $error) -
  • {{ $error }}
  • - @endforeach -
-
- @endif -
- -
-
- -
-
- -
-
- -
- - -
- - -
-
-@endsection diff --git a/resources/views/front/canard/auth/passwords/forgot.blade.php b/resources/views/front/canard/auth/passwords/forgot.blade.php deleted file mode 100644 index 54ecde7..0000000 --- a/resources/views/front/canard/auth/passwords/forgot.blade.php +++ /dev/null @@ -1,43 +0,0 @@ -@extends('layouts.layout') - -@section('title', 'Mot de passe oublié') - -@section('content') -
-
- -
-
- -
-

Mot de passe oublié

-
-
- @csrf - @if ($errors->any()) -
-
    - @foreach ($errors->all() as $error) -
  • {{ $error }}
  • - @endforeach -
-
- @endif - @if (session('success')) -
- {{ session('success') }} -
- @endif -
-

Pour que nous puissions vous envoyer un lien de réinitialisation de votre mot de passe, merci de nous indiquer l'adresse e-mail saisie lors de votre inscription.

-
-
-
- -
-
- -
-
-
-@endsection diff --git a/resources/views/front/canard/auth/passwords/reset-ok.blade.php b/resources/views/front/canard/auth/passwords/reset-ok.blade.php deleted file mode 100644 index 9070da5..0000000 --- a/resources/views/front/canard/auth/passwords/reset-ok.blade.php +++ /dev/null @@ -1,18 +0,0 @@ -@extends('layouts.layout') - -@section('title', 'Mot de passe modifié') - -@section('content') -
-
- -
-
- -
-

Changement de votre mot de passe

-
-

Votre Mot de passe a bien été modifié.

-
-
-@endsection diff --git a/resources/views/front/canard/auth/passwords/reset.blade.php b/resources/views/front/canard/auth/passwords/reset.blade.php deleted file mode 100644 index d65370b..0000000 --- a/resources/views/front/canard/auth/passwords/reset.blade.php +++ /dev/null @@ -1,46 +0,0 @@ -@extends('layouts.layout') - -@section('title', 'Changement de votre mot de passe') - -@section('content') -
-
- -
-
- -
-

Changement de votre mot de passe

-
-
- @csrf - @if ($errors->any()) -
-
    - @foreach ($errors->all() as $error) -
  • {{ $error }}
  • - @endforeach -
-
- @endif - @if (session('success')) -
- {{ session('success') }} -
- @endif -
-
- -
-
-
-
- -
-
- - -
-
-
-@endsection diff --git a/resources/views/front/canard/auth/register-success.blade.php b/resources/views/front/canard/auth/register-success.blade.php deleted file mode 100644 index 8fba90b..0000000 --- a/resources/views/front/canard/auth/register-success.blade.php +++ /dev/null @@ -1,21 +0,0 @@ -@extends('layouts.layout') - -@section('title', __('Inscription')) - -@section('content') -
-
- -
-
- -
-
-
-
Félicitations
-
Votre compte a bien été créé !
Vous allez recevoir un mail de confirmation
sur l’adresse {{ $mail }}
- Connexion -
-
-
-@endsection diff --git a/resources/views/front/canard/auth/register.blade.php b/resources/views/front/canard/auth/register.blade.php deleted file mode 100644 index 507f701..0000000 --- a/resources/views/front/canard/auth/register.blade.php +++ /dev/null @@ -1,115 +0,0 @@ -@extends('layouts.layout') - -@section('title', __('Inscription')) - -@section('content') -
-
- -
-
- -
-

Inscription

- -
- @if (session('success')) -
-
Félicitations
-
Votre compte a bien été créé !
Vous allez recevoir un mail de confirmation
sur l’adresse exemple@mail.fr
- Connexion -
- @else -
- @csrf - @if ($errors->any()) -
-
    - @foreach ($errors->all() as $error) -
  • {{ $error }}
  • - @endforeach -
-
- @endif -
-
- -
-
- -
-
-
-
- -
-
- -
-
- -
-
- -
-
-
-
- -
-
- -
-
-
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- - - -
- -
-
- -
- -
*Champs obligatoires
- -
- - - @endif -
-
-@endsection diff --git a/resources/views/front/canard/basket.blade.php b/resources/views/front/canard/basket.blade.php deleted file mode 100644 index 28d38c4..0000000 --- a/resources/views/front/canard/basket.blade.php +++ /dev/null @@ -1,6 +0,0 @@ -{{-- not used --}} -@extends('layouts.layout') - -@section('content') -

Mon panier

-@endsection diff --git a/resources/views/front/canard/breadcrumb/breadcrumb-body.blade.php b/resources/views/front/canard/breadcrumb/breadcrumb-body.blade.php deleted file mode 100644 index 6c99ed2..0000000 --- a/resources/views/front/canard/breadcrumb/breadcrumb-body.blade.php +++ /dev/null @@ -1,7 +0,0 @@ -@hasSection('breadcrumb') -@if(Breadcrumbs::exists(app()->view->getSections()['breadcrumb'])) -{{ Breadcrumbs::render(app()->view->getSections()['breadcrumb'], $brParam ?? null) }} -@endif -@elseif(Breadcrumbs::exists(request()->route()->getName())) -{{ Breadcrumbs::render(request()->route()->getName()) }} -@endif diff --git a/resources/views/front/canard/breadcrumb/breadcrumb-head.blade.php b/resources/views/front/canard/breadcrumb/breadcrumb-head.blade.php deleted file mode 100644 index 87845d7..0000000 --- a/resources/views/front/canard/breadcrumb/breadcrumb-head.blade.php +++ /dev/null @@ -1,7 +0,0 @@ -@hasSection('breadcrumb') - @if(Breadcrumbs::exists(app()->view->getSections()['breadcrumb'])) - {{ Breadcrumbs::view('breadcrumbs::json-ld', app()->view->getSections()['breadcrumb'], $brParam ?? null) }} - @endif -@elseif(Breadcrumbs::exists(request()->route()->getName())) - {{ Breadcrumbs::view('breadcrumbs::json-ld', request()->route()->getName()) }} -@endif diff --git a/resources/views/front/canard/breadcrumb/layout.blade.php b/resources/views/front/canard/breadcrumb/layout.blade.php deleted file mode 100644 index 631db80..0000000 --- a/resources/views/front/canard/breadcrumb/layout.blade.php +++ /dev/null @@ -1,22 +0,0 @@ -@unless ($breadcrumbs->isEmpty()) -
-
-
-
- @foreach ($breadcrumbs as $breadcrumb) - - @if (!is_null($breadcrumb->url) && !$loop->last) - {{ $breadcrumb->title }} - @else - {{ $breadcrumb->title }} - @endif - - @if(count($breadcrumbs) > 1 and !$loop->last) - > - @endif - - @endforeach -
-
-
-@endunless diff --git a/resources/views/front/canard/contact.blade.php b/resources/views/front/canard/contact.blade.php deleted file mode 100644 index ba66d2a..0000000 --- a/resources/views/front/canard/contact.blade.php +++ /dev/null @@ -1,145 +0,0 @@ -@extends('layouts.layout') - -@section('title', __('Contactez-nous')) - -@section('content') - - - -
-
- -
-
- -
-

{{ __('Contactez-nous') }} {{-- $content->title --}}

- -
-
-
-
-
-

{{ __('Bonjour,') }}

-

{{ __('Si vous avez une question à nous poser ou des remarques à formuler sur notre site, n\'hésitez pas à les inscrire dans le formulaire ci-contre. Merci d\'indiquer vos coordonnées exactes pour que nous puissions vous répondre prochainement.') }}

-

{{ __('Les informations qui vous concernent sont destinées à un usage interne et ne seront en aucun cas transmises à des tiers. Vous disposez d\'un droit d\'accès, de modification, de rectification et de suppression des données qui vous concernent (art. 34 de la loi "Informatique et Libertés").') }}

-
- {{--
- @if ($content !== null) - {!!$content->value!!} - @endif -
--}} - -
-
-
Téléphone :
-
02 43 00 00 00
-
-
-
Adresse :
-
Z.I. du Lay
5660 Saint-Jean Brévelay - France
-
-
- -
- -
-
-
-
- @csrf - {{-- @if ($errors->any()) - @foreach ($errors->all() as $error) -
{{ $error }}
- @endforeach - @endif --}} -
-
- - @foreach ($errors->get('last_name') as $message) -
{{ $message }}
- @endforeach -
-
- - @foreach ($errors->get('first_name') as $message) -
{{ $message }}
- @endforeach -
-
- -
- - @foreach ($errors->get('email') as $message) -
{{ $message }}
- @endforeach -
- -
- - @foreach ($errors->get('subject') as $message) -
{{ $message }}
- @endforeach -
- -
- - @foreach ($errors->get('order_ref') as $message) -
{{ $message }}
- @endforeach -
- -
- - @foreach ($errors->get('message') as $message) -
{{ $message }}
- @endforeach -
- -
-
- - - -
- @foreach ($errors->get('file') as $message) -
{{ $message }}
- @endforeach -
- -
- -
-
- -
- -
* {{ __('mandatory_fields') }}
- - {{-- IF MAIL IS SENT --}} - @if(!is_null($status)) - @if(session()->get('status')) -
-
-
Votre message a bien été envoyé !
-
Nos services mettent tout en oeuvre pour y répondre au plus vite.
-
- @else -
-
-
Oups ! Une erreur s’est produite...
-
Votre message n’a pas pu être envoyé.
Nous en sommes désolés et vous prions
de bien vouloir réessayer plus tard.
-
- @endif - @endif -
-
-
-
-
-
-@endsection - diff --git a/resources/views/front/canard/customer/dashboard.blade.php b/resources/views/front/canard/customer/dashboard.blade.php deleted file mode 100644 index ac4aa7c..0000000 --- a/resources/views/front/canard/customer/dashboard.blade.php +++ /dev/null @@ -1,129 +0,0 @@ -@extends('layouts.layout') - -@section('title', __('Mon Compte')) - -@section('content') -
-

{{ __('Mon Compte') }}

- -
- -
- {{-- route de déconnexion --}} - - @include('icons.close') - - - Deconnexion - -
-
- - @if ($errors->any()) -
- @foreach ($errors->all() as $error) -
{{ $error }}
- @endforeach -
- @elseif (session('success')) -
- {{ session('success') }} -
- @endif - -
-

Coordonnées

-

Pour modifier vos informations personnelles, rien de plus facile : il vous suffit de renseigner vos nouvelles données dans le formulaire ci-dessous !

-
- @csrf -
-
- - -
-
- - -
-
-
-
- - -
-
- - -
-
-
-
- - -
-
- - -
-
-
-
- - -
-
- - - - - - -
-
-
- -
-
- -
-
-
-
-

Modifier le mot de passe

-
- @csrf -
- -
-
- -
-
- -
-
-
-
-@endsection diff --git a/resources/views/front/canard/customer/my-orders.blade.php b/resources/views/front/canard/customer/my-orders.blade.php deleted file mode 100644 index ea6869e..0000000 --- a/resources/views/front/canard/customer/my-orders.blade.php +++ /dev/null @@ -1,35 +0,0 @@ -@extends('layouts.layout') - -@section('title', __('Mes Commandes')) - -@section('content') -
-

Mes Commandes

-
-
-
- -
-
Référence
-
Date
-
Total en €
-
Statut
- - @foreach ($orders as $order) -
- {{--Détails--}} -
- -
- {{\Carbon\Carbon::parse($order->date)->format('d/m/Y')}} -
-
@fmt_currency($order->total)
-
{{$order->status->label}}
- @endforeach -
-
-
-
-@endsection diff --git a/resources/views/front/canard/customer/order-detail.blade.php b/resources/views/front/canard/customer/order-detail.blade.php deleted file mode 100644 index 08c01c9..0000000 --- a/resources/views/front/canard/customer/order-detail.blade.php +++ /dev/null @@ -1,38 +0,0 @@ -@extends('layouts.layout',['brParam' => $order->reference]) - -@section('title', __('Détail Commande')) - -@section('breadcrumb', request()->route()->getName()) - -@section('content') -
-

Détail de votre commande du {{\Carbon\Carbon::parse($order->date)->format('d/m/Y')}}

-
-
-
-
Etat de votre commande : {{$order->status->label}}
-
Rappel de votre commande ref: {{ $order->reference }}
- @foreach ($order->lines as $line) -
-
{{ $line->quantity }} x
-
{{ $line->product->name }}
-
{{ $line->formattedTotalTtc }}
-
- @endforeach -
-
Total
-
{{ $order->formattedTotalTtc }}
-
-
- A retirer le {{$order->timeslot->day}} à {{$order->timeslot->time}}, à l’adresse suivante :
- Mon point de retrait express, 15 avenue du Boulevard, 72450 Nom-de-Ville -
- - - - {{--Voir l'itinéraire--}} -
-
-
-
-@endsection diff --git a/resources/views/front/canard/faq.blade.php b/resources/views/front/canard/faq.blade.php deleted file mode 100644 index 74cd584..0000000 --- a/resources/views/front/canard/faq.blade.php +++ /dev/null @@ -1,38 +0,0 @@ -@extends('layouts.layout') - -@section('title', __('FAQ')) - -@section('content') - - - -
-
- -
-
- -
-

{{ __('FAQ') }}

- -
-
-
-
- @foreach ($faq as $f) -

{{$f->question}}

-

{{$f->answer}}

- @endforeach -
-
-
-
-
- - {{-- -

FAQ


- @foreach ($faq as $f) -

{{$f->question}}

-

{{$f->answer}}

- @endforeach --}} -@endsection diff --git a/resources/views/front/canard/fonts/BerkshireSwash-Regular.woff b/resources/views/front/canard/fonts/BerkshireSwash-Regular.woff deleted file mode 100644 index 9f381c7..0000000 Binary files a/resources/views/front/canard/fonts/BerkshireSwash-Regular.woff and /dev/null differ diff --git a/resources/views/front/canard/fonts/BerkshireSwash-Regular.woff2 b/resources/views/front/canard/fonts/BerkshireSwash-Regular.woff2 deleted file mode 100644 index 92304aa..0000000 Binary files a/resources/views/front/canard/fonts/BerkshireSwash-Regular.woff2 and /dev/null differ diff --git a/resources/views/front/canard/fonts/Roboto-Black.woff b/resources/views/front/canard/fonts/Roboto-Black.woff deleted file mode 100644 index d77f5a1..0000000 Binary files a/resources/views/front/canard/fonts/Roboto-Black.woff and /dev/null differ diff --git a/resources/views/front/canard/fonts/Roboto-Black.woff2 b/resources/views/front/canard/fonts/Roboto-Black.woff2 deleted file mode 100644 index 8dff3b1..0000000 Binary files a/resources/views/front/canard/fonts/Roboto-Black.woff2 and /dev/null differ diff --git a/resources/views/front/canard/fonts/Roboto-BlackItalic.woff b/resources/views/front/canard/fonts/Roboto-BlackItalic.woff deleted file mode 100644 index 943e97e..0000000 Binary files a/resources/views/front/canard/fonts/Roboto-BlackItalic.woff and /dev/null differ diff --git a/resources/views/front/canard/fonts/Roboto-BlackItalic.woff2 b/resources/views/front/canard/fonts/Roboto-BlackItalic.woff2 deleted file mode 100644 index 7f51191..0000000 Binary files a/resources/views/front/canard/fonts/Roboto-BlackItalic.woff2 and /dev/null differ diff --git a/resources/views/front/canard/fonts/Roboto-Bold.woff b/resources/views/front/canard/fonts/Roboto-Bold.woff deleted file mode 100644 index 51f1e89..0000000 Binary files a/resources/views/front/canard/fonts/Roboto-Bold.woff and /dev/null differ diff --git a/resources/views/front/canard/fonts/Roboto-Bold.woff2 b/resources/views/front/canard/fonts/Roboto-Bold.woff2 deleted file mode 100644 index 8d1ec3a..0000000 Binary files a/resources/views/front/canard/fonts/Roboto-Bold.woff2 and /dev/null differ diff --git a/resources/views/front/canard/fonts/Roboto-BoldItalic.woff b/resources/views/front/canard/fonts/Roboto-BoldItalic.woff deleted file mode 100644 index d916f94..0000000 Binary files a/resources/views/front/canard/fonts/Roboto-BoldItalic.woff and /dev/null differ diff --git a/resources/views/front/canard/fonts/Roboto-BoldItalic.woff2 b/resources/views/front/canard/fonts/Roboto-BoldItalic.woff2 deleted file mode 100644 index ebca4c7..0000000 Binary files a/resources/views/front/canard/fonts/Roboto-BoldItalic.woff2 and /dev/null differ diff --git a/resources/views/front/canard/fonts/Roboto-Italic.woff b/resources/views/front/canard/fonts/Roboto-Italic.woff deleted file mode 100644 index 8e72e8d..0000000 Binary files a/resources/views/front/canard/fonts/Roboto-Italic.woff and /dev/null differ diff --git a/resources/views/front/canard/fonts/Roboto-Italic.woff2 b/resources/views/front/canard/fonts/Roboto-Italic.woff2 deleted file mode 100644 index 1714014..0000000 Binary files a/resources/views/front/canard/fonts/Roboto-Italic.woff2 and /dev/null differ diff --git a/resources/views/front/canard/fonts/Roboto-Light.woff b/resources/views/front/canard/fonts/Roboto-Light.woff deleted file mode 100644 index eec3617..0000000 Binary files a/resources/views/front/canard/fonts/Roboto-Light.woff and /dev/null differ diff --git a/resources/views/front/canard/fonts/Roboto-Light.woff2 b/resources/views/front/canard/fonts/Roboto-Light.woff2 deleted file mode 100644 index 0e0efd0..0000000 Binary files a/resources/views/front/canard/fonts/Roboto-Light.woff2 and /dev/null differ diff --git a/resources/views/front/canard/fonts/Roboto-LightItalic.woff b/resources/views/front/canard/fonts/Roboto-LightItalic.woff deleted file mode 100644 index b6b2525..0000000 Binary files a/resources/views/front/canard/fonts/Roboto-LightItalic.woff and /dev/null differ diff --git a/resources/views/front/canard/fonts/Roboto-LightItalic.woff2 b/resources/views/front/canard/fonts/Roboto-LightItalic.woff2 deleted file mode 100644 index b3300d9..0000000 Binary files a/resources/views/front/canard/fonts/Roboto-LightItalic.woff2 and /dev/null differ diff --git a/resources/views/front/canard/fonts/Roboto-Medium.woff b/resources/views/front/canard/fonts/Roboto-Medium.woff deleted file mode 100644 index b4f0629..0000000 Binary files a/resources/views/front/canard/fonts/Roboto-Medium.woff and /dev/null differ diff --git a/resources/views/front/canard/fonts/Roboto-Medium.woff2 b/resources/views/front/canard/fonts/Roboto-Medium.woff2 deleted file mode 100644 index 02bf764..0000000 Binary files a/resources/views/front/canard/fonts/Roboto-Medium.woff2 and /dev/null differ diff --git a/resources/views/front/canard/fonts/Roboto-MediumItalic.woff b/resources/views/front/canard/fonts/Roboto-MediumItalic.woff deleted file mode 100644 index ca56ca3..0000000 Binary files a/resources/views/front/canard/fonts/Roboto-MediumItalic.woff and /dev/null differ diff --git a/resources/views/front/canard/fonts/Roboto-MediumItalic.woff2 b/resources/views/front/canard/fonts/Roboto-MediumItalic.woff2 deleted file mode 100644 index 098ab8a..0000000 Binary files a/resources/views/front/canard/fonts/Roboto-MediumItalic.woff2 and /dev/null differ diff --git a/resources/views/front/canard/fonts/Roboto-Regular.woff b/resources/views/front/canard/fonts/Roboto-Regular.woff deleted file mode 100644 index b070d8e..0000000 Binary files a/resources/views/front/canard/fonts/Roboto-Regular.woff and /dev/null differ diff --git a/resources/views/front/canard/fonts/Roboto-Regular.woff2 b/resources/views/front/canard/fonts/Roboto-Regular.woff2 deleted file mode 100644 index 30370cf..0000000 Binary files a/resources/views/front/canard/fonts/Roboto-Regular.woff2 and /dev/null differ diff --git a/resources/views/front/canard/fonts/Roboto-Thin.woff b/resources/views/front/canard/fonts/Roboto-Thin.woff deleted file mode 100644 index bc18032..0000000 Binary files a/resources/views/front/canard/fonts/Roboto-Thin.woff and /dev/null differ diff --git a/resources/views/front/canard/fonts/Roboto-Thin.woff2 b/resources/views/front/canard/fonts/Roboto-Thin.woff2 deleted file mode 100644 index c535309..0000000 Binary files a/resources/views/front/canard/fonts/Roboto-Thin.woff2 and /dev/null differ diff --git a/resources/views/front/canard/fonts/Roboto-ThinItalic.woff b/resources/views/front/canard/fonts/Roboto-ThinItalic.woff deleted file mode 100644 index 8863946..0000000 Binary files a/resources/views/front/canard/fonts/Roboto-ThinItalic.woff and /dev/null differ diff --git a/resources/views/front/canard/fonts/Roboto-ThinItalic.woff2 b/resources/views/front/canard/fonts/Roboto-ThinItalic.woff2 deleted file mode 100644 index 069ad7b..0000000 Binary files a/resources/views/front/canard/fonts/Roboto-ThinItalic.woff2 and /dev/null differ diff --git a/resources/views/front/canard/home.blade.php b/resources/views/front/canard/home.blade.php deleted file mode 100644 index b3ba078..0000000 --- a/resources/views/front/canard/home.blade.php +++ /dev/null @@ -1,43 +0,0 @@ -@extends('layouts.layout') - -@section('title', __('Accueil')) - -@section('breadcrumb', 'no') - -@section('content') - - -
{{-- sert de spacer car ici pas de breadcrumb --}} - - {{-- Slider --}} - @include('partials.main-slider') - {{-- Fin du Slider --}} - -
-
-
-

{{ $content->title }}

-
- @if ($content !== null) - {!! $content->value !!} - @endif -
-
{{ __('Lire la suite') }}
-
-
-
- - @yield('steps', view('partials.steps')) - @include('partials.ranges-slider') - @include('partials.products-selection') - @yield('engagements', view('partials.engagements')) - @include('partials.subscribe') - @yield('subscribe') - -{{-- -

Home

- @if ($content !== null) - {!!$content->value!!} - @endif ---}} -@endsection diff --git a/resources/views/front/canard/icons/close.blade.php b/resources/views/front/canard/icons/close.blade.php deleted file mode 100644 index f8e0bee..0000000 --- a/resources/views/front/canard/icons/close.blade.php +++ /dev/null @@ -1,6 +0,0 @@ - - - - diff --git a/resources/views/front/canard/icons/orders.blade.php b/resources/views/front/canard/icons/orders.blade.php deleted file mode 100644 index 19c0e98..0000000 --- a/resources/views/front/canard/icons/orders.blade.php +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - diff --git a/resources/views/front/canard/img/accordeon__arrow.png b/resources/views/front/canard/img/accordeon__arrow.png deleted file mode 100644 index 536efb2..0000000 Binary files a/resources/views/front/canard/img/accordeon__arrow.png and /dev/null differ diff --git a/resources/views/front/canard/img/arrow_next.png b/resources/views/front/canard/img/arrow_next.png deleted file mode 100644 index b864ecc..0000000 Binary files a/resources/views/front/canard/img/arrow_next.png and /dev/null differ diff --git a/resources/views/front/canard/img/arrow_prev.png b/resources/views/front/canard/img/arrow_prev.png deleted file mode 100644 index f6590bf..0000000 Binary files a/resources/views/front/canard/img/arrow_prev.png and /dev/null differ diff --git a/resources/views/front/canard/img/chevron_down.svg b/resources/views/front/canard/img/chevron_down.svg deleted file mode 100644 index cd70fc5..0000000 --- a/resources/views/front/canard/img/chevron_down.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/resources/views/front/canard/img/chevron_next.svg b/resources/views/front/canard/img/chevron_next.svg deleted file mode 100644 index cc8172b..0000000 --- a/resources/views/front/canard/img/chevron_next.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/resources/views/front/canard/img/chevron_prev.svg b/resources/views/front/canard/img/chevron_prev.svg deleted file mode 100644 index 4405c73..0000000 --- a/resources/views/front/canard/img/chevron_prev.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/resources/views/front/canard/img/chevron_up.svg b/resources/views/front/canard/img/chevron_up.svg deleted file mode 100644 index 6841cb5..0000000 --- a/resources/views/front/canard/img/chevron_up.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - diff --git a/resources/views/front/canard/img/crosshair.svg b/resources/views/front/canard/img/crosshair.svg deleted file mode 100644 index 109176a..0000000 --- a/resources/views/front/canard/img/crosshair.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - diff --git a/resources/views/front/canard/img/demo/category_img.jpg b/resources/views/front/canard/img/demo/category_img.jpg deleted file mode 100644 index 4b80a3d..0000000 Binary files a/resources/views/front/canard/img/demo/category_img.jpg and /dev/null differ diff --git a/resources/views/front/canard/img/demo/mainslider_demo.jpg b/resources/views/front/canard/img/demo/mainslider_demo.jpg deleted file mode 100644 index ec6512e..0000000 Binary files a/resources/views/front/canard/img/demo/mainslider_demo.jpg and /dev/null differ diff --git a/resources/views/front/canard/img/demo/mp_1.jpg b/resources/views/front/canard/img/demo/mp_1.jpg deleted file mode 100644 index caae922..0000000 Binary files a/resources/views/front/canard/img/demo/mp_1.jpg and /dev/null differ diff --git a/resources/views/front/canard/img/demo/mp_1.png b/resources/views/front/canard/img/demo/mp_1.png deleted file mode 100644 index 7cd73fb..0000000 Binary files a/resources/views/front/canard/img/demo/mp_1.png and /dev/null differ diff --git a/resources/views/front/canard/img/demo/mp_2.jpg b/resources/views/front/canard/img/demo/mp_2.jpg deleted file mode 100644 index a2b8756..0000000 Binary files a/resources/views/front/canard/img/demo/mp_2.jpg and /dev/null differ diff --git a/resources/views/front/canard/img/demo/mp_2.png b/resources/views/front/canard/img/demo/mp_2.png deleted file mode 100644 index 5539f29..0000000 Binary files a/resources/views/front/canard/img/demo/mp_2.png and /dev/null differ diff --git a/resources/views/front/canard/img/demo/mp_3.jpg b/resources/views/front/canard/img/demo/mp_3.jpg deleted file mode 100644 index 42b35f1..0000000 Binary files a/resources/views/front/canard/img/demo/mp_3.jpg and /dev/null differ diff --git a/resources/views/front/canard/img/demo/mp_3.png b/resources/views/front/canard/img/demo/mp_3.png deleted file mode 100644 index 33689bc..0000000 Binary files a/resources/views/front/canard/img/demo/mp_3.png and /dev/null differ diff --git a/resources/views/front/canard/img/demo/mp_4.png b/resources/views/front/canard/img/demo/mp_4.png deleted file mode 100644 index dcbbc60..0000000 Binary files a/resources/views/front/canard/img/demo/mp_4.png and /dev/null differ diff --git a/resources/views/front/canard/img/demo/mp_5.png b/resources/views/front/canard/img/demo/mp_5.png deleted file mode 100644 index 309ec2c..0000000 Binary files a/resources/views/front/canard/img/demo/mp_5.png and /dev/null differ diff --git a/resources/views/front/canard/img/demo/mp_6.png b/resources/views/front/canard/img/demo/mp_6.png deleted file mode 100644 index 7b20dea..0000000 Binary files a/resources/views/front/canard/img/demo/mp_6.png and /dev/null differ diff --git a/resources/views/front/canard/img/demo/pl_1.png b/resources/views/front/canard/img/demo/pl_1.png deleted file mode 100644 index d8a58f7..0000000 Binary files a/resources/views/front/canard/img/demo/pl_1.png and /dev/null differ diff --git a/resources/views/front/canard/img/demo/pl_2.png b/resources/views/front/canard/img/demo/pl_2.png deleted file mode 100644 index 0a8d9fd..0000000 Binary files a/resources/views/front/canard/img/demo/pl_2.png and /dev/null differ diff --git a/resources/views/front/canard/img/demo/pl_3.png b/resources/views/front/canard/img/demo/pl_3.png deleted file mode 100644 index f866a8f..0000000 Binary files a/resources/views/front/canard/img/demo/pl_3.png and /dev/null differ diff --git a/resources/views/front/canard/img/demo/product_1.png b/resources/views/front/canard/img/demo/product_1.png deleted file mode 100644 index 5a42cf6..0000000 Binary files a/resources/views/front/canard/img/demo/product_1.png and /dev/null differ diff --git a/resources/views/front/canard/img/demo/product_wide.png b/resources/views/front/canard/img/demo/product_wide.png deleted file mode 100644 index bb8ee2d..0000000 Binary files a/resources/views/front/canard/img/demo/product_wide.png and /dev/null differ diff --git a/resources/views/front/canard/img/demo/recipe_1.png b/resources/views/front/canard/img/demo/recipe_1.png deleted file mode 100644 index 81f2ae4..0000000 Binary files a/resources/views/front/canard/img/demo/recipe_1.png and /dev/null differ diff --git a/resources/views/front/canard/img/demo/rp_1.jpg b/resources/views/front/canard/img/demo/rp_1.jpg deleted file mode 100644 index e4bf293..0000000 Binary files a/resources/views/front/canard/img/demo/rp_1.jpg and /dev/null differ diff --git a/resources/views/front/canard/img/demo/rp_2.jpg b/resources/views/front/canard/img/demo/rp_2.jpg deleted file mode 100644 index 7f944bd..0000000 Binary files a/resources/views/front/canard/img/demo/rp_2.jpg and /dev/null differ diff --git a/resources/views/front/canard/img/demo/rp_3.jpg b/resources/views/front/canard/img/demo/rp_3.jpg deleted file mode 100644 index 54999b4..0000000 Binary files a/resources/views/front/canard/img/demo/rp_3.jpg and /dev/null differ diff --git a/resources/views/front/canard/img/demo/rp_4.jpg b/resources/views/front/canard/img/demo/rp_4.jpg deleted file mode 100644 index e219772..0000000 Binary files a/resources/views/front/canard/img/demo/rp_4.jpg and /dev/null differ diff --git a/resources/views/front/canard/img/eng_1.png b/resources/views/front/canard/img/eng_1.png deleted file mode 100644 index f9486bf..0000000 Binary files a/resources/views/front/canard/img/eng_1.png and /dev/null differ diff --git a/resources/views/front/canard/img/eng_2.png b/resources/views/front/canard/img/eng_2.png deleted file mode 100644 index 17f93dd..0000000 Binary files a/resources/views/front/canard/img/eng_2.png and /dev/null differ diff --git a/resources/views/front/canard/img/eng_3.png b/resources/views/front/canard/img/eng_3.png deleted file mode 100644 index 44a8d0a..0000000 Binary files a/resources/views/front/canard/img/eng_3.png and /dev/null differ diff --git a/resources/views/front/canard/img/eng_4.png b/resources/views/front/canard/img/eng_4.png deleted file mode 100644 index f2d6f59..0000000 Binary files a/resources/views/front/canard/img/eng_4.png and /dev/null differ diff --git a/resources/views/front/canard/img/form_confirm.png b/resources/views/front/canard/img/form_confirm.png deleted file mode 100644 index 78e7e2b..0000000 Binary files a/resources/views/front/canard/img/form_confirm.png and /dev/null differ diff --git a/resources/views/front/canard/img/form_fail.png b/resources/views/front/canard/img/form_fail.png deleted file mode 100644 index 7e18e95..0000000 Binary files a/resources/views/front/canard/img/form_fail.png and /dev/null differ diff --git a/resources/views/front/canard/img/hero_contacts.jpg b/resources/views/front/canard/img/hero_contacts.jpg deleted file mode 100644 index 16379ab..0000000 Binary files a/resources/views/front/canard/img/hero_contacts.jpg and /dev/null differ diff --git a/resources/views/front/canard/img/hero_login.jpg b/resources/views/front/canard/img/hero_login.jpg deleted file mode 100644 index c0ed2b6..0000000 Binary files a/resources/views/front/canard/img/hero_login.jpg and /dev/null differ diff --git a/resources/views/front/canard/img/hero_mentios.jpg b/resources/views/front/canard/img/hero_mentios.jpg deleted file mode 100644 index b55654b..0000000 Binary files a/resources/views/front/canard/img/hero_mentios.jpg and /dev/null differ diff --git a/resources/views/front/canard/img/icon_cart-white.png b/resources/views/front/canard/img/icon_cart-white.png deleted file mode 100644 index bc78f8d..0000000 Binary files a/resources/views/front/canard/img/icon_cart-white.png and /dev/null differ diff --git a/resources/views/front/canard/img/icon_cart.png b/resources/views/front/canard/img/icon_cart.png deleted file mode 100644 index 43a20aa..0000000 Binary files a/resources/views/front/canard/img/icon_cart.png and /dev/null differ diff --git a/resources/views/front/canard/img/icon_date.jpg b/resources/views/front/canard/img/icon_date.jpg deleted file mode 100644 index 7beb3a7..0000000 Binary files a/resources/views/front/canard/img/icon_date.jpg and /dev/null differ diff --git a/resources/views/front/canard/img/icon_date.png b/resources/views/front/canard/img/icon_date.png deleted file mode 100644 index 9f9c47c..0000000 Binary files a/resources/views/front/canard/img/icon_date.png and /dev/null differ diff --git a/resources/views/front/canard/img/icon_profile.png b/resources/views/front/canard/img/icon_profile.png deleted file mode 100644 index 876be2b..0000000 Binary files a/resources/views/front/canard/img/icon_profile.png and /dev/null differ diff --git a/resources/views/front/canard/img/icon_search.png b/resources/views/front/canard/img/icon_search.png deleted file mode 100644 index a7eabf9..0000000 Binary files a/resources/views/front/canard/img/icon_search.png and /dev/null differ diff --git a/resources/views/front/canard/img/logo.png b/resources/views/front/canard/img/logo.png deleted file mode 100644 index de64412..0000000 Binary files a/resources/views/front/canard/img/logo.png and /dev/null differ diff --git a/resources/views/front/canard/img/loyalty.svg b/resources/views/front/canard/img/loyalty.svg deleted file mode 100644 index 986dea2..0000000 --- a/resources/views/front/canard/img/loyalty.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/resources/views/front/canard/img/menu-arrow.png b/resources/views/front/canard/img/menu-arrow.png deleted file mode 100644 index 4659f39..0000000 Binary files a/resources/views/front/canard/img/menu-arrow.png and /dev/null differ diff --git a/resources/views/front/canard/img/mp_3.jpg b/resources/views/front/canard/img/mp_3.jpg deleted file mode 100644 index 42b35f1..0000000 Binary files a/resources/views/front/canard/img/mp_3.jpg and /dev/null differ diff --git a/resources/views/front/canard/img/nav_next.png b/resources/views/front/canard/img/nav_next.png deleted file mode 100644 index b3300ba..0000000 Binary files a/resources/views/front/canard/img/nav_next.png and /dev/null differ diff --git a/resources/views/front/canard/img/nav_prev.png b/resources/views/front/canard/img/nav_prev.png deleted file mode 100644 index 8ea764d..0000000 Binary files a/resources/views/front/canard/img/nav_prev.png and /dev/null differ diff --git a/resources/views/front/canard/img/order-step-active.svg b/resources/views/front/canard/img/order-step-active.svg deleted file mode 100644 index fe95883..0000000 --- a/resources/views/front/canard/img/order-step-active.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - diff --git a/resources/views/front/canard/img/order-step-done.svg b/resources/views/front/canard/img/order-step-done.svg deleted file mode 100644 index 190b9ad..0000000 --- a/resources/views/front/canard/img/order-step-done.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - diff --git a/resources/views/front/canard/img/order-step-inactive.svg b/resources/views/front/canard/img/order-step-inactive.svg deleted file mode 100644 index 8d75ffc..0000000 --- a/resources/views/front/canard/img/order-step-inactive.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - diff --git a/resources/views/front/canard/img/p-benefit_1.png b/resources/views/front/canard/img/p-benefit_1.png deleted file mode 100644 index 0773a22..0000000 Binary files a/resources/views/front/canard/img/p-benefit_1.png and /dev/null differ diff --git a/resources/views/front/canard/img/p-benefit_2.png b/resources/views/front/canard/img/p-benefit_2.png deleted file mode 100644 index c2c8c6b..0000000 Binary files a/resources/views/front/canard/img/p-benefit_2.png and /dev/null differ diff --git a/resources/views/front/canard/img/p-benefit_3.png b/resources/views/front/canard/img/p-benefit_3.png deleted file mode 100644 index 4c432e0..0000000 Binary files a/resources/views/front/canard/img/p-benefit_3.png and /dev/null differ diff --git a/resources/views/front/canard/img/pl_nophoto.png b/resources/views/front/canard/img/pl_nophoto.png deleted file mode 100644 index 303f9d7..0000000 Binary files a/resources/views/front/canard/img/pl_nophoto.png and /dev/null differ diff --git a/resources/views/front/canard/img/step_1.png b/resources/views/front/canard/img/step_1.png deleted file mode 100644 index 19528d7..0000000 Binary files a/resources/views/front/canard/img/step_1.png and /dev/null differ diff --git a/resources/views/front/canard/img/step_2.png b/resources/views/front/canard/img/step_2.png deleted file mode 100644 index 9c82526..0000000 Binary files a/resources/views/front/canard/img/step_2.png and /dev/null differ diff --git a/resources/views/front/canard/img/step_3.png b/resources/views/front/canard/img/step_3.png deleted file mode 100644 index 42aa625..0000000 Binary files a/resources/views/front/canard/img/step_3.png and /dev/null differ diff --git a/resources/views/front/canard/img/step_4.png b/resources/views/front/canard/img/step_4.png deleted file mode 100644 index fd10fca..0000000 Binary files a/resources/views/front/canard/img/step_4.png and /dev/null differ diff --git a/resources/views/front/canard/img/steps-arrow.png b/resources/views/front/canard/img/steps-arrow.png deleted file mode 100644 index 5683d2f..0000000 Binary files a/resources/views/front/canard/img/steps-arrow.png and /dev/null differ diff --git a/resources/views/front/canard/js/app.js b/resources/views/front/canard/js/app.js deleted file mode 100644 index eca0b17..0000000 --- a/resources/views/front/canard/js/app.js +++ /dev/null @@ -1,227 +0,0 @@ -import { isWindow } from 'jquery'; -import Swiper from 'swiper/swiper-bundle'; -import Toastify from "toastify-js"; -require('./bootstrap'); -// cookie notice -import { LdcwebCn } from "./ldcweb-cn.js"; -window.LdcwebCn = LdcwebCn; -require('./cart.js'); - -window.Toastify = Toastify; -window.Vue = require('vue'); - -// Vuex -import Vuex from 'vuex'; - -Vue.component('timeslot-picker', require('./components/TimeSlotPicker.vue').default); -Vue.component('basket-panel', require('./components/BasketPanel.vue').default); -Vue.component('basket-counter', { - computed: { - count() { - return this.$store.state.cartTotals.countItems; - // let panier; - // panier = this.$store.state.panier; - // console.log(this.$store.state.panier); - // console.log(panier); - // console.log(panier.length); - // return panier[panier.length - 1].countItems; - } - }, - mounted: function() { - console.log('Basket Counter Component mounted.'); - }, - template: '{{ count }}' -}); - -const store = new Vuex.Store({ - state: { - panier: {}, - cartTotals: {}, - }, - mutations: { - Reload (state,payload) { - state.reload = payload.reload; - }, - updatePanier (state, payload) { - state.panier = payload.panier; - }, - updateCartTotals (state, payload) { - state.cartTotals = payload.cartTotals; - }, - } -}); - -const app = new Vue({ - el: '#app', - store, - data: { - num: 1 //for the numeric stepper on product pages - }, - methods: { - addtocart(product,qtty) { - console.log('root add'); - this.$refs.basketpanel.addtocart(product,qtty); - }, - }, -}); - -$(document).ready(function(){ - //document is ready we can free css transitions - $('.preload').removeClass("preload"); - - var mainslider = new Swiper ('.mainslider .swiper-container', { - pagination: { - el: '.mainslider__pagination', - bulletClass: 'slider-bullet', - bulletActiveClass: 'slider-bullet_active', - clickable: true - }, - }); - - var rp_slider = new Swiper ('.rp-slider .swiper-container', { - slidesPerView: 4, - spaceBetween: 40, - navigation: { - nextEl: '.rp-slider .swiper-nav__arrow_next', - prevEl: '.rp-slider .swiper-nav__arrow_prev', - disabledClass: 'disabled' - }, - breakpoints: { -/* 320: { - spaceBetween: 20 - }, - 480: { - spaceBetween: 30 - },*/ - 480: { - slidesPerView: 'auto', - spaceBetween: 12 - }, - 768: { - slidesPerView: 'auto', - spaceBetween: 16 - }, - 1000: { - spaceBetween: 25, - slidesPerView: 3 - }, - 1180: { - spaceBetween: 30 - } - } - }); - - var rp_slider_mobile = new Swiper ('.related-products-mobile .swiper-container', { - slidesPerView: 4, - spaceBetween: 20, - navigation: { - nextEl: '.related-products-mobile .swiper-nav__arrow_next', - prevEl: '.related-products-mobile .swiper-nav__arrow_prev', - disabledClass: 'disabled' - }, - breakpoints: { -/* 320: { - spaceBetween: 20 - }, - 480: { - spaceBetween: 30 - },*/ - 480: { - slidesPerView: 'auto', - spaceBetween: 12 - }, - 768: { - slidesPerView: 'auto', - spaceBetween: 16 - }, - 1000: { - spaceBetween: 25, - slidesPerView: 3 - }, - 1180: { - spaceBetween: 30 - } - } - }); - - - $(document).on("click", ".menu-trigger", function(){ - $(this).toggleClass("active"); - $(".menu").slideToggle(); - }); - - $(document).on("click", ".product__qty-btn", function(){ - _value = parseInt($('.product__qty-input').val()); - if(isNaN(_value) || _value <= 0) { - _value = 1; - } - - if ($(this).hasClass('product__qty-btn_plus')) { - _value += 1; - } else { - if(_value > 1) { - _value -= 1; - } - } - - $('.product__qty-input').val(_value); - }); - - $(document).on("click", ".accordeon-block__title", function(){ - $(this).closest('.accordeon-block').toggleClass("active"); - $(this).next('.accordeon-block__content').slideToggle(); - }); - - - $(document).mouseup(function(e) { - var container = $(".form-message"); - - if (!container.is(e.target) && container.has(e.target).length === 0) { - container.hide(); - } - }); - - $(document).mouseup(function(e) { - var container = $(".form-result"); - - if (!container.is(e.target) && container.has(e.target).length === 0) { - container.hide(); - } - }); - - - let fileInput = document.querySelector(".form__upload-field .file-source"); - if (fileInput) { - let fileArea = document.querySelector(".form__upload-field .file-name"); - - fileInput.onchange = function() { - if(fileInput.files.length != 0) { - if(fileInput.files[0].size > 10485760) { - fileArea.value = "La taille du fichier est trop grande"; - } else { - fileArea.value = fileInput.files[0].name; - } - } - } - } - - - - - - $(document).on("click", ".tc-text__readmore", function(){ - $(this).closest('.tc-text').addClass("active"); - $(this).remove(); - }); - - //cart close actions - $('.basket-panel__close').on('click',closeCart); - $('.basket-panel__mask').on('click',closeCart); - //cart opened actions - $('.promotion-description__labels').hover(showPromoInfo,hidePromoInfo); - $('.basket-panel__content--smooth-scroll').on('scroll',toggleFixingBottomCart); - $('.category-heading__header--collapsable').on('click',toggleProductCategory) - $('.checkout-clear-basket__actions').on('click',showModalClearCart); - $('#checkout-empty-basket-cancel').on('click',closeModalClearCart); - -}); diff --git a/resources/views/front/canard/js/bootstrap.js b/resources/views/front/canard/js/bootstrap.js deleted file mode 100644 index d096e7f..0000000 --- a/resources/views/front/canard/js/bootstrap.js +++ /dev/null @@ -1,29 +0,0 @@ -window._ = require('lodash'); -window.$ = window.jQuery = require('jquery'); - -/** - * We'll load the axios HTTP library which allows us to easily issue requests - * to our Laravel back-end. This library automatically handles sending the - * CSRF token as a header based on the value of the "XSRF" token cookie. - */ - -window.axios = require('axios'); - -window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'; - -/** - * Echo exposes an expressive API for subscribing to channels and listening - * for events that are broadcast by Laravel. Echo and event broadcasting - * allows your team to easily build robust real-time web applications. - */ - -// import Echo from 'laravel-echo'; - -// window.Pusher = require('pusher-js'); - -// window.Echo = new Echo({ -// broadcaster: 'pusher', -// key: process.env.MIX_PUSHER_APP_KEY, -// cluster: process.env.MIX_PUSHER_APP_CLUSTER, -// forceTLS: true -// }); diff --git a/resources/views/front/canard/js/cart.js b/resources/views/front/canard/js/cart.js deleted file mode 100644 index f6607e0..0000000 --- a/resources/views/front/canard/js/cart.js +++ /dev/null @@ -1,45 +0,0 @@ -/* Set the width of the sidebar to 250px (show it) */ -window.openCart = function() { - $('.basket-panel__mask').addClass('basket-panel__mask--visible'); - $('.basket-panel__drawer').addClass('basket-panel__drawer--opened'); - $('body').addClass('cartOpened'); - } - -/* Set the width of the sidebar to 0 (hide it) */ -window.closeCart = function() { - $('.basket-panel__mask').removeClass('basket-panel__mask--visible'); - $('.basket-panel__drawer').removeClass('basket-panel__drawer--opened'); - $('body').removeClass('cartOpened'); - } - -window.showPromoInfo = function() { - $(this).parent().next("section.promotion-slide").show(); - } - -window.hidePromoInfo = function(elem) { - $(this).parent().next("section.promotion-slide").hide(); - } - -window.toggleFixingBottomCart= function() { - let bottomHeight = $('.cart-tile__bottom').innerHeight(); - if($(this).scrollTop() + $(this).innerHeight() >= ($(this)[0].scrollHeight)) { - $('.cart-tile__bottom.cart-tile__bottom--fixed').removeClass('cart-tile__bottom--fixed') - } else if($(this).scrollTop() + $(this).innerHeight() < ($(this)[0].scrollHeight-bottomHeight)) { - $('.cart-tile__bottom').not('.cart-tile__bottom--fixed').addClass('cart-tile__bottom--fixed'); - } - } - -window.toggleProductCategory = function() { - $(this).find('.category-heading__chevron').toggleClass('ds-chevron--revert'); - $(this).next().toggle(); - //raise a scroll event to check bottom cart fixing - $('.basket-panel__content--smooth-scroll').scroll(); -} - -window.showModalClearCart = function() { - $('#empty-basket-modal > div.modal').show(); -} - -window.closeModalClearCart = function() { - $('#empty-basket-modal > div.modal').hide(); -} diff --git a/resources/views/front/canard/js/components/BasketPanel.vue b/resources/views/front/canard/js/components/BasketPanel.vue deleted file mode 100644 index adfc3cc..0000000 --- a/resources/views/front/canard/js/components/BasketPanel.vue +++ /dev/null @@ -1,503 +0,0 @@ - - - - - diff --git a/resources/views/front/canard/js/components/TimeSlotPicker.vue b/resources/views/front/canard/js/components/TimeSlotPicker.vue deleted file mode 100644 index 1ff3821..0000000 --- a/resources/views/front/canard/js/components/TimeSlotPicker.vue +++ /dev/null @@ -1,306 +0,0 @@ - - - - diff --git a/resources/views/front/canard/js/ldcweb-cn.js b/resources/views/front/canard/js/ldcweb-cn.js deleted file mode 100644 index 49c4eef..0000000 --- a/resources/views/front/canard/js/ldcweb-cn.js +++ /dev/null @@ -1,304 +0,0 @@ -/** - * LDC Service Web - * Version 1.0 - */ - -export class LdcwebCn { - - constructor(config) { - this.config = config; - this.cookieContainer = document.getElementById('ldcweb-cn'); - this.bannerContainer = document.getElementById('ldcweb-banner'); - this.modalContainer = document.getElementById('ldcweb-cn-modal'); - this.modalCloseBtn = document.getElementById('close-link'); - this.acceptAllBtnBanner = document.getElementById('ldcweb-cn-accept-banner'); - this.acceptAllBtn = document.getElementById('ldcweb-cn-accept'); - this.denyAllBtn = document.getElementById('ldcweb-cn-deny'); - this.personalizeBtn = document.getElementsByClassName('ldcweb-cn-personalize'); - this.changeBtn = document.getElementsByClassName('ldcweb-cn-change'); - this.cookiesList = document.getElementById('ldcweb-cn-list'); - this.cookieLink = document.querySelector('.footer-links a[href="#cookie"]') - this.template = document.getElementById('template').cloneNode(true); - document.getElementById('template').remove(); - - let cookies = this.getLDCWebCookie('ldcwebcn-init'); - if (cookies === undefined) { - let newCookie = []; - - for (const [key, value] of Object.entries(this.config)) { - newCookie.push(key + "=wait"); - } - - this.saveLDCWebCookie(newCookie); - this.cookieContainer.classList.add('open-banner'); - } else { - let test = cookies.split(','); - test.forEach(elm => { - let test = elm.split('='); - if (test[1] === 'wait') { - this.cookieContainer.classList.add('open-banner'); - } - }); - } - this.modalCloseBtn.addEventListener( - 'click', - function (e) { - e.preventDefault(); - let cookies = this.getLDCWebCookie('ldcwebcn-init'); - let test = cookies.split(','); - let bIsCompleted = true; - for (let item of test) { - if (item.indexOf('=wait') !== -1) { - bIsCompleted = false; - break; - } - } - if (bIsCompleted) { - this.cookieContainer.classList.remove('open-modal'); - this.cookieContainer.classList.remove('open-banner'); - } else { - alert("Vous devez renseigner votre choix pour tous les cookies, svp."); - } - }.bind(this) - ); - let accept = function (e) { - e.preventDefault(); - for (const [key, value] of Object.entries(this.config)) { - this.addCookie(key, value); - } - for (let acceptLabel of this.cookieContainer.querySelectorAll('.accept > label')) { - acceptLabel.classList.add('active'); - } - for (let denyLabel of this.cookieContainer.querySelectorAll('.deny > label')) { - denyLabel.classList.remove('active'); - } - this.updateAllCookiesButtonsActiveStatus() - this.cookieContainer.classList.remove('open-modal'); - this.cookieContainer.classList.remove('open-banner'); - }.bind(this); - this.acceptAllBtnBanner.addEventListener('click', accept); - this.acceptAllBtn.addEventListener('click', accept); - - this.denyAllBtn.addEventListener( - 'click', - function (e) { - e.preventDefault(); - for (const [key, value] of Object.entries(this.config)) { - this.removeCookie(key, value); - } - for (let acceptLabel of this.cookieContainer.querySelectorAll('.accept > label')) { - acceptLabel.classList.remove('active'); - } - for (let denyLabel of this.cookieContainer.querySelectorAll('.deny > label')) { - denyLabel.classList.add('active'); - } - this.updateAllCookiesButtonsActiveStatus() - this.cookieContainer.classList.remove('open-modal'); - this.cookieContainer.classList.remove('open-banner'); - }.bind(this) - ); - - this.cookieLink.addEventListener( - 'click', - function (e) { - e.preventDefault(); - this.setCookieList(); - this.updateAllCookiesButtonsActiveStatus() - }.bind(this) - ); - - for (let item of this.personalizeBtn) { - this.addEvent( - item, - 'click', - function () { - this.setCookieList(); - }.bind(this) - ); - } - - this.setListenerOnChange(); - - let cookie = this.getLDCWebCookie('ldcwebcn-init'); - let test = cookie.split(','); - test.forEach(elm => { - let test = elm.split('='); - if (test[1] === 'true') { - this.config[test[0]].script(); - } - }); - - this.updateAllCookiesButtonsActiveStatus() - } - - setCookieList() { - this.cookiesList.innerHTML = ""; - let cookiesSite = this.getLDCWebCookie('ldcwebcn-init'); - - for (const [key, value] of Object.entries(this.config)) { - let cookie = document.createElement('li'); - cookie.append(this.template.children.item(0).cloneNode(true)); - let name = cookie.querySelector('span.ldcweb-cn-name'); - let description = cookie.querySelector('span.ldcweb-cn-description'); - let link = cookie.querySelector('a.ldcweb-cn-link'); - let acceptInput = cookie.querySelector('.accept > input'); - let denyInput = cookie.querySelector('.deny > input'); - let acceptLabel = cookie.querySelector('.accept > label'); - let denyLabel = cookie.querySelector('.deny > label'); - - name.textContent = value.name; - description.textContent = value.description; - link.textContent = "En savoir plus"; - link.setAttribute("href", value.link); - acceptInput.id = key + '1'; - acceptInput.name = key; - acceptInput.dataset.name = key; - acceptLabel.htmlFor = key + '1'; - denyInput.id = key + '2'; - denyInput.name = key; - denyInput.dataset.name = key; - denyLabel.htmlFor = key + '2'; - - acceptInput.addEventListener('click', function (e) { - acceptLabel.classList.add('active'); - denyLabel.classList.remove('active'); - this.updateAllCookiesButtonsActiveStatus(); - this.addCookie(key, value) - }.bind(this)); - denyInput.addEventListener('click', function (e) { - acceptLabel.classList.remove('active'); - denyLabel.classList.add('active'); - this.updateAllCookiesButtonsActiveStatus(); - this.removeCookie(key, value) - }.bind(this)); - - this.cookiesList.append(cookie); - - let cookiesArray = cookiesSite.split(','); - cookiesArray.forEach(elm => { - let name = elm.slice(0, elm.indexOf('=')); - let status = elm.slice(elm.indexOf('=') + 1); - if (name === key) { - acceptLabel.classList.remove('active'); - denyLabel.classList.remove('active'); - switch (status) { - case 'true': - acceptLabel.classList.add('active'); - break; - case 'false': - denyLabel.classList.add('active'); - break; - } - } - if (status === 'wait') { - this.cookieContainer.classList.add('open-banner'); - } - }); - } - - this.cookieContainer.classList.add('open-modal'); - this.setListenerOnChange(); - } - - updateAllCookiesButtonsActiveStatus() { - let acceptsButtons = this.cookieContainer.querySelectorAll('div.accept > label'); - let deniesButtons = this.cookieContainer.querySelectorAll('div.deny > label'); - let activeAcceptsButtons = this.cookieContainer.querySelectorAll('div.accept > label.active'); - let activeDeniesButtons = this.cookieContainer.querySelectorAll('div.deny > label.active'); - - this.acceptAllBtn.classList.remove('active'); - this.denyAllBtn.classList.remove('active'); - if (acceptsButtons.length && acceptsButtons.length === activeAcceptsButtons.length) { - this.acceptAllBtn.classList.add('active'); - } - if (deniesButtons.length && deniesButtons.length === activeDeniesButtons.length) { - this.denyAllBtn.classList.add('active'); - } - } - - addCookie(key, value) { - if (value.script) { - value.script(); - } - this.changeStatus(key, "true"); - } - - removeCookie(key, value) { - for (let cookieName of value.cookies) { - this.deleteBrowserCookie(cookieName, "/", "." + location.host) - } - if (document.getElementById(key)) { - document.getElementById(key).remove(); - } - this.changeStatus(key, "false"); - } - setListenerOnChange() { - this.changeBtn = document.getElementsByClassName('ldcweb-cn-change'); - for (let item of this.changeBtn) { - this.addEvent( - item, - 'click', - function () { - this.changeStatus(item.getAttribute('data-name'), item.getAttribute('data-status')); - }.bind(this) - ); - } - } - - changeStatus(name, status) { - let newCookie = []; - - let cookie = this.getLDCWebCookie('ldcwebcn-init'); - let test = cookie.split(','); - test.forEach(elm => { - let test = elm.split('='); - if (test[0] === name) { - newCookie.push(name + "=" + status); - if (status === 'false') { - this.config[test[0]].cookies.forEach(elm => { - let cookies = this.getLDCWebCookie(elm); - if (cookies !== undefined) { - document.cookie = elm + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC; domain=" + document.domain + "; path=/"; - document.cookie = elm + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC; domain=." + document.domain + "; path=/"; - } - }); - } - } else { - newCookie.push(elm); - } - }); - - this.saveLDCWebCookie(newCookie); - } - - deleteBrowserCookie(name, path, domain) { - if (this.getLDCWebCookie(name)) { - document.cookie = name + "=" + - ((path) ? ";path=" + path : "") + - ((domain) ? ";domain=" + domain : "") + - ";expires=Thu, 01 Jan 1970 00:00:01 GMT"; - } - } - - getLDCWebCookie(name) { - let matches = document.cookie.match(new RegExp( - "(?:^|; )" + name.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g, '\\$1') + "=([^;]*)" - )); - return matches ? decodeURIComponent(matches[1]) : undefined; - } - - addEvent(element, evnt, funct) { - if (element.attachEvent) - return element.attachEvent('on' + evnt, funct); - else - return element.addEventListener(evnt, funct, false); - } - - saveLDCWebCookie(content) { - document.cookie = "ldcwebcn-init=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; - let date = new Date(); - let newDate = new Date(date.setMonth(date.getMonth() + 13)); - document.cookie = "ldcwebcn-init=" + content + "; expires=" + newDate.toUTCString() + ";"; - } - -} diff --git a/resources/views/front/canard/layouts/layout.blade.php b/resources/views/front/canard/layouts/layout.blade.php deleted file mode 100644 index 76f8b14..0000000 --- a/resources/views/front/canard/layouts/layout.blade.php +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - @yield('title') - {{ Config::get('theme.site_name') }} - - - - - @include('breadcrumb.breadcrumb-head') - - - - - - - - -
- {{-- Header --}} - @include('partials.header') - {{-- Fin du header --}} - {{-- Contenu --}} -
- @include('breadcrumb.breadcrumb-body') - @yield('content') -
- {{-- Fin du contenu --}} - {{-- Footer --}} - @yield('footer', view('partials.footer')) - {{-- Fin du footer --}} - {{-- Cart Panel --}} - - {{-- Fin Cart Panel --}} - -
- - - @include('partials.cookie') - @stack('scripts') - - - diff --git a/resources/views/front/canard/legal-notice.blade.php b/resources/views/front/canard/legal-notice.blade.php deleted file mode 100644 index d220a82..0000000 --- a/resources/views/front/canard/legal-notice.blade.php +++ /dev/null @@ -1,36 +0,0 @@ -@extends('layouts.layout') - -@section('title', __('Mentions légales')) - -@section('content') - - - -
-
- -
-
- -
-

{{ $content->title }}

- -
-
-
-
- @if ($content !== null) - {!!$content->value!!} - @endif -
-
-
-
-
- - - {{--

Mentions Légales

- @if ($content !== null) - {!!$content->value!!} - @endif --}} -@endsection diff --git a/resources/views/front/canard/mails/order-confirm.blade.php b/resources/views/front/canard/mails/order-confirm.blade.php deleted file mode 100644 index 250976d..0000000 --- a/resources/views/front/canard/mails/order-confirm.blade.php +++ /dev/null @@ -1,284 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - - - -
- -
- - - - - - - -
- - - - - - -
- -
-
-
Votre commande est enregistrée !
-
-
- -
-
- -
- - - - - - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
Bonjour,

Votre commande {{ $order->reference }} est confirmée
-
-

-

- -
-
Détail de votre Commande :

-
- - - - - - @foreach ($order->lines as $line) - - - - @endforeach -
ProduitQuantitéTotal
{{ $line->product->name }}{{ $line->quantity }}@fmt_currency($line->total_ttc)
-
-

-

- -
-
Total de la commande : @fmt_currency($order->total)
-
-

-

- -
-
A retirer le {{$order->timeslot->day}} à {{$order->timeslot->time}}, à l’adresse suivante :

- Mon point de retrait express, 15 avenue du Boulevard, 72450 Nom-de-Ville -
-
-


L'équipe {{ config('theme.site_name') }}
-
-
- -
-
- -
- - - diff --git a/resources/views/front/canard/mails/order-status.blade.php b/resources/views/front/canard/mails/order-status.blade.php deleted file mode 100644 index 6f0eb2e..0000000 --- a/resources/views/front/canard/mails/order-status.blade.php +++ /dev/null @@ -1,284 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - - - -
- -
- - - - - - - -
- - - - - - -
- -
-
-
Traitement de votre commande
-
-
- -
-
- -
- - - - - - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
Bonjour,

Votre commande {{ $order->reference }} est {{ $order->status->label }}
-
-

-

- -
-
Détail de votre Commande :

-
- - - - - - @foreach ($order->lines as $line) - - - - @endforeach -
ProduitQuantitéTotal
{{ $line->product->name }}{{ $line->quantity }}@fmt_currency($line->total_ttc)
-
-

-

- -
-
Total de la commande : @fmt_currency($order->total)
-
-

-

- -
-
A retirer le {{$order->timeslot->day}} à {{$order->timeslot->time}}, à l’adresse suivante :

- Mon point de retrait express, 15 avenue du Boulevard, 72450 Nom-de-Ville -
-
-


L'équipe {{ config('theme.site_name') }}
-
-
- -
-
- -
- - - diff --git a/resources/views/front/canard/mails/password-reset.blade.php b/resources/views/front/canard/mails/password-reset.blade.php deleted file mode 100644 index 8ba03d7..0000000 --- a/resources/views/front/canard/mails/password-reset.blade.php +++ /dev/null @@ -1,219 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - - - -
- -
- - - - - - - -
- - - - - - -
- -
-
-
Inscription {{ Config::get('theme.site_name') }}
-
-
- -
-
- -
- - - - - - -
- -
- - - - - - - - - - - - - -
-
Bonjour,

Pour réinitialiser votre mot de passe pour vous connecter à {{ Config::get('theme.site_name') }}, cliquez sur le lien suivant :
-
- - - - -
- Réinitialisez votre mot de passe -
-
-
Si le lien ci dessus ne fonctionne pas, veuillez entrer cette adresse dans votre navigateur :

- {{ route('auth.form-change-mdp', $token) }} -
-
-


L'équipe {{ config('theme.site_name') }}
-
-
- -
-
- -
- - - diff --git a/resources/views/front/canard/mails/register-ok.blade.php b/resources/views/front/canard/mails/register-ok.blade.php deleted file mode 100644 index a3490a8..0000000 --- a/resources/views/front/canard/mails/register-ok.blade.php +++ /dev/null @@ -1,219 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - - - -
- -
- - - - - - - -
- - - - - - -
- -
-
-
Inscription {{ Config::get('theme.site_name') }}
-
-
- -
-
- -
- - - - - - -
- -
- - - - - - - - - - - - - -
-
Bonjour {{ $firstname !== null ? " " . $firstname : null }},

Vous venez de créer un compte sur {{ Config::get('theme.site_name') }}

Pour confirmer votre inscription, merci de confirmer votre email en cliquant sur le lien ci-dessous :
-
- - - - -
- Confirmer mon adresse email -
-
-
Si le lien ci dessus ne fonctionne pas, veuillez entrer cette adresse dans votre navigateur :

- {{ route('auth.activer', $customer->hashcode) }} -
-
-


L'équipe {{ config('theme.site_name') }}
-
-
- -
-
- -
- - - diff --git a/resources/views/front/canard/mails/send-contact.blade.php b/resources/views/front/canard/mails/send-contact.blade.php deleted file mode 100644 index 585747a..0000000 --- a/resources/views/front/canard/mails/send-contact.blade.php +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - - - -
- -
- - - - - - - -
- - - - - - -
- -
-
-
Message Contact
-
-
- -
-
- -
- - - - - - -
- -
- - - - - - - - - - - - - -
-
Bonjour,

Voici un message envoyé depuis {{ config('theme.site_name', 'Boutique') }}

-
-

-

- -
-
Expediteur : {{ $data->first_name }} {{ $data->last_name }}

Email : {{ $data->email }}

Référence Commande : {{ $data->order_ref }}

Message :

- {{ $data->message }} -
-
-

L'équipe {{ config('theme.site_name') }}
-
-
- -
-
- -
- - - diff --git a/resources/views/front/canard/partials/breadcrumb.deprectated.blade.php b/resources/views/front/canard/partials/breadcrumb.deprectated.blade.php deleted file mode 100644 index 3221ab4..0000000 --- a/resources/views/front/canard/partials/breadcrumb.deprectated.blade.php +++ /dev/null @@ -1,45 +0,0 @@ -
-
-
-
- {{ __('Accueil') }} - @php - $segments = Request::segments(); - $href = url('/'); - if($segments[0]=="produit") { - $segments[0] = "gamme-de-produits"; - array_splice($segments,1,0,Str::slug($ranges[$product->range_id-1]->name)); - } - @endphp - @foreach($segments as $segment) - @php - switch($segment) { - case "gamme-de-produits": - $segment = "gammes-de-produits"; - break; - case "produit": - $segment = "produits"; - break; - default; - } - $href .= "/".$segment; - @endphp - @if ($loop->last) - > - @if(isset($range)) - {{$range->name}} - @elseif($segment=='contact') - {{ __('Contactez-nous') }} - @elseif($segment=="mentions-legales") - {{ __('Mentions légales') }} - @else - {{ ucfirst(str_replace('-',' ',$segment))}} - @endif - @else - > - {{ ucfirst(str_replace('-',' ',$segment))}} - @endif - @endforeach -
-
-
diff --git a/resources/views/front/canard/partials/cart-panel.deprecated.blade.php b/resources/views/front/canard/partials/cart-panel.deprecated.blade.php deleted file mode 100644 index 408a544..0000000 --- a/resources/views/front/canard/partials/cart-panel.deprecated.blade.php +++ /dev/null @@ -1,672 +0,0 @@ - -
-
-
- - -
-
- - Aperçu panier - -
- -
-
-
-
- Vous n’êtes pas connecté -
-
- Connectez-vous ou créez votre compte pour passer votre commande -
- - - - -
-
-
-
-
-
-
-
-
-
-
-
-

- Vendu et préparé par -

-
-

- Carrefour Drive -

-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-

- Boissons -

-
-
- 1 -
-
-
-
-
    -
  1. -
    -
    -
    -
    -
    -
    - - Avantages fidélité - -
    -
    -
    -
    -
    -
    Jus d'orange bio pur jus sans pulpe CARREFOUR BIO -
    -
    - -
    - 1L -
    -
    -
    -
    - -
    -
    - la brique d'1L -
    -
    -
    -
    - 1.65 € / Litre -
    -
    -
    -
    -
    -
    -
    -
    -
    -

    20% d'économies

    -
    - - -
    - -
    -
    -
    -
    -
    - 1,65€ - -
    -
    -
    -
    -
    -
    -
    - 1 -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
  2. -
-
-
-
-
-
-
-

- Bébé -

-
-
- 1 -
-
-
-
-
    -
  1. -
    -
    -
    -
    -
    -
    - - Avantages fidélité - -
    -
    -
    -
    -
    -
    Couches culottes taille 5 : 12 - 17kg PAMPERS -
    -
    -
    - -
    -
    - le paquet de 88 couches -
    -
    -
    -
    - 0.36 € / Pièce -
    -
    -
    -
    -
    -
    -
    -
    -
    -

    70% d'économies

    -
    - - -
    - -
    -
    -
    -
    -
    - 31,50€ - -
    -
    -
    -
    -
    -
    -
    - 1 -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
  2. -
-
-
-
-
-
-
-

- Entretien et Nettoyage -

-
-
- 1 -
-
-
-
-
    -
  1. -
    -
    -
    -
    -
    -
    - - Avantages fidélité - -
    -
    -
    -
    -
    -
    Lessive en capsule alpine all in 1 ARIEL -
    -
    -
    - -
    -
    - la boîte de 43 lavages -
    -
    -
    -
    - 13.39 € / Kilogramme -
    -
    -
    -
    -
    -
    -
    -
    -
    -

    70% d'économies

    -
    - - -
    - -
    -
    -
    -
    -
    - 14,50€ - -
    -
    -
    -
    -
    -
    -
    - 1 -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
  2. -
-
-
-
-
-
-
-

- Frais -

-
-
- 1 -
-
-
-
-
    -
  1. -
    -
    -
    -
    -
    -
    - - Avantages fidélité - -
    -
    -
    -
    - -
    - -
    -
    - la boite de 10 -
    -
    -
    -
    - 0.30 € / Pièce -
    -
    -
    -
    -
    -
    -
    -
    -
    -

    20% d'économies

    -
    - - -
    - -
    -
    -
    -
    -
    - 2,99€ - -
    -
    -
    -
    -
    -
    -
    - 1 -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
  2. -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Total produits
-
-
-
- 50,64 € -
-
-
-
-
-
-
- -
-
-
- -
-
-
-
-
-
-

- Total -

-

- 50,64€ -

-
- -
-
-
- - - -
-
- - -
- - - - - - - - -
diff --git a/resources/views/front/canard/partials/cookie.blade.php b/resources/views/front/canard/partials/cookie.blade.php deleted file mode 100644 index dccfdae..0000000 --- a/resources/views/front/canard/partials/cookie.blade.php +++ /dev/null @@ -1,90 +0,0 @@ -
-
- -
- - -
- -
-
- -
-
- - @push('scripts') - -@endpush diff --git a/resources/views/front/canard/partials/engagements.blade.php b/resources/views/front/canard/partials/engagements.blade.php deleted file mode 100644 index 2765ec3..0000000 --- a/resources/views/front/canard/partials/engagements.blade.php +++ /dev/null @@ -1,37 +0,0 @@ -
-
-
-

Nos engagements pour vous assurer un moment délicieux

-
-
-
-
-
Un large choix
-
Des produits de qualité,
des préparations variées,
des quantités adaptées...
-
-
-
-
-
-
Des économies
-
Profitez encore plus de
nos produits gourmands
en achetant en direct
-
-
-
-
-
-
Pratique et rapide
-
Quoi de mieux que la commande
en ligne pour gagner du temps ?
-
-
-
-
-
-
Fraicheur & Qualité
-
Votre commande est préparée
avec soin, dans le plus grand
respect de la chaîne du froid
-
-
-
-
-
-
diff --git a/resources/views/front/canard/partials/footer.blade.php b/resources/views/front/canard/partials/footer.blade.php deleted file mode 100644 index bc379ee..0000000 --- a/resources/views/front/canard/partials/footer.blade.php +++ /dev/null @@ -1,13 +0,0 @@ - - diff --git a/resources/views/front/canard/partials/header.blade.php b/resources/views/front/canard/partials/header.blade.php deleted file mode 100644 index 202bd1a..0000000 --- a/resources/views/front/canard/partials/header.blade.php +++ /dev/null @@ -1,104 +0,0 @@ -
-
-
-
-
-
- -
- -
- -
-
-
-
- -
- - -
-
-
- -
- -
- -
-
-
- - -
diff --git a/resources/views/front/canard/partials/main-slider.blade.php b/resources/views/front/canard/partials/main-slider.blade.php deleted file mode 100644 index 48ad45e..0000000 --- a/resources/views/front/canard/partials/main-slider.blade.php +++ /dev/null @@ -1,30 +0,0 @@ -
-
-
-
- @foreach ($slides as $slide) -
- @if(!empty($slide->picture)) -
- @else -
- @endif -
-
{{ $slide->title }}
-
{!! $slide->text !!}
- @if(!empty($slide->link_label)) - - @endif -
-
-
- @endforeach -
-
-
-
-
diff --git a/resources/views/front/canard/partials/products-list.blade.php b/resources/views/front/canard/partials/products-list.blade.php deleted file mode 100644 index beb7d7e..0000000 --- a/resources/views/front/canard/partials/products-list.blade.php +++ /dev/null @@ -1,86 +0,0 @@ -
- @if(isset($offres)) - {{-- Section offre spéciale --}} - @foreach ($offres as $product) -
-
-
Offre spéciale
-
- {{ $product->name }} -
-
- -
-
-
- {!! $product->description !!} -
-
-
- @fmt_currency($product->discountedPriceTtc) @fmt_sellunit($product->sell_unit) - @fmt_currency($product->priceTtc) @fmt_sellunit($product->sell_unit) -
- -
-
-
-
-
-
- -
-
-
Offre spéciale
- {{ $product->name }} - -
-
- @fmt_currency($product->discountedPriceTtc) @fmt_sellunit($product->sell_unit) -
@fmt_currency($product->priceTtc) @fmt_sellunit($product->sell_unit)
-
- -
-
-
- @endforeach - {{-- Fin Section offre spéciale --}} - @endif - @foreach ($products as $product) -
-
- - {{ $product->name }} - - - @if($product->promotions->count()) -
Offre spéciale
- @endif - -
-
-
@fmt_currency($product->discountedPriceTtc) @fmt_sellunit($product->sell_unit)
- -
-
-
- @endforeach - - {{-- Pas de recettes pour le moment dans les boutiques -
-
-
En manque d’inspiration ?
-
- -
Découvrez toutes nos idées recettes !
- Voir les recettes -
-
-
- --}} - -
-@if($products instanceof \Illuminate\Pagination\LengthAwarePaginator ) - {{ $products->links('partials.products-pagination') }} -@endif diff --git a/resources/views/front/canard/partials/products-pagination.blade.php b/resources/views/front/canard/partials/products-pagination.blade.php deleted file mode 100644 index e9d5a05..0000000 --- a/resources/views/front/canard/partials/products-pagination.blade.php +++ /dev/null @@ -1,46 +0,0 @@ -@if ($paginator->hasPages()) - -@endif diff --git a/resources/views/front/canard/partials/products-related.blade.php b/resources/views/front/canard/partials/products-related.blade.php deleted file mode 100644 index 425039b..0000000 --- a/resources/views/front/canard/partials/products-related.blade.php +++ /dev/null @@ -1,49 +0,0 @@ - - - diff --git a/resources/views/front/canard/partials/products-selection.blade.php b/resources/views/front/canard/partials/products-selection.blade.php deleted file mode 100644 index fd3aa1e..0000000 --- a/resources/views/front/canard/partials/products-selection.blade.php +++ /dev/null @@ -1,58 +0,0 @@ - - - diff --git a/resources/views/front/canard/partials/products-swipe.blade.php b/resources/views/front/canard/partials/products-swipe.blade.php deleted file mode 100644 index 8ac0f9c..0000000 --- a/resources/views/front/canard/partials/products-swipe.blade.php +++ /dev/null @@ -1,21 +0,0 @@ -
-
- @foreach ($products as $product) -
- -
- @endforeach -
-
diff --git a/resources/views/front/canard/partials/ranges-slider.blade.php b/resources/views/front/canard/partials/ranges-slider.blade.php deleted file mode 100644 index 97b24fa..0000000 --- a/resources/views/front/canard/partials/ranges-slider.blade.php +++ /dev/null @@ -1,46 +0,0 @@ - diff --git a/resources/views/front/canard/partials/steps.blade.php b/resources/views/front/canard/partials/steps.blade.php deleted file mode 100644 index 59d236f..0000000 --- a/resources/views/front/canard/partials/steps.blade.php +++ /dev/null @@ -1,44 +0,0 @@ -
-
- -

Un régal à portée de clic !

- -
- -
-
1
-
-
Sélectionnez
-
vos produits en ligne
-
- -
- - {{--
-
2
-
-
Déterminez
-
votre point de retrait
-
- -
--}} - -
-
2
-
-
Choisissez
-
votre créneau horaire
-
- -
- -
-
3
-
-
Retirez
-
votre commande
-
- -
-
-
diff --git a/resources/views/front/canard/partials/subscribe.blade.php b/resources/views/front/canard/partials/subscribe.blade.php deleted file mode 100644 index 9889d2e..0000000 --- a/resources/views/front/canard/partials/subscribe.blade.php +++ /dev/null @@ -1,53 +0,0 @@ -@section('subscribe') -
- -
-@stop - -@push('scripts') - -@endpush diff --git a/resources/views/front/canard/partials/tunnel-actions.blade.php b/resources/views/front/canard/partials/tunnel-actions.blade.php deleted file mode 100644 index 95a29bb..0000000 --- a/resources/views/front/canard/partials/tunnel-actions.blade.php +++ /dev/null @@ -1,18 +0,0 @@ -
- @if ( $activestep < 3 ) - Continuer mes achats - @else - - @endif - @if ( $activestep == 2 ) -
- @csrf - -
- @elseif ( $activestep == 3 ) -
- @csrf - -
- @endif -
diff --git a/resources/views/front/canard/partials/tunnel-stepper.blade.php b/resources/views/front/canard/partials/tunnel-stepper.blade.php deleted file mode 100644 index bda4590..0000000 --- a/resources/views/front/canard/partials/tunnel-stepper.blade.php +++ /dev/null @@ -1,24 +0,0 @@ -
-
-
1 ? "step__done" : "") }}"> - - 1 Connexion - -
-
2 ? "step__done" : "") }}"> - - 2 Validation - -
-
3 ? "step__done" : "") }}"> - - 3 Réservation - -
-
4 ? "step__done" : "") }}"> - - 4 Confirmation - -
-
-
diff --git a/resources/views/front/canard/privacy.blade.php b/resources/views/front/canard/privacy.blade.php deleted file mode 100644 index 58f36a8..0000000 --- a/resources/views/front/canard/privacy.blade.php +++ /dev/null @@ -1,37 +0,0 @@ -@extends('layouts.layout') - -@section('title', __('Politique de confidentialité')) - -@section('content') - - - -
-
- -
-
- -
-

{{ $content->title }}

- -
-
-
-
- @if ($content !== null) - {!!$content->value!!} - @endif -
-
-
-
-
- - - {{-- -

Politique de confidentialité

- @if ($content !== null) - {!!$content->value!!} - @endif --}} -@endsection diff --git a/resources/views/front/canard/product.blade.php b/resources/views/front/canard/product.blade.php deleted file mode 100644 index 7e9d4f2..0000000 --- a/resources/views/front/canard/product.blade.php +++ /dev/null @@ -1,115 +0,0 @@ -@extends('layouts.layout',['brParam' => $product]) - -@section('title', $product->name) - -@section('breadcrumb', request()->route()->getName()) - -@section('content') - -
-
-
-
-
-
-
-

{{ $product->name }}

-
- {!! $product->description !!} -
-
- -
-
Poids : {{ $product->weight }} {{ $product->weight_unit }}
-
Nombre de portions : {{ $product->foodProduct->servings }}
-
- -
-
@fmt_currency($product->discountedPriceTtc)/{{$product->sell_unit}}
-
- - - - + -
-
- -
-
- -
-
-
- Ingrédients - -
-
-
- {!! $product->foodProduct->ingredients !!} -
-
-
-
-
- Valeurs nutritionnelles - -
-
-
- {{-- nutrivalues --}} -
-
-
-
-
- Conseils de préparation et dégustation - -
-
-
- {!! $product->foodProduct->preparation !!} -
-
-
-
-
-
-
-
-

Foie gras entier au Pommeau de Bretagne et sel de Guérande 250 g

-
- @if(isset($product->picture_large)) - - @else - - @endif -
- -
-
Vous avez raison de faire confiance à nos produits...
-
-
-
-
Cuisiné en France
-
-
-
-
Volaille française
-
-
-
-
100% sans additifs
-
-
-
-
-
-
-
-
-
- @if($product->products->count()) - @include('partials.products-related') - @endif - - {{--

Produit "{{$product->name}}"

--}} -@endsection diff --git a/resources/views/front/canard/range.blade.php b/resources/views/front/canard/range.blade.php deleted file mode 100644 index 9ab2ab8..0000000 --- a/resources/views/front/canard/range.blade.php +++ /dev/null @@ -1,50 +0,0 @@ -@extends('layouts.layout',['brParam' => $range]) - -@section('title', $range->name) - -@section('breadcrumb', request()->route()->getName()) - -@section('content') - - -
-
-
-
-
-
-
-

{{$range->name}}

-
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eget nisi eget purus imperdiet maximus. Morbi sit amet nisi sit amet odio auctor consequat ut in ligula. Donec fermentum felis vel commodo ornare. Cras scelerisque imperdiet nisl, non malesuada felis.

-

Ut accumsan, purus ac dignissim feugiat, quam est hendrerit quam, sit amet ultricies augue neque ac diam. Curabitur orci est, efficitur eget fringilla aliquam, imperdiet sit amet purus. Suspendisse blandit tempus purus, quis consequat purus vehicula commodo.

-
-
-
-
-
- @if(isset($range->picture)) - - @else - - @endif -
-
-
-
-
- - @include('partials.products-list') - -
- - @include('partials.ranges-slider') -
- - {{--

Gamme de produits "{{$range->name}}"

- --}} -@endsection diff --git a/resources/views/front/canard/ranges.blade.php b/resources/views/front/canard/ranges.blade.php deleted file mode 100644 index b6d3de2..0000000 --- a/resources/views/front/canard/ranges.blade.php +++ /dev/null @@ -1,62 +0,0 @@ -@extends('layouts.layout') - -@section('title', __('Gamme de produits')) - -@section('content') - -
-
-
-
-

{{ __('Des saveurs pour toutes vos envies...') }}

- @if (Route::current()->getName() != 'ranges') - {{ __('Voir toutes les gammes') }} - @endif -
- -
-
-
-
-
- @foreach ($ranges as $range) -
-
-
{{$range->name}}
-
- @if(isset($range->picture)) - - @else - - @endif -
- {{ __('Voir la gamme') }} -
-
- @endforeach - {{-- complément au multiple de 4 car on flex à 25% --}} - @for ($i=0; $i < (4-(count($ranges) % 4));$i++) -
- @endfor -
-
-
-
-{{-- -
-
-
-
---}} -
- -
- @if (Route::current()->getName() != 'ranges') - {{ __('Voir toutes les gammes') }} - @endif -
-
-
-
- -@endsection diff --git a/resources/views/front/canard/sales/confirm.blade.php b/resources/views/front/canard/sales/confirm.blade.php deleted file mode 100644 index 3cc8fc0..0000000 --- a/resources/views/front/canard/sales/confirm.blade.php +++ /dev/null @@ -1,53 +0,0 @@ -@extends('layouts.layout',['brParam' => $order->reference]) - -@section('title', __('Recapitulatif de commande')) - -@section('breadcrumb', request()->route()->getName()) - -@section('content') - -
-
- -
-
- -@include('partials.tunnel-stepper') - -
-

Votre commande est enregistrée !

-
-
-
-
Merci pour cette commande !
-Une confirmation vient de vous être envoyée sur l’adresse mail {{ $order->customer->email }}
-
Rappel de votre commande ref: {{ $order->reference }}
- @foreach ($order->lines as $line) -
-
{{ $line->quantity }} x
-
{{ $line->product->name }}
-
{{ $line->formattedTotalTtc }}
-
- @endforeach -
-
Total
-
{{ $order->formattedTotalTtc }}
-
-
- A retirer le {{$order->timeslot->day}} à {{$order->timeslot->time}}, à l’adresse suivante :
- Mon point de retrait express, 15 avenue du Boulevard, 72450 Nom-de-Ville -
- - - - {{--Voir l'itinéraire--}} -
- - @include('partials.tunnel-actions') -
-
-
- - - -@endsection diff --git a/resources/views/front/canard/sales/pick-slot.blade.php b/resources/views/front/canard/sales/pick-slot.blade.php deleted file mode 100644 index 147bed1..0000000 --- a/resources/views/front/canard/sales/pick-slot.blade.php +++ /dev/null @@ -1,60 +0,0 @@ -@extends('layouts.layout',['brParam' => $order->reference]) - -@section('title', __('Recapitulatif de commande')) - -@section('breadcrumb', request()->route()->getName()) - -@section('content') - -
-
- -
-
- -@include('partials.tunnel-stepper') - -
-

Choisissez où et quand retirer votre commande

-
-
-
- @csrf - -
- {{--
-

1. Choisissez votre point de retrait

- - - - - - -
--}} -
-

2. Choisissez le jour et l'heure du retrait de votre commande

- - -
- -
-
-
-
- - -
- -
-
-
-@endsection diff --git a/resources/views/front/canard/sales/recap.blade.php b/resources/views/front/canard/sales/recap.blade.php deleted file mode 100644 index 71953aa..0000000 --- a/resources/views/front/canard/sales/recap.blade.php +++ /dev/null @@ -1,114 +0,0 @@ -@extends('layouts.layout') - -@section('title', __('Recapitulatif de commande')) - -@section('content') - -
-
- -
-
- -@include('partials.tunnel-stepper') - -
-

Récapitulatif de votre commande

-
-
-
- -
-
Désignation
-
Quantité
-
Prix TTC
-
Sous-total TTC
- - @foreach ($cart as $cartItem) -
- {{--
--}} -
-
-
-
-
- - - {{ $cartItem->name }} - -
-
-
- -
-
- {{ $cartItem->model->sell_unit }} -
-
-
-
- @fmt_currency($cartItem->model->discountedPriceTtc) @fmt_sellunit($product->sell_unit) -
-
-
- {{-- badges produit - - --}} - @if ($cartItem->model->weight) -
- {{ $cartItem->model->weight }} {{ $cartItem->model->weight_unit }} -
- @endif -
-
-
-
-
-
-
- {{----}} -
- {{ $cartItem->qty }} -
- {{----}} -
-
-
-
@fmt_currency($cartItem->model->discountedPriceTtc)
-
{{ sprintf('%s €', number_format($cartItem->model->discountedPriceTtc * $cartItem->qty, 2, ',', ' ')) }}
- @endforeach - - - - - - - -
- @include('partials.tunnel-actions') -
-
-
- -@endsection diff --git a/resources/views/front/canard/sass/_fonts.scss b/resources/views/front/canard/sass/_fonts.scss deleted file mode 100644 index 5951818..0000000 --- a/resources/views/front/canard/sass/_fonts.scss +++ /dev/null @@ -1,117 +0,0 @@ -@font-face { - font-family: 'Roboto'; - src: url('../fonts/Roboto-Italic.woff2') format('woff2'), - url('../fonts/Roboto-Italic.woff') format('woff'); - font-weight: normal; - font-style: italic; - font-display: swap; -} - -@font-face { - font-family: 'Roboto'; - src: url('../fonts/Roboto-Black.woff2') format('woff2'), - url('../fonts/Roboto-Black.woff') format('woff'); - font-weight: 900; - font-style: normal; - font-display: swap; -} - -@font-face { - font-family: 'Roboto'; - src: url('../fonts/Roboto-Bold.woff2') format('woff2'), - url('../fonts/Roboto-Bold.woff') format('woff'); - font-weight: bold; - font-style: normal; - font-display: swap; -} - -@font-face { - font-family: 'Roboto'; - src: url('../fonts/Roboto-MediumItalic.woff2') format('woff2'), - url('../fonts/Roboto-MediumItalic.woff') format('woff'); - font-weight: 500; - font-style: italic; - font-display: swap; -} - -@font-face { - font-family: 'Roboto'; - src: url('../fonts/Roboto-BoldItalic.woff2') format('woff2'), - url('../fonts/Roboto-BoldItalic.woff') format('woff'); - font-weight: bold; - font-style: italic; - font-display: swap; -} - -@font-face { - font-family: 'Roboto'; - src: url('../fonts/Roboto-Light.woff2') format('woff2'), - url('../fonts/Roboto-Light.woff') format('woff'); - font-weight: 300; - font-style: normal; - font-display: swap; -} - -@font-face { - font-family: 'Roboto'; - src: url('../fonts/Roboto-BlackItalic.woff2') format('woff2'), - url('../fonts/Roboto-BlackItalic.woff') format('woff'); - font-weight: 900; - font-style: italic; - font-display: swap; -} - -@font-face { - font-family: 'Roboto'; - src: url('../fonts/Roboto-Medium.woff2') format('woff2'), - url('../fonts/Roboto-Medium.woff') format('woff'); - font-weight: 500; - font-style: normal; - font-display: swap; -} - -@font-face { - font-family: 'Roboto'; - src: url('../fonts/Roboto-LightItalic.woff2') format('woff2'), - url('../fonts/Roboto-LightItalic.woff') format('woff'); - font-weight: 300; - font-style: italic; - font-display: swap; -} - -@font-face { - font-family: 'Roboto'; - src: url('../fonts/Roboto-Thin.woff2') format('woff2'), - url('../fonts/Roboto-Thin.woff') format('woff'); - font-weight: 100; - font-style: normal; - font-display: swap; -} - -@font-face { - font-family: 'Roboto'; - src: url('../fonts/Roboto-Regular.woff2') format('woff2'), - url('../fonts/Roboto-Regular.woff') format('woff'); - font-weight: normal; - font-style: normal; - font-display: swap; -} - -@font-face { - font-family: 'Roboto'; - src: url('../fonts/Roboto-ThinItalic.woff2') format('woff2'), - url('../fonts/Roboto-ThinItalic.woff') format('woff'); - font-weight: 100; - font-style: italic; - font-display: swap; -} - -@font-face { - font-family: 'Berkshire Swash'; - src: url('../fonts/BerkshireSwash-Regular.woff2') format('woff2'), - url('../fonts/BerkshireSwash-Regular.woff') format('woff'); - font-weight: normal; - font-style: normal; - font-display: swap; -} - diff --git a/resources/views/front/canard/sass/_notifications.scss b/resources/views/front/canard/sass/_notifications.scss deleted file mode 100644 index c21ad74..0000000 --- a/resources/views/front/canard/sass/_notifications.scss +++ /dev/null @@ -1,12 +0,0 @@ -.notifications { - display: flex; - padding: 1rem 1rem; - font-size: 2rem; - //font-family: "CreamyScriptRegular"; - line-height: 2rem; - background: linear-gradient(135deg, $blue, $green); - - .toast-close { - padding: 0 1rem; - } -} diff --git a/resources/views/front/canard/sass/_reset.scss b/resources/views/front/canard/sass/_reset.scss deleted file mode 100644 index 1252900..0000000 --- a/resources/views/front/canard/sass/_reset.scss +++ /dev/null @@ -1,207 +0,0 @@ -/* RESET */ -html, -body, -div, -span, -applet, -object, -iframe, -h1, -h2, -h3, -h4, -h5, -h6, -p, -blockquote, -pre, -a, -abbr, -acronym, -address, -big, -cite, -code, -del, -dfn, -em, -font, -img, -ins, -kbd, -q, -s, -samp, -small, -strike, -strong, -tt, -var, -b, -u, -i, -center, -dl, -dt, -dd, -ol, -ul, -li, -fieldset, -form, -label, -legend, -table, -caption, -tbody, -tfoot, -thead, -tr, -th, -td { - font-size: 100%; - margin: 0; - padding: 0; - border: 0; - outline: 0; - vertical-align: baseline; - background: transparent; - min-width: 0; -} - -* { - box-sizing: border-box; -} - -html { - min-height: 100%; - font-weight: 400; - touch-action: manipulation; - -ms-touch-action: manipulation; -} -body { - min-height: 100%; - line-height: 1; -} -blockquote, -q { - quotes: none; -} -:focus { - outline: 0; -} -ins { - text-decoration: none; -} -del { - text-decoration: line-through; -} -table { - border-collapse: collapse; - border-spacing: 0; -} -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -menu, -nav, -section { - display: block; -} -h1, -h2, -h3, -h4, -h5 { - font-weight: inherit; -} -b, -strong { - font-weight: 700; -} -input, -button, -textarea { - border: 0; - padding: 0; - font-weight: inherit; - background: transparent; - line-height: 1; -} -hr { - display: block; - width: 100%; - height: 1px; - background: #ada29c; - margin: 0; - padding: 0; - border: 0; -} -.noselect { - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} -::-webkit-input-placeholder, -::-moz-placeholder, -:-ms-input-placeholder, -:-moz-placeholder { - color: inherit; -} -input::placeholder { - color: inherit; - opacity: 0.7; -} -input[type="text"]::-ms-clear, -input[type="text"]::-ms-reveal { - display: none; - width: 0; - height: 0; -} -input[type="search"]::-webkit-search-decoration, -input[type="search"]::-webkit-search-cancel-button, -input[type="search"]::-webkit-search-results-button, -input[type="search"]::-webkit-search-results-decoration { - display: none; -} -input[type="text"], -input[type="search"], -input[type="password"], -input[type="email"], -input[type="button"], -[type="submit"], -textarea, -select, -.btn { - box-sizing: border-box; - display: block; - width: 100%; - font-family: inherit; - line-height: 1; - background: transparent; - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - resize: none; -} -input[type="button"], -[type="submit"], -.btn { - cursor: pointer; -} -a { - color: inherit; - text-decoration: none; - cursor: pointer; -} -select:disabled { - opacity: 0.6; -} diff --git a/resources/views/front/canard/sass/_variables.scss b/resources/views/front/canard/sass/_variables.scss deleted file mode 100644 index 3d02554..0000000 --- a/resources/views/front/canard/sass/_variables.scss +++ /dev/null @@ -1,25 +0,0 @@ -$blue: #1a3441; -$blue-value: "1a3441"; -$green: #a8be36; -$green-value: "a8be36"; -$brown: #9b867c; -$beige-l: #f9f7f3; -$beige-d: #f4f0e9; -$grey: #89959a; -$text-color: #2D3B45; - -$gradient-blue-1: #1a3441; -$gradient-blue-2: #005C68; -$gradient-blue-3: #00877F; -$gradient-blue-4: #46b182; -$gradient-blue-5: #98d879; -$gradient-blue-6: #f9f871; - -$success: #38c172; -$error: #e3342f; -/* -default text -color: #2D3B45; -*/ - - diff --git a/resources/views/front/canard/sass/app.scss b/resources/views/front/canard/sass/app.scss deleted file mode 100644 index 4ff4f1c..0000000 --- a/resources/views/front/canard/sass/app.scss +++ /dev/null @@ -1,24 +0,0 @@ -@charset "UTF-8"; - -@import 'reset'; -@import '../../../../../node_modules/swiper/swiper-bundle.min.css'; -@import "~toastify-js/src/toastify.css"; -@import 'variables'; -@import 'cookies-ldc.scss'; -@import 'fonts'; -@import 'notifications'; -@import 'main'; -@import 'forms'; -@import 'cart'; -@import 'tunnel'; -@import 'ranges'; -@import 'media'; - - -// prevent transition during window load -.preload * { - -webkit-transition: none !important; - -moz-transition: none !important; - -ms-transition: none !important; - -o-transition: none !important; - } diff --git a/resources/views/front/canard/sass/cart.scss b/resources/views/front/canard/sass/cart.scss deleted file mode 100644 index 9490ea1..0000000 --- a/resources/views/front/canard/sass/cart.scss +++ /dev/null @@ -1,1388 +0,0 @@ -BODY.cartOpened { - height: 100vh; - overflow-y: hidden; -} - -.basket-panel { - position: fixed; - top: 0; - left: 0; - bottom: 0; - width: 100%; - height: 100%; - pointer-events: none; - z-index: 1001; - - .empty-basket { - margin: 2em auto; - text-align: center; - max-width: 80%; - - // #icon-basket-empty { - // fill:$green; - // } - } - - .message-box { - margin: .5rem 1rem; - } -} - - -.basket-panel__mask { - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: 0; - background-color: rgba(0,0,0,.5); - opacity: 0; - pointer-events: none; - transition: opacity .3s ease-in-out; -} - -.basket-panel__mask--visible { - pointer-events: auto; - opacity: 1; -} - -.basket-panel__drawer { - position: absolute; - background-color: #f7f7f7; - top: 0; - right: 0; - transform: translateX(100%); - bottom: 0; - width: 20rem; - height: 100%; - transition: transform .3s ease-in-out; - display: flex; - flex-direction: column; - justify-content: space-between; - pointer-events: auto; -} - -@media only screen and (min-width: 768px) { - .basket-panel__drawer { - width: 37.5rem; - } -} - -@media only screen and (max-width: 767px) { - .basket-panel__drawer { - width: 100%; - } -} - -.basket-panel__drawer--opened { - transform: none; -} - -.basket-panel__header { - background-color: #fff; - display: flex; - flex: 1 0 auto; - justify-content: space-between; - align-items: center; - padding: .5em 1em; - transition: all .33s ease; - position: relative; - width: 100%; -} - -.basket-panel__header--empty { - background-color: transparent; - position: relative; - margin-bottom: 4em; - justify-content: flex-end; -} - -.basket-panel__close { - background: none; - border: 0; - position: relative; - padding: 0; - height: 2em; - width: 2rem; - cursor: pointer; - transition: all .25s ease; - - &:hover { - transform-origin: center; - transform: rotate(180deg); - } - - span { - position: absolute; - visibility: hidden; - left: -9999px; - } - - &:before { - transform: translate(-50%,-50%) rotate(-45deg); - } - - &:after { - transform: translate(-50%,-50%) rotate(45deg); - } - - &:before, &:after { - content: ""; - position: absolute; - display: block; - top: 50%; - left: 50%; - height: 0; - width: 2em; - border-top: 2px solid $blue; - } -} - -.basket-panel--empty { - height: 100%; -} - -.empty-basket { - padding: .5rem; - margin: .25rem .25rem 0; - display: flex; - justify-content: space-between; - align-items: center; - flex-direction: column; - text-align: center; - - .icon-basket-empty { - width: 7.5rem; - height: 7.5rem; - margin-bottom: .5rem; - position: relative; - left: -1.5rem; - } - - .cart-item__text { - margin-top: .125rem; - } - - .ds-button, .btn { - margin-top: 1.5rem; - } -} - -@media only screen and (min-width: 768px) { - .empty-basket { - padding: 3rem; - width: 70%; - margin: 3rem auto; - } -} - -.basket-panel--empty .basket-panel__close:after, -.basket-panel--empty .basket-panel__close:before { - border-color: $blue; -} - -.cart-item__text { - margin: 0; - color: #575757; - font-size: .875rem; - font-weight: 500; - line-height: 1.4285; -} - -@media only screen and (min-width: 768px) { - .cart-item__text { - font-size: 1rem; - } -} - -.empty-basket__action { - margin-top: 3rem; -} - -.empty-basket__action .btn { - line-height: 1.25; - display: block; - margin: auto; - margin-top: .125rem; -} - -//cart full - -//addins - -.ds-button { - display: inline-flex; - padding: 0 .5rem; - border: .0625rem solid $blue; - outline: 0; - border-radius: .25rem; - min-width: 7rem; - background-color: $blue; - color: #fff; - font-size: .875rem; - font-weight: 700; - text-transform: uppercase; - letter-spacing: .03125rem; - line-height: 1.375rem; - white-space: nowrap; - cursor: pointer; - align-items: center; - justify-content: center; - vertical-align: top; - transition: all .2s linear; - - &.ds-button--secondary { - border: .0625rem solid $green; - background-color: $green; - color: black; - } - - &.ds-button--tertiary { - border: .0625rem solid $blue; - background-color: white; - color: $green; - } -} - -.basket-panel__title-wrapper { - display: flex; - align-items: center; -} - -.message-box { - border-radius: 10px; - border: 1px solid #e6e1d8; - background-color: #f8f2e8; - margin: 0 1rem 1.25rem; - position: relative; -} - -@media (min-width: 50em) { - .message-box { - margin: 0 0 1.25rem; - } -} - -.message-box__inner { - padding: 1rem 3rem 1rem 2.2rem; - color: $blue; - font-size: 12px; -} - -@media (min-width: 50em) { - .message-box__inner { - font-size: 14px; - padding: 1rem 3.5rem 1rem 2.5rem; - } -} - -.message-box__actions, .message-box__heading { - font-weight: 700; -} - -.message-box__icon { - position: relative; - font-size: 14px; - - &:before { - content: ""; - position: absolute; - display: block; - top: 50%; - margin-top: -9px; - left: -1.75em; - height: 18px; - width: 18px; - border-radius: 50%; - background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23db3832' d='M12 0a12 12 0 1012 12A12 12 0 0012 0zm-.796 6.625a.75.75 0 011.5 0v9.542a.75.75 0 01-1.5 0zm.817 13.423a.774.774 0 11.775-.774.774.774 0 01-.775.774z' fill-rule='evenodd'/%3E%3C/svg%3E") no-repeat #fff 50%; - background-size: contain; - } -} - -.message-box__icon--low:before { - background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23db3832' d='M12 0a12 12 0 1012 12A12 12 0 0012 0zm-.796 6.625a.75.75 0 011.5 0v9.542a.75.75 0 01-1.5 0zm.817 13.423a.774.774 0 11.775-.774.774.774 0 01-.775.774z' fill-rule='evenodd'/%3E%3C/svg%3E") no-repeat #fff 50%; -} - -@media (min-width: 50em) { - .message-box__heading { - font-size: 16px; - } -} - -.message-box__heading { - font-size: 14px; - margin-bottom: .5rem; -} - -.message-box__actions { - margin-top: .5rem; -} -.message-box__actions, .message-box__heading { - font-weight: 700; -} - -//cart content - -.basket-panel__content { - overflow-y: auto; - display: flex; - flex-direction: column; - height: 100%; - margin-top: .5rem; - - .cart-tile { - margin: .25rem 1rem; - } -} - -.basket-panel__content--smooth-scroll { - -webkit-overflow-scrolling: touch; -} - -.cart-tile { - color: #575757; - background-color: #fff; -} - -.cart-tile__bottom, .cart-tile__top { - background-color: $blue; -} - -.cart-tile__top { - border-top-left-radius: .25rem; - border-top-right-radius: .25rem; - height: .5rem; -} - -.cart-tile__actions, .cart-tile__bottom, .cart-tile__header, .cart-tile__informations, .cart-tile__products, .cart-tile__seller-details { - display: flex; -} - -.cart-tile__header { - padding: .5rem 1rem .25rem; - justify-content: space-between; - align-items: center; - border-left: .0625rem solid #e5e5e5; - border-right: .0625rem solid #e5e5e5; - - section { - display: flex; - } -} - - -.cart-tile__inner-content-row { - flex-direction: row; - justify-content: space-between; - width: 100%; -} -.cart-tile__inner-content { - flex-direction: column; -} - -.cart-tile__informations img, .cart-tile__informations svg { - margin-right: 1rem; -} - -.cart-tile__informations svg { - fill: $green; -} - -svg:not(:root) { - overflow: hidden; -} -.svg-icon--color-interactive-1 { - fill: $green; -} -.svg-icon--l { - width: 2rem; - height: 2rem; -} -.svg-icon { - fill: currentColor; -} - -.cart-tile__title { - display: flex; - flex-direction: column; - align-items: flex-start; -} - -.cart-tile__title-delivery-mode { - font-size: .75rem; -} -.ds-title--light { - font-weight: 300; -} -.ds-title--bold { - font-weight: 700; -} -.ds-title--secondary { - color: #575757; -} -@media only screen and (min-width: 768px){ - .ds-title--xs { - font-size: .875rem; - } -} -.ds-title--xs { - font-size: .75rem; -} -@media only screen and (min-width: 768px){ - .ds-title { - font-size: 1.25rem; - } -} - -@media only screen and (min-width: 768px){ - .ds-title--s { - font-size: 1rem; - } -} -.ds-title--s { - font-size: .875rem; -} - -.ds-title { - display: block; - margin: 0; - color: $blue; - word-break: break-word; - overflow-wrap: break-word; - -webkit-hyphens: auto; - -ms-hyphens: auto; - hyphens: auto; - font-size: 1rem; - font-weight: 700; - line-height: 1.25; -} - -.cart-tile__title-seller { - display: flex; -} - - - -.cart-tile__warning { - font-size: .875rem; - padding-left: .25rem; - padding-bottom: .5rem; -} -.cart-tile__drive-type, .cart-tile__warning { - border-left: .0625rem solid #e5e5e5; - border-right: .0625rem solid #e5e5e5; -} - -.cart-tile__products { - padding: 0 1rem .5rem; - flex-direction: column; - border-left: .0625rem solid #e5e5e5; - border-right: .0625rem solid #e5e5e5; -} - -.products-brief { - overflow: hidden; - background-color: #fff; - padding: 0 0 1rem; -} - -@media only screen and (min-width: 1024px){ - .products-brief__top-section { - display: block; - } -} - -.products-brief__top-section { - padding: 0 0 .5rem; - margin: 1rem 1rem 0; -} - - -.products-brief__box { - transition: margin-top .3s linear; -} - -@media only screen and (min-width: 1024px){ - .products-brief__box { - margin-bottom: 0; - } -} - -.products-brief dl { - margin: 0 1rem; -} -.products-brief-data { - display: flex; - flex-wrap: wrap; -} - -.ds-body-text { - margin: 0; - color: #575757; - font-size: .875rem; - font-weight: 400; - line-height: 1.4285; -} - -@media only screen and (min-width: 768px){ - .ds-body-text { - font-size: 1rem; - } -} - -.ds-body-text--weight-bold { - font-weight: 700; -} - -.products-brief__slot { - display: flex; - justify-content: space-between; - font-size: .875rem; -} - -.pl-button--tertiary.pl-button--small { - font-size: .625rem; -} -.checkout-clear-basket__cta { - padding-left: 0; -} -@media only screen and (min-width: 768px){ - .pl-button--tertiary { - font-size: .75rem; - } -} -.pl-button--tertiary { - font-size: .625rem; - height: auto; - margin: 0; - background-color: transparent; -} -.pl-button--secondary, .pl-button--tertiary { - color: $green; - letter-spacing: .04682rem; -} -.pl-button { - position: relative; - display: inline-flex; - align-items: center; - justify-content: center; - height: 2.5rem; - min-width: 2.5rem; - font-size: .875rem; - font-weight: 700; - letter-spacing: .03125rem; - text-align: center; - text-transform: uppercase; - border: 0; - outline: none; - border-radius: .25rem; - padding: .5rem; - transition: all .3s; - cursor: pointer; -} - -.pl-button__label { - display: flex; - align-items: center; - justify-content: center; -} - -.checkout-clear-basket__icon { - margin-right: .5rem; -} - -.modal { - display: flex; - align-items: center; - justify-content: center; - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 9999; - background-color: rgba(0,0,0,.5); - transition: all .3s ease; -} - -@media (min-width: 37.5em){ - .modal__container { - border-radius: 20px; - } -} -.modal__container { - display: flex; - flex-direction: column; - max-width: 90vw; - min-width: 300px; - min-height: 25vh; - margin: .75rem; - background-color: #fff; - border-radius: 10px; - box-shadow: 0 2px 8px rgb(0 0 0 / 50%); - transition: all .3s ease; - overflow: hidden; - position: relative; -} - -.modal__body { - display: flex; - align-items: center; - justify-content: center; - flex-direction: column; - flex-grow: 1; - padding: 3rem 1.5rem; - overflow: auto; -} - -.checkout-clear-basket__modal .modal__action { - justify-content: center; - align-items: center; -} -.modal__action { - display: flex; - align-items: flex-end; - justify-content: space-between; - flex-wrap: wrap; - flex-grow: 1; - padding: .75rem; - - .a-button, .cta { - flex: 1 0 125px; - max-width: 300px; - margin: .75rem; - } -} - -.cta--tertiary { - background-color: transparent; - border: 0; - color: $green; - text-transform: none; - padding: 0; - display: inline-block; - letter-spacing: .5px; - font-size: .9rem; - transition-property: color; - transition-duration: .3s; - font-weight: 700; - cursor: pointer; -} -.cta { - background-color: $green; - border: 1px solid $green; - color: #fff; - border-radius: 0.25rem; - padding: .375rem 1.5rem; - display: inline-block; - letter-spacing: .5px; - text-transform: uppercase; - font-size: .9rem; - transition-property: border-color,background-color; - transition-duration: .3s; - font-weight: 700; - cursor: pointer; - text-align: center; -} - -.ds-button__icon, .ds-button__label { - display: inline-block; -} -.ds-button__label { - padding: .5rem 0; -} - -.products-brief .checkout-loyalty-info__loyalty { - margin: 0 1rem; -} -.checkout-loyalty-info__loyalty { - position: relative; -} -.checkout-loyalty-info__top-section { - margin-bottom: .5rem; -} - -.cart-tile__bottom--fixed { - position: absolute; - bottom: 0; - left: 0; - right: 0; - z-index: 1; -} -.cart-tile__bottom { - padding: .5rem 1.5rem; - align-items: center; - justify-content: space-between; -} - -.cart-tile__price { - display: flex; - flex-direction: column; - align-items: flex-start; -} - -.ds-title--bright { - color: #fff; -} - -.pl-button--primary.pl-button--light { - color: $green; - background-color: #fff; -} -.pl-button--primary { - color: #fff; - background-color: $green; -} - - -.basket-products-list--without-padding { - padding: 0; -} -.basket-products-list { - flex: 1; - padding: 0 1rem; -} - -.basket-products-list__inner { - width: 100%; - background-color: #fff; -} - -.basket-products-list__category { - background-color: #fff; -} -.category-heading { - display: flex; - flex-direction: column; - align-content: center; - background-color: #fff; - min-width: 100%; - overflow: hidden; -} - -.category-heading__header--collapsable { - cursor: pointer; -} -.category-heading__header { - display: inline-flex; - justify-content: space-between; - overflow: hidden; - padding: 1rem 0; -} - -.category-heading__title { - flex: 0 0 auto; -} -.ds-title--medium { - font-weight: 400; -} - -.category-heading__left-content { - display: inline-flex; - align-items: center; - justify-content: space-around; -} - -.ds-badge { - background-color: #e5e5e5; - font-size: .875rem; - line-height: .625rem; - font-weight: 400; - color: #575757; - border-radius: 1.5rem; - padding: .25rem .5rem; -} - -.category-heading__chevron { - margin: 0 0 0 1rem; -} -.ds-chevron--s { - width: 1rem; - height: 1rem; -} -.ds-chevron { - width: 1.5rem; - height: 1.5rem; - transition: all .3s ease-in-out; - flex: 0 0 auto; - background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23#{$blue-value}' d='M5 17.4c.5.5 1.2.5 1.7 0l5.9-5.8 5.8 5.8c.5.5 1.2.5 1.7 0s.5-1.2 0-1.7l-6.6-6.6c-.2-.2-.5-.3-.8-.3-.3 0-.6.1-.8.3l-6.6 6.6c-.7.5-.7 1.3-.3 1.7z'/%3E%3C/svg%3E") no-repeat 50%; - &:hover { - background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23#{$green-value}' d='M5 17.4c.5.5 1.2.5 1.7 0l5.9-5.8 5.8 5.8c.5.5 1.2.5 1.7 0s.5-1.2 0-1.7l-6.6-6.6c-.2-.2-.5-.3-.8-.3-.3 0-.6.1-.8.3l-6.6 6.6c-.7.5-.7 1.3-.3 1.7z'/%3E%3C/svg%3E") no-repeat 50%; - } -} - -.ds-chevron--revert { - transform: rotate(180deg); -} - -.basket-products-list li, .basket-products-list ol { - padding: 0; - margin: 0 0 1rem; - list-style: none; -} -.basket-products-list__product-card--no-margin { - margin-bottom: 0; -} -.basket-products-list__product-card { - margin-bottom: 1rem; - width: 100%; -} - -.ds-product-card { - height: 100%; - position: relative; - padding: .5rem 1rem 1rem; - background-color: #fff; - border: .0625rem solid #e5e5e5; - border-radius: .25rem; - box-shadow: 0 0 0 0 hsl(0deg 0% 90% / 5%); -} - -.ds-product-card--largehorizontal-icons { - position: absolute; - z-index: 1; - top: .5rem; - right: .5rem; -} - -.ds-product-card--largehorizontal-highlightlabel { - height: 1.5rem; - overflow-y: visible; -} - -.product-card-delete { - width: 1.5rem; - height: 1.5rem; - background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23#{$blue-value}' class='st1' d='M25.6 7.1c.6 0 1.1.5 1.1 1.1 0 .6-.5 1.1-1.1 1.1h-1.3l-.7 16.5c-.1 1.9-1.4 3.4-3.1 3.4H11c-1.6 0-3-1.5-3.1-3.4L7.3 9.3H6c-.6 0-1.1-.5-1.1-1.1 0-.6.5-1.1 1.1-1.1h19.6zm-4.3 18.8L22 9.3H9.3l.7 16.6c0 .7.5 1.2.8 1.2h9.6c.4 0 .8-.5.9-1.2zm-7.3-3c-.4 0-.8-.3-.8-.8l-.5-9.7c-.1-.4.3-.8.8-.8.4 0 .9.3.9.8l.5 9.7c0 .4-.4.8-.9.8.1 0 0 0 0 0zm3.9 0c-.5 0-.9-.4-.8-.9l.5-9.7c0-.5.5-.8.9-.8.5 0 .8.4.8.9l-.5 9.7c0 .5-.4.8-.9.8zm1.4-18h-7c-.6 0-1.1-.5-1.1-1.1s.5-1.1 1.1-1.1h7c.6 0 1.1.5 1.1 1.1s-.5 1.1-1.1 1.1z'/%3E%3C/svg%3E") no-repeat 50%; - background-size: contain; - cursor: pointer; - &:hover { - background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23#{$green-value}' class='st1' d='M25.6 7.1c.6 0 1.1.5 1.1 1.1 0 .6-.5 1.1-1.1 1.1h-1.3l-.7 16.5c-.1 1.9-1.4 3.4-3.1 3.4H11c-1.6 0-3-1.5-3.1-3.4L7.3 9.3H6c-.6 0-1.1-.5-1.1-1.1 0-.6.5-1.1 1.1-1.1h19.6zm-4.3 18.8L22 9.3H9.3l.7 16.6c0 .7.5 1.2.8 1.2h9.6c.4 0 .8-.5.9-1.2zm-7.3-3c-.4 0-.8-.3-.8-.8l-.5-9.7c-.1-.4.3-.8.8-.8.4 0 .9.3.9.8l.5 9.7c0 .4-.4.8-.9.8.1 0 0 0 0 0zm3.9 0c-.5 0-.9-.4-.8-.9l.5-9.7c0-.5.5-.8.9-.8.5 0 .8.4.8.9l-.5 9.7c0 .5-.4.8-.9.8zm1.4-18h-7c-.6 0-1.1-.5-1.1-1.1s.5-1.1 1.1-1.1h7c.6 0 1.1.5 1.1 1.1s-.5 1.1-1.1 1.1z'/%3E%3C/svg%3E") no-repeat 50%; - } -} - -.product-card-highlightlabel--fid { - position: relative; - z-index: 0; - color: $blue; -} -.product-card-highlightlabel { - display: inline-block; - color: $blue; - line-height: 1.5rem; -} - -.product-card-highlightlabel--fid:before { - content: ""; - position: absolute; - left: 0; - top: 50%; - z-index: -1; - width: 100%; - height: .7em; - background-color: $green; - border-radius: .25rem; -} - -.ds-body-text--weight-bold { - font-weight: 700; -} -.ds-body-text--color-inherit { - color: inherit; -} -.ds-body-text--size-s { - font-size: .75rem; -} - -.ds-product-card--largehorizontal-infos { - display: block; -} - -.ds-product-card--largehorizontal-infos-main { - display: flex; - flex-direction: row; - margin: .5rem 0; -} - -.ds-product-card--largehorizontal-left { - margin-right: 1rem; -} - -.ds-product-card--largehorizontal-image { - position: relative; - width: 6rem; - min-width: 6rem; - height: 6rem; -} - -.product-card-image { - display: block; - line-height: 0; - padding-bottom: 100%; - position: relative; -} - -.product-card-image__image { - margin-bottom: 0; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - line-height: 1.25; -} - -.product-badges-list { - list-style: none; - margin: 0; - padding: 0; - display: flex; -} - - -.product-badges-list__item:last-child { - margin-right: 0; -} -.basket-products-list li, .basket-products-list ol { - padding: 0; - margin: 0 0 1rem; - list-style: none; -} -blockquote :last-child, li :last-child, p :last-child { - margin-bottom: 0; -} -.product-badges-list__item { - margin: 0; - padding: 0; - margin-right: .5rem; -} - -.product-badge__link { - display: block; - position: relative; - cursor: default; - pointer-events: none; -} - -.product-badge__icon { - display: block; -} - -.product-badge--size-m .product-badge__icon__img { - height: 1.5rem; - width: 1.5rem; -} - -.product-badge__title { - display: block; - font-size: .75rem; - font-weight: 700; - line-height: 1; - text-align: center; - position: absolute; - left: 50%; - transform: translateX(-50%); - color: #fff; - background-color: $blue; - border-radius: 4px; - padding: 4px; - min-width: 90px; - max-width: 150px; - opacity: 0; - transition: all .3s ease; -} - -.ds-format { - background: #fff; - color: #575757; - font-size: .75rem; - font-weight: 700; - padding: 0 .25rem; - border-radius: .25rem; - height: 1.5rem; - display: inline-block; - max-width: 6rem; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - line-height: 2; - border: .0625rem solid #e5e5e5; - cursor: default; -} - -.ds-body-text--color-standard-3 { - color: #575757; -} - -.ds-product-card--largehorizontal-promotion { - position: relative; - margin-bottom: .5rem; -} - - - - -.promotion-description { - display: inline-block; - flex-direction: row; - cursor: pointer; - max-width: 100%; - padding-right: 1.5rem; - position: relative; - z-index: 0; - color: #e81e26; - font-size: .875rem; - font-weight: 700; -} - -@media (hover: hover) { - .promotion-description { - padding-right: 0; - } -} - -@media (hover: hover) { - .promotion-description:before { - width: 100%; - } -} -.promotion-description:before { - width: calc(100% - 1.5rem); -} - -.promotion-description:before { - content: ""; - position: absolute; - left: 0; - top: 50%; - z-index: -1; - width: 100%; - height: .7em; - background-color: #fff78f; - border-radius: .25rem; -} - -.promotion-description--loyalty { - position: relative; - z-index: 0; - color: $blue; - font-size: .875rem; - font-weight: 700; -} - -@media (hover: hover){ - .promotion-description--loyalty:before { - width: 100%; - } -} -.promotion-description--loyalty:before { - width: calc(100% - 1.5rem); -} -.promotion-description--loyalty:before { - content: ""; - position: absolute; - left: 0; - top: 50%; - z-index: -1; - width: 100%; - height: .7em; - background-color: $green; - border-radius: .25rem; -} - - -.promotion-label { - padding: 0; - margin: 0; -} - -.promotion-description--loyalty .promotion-label { - max-height: 3rem; - padding-left: 1.5rem; - max-width: 100%; -} - -@media only screen and (min-width: 768px){ - .promotion-description--loyalty .promotion-label { - align-self: flex-start; - line-height: 1.4285; - } -} - -.promotion-description--loyalty .promotion-label:before { - content: ""; - background: url("../img/loyalty.svg"); - background-size: contain; - background-position: 50%; - width: 1rem; - height: 1rem; - display: block; - position: absolute; - left: 0; - bottom: 0; - border-radius: .125rem; -} - -.promotion-label__txt { - position: relative; - margin: 0; - padding: 0; - min-width: unset; - display: block; - flex-grow: 1; - overflow: hidden; - line-height: 1.4285; - max-height: 2.15rem; - text-overflow: ellipsis; - white-space: nowrap; -} - -.promotion-description .promotion-label__txt { - font-weight: 700; -} - -.promotion-description__icon-info { - width: 1rem; - height: 1rem; - fill: #929292; - position: absolute; - right: 0; - top: 50%; - transform: translateY(-50%); -} - -@media only screen and (min-width: 768px){ - .promotion-description__icon-info { - transform: translateY(-25%); - } -} - -.promotion-slide { - position: absolute; - align-content: center; - align-items: center; - background: #fff; - justify-content: space-between; - padding: 0; - z-index: 7; - right: 0; - bottom: 100%; - left: 0; - top: auto; - min-width: 100%; - margin: 0 -.5rem .25rem; - transform-origin: bottom; - border-radius: 5px; - box-shadow: 0 0.3rem 0.5rem -0.3rem rgb(0 0 0 / 40%); - font-size: .875rem; -} - -.promotion-slide__header { - color: #fff; - padding: .5rem; - border-radius: .25rem .25rem 0 0; - background: linear-gradient(90deg,#ef473a 0,#cb2d3e); -} - -.promotion-slide__header--loyalty { - background: linear-gradient(90deg,$gradient-blue-2 0,$blue); -} - -.promotion-slide__header-txt { - width: 100%; - display: flex; - flex: 0 0 100%; - font-weight: 300; - justify-content: space-between; - align-items: center; - font-size: .875rem; -} - -.promotion-slide__header-label, .promotion-slide__header-txt { - -} - -.promotion-slide__icon-promo { - padding: 0 .25rem 0 0; - width: 1rem; - height: 1rem; - overflow: hidden; - cursor: pointer; - box-sizing: content-box; -} - -.promotion-slide__header-label { - font-size: unset; - flex-grow: 1; - text-overflow: ellipsis; - overflow: hidden; - white-space: nowrap; - padding-right: .5rem; - font-weight: 400; -} - -.promotion-slide__txt { - font-size: .75rem; - color: $blue; - line-height: 1.3; - text-align: left; - width: 100%; - padding: .5rem; - opacity: 1; - font-weight: 400; -} - -.promotion-slide__end-date { - color: #575757; - display: block; - margin-top: .25rem; - font-weight: 400; -} - -.ds-product-card--largehorizontal-pricing { - display: flex; - flex-direction: row; - align-items: center; - justify-content: space-between; -} - -@media only screen and (min-width: 768px){ - .ds-title--m { - font-size: 1.25rem; - } -} - -.product-card-price__price--final { - white-space: nowrap; -} - -.product-card-price__discount--fid { - position: relative; - z-index: 0; - color: $blue; -} - -.product-card-price__discount--fid:before { - content: ""; - position: absolute; - left: 0; - top: 50%; - z-index: -1; - width: 100%; - height: .7em; - background-color: $green; - border-radius: .25rem; -} - -.ds-product-card--largehorizontal-cta { - margin-left: 1rem; - line-height: 0; - position: relative; -} - -.add-to-cart { - width: auto; - height: 2.5rem; - position: relative; - transition: all .3s ease-out; - display: flex; - justify-content: flex-end; -} - -.pl-button-counter { - min-width: 6.4rem; - height: 2.5rem; - border: .0625rem solid #e5e5e5; - border-radius: .25rem; - background: $beige-d; -} - -.pl-button-counter, .pl-button-counter__action { - display: flex; - align-items: center; - justify-content: center; -} - -.pl-button-counter__action { - min-width: 2.5rem; - border: 0; - background: transparent; - outline: none; - cursor: pointer; - - svg:hover { - fill:$green; - } -} - -.pl-button-counter__value { - font-size: 1.25rem; - font-weight: 700; - color: $blue; - width: 1.3rem; - text-align: center; - overflow: visible; - white-space: nowrap; -} - -.promotion-feedback { - position: absolute; - top: 50%; - left: 55%; - transform: translate(-50%,-50%); - z-index: 1; - display: block; -} - -.promotion-feedback--text-only { - top: auto; - bottom: 0; - transform: translate(-50%,50%); - background: #fff; -} - -.svg-icon--s { - width: 1rem; - height: 1rem; -} - -.message-box__actions a+a { - margin-left: 1em; -} - -.promotion-slide:after, .promotion-slide:before { - top: 100%; - left: 2rem; - border: solid transparent; - content: " "; - height: 0; - width: 0; - position: absolute; - pointer-events: none; - border-width: .5rem; - margin-left: -.5rem; -} - -.promotion-slide:after { - border-top-color: #fff; -} - - -.pl-button--secondary .svg-icon, .pl-button--tertiary .svg-icon { - width: 1rem; - height: 1rem; -} - -.products-brief-data dd, .products-brief-data dt { - flex-grow: 1; - font-weight: 400; - margin: 0; -} - -.products-brief-data dd { - text-align: right; - margin: 0; - width: 35%; - white-space: nowrap; -} diff --git a/resources/views/front/canard/sass/cookies-ldc.scss b/resources/views/front/canard/sass/cookies-ldc.scss deleted file mode 100644 index 0b31b8d..0000000 --- a/resources/views/front/canard/sass/cookies-ldc.scss +++ /dev/null @@ -1,580 +0,0 @@ -/* DEBUT DU PARAMETRAGE */ -/* - Choix des FONTS */ -/* - Changement des couleurs et des polices */ - -:root{ - /* PARTIE A RENSEIGNER */ - --primary-color: #{$blue}; - --secondary-color: #{$green}; - --background-color: #{$beige-l}; - --title-font: "Berkshire Swash", Arial, Helvetica, sans-serif; - --title-size: 30px; - --text-font: "Roboto", Arial, Helvetica, sans-serif; - --text-size: 1rem; - --accept-color: #{$success}; - --deny-color: #{$error}; - - /* PARTIE A RENSEIGNER FACULTATIF */ - /* FENETRE D'ACCUEIL */ - --ck-bg-color: var(--background-color); - /* Title settings */ - --ck-w1-bgcolor-title: var(--background-color); - --ck-w1-font-family-title: var(--title-font); - --ck-w1-font-size-title: var(--title-size); - --ck-w1-color-title: var(--primary); - - /* Text settings */ - --ck-w1-font-family-txt: var(--text-font); - --ck-w1-font-size-txt: var(--text-size); - --ck-w1-color-txt: var(--primary-color); - --ck-w1-color-href-hover: var(--secondary-color); - - /* Button settings */ - --ck-w1-color-btn: var(--primary-color); - --ck-w1-color-btn-hover: var(--secondary-color); - --ck-w1-font-family-btn-txt: var(--text-font); - --ck-w1-font-size-btn-txt: var(--text-size); - --ck-w1-color-btn-txt: #ffffff; - --ck-w1-color-btn-txt-hover: #ffffff; - --ck-w1-color-btn-border: transparent; - --ck-w1-color-btn-border-hover: transparent; - - /* FENETRE DE PERSONNALISATION */ - --ck-bg-color-modal-wrapper: #ffffff; - /* Title settings */ - --ck-w2-bgcolor-title: var(--primary-color); - --ck-w2-font-family-title: var(--title-font); - --ck-w2-font-size-title: var(--title-size); - --ck-w2-color-title: #ffffff; - - /* Text settings */ - --ck-w2-font-family-txt: var(--text-font); - --ck-w2-font-size-txt: var(--text-size); - --ck-w2-color-txt: #ffffff; - --ck-w2-color-href-hover: #000000; - - /* Accept/Deny btn settings */ - --ck-color-accept: #808080; - --ck-color-accept-hover: var(--accept-color); - --ck-color-deny: #808080; - --ck-color-deny-hover: var(--deny-color); - --ck-color-txt: #ffffff; - --ck-color-txt-hover: #ffffff; - - /* Cookies list settings */ - --ck-bgcolor-list: #e4e4e4; - --ck-font-family-list: var(--text-font); - --ck-font-size-list: var(--text-size); - --ck-color-list: #000000; -} -/* FIN DU PARAMETRAGE */ - -/* MOBILE FIRST */ -#ldcweb-cn *,#ldcweb-cn *::before, #ldcweb-cn *::after { - padding: 0; - margin: 0; - box-sizing: border-box; -} -#template{display: none;} -#ldcweb-cn.open-banner .ldcweb-cn-banner{display: flex;} -#ldcweb-cn.open-modal #ldcweb-cn-modal{display: flex;} -#ldcweb-cn.open-banner, #ldcweb-cn.open-modal{display: flex;} -#ldcweb-cn { - display: none; - flex-direction: column; - justify-content: flex-end; - position: fixed; - left: 0; right: 0; - top: 0; bottom: 0; - width: 100%; height: 100%; - background: rgba(0, 0, 0, 0.7); - z-index: 99999999999; - opacity: 1; - line-height: initial; -} - -#ldcweb-cn p, -#ldcweb-cn a{ - font-family: var(--ck-w1-font-family-txt); - font-size: var(--ck-w1-font-size-txt); - color: var(--ck-w1-color-txt); -} -#ldcweb-cn a{ - text-decoration: underline; - transition: color .5s; -} -#ldcweb-cn a:hover{color: var(--ck-w1-color-href-hover);} -#ldcweb-cn .ldcweb-cn-banner, #ldcweb-cn-modal .modal-wrapper{ - overflow: auto; - display: flex; - flex-direction: column; - align-items: center; -} -#ldcweb-cn .ldcweb-cn-banner{ - display: none; - padding: 6vw 10vw; - max-height: 50vh; - - box-shadow: 0px 5px 10px -5px #000 inset; - background-color: var(--ck-bg-color); -} -#ldcweb-cn .ldcweb-cn-banner div:not(:last-child){margin-bottom: 4vw;} -#ldcweb-cn .banner-img{ - flex: 1; - max-width: 200px; -} -#ldcweb-cn .banner-img img{width: 100%;} -#ldcweb-cn .col{flex: 2;} -#ldcweb-cn .banner-title p{ - font-family: var(--ck-w1-font-family-title); - font-size: var(--ck-w1-font-size-title); - font-weight: bold; - color: var(--ck-w1-color-title); - text-align: center; -} -#ldcweb-cn .banner-txt{text-align: center;} -#ldcweb-cn .btns { - flex: 1; - display: flex; - flex-direction: column; -} -#ldcweb-cn .btns .btn { - display: block; - flex: 1; - padding: 1em; - text-align: center; - min-width: 12em; - - background-color: var(--ck-w1-color-btn); - text-decoration: none; - font-family: var(--ck-w1-font-family-btn-txt); - font-size: var(--ck-w1-font-size-btn-txt); - color: var(--ck-w1-color-btn-txt); - transition: all .5s; -} -#ldcweb-cn .btns .btn:hover { - background-color: var(--ck-w1-color-btn-hover); - background-image: linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.5)); - color: var(--ck-w1-color-btn-txt-hover); -} - -/* MODAL */ -#ldcweb-cn-modal { - display: none; - align-items: center; - justify-content: center; - position: fixed; - left: 0; right: 0; - top: 0; bottom: 0; - width: 100%; height: 100%; - z-index: 200; - - background: rgba(0, 0, 0, 0.7); - opacity: 1; -} -#ldcweb-cn-modal .modal-wrapper{ - position: relative; - background-color: var(--ck-bg-color-modal-wrapper); -} -#ldcweb-cn-modal .modal-wrapper > div:not(:first-of-type){width: 100%;} -#ldcweb-cn-modal .modal-btn-close{ - position: absolute; - right: 0; - top: 0; - width: 5vw; height: 6vw; - display: flex; - justify-content: center; - align-items: center; -} -#ldcweb-cn-modal .modal-btn-close a{ - width: 100%; - height: 100%; - display: flex; - justify-content: center; - align-items: center; - - font-family: Arial, Helvetica, sans-serif; - font-size: medium; - font-weight: bold; - color: var(--ck-w2-color-title); - background-color: var(--ck-w2-bgcolor-title); - text-decoration: none; - border-radius: 0 0 0 50%; - transition: all .5s; -} -#ldcweb-cn-modal .modal-btn-close a:hover{ - color: #000000; - background-color: #808080; - background-image: linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.5)); - box-shadow: -1px 1px 10px -4px #000; -} -#ldcweb-cn-modal .modal-title, #ldcweb-cn-modal .modal-all - {background-color: var(--ck-w2-bgcolor-title);} -#ldcweb-cn-modal .modal-title .description, -#ldcweb-cn-modal .modal-title > div, -#ldcweb-cn-modal .modal-all{ - display: flex; - flex-direction: column; - align-items: center; -} -#ldcweb-cn-modal .modal-title .description, -#ldcweb-cn-modal .modal-title > div a, -#ldcweb-cn-modal .modal-all p, -#ldcweb-cn-modal .modal-all a{ - font-family: var(--ck-w2-font-family-txt); - font-size: var(--ck-w2-font-size-txt); - color: var(--ck-w2-color-txt); - text-align: center; -} -#ldcweb-cn-modal .modal-title > div a:hover, -#ldcweb-cn-modal .modal-all a:hover - {color: var(--ck-w2-color-href-hover);} -/* TITLE */ -#ldcweb-cn-modal .modal-wrapper .modal-title{padding: 4vw 4vw 0;} -#ldcweb-cn-modal .modal-title .title{ - font-family: var(--ck-w2-font-family-title); - font-size: var(--ck-w2-font-size-title); - font-weight: bold; - color: var(--ck-w2-color-title); - text-align: center; -} -#ldcweb-cn-modal .modal-title .title::after, -#ldcweb-cn-modal .modal-title > div::after{ - content: ""; - display: block; - width: 90%; height: 2px; - margin: 4vw auto; - - background-color: rgba(255, 255, 255, .5); -} -#ldcweb-cn-modal .modal-title a{width: fit-content;} -/* ALL */ -#ldcweb-cn-modal .modal-wrapper .modal-all{padding: 0 4vw 4vw;} -#ldcweb-cn-modal .modal-all .all-buttons{ - display: flex; - flex-direction: column; - align-items: center; -} -#ldcweb-cn-modal .modal-all .all-buttons > div{ - width: calc(100% + 15vw); - margin: 2vw 0 0; -} -#ldcweb-cn-modal .modal-all a{ - display: block; - padding: 3vw 0; - - color: var(--ck-color-txt); - /* font-weight: bold; */ - text-decoration: none; - transition: all .5s; -} -#ldcweb-cn-modal .all-buttons > div.accept > a.active { - background-color: var(--ck-color-accept-hover); - background-image: linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.5)); -} -#ldcweb-cn-modal .all-buttons > div.deny > a.active { - background-color: var(--ck-color-deny-hover); - background-image: linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.5)); -} -#ldcweb-cn-modal .modal-all > div > div:first-of-type a{background-color: var(--ck-color-accept);} -#ldcweb-cn-modal .modal-all > div > div:last-of-type a{background-color: var(--ck-color-deny);} -#ldcweb-cn-modal .modal-all > div > div:first-of-type a:hover{ - color: var(--ck-color-txt-hover); - background-color: var(--ck-color-accept-hover); - background-image: linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.5)); -} -#ldcweb-cn-modal .modal-all > div > div:last-of-type a:hover{ - color: var(--ck-color-txt-hover); - background-color: var(--ck-color-deny-hover); - background-image: linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.5)); -} -/* DETAILS */ -#ldcweb-cn-modal .modal-wrapper .modal-details{padding: 2vw 0;} -#ldcweb-cn-modal .modal-details ul{ - display: flex; - flex-direction: column; -} -#ldcweb-cn-modal .modal-details li > div{ - display: flex; - flex-direction: column; - justify-content: space-between; - margin: 2vw 0; - padding: 2vw 4vw; - - background-color: var(--ck-bgcolor-list); -} -#ldcweb-cn-modal .modal-details li span, -#ldcweb-cn-modal .modal-details li a, -#ldcweb-cn-modal .modal-details li label{ - font-family: var(--ck-font-family-list); - font-size: var(--ck-font-size-list); - color: var(--ck-color-list); -} -#ldcweb-cn-modal .modal-details li a:hover{color:var(--secondary-color);} -#ldcweb-cn-modal .modal-details .ldcweb-cn-infos{ - display: flex; - flex-direction: column; -} -#ldcweb-cn-modal .modal-details .ldcweb-cn-infos span:first-of-type{ - font-size: calc(var(--ck-font-size-list) * 1.25); - font-weight: bold; -} -#ldcweb-cn-modal .modal-details .ldcweb-cn-infos a{width: fit-content;} -#ldcweb-cn-modal .modal-details .ldcweb-cn-buttons{display: flex;} -#ldcweb-cn-modal .modal-details .ldcweb-cn-buttons div:first-of-type, -#ldcweb-cn-modal .modal-details .ldcweb-cn-buttons div:last-of-type - {transition: all .5s;} -#ldcweb-cn-modal .modal-details .ldcweb-cn-buttons div:first-of-type{ - margin-right: 2vw; - background: var(--ck-color-accept); -} -#ldcweb-cn-modal .modal-details .ldcweb-cn-buttons div:last-of-type{background: var(--ck-color-deny);} -#ldcweb-cn-modal .modal-details .ldcweb-cn-buttons div{ - width: 25vw; - margin: 2vw 0; - display: table; - - /* font-weight: bold; */ - text-align: center; -} -#ldcweb-cn-modal .modal-details .ldcweb-cn-buttons div:first-of-type:hover, -#ldcweb-cn-modal .modal-details .ldcweb-cn-buttons div:last-of-type:hover{ - cursor: pointer; - background: linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.5)); -} -#ldcweb-cn-modal .modal-details .ldcweb-cn-buttons div:hover > label{color: var(--ck-color-txt-hover);} -#ldcweb-cn-modal .modal-details .ldcweb-cn-buttons div:first-of-type input:checked ~ label, -#ldcweb-cn-modal .modal-details .ldcweb-cn-buttons div:first-of-type input ~label.active{ - background-color: var(--ck-color-accept-hover); - background-image: linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.5)); -} -#ldcweb-cn-modal .modal-details .ldcweb-cn-buttons div:last-of-type input:checked ~ label, -#ldcweb-cn-modal .modal-details .ldcweb-cn-buttons div:last-of-type input ~ label.active{ - background-color: var(--ck-color-deny-hover); - background-image: linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.5)); -} -#ldcweb-cn-modal .modal-details .ldcweb-cn-buttons input{display: none;} -#ldcweb-cn-modal .modal-details .ldcweb-cn-buttons label{ - display: block; - padding: 1.5vw 0; - - color: var(--ck-color-txt); - transition: color .5s; -} -#ldcweb-cn-modal .modal-details .ldcweb-cn-buttons label:hover{ - cursor: pointer; - color: var(--ck-color-txt-hover); -} - -/* ************************* */ -/* ** ** */ -/* ************************* */ -/* ** ** */ -/* ** ** */ -/* ** ** */ -/* ** ** */ -/* ** ** */ -/* ** ** */ -/* ** ** */ -/* ******* */ -@media only screen and (min-width:768px) { - #ldcweb-cn .ldcweb-cn-banner{ - padding-top: 4vw; - padding-bottom: 4vw; - } - #ldcweb-cn .btns {flex-direction: row;} - #ldcweb-cn .btns > div:first-child{margin-top: 0;} - #ldcweb-cn .btns > div:last-child{margin-top: 0;} - #ldcweb-cn .btns > div:first-child .btn {margin: 0 2vw 0 0;} - - /* MODAL */ - #ldcweb-cn-modal .modal-wrapper{width: 90vw;} - /* ALL */ - #ldcweb-cn-modal .modal-all{ - flex-direction: row; - justify-content: space-between; - } - #ldcweb-cn-modal .modal-all a{padding: 2vw 0;} - #ldcweb-cn-modal .modal-all .all-buttons > div{margin: 0;} - #ldcweb-cn-modal .modal-all .all-buttons > div:last-of-type{margin: 1vw 0 0;} - #ldcweb-cn-modal .modal-all a{width: 30vw;} - /* DETAILS */ - #ldcweb-cn-modal .modal-details li > div{flex-direction: row;} - #ldcweb-cn-modal .modal-details .ldcweb-cn-buttons{flex-direction: column;} - #ldcweb-cn-modal .modal-details .ldcweb-cn-buttons div{ - width: 20vw; - margin: 0; - } - #ldcweb-cn-modal .modal-details .ldcweb-cn-buttons div:first-of-type{margin: 0 0 1vw;} -} - -/* **** */ -/* * * */ -/* * * */ -/* * * */ -/* * * */ -/* * * */ -/* * * */ -/* * * */ -/* * * */ -/* * * */ -/* * * */ -/* * * */ -/* * * */ -/* **** */ -@media only screen and (min-width:1024px) { - #ldcweb-cn .ldcweb-cn-banner{ - flex-direction: row; - align-items: flex-start; - justify-content: space-between; - padding: 2vw 3vw; - } - #ldcweb-cn .ldcweb-cn-banner div:not(:last-child){margin: 0 0 .5em 0;} - #ldcweb-cn .ldcweb-cn-banner > div:not(:last-child){margin: 0 4vw 0 0;} - #ldcweb-cn .ldcweb-cn-banner .banner-img{ - height: 100%; - display: flex; - align-items: center; - } - #ldcweb-cn .banner-img img{height: fit-content;} - - #ldcweb-cn .banner-txt{text-align: start;} - #ldcweb-cn .btns { - height: 100%; - flex-direction: column; - justify-content: center; - } - #ldcweb-cn .btns > div:first-child .btn{margin: 0;} - /* MODAL */ - #ldcweb-cn-modal .modal-wrapper{width: 80vw;} - #ldcweb-cn-modal .modal-btn-close{ - width: 3vw; - height: 3vw; - } - /* TITLE */ - #ldcweb-cn-modal .modal-wrapper .modal-title{padding: 2vw 2vw 0;} - #ldcweb-cn-modal .modal-title .title::after, - #ldcweb-cn-modal .modal-title > div::after{margin: 2vw auto;} - /* ALL */ - #ldcweb-cn-modal .modal-wrapper .modal-all{padding: 0 2vw 2vw;} - #ldcweb-cn-modal .modal-all a{padding: 1.5vw 0;} - #ldcweb-cn-modal .modal-all .all-buttons{flex-direction: row;} - #ldcweb-cn-modal .modal-all .all-buttons > div:first-of-type{margin: 0 1vw 0 0;} - #ldcweb-cn-modal .modal-all .all-buttons > div:last-of-type{margin: 0;} - #ldcweb-cn-modal .modal-all a{width: 22vw;} - /* DETAILS */ - #ldcweb-cn-modal .modal-wrapper .modal-details{padding: 1vw 0;} - #ldcweb-cn-modal .modal-details li > div{ - margin: 1vw 0; - padding: 2vw; - } - #ldcweb-cn-modal .modal-details .ldcweb-cn-buttons{ - flex-direction: row; - align-items: center; - } - #ldcweb-cn-modal .modal-details .ldcweb-cn-buttons div{ - width: 10vw; - margin: 0; - } - #ldcweb-cn-modal .modal-details .ldcweb-cn-buttons div:first-of-type{margin: 0 1vw 0;} - -} - -/* ******** */ -/* * ***** * */ -/* * * * * */ -/* *** * * */ -/* * * */ -/* * * */ -/* * * */ -/* * * */ -/* * * */ -/* * * */ -/* * * */ -/* * * */ -/* * * */ -/* * * */ -/* * * */ -/* * ************** */ -/* * * */ -/* ***************** */ -@media only screen and (min-width: 1440px) { - #ldcweb-cn .col{flex: 4;} - /* MODAL */ - #ldcweb-cn-modal .modal-wrapper{width: 60vw;} - #ldcweb-cn-modal .modal-btn-close{ - width: 2vw; - height: 2vw; - } - /* ALL */ - #ldcweb-cn-modal .modal-all .all-buttons > div:first-of-type{margin: 0 1vw 0 0;} - #ldcweb-cn-modal .modal-all a{ - width: 15vw; - padding: 1vw 0; - } - /* DETAILS */ - #ldcweb-cn-modal .modal-details .ldcweb-cn-buttons div{width: 8vw;} - #ldcweb-cn-modal .modal-details .ldcweb-cn-buttons label{padding: 1vw 0;} -} - -/* ************ */ -/* * **** */ -/* ********* * */ - /* ***** * */ - /* ** * */ - /* ** * */ -/* ********** * */ -/* * * */ -/* ********* * */ - /* ***** * */ - /* ** * */ - /* ** * */ -/* ********** * */ -/* * *** */ -/* ************ */ -@media only screen and (min-width: 1920px) { - #ldcweb-cn p{font-size: calc(var(--ck-w1-font-size-txt) * 1.25);} - #ldcweb-cn .banner-title p{font-size: calc(var(--ck-w1-font-size-title) * 1.25);} - #ldcweb-cn .btns .btn {font-size: calc(var(--ck-w1-font-size-btn-txt) * 1.25);line-height: calc(var(--ck-w1-font-size-btn-txt) * 0.75);} - - /* MODAL */ - #ldcweb-cn-modal .modal-wrapper{width: 50vw;} - #ldcweb-cn-modal .modal-btn-close{ - width: 2rem; - height: 2rem; - } - #ldcweb-cn-modal .modal-title .description, - #ldcweb-cn-modal .modal-title > div a, - #ldcweb-cn-modal .modal-all p, - #ldcweb-cn-modal .modal-all a - {font-size: calc(var(--ck-w2-font-size-txt) * 1.25);} - /* TITLE */ - #ldcweb-cn-modal .modal-wrapper .modal-title{padding: 1vw 1vw 0;} - #ldcweb-cn-modal .modal-title .title{font-size: calc(var(--ck-w2-font-size-title) * 1.25);} - #ldcweb-cn-modal .modal-title .title::after, - #ldcweb-cn-modal .modal-title > div::after{margin: 1vw auto;} - /* ALL */ - #ldcweb-cn-modal .modal-wrapper .modal-all{padding: 0 1vw 1vw;} - #ldcweb-cn-modal .modal-all a{ - width: 13vw; - padding: .5vw 0; - } - /* DETAILS */ - #ldcweb-cn-modal .modal-wrapper .modal-details{padding: .5vw 0;} - #ldcweb-cn-modal .modal-details li > div{ - margin: .5vw 0; - padding: 1vw; - } - #ldcweb-cn-modal .modal-details li span, - #ldcweb-cn-modal .modal-details li a, - #ldcweb-cn-modal .modal-details li label - {font-size: calc(var(--ck-font-size-list) * 1.25);} - #ldcweb-cn-modal .modal-details .ldcweb-cn-infos span:first-of-type{font-size: calc(var(--ck-font-size-list) * 1.5);} - #ldcweb-cn-modal .modal-details .ldcweb-cn-buttons{ - flex-direction: row; - align-items: center; - } - #ldcweb-cn-modal .modal-details .ldcweb-cn-buttons div{width: 5vw;} - #ldcweb-cn-modal .modal-details .ldcweb-cn-buttons div:first-of-type{margin: 0 1vw 0;} - #ldcweb-cn-modal .modal-details .ldcweb-cn-buttons label{padding: .5vw 0;} -} diff --git a/resources/views/front/canard/sass/forms.scss b/resources/views/front/canard/sass/forms.scss deleted file mode 100644 index c9c6b67..0000000 --- a/resources/views/front/canard/sass/forms.scss +++ /dev/null @@ -1,36 +0,0 @@ -.profile_form { - width: 90%; - padding: 40px; - margin: auto; - .form { - box-sizing: border-box; - width: 100%; - padding: 40px; - margin: auto; - background: $beige-d; - - select.form__input { - box-sizing: border-box; - border: 1px solid transparent; - width: auto; - height: 38px; - background: #fff; - background-repeat: no-repeat; - appearance: revert; - margin-right: 1rem; - } - - .select-group { - display: flex; - } - } -} - -.profile-actions { - .disconnect { - margin-left: auto; - margin-right: 2rem; - align-items: flex-end; - } -} - diff --git a/resources/views/front/canard/sass/main.scss b/resources/views/front/canard/sass/main.scss deleted file mode 100644 index 97a13da..0000000 --- a/resources/views/front/canard/sass/main.scss +++ /dev/null @@ -1,2026 +0,0 @@ -/* all purpose class */ -.flex { - display: flex; -} - -.w-50 { - width: 50%; -} - -body { - color: $text-color; - font-family: 'Roboto', sans-serif; - font-weight: normal; - font-size: 16px; - line-height: 1.25; -} - -img { - max-width: 100%; -} - -input, textarea { - &.error { - border-color: red !important; - } -} - -body .mb0 { - margin-bottom: 0; -} - -.mobile { - position: absolute; - left: -9999px; - top: -9999px; -} - -.fw { - width: 100%; - min-width: 100%; -} - -.page-wrap { - display: flex; - flex-direction: column; - min-height: 100vh; -} - - -.main { - flex: 1; - box-sizing: border-box; - width: 1366px; - max-width: 100%; - margin: 0 auto; - position: relative; - background: $beige-l; - - padding-bottom: 20px; - -} - - -.section { - padding-top: 40px; - padding-bottom: 40px; -} - -.section_dark { - background: $beige-d; -} - - -.wrapper { - box-sizing: border-box; - max-width: 100%; - width: 1220px; - padding: 0 20px; - margin: 0 auto; - position: relative; -} - -.wrapper-inner { - box-sizing: border-box; - padding: 0 20px; -} - -.title { - display: block; - font-family: 'Berkshire Swash', sans-serif; - font-size: 36px; - text-align: center; - color: $blue; - margin-bottom: 20px; -} - -.title_medium { - text-align: unset; - font-size: 30px; - margin: 0; -} - -.title_small { - text-align: unset; - font-size: 24px; - margin: 0; -} - -.title_xs { - text-align: unset; - font-size: 20px; - margin: 0; -} - -.description h4 { - font-family: 'Berkshire Swash', sans-serif; - font-size: 24px; - padding-top: 10px; - margin-bottom: 20px; - color: $blue; -} - -.description h5 { - font-family: 'Berkshire Swash', sans-serif; - font-size: 20px; - margin-bottom: 5px; - color: $blue; -} - -.description p:not(:last-child) { - margin-bottom: 20px; -} - -.description a { - color: $blue; - text-decoration: underline; -} - -.description a:hover { - text-decoration: none; -} - -.description ul, -.description ol { - list-style-position: inside; - padding-left: 20px; - margin-bottom: 15px; -} - -.btn { - box-sizing: border-box; - display: flex; - align-items: center; - justify-content: center; - max-width: 100%; - width: max-content; - height: 48px; - padding: 10px 20px; - font-family: 'Roboto', sans-serif; - font-size: 18px; - text-transform: uppercase; - text-align: center; - color: #fff; - - background-color: $green; - - transition: all 0.3s; -} - -.btn:hover { - background-color: $blue; -} - -.btn_blue { - background-color: $blue; -} - -.btn_blue:hover { - background-color: $green; -} - -.btn_white { - color: $blue; - background-color: #fff; -} - -.btn_white:hover { - color: #fff; - background-color: $green; -} - -/* form START */ - - -button { - cursor: pointer; -} - -input, -textarea { - font-family: 'Roboto', sans-serif; - font-size: 16px; - max-width: 100%; -} - -input::placeholder, -textarea::placeholder { - color: $blue; - opacity: 1; -} - -input.form__input, -textarea.form__input { - box-sizing: border-box; - border: 1px solid transparent; - width: 100%; - height: 38px; - background: #fff; - background-repeat: no-repeat; - padding-left: 20px; -} - -textarea.form__input { - height: 136px; - padding-top: 10px; -} - -input.form__input_date { - padding-right: 40px; - background-image: url(../img/icon_date.png); - background-position: right 10px center; - background-size: auto 58%; -} - -.form { - position: relative; -} - -.form__field { - margin-bottom: 20px; -} - -.form__row { - display: flex; - justify-content: space-between; -} - -.form__row .form__field { - width: 48%; -} - -.form__error { - color: $error; - font-weight: 500; - text-align: center; - margin-bottom: 20px; -} - -.form__success { - color: $success; - font-weight: 500; - text-align: center; - margin-bottom: 20px; -} - -.field__error { - color: $error; - font-size: 14px; - font-style: italic; - padding-left: 20px; - padding-top: 10px; -} - -.form__text { - font-weight: 500; - text-align: center; - margin-bottom: 10px; -} - -.custom-input { - color: $blue; -} - -.custom-input input { - width: 1px; - height: 1px; - margin: -1px; - opacity: 0; - transform: translate(10px, 10px); -} - -.custom-input span { - display: flex; - position: relative; - &.error { - color: $error; - font-style: italic; - } -} - -.custom-input span::before, -.custom-input span::after { - content: ''; - display: block; - flex: 0 0 auto; - cursor: pointer; -} - -.custom-input span::before { - width: 20px; - height: 20px; - background: #fff; - margin-right: 10px; -} - -.custom-input span::after { - width: 10px; - height: 10px; - background: $blue; - position: absolute; - top: 5px; - left: 5px; - opacity: 0; - transition: all 0.3s; -} - -.custom-input input:checked ~ span::after { - opacity: 1; -} - -.form__submit { - display: flex; - justify-content: center; -} - -.form__links { - text-align: center; -} - -.form__links a { - text-decoration: underline; -} - -.form__links a:hover { - text-decoration: none; -} - -.form-message { - box-sizing: border-box; - width: 504px; - max-width: 100%; - padding: 40px 40px; - background: $beige-d; - text-align: center; - - position: relative; - top: 0; - left: 50%; - transform: translateX(-50%); - z-index: 2; -} - -.form-message__title { - margin-bottom: 10px; -} - -.form-message__btn { - margin: 25px auto 0; -} - -.form-result { - box-sizing: border-box; - width: 100%; - height: 100%; - padding: 110px 40px 40px; - text-align: center; - - position: absolute; - top: 0; - left: 0; - z-index: 2; -} - -.form-result::after { - content: ''; - display: block; - width: 100%; - height: 100%; - background: $beige-l; - opacity: 0.9; - position: absolute; - left: 0; - top: 0; - z-index: -1; -} - -.form-result__image { - margin-bottom: 20px; -} - -.form-result__title { - margin-bottom: 15px; -} - -.form__upload-field { - width: 100%; - display: flex; - align-items: center; -} - -.form__upload-field input[type="file"] { - display: none; -} - -.form__upload-button { - flex: 0 0 auto; - font-size: 16px; - text-transform: unset; - height: 38px; -} - -.auth-form { - box-sizing: border-box; - width: 346px; - max-width: 90%; - padding-top: 15px; - margin: 0 auto 90px; -} - -.auth-form_register { - width: 632px; -} - -.auth-form__form { - box-sizing: border-box; - width: 100%; - padding: 40px; - background: $beige-d; -} - -.auth-form__links-wrap { - width: 346px; - max-width: 100%; - margin: 0 auto; - overflow: hidden; -} - -.auth-form__links { - padding-top: 20px; - display: flex; - align-items: center; - justify-content: center; - margin: 0 -16px; -} - -.auth-form__links a { - margin: 0 16px; - text-transform: unset; - font-size: 16px; -} - -.auth-form__links a.btn { - height: 38px; -} - -.auth-form__links a:not(.btn):hover { - text-decoration: underline; -} - -/* form END */ - -/* icons START */ - -.icon { - flex: 0 0 auto; - display: block; - width: 32px; - height: 32px; - background-position: center center; - background-repeat: no-repeat; - position: relative; -} - -.icon_search { - background-image: url(../img/icon_search.png); -} - -.icon_cart { - background-image: url(../img/icon_cart.png); -} - -.icon_profile { - background-image: url(../img/icon_profile.png); -} - -.icon__count { - display: flex; - align-items: center; - justify-content: center; - background: #fff; - border-radius: 100%; - font-size: 10px; - color: $blue; - height: 14px; - width: 14px; - position: absolute; - top: 4px; - left: -8px; -} - -/* icons END */ - - -/* menu trigger START */ - -.menu-trigger { - display: flex; - align-items: center; - cursor: pointer; - margin-right: 40px; -} - -.menu-trigger__lines { - flex: 0 0 auto; - width: 34px; - cursor: pointer; - margin-right: 10px; -} - -.menu-trigger__lines i { - display: block; - width: 100%; - height: 4px; - border-radius: 10px; - background: $green; - position: relative; - transition: all 0.3s; - transform-origin: 50% 50%; - margin: 0 auto; -} - -.menu-trigger__lines i:nth-child(2) { - margin-top: 6px; - margin-bottom: 6px; -} - -.menu-trigger__text { - text-transform: uppercase; - color: #fff; - transition: all 0.3s; -} - -.menu-trigger.active .menu-trigger__lines i:nth-child(2) { - transform: rotateY(90deg); -} - -.menu-trigger.active .menu-trigger__lines i:nth-child(1) { - transform: translate3d(0, 10px, 0) rotate(45deg); -} - -.menu-trigger.active .menu-trigger__lines i:nth-child(3) { - transform: translate3d(0, -10px, 0) rotate(-45deg); -} - -.menu-trigger:hover .menu-trigger__text { - color: $green; -} - -/* menu trigger END */ - - - -/* slider START */ - -.swiper-container { - height: auto; -} - -.swiper-wrapper { - height: auto; -} - -.swiper-slide { - height: auto; -} - -.slider-pagination { - width: 100%; - display: flex; - align-items: center; - justify-content: center; - position: relative; - z-index: 2; -} - -.slider-bullet { - flex: 0 0 auto; - width: 20px; - height: 20px; - border-radius: 100%; - background: #fff; - margin: 0 5px; - cursor: pointer; - transition: all 0.3s; -} - -.slider-bullet:not(.slider-bullet_active):hover { - background-color: $blue; -} - -.slider-bullet_active { - background-color: $green; - cursor: default; -} - -.swiper-nav { - display: flex; - justify-content: space-between; - position: relative; -} - -.swiper-nav__arrow { - display: block; - width: 46px; - height: 46px; - background: url(../img/arrow_prev.png) 40% center no-repeat; - background-size: 39%; - background-color: $brown; - border-radius: 100%; - cursor: pointer; - - transition: all 0.3s; -} - -.swiper-nav__arrow_next { - background-image: url(../img/arrow_next.png); - background-position: 60% center; -} - -.swiper-nav__arrow:not(.disabled):hover { - background-color: $green; -} - -.swiper-nav__arrow.disabled { - opacity: 0.5; - cursor: default; -} - -/* slider END */ - - -/* search form START */ - -.search-form { - display: flex; - align-items: center; - width: 285px; - height: 38px; - position: relative; - background: #fff; -} - -.search-form__icon { - padding: 0 6px; -} - -input.search-form__input { - padding-left: 5px; -} - -.search-form__btn { - flex: 0 0 auto; - box-sizing: border-box; - width: 43px; - height: 100%; - font-size: 16px; -} - - -/* search form END */ - - - -/* breadcrumbs START */ - -.breadrumbs__wrapper { - display: flex; -} - -.breadrumbs__inner { - min-height: 90px; - display: flex; - flex-flow: row wrap; - align-items: center; - font-weight: 500; - margin-bottom: 10px; -} - -.breadrumbs__inner > * { - margin: 5px 0; - margin-right: 5px; -} - -.breadrumbs__inner a:hover { - text-decoration: underline; -} - -.breadrumbs__arrow { - font-family: monospace; -} - -/* breadcrumbs END */ - - -.left__offset { - width: 150px; - padding-right: 30px; - min-height: 1px; -} - -/* tc-text START */ - -.tc-text__text { - columns: 2; - column-gap: 80px; - text-align: justify; - font-weight: 500; -} - -.tc-text__readmore { - margin: 10px 0 0 auto; - display: none; -} - -/* tc-text END */ - - - -/* top-block START */ - -.top-block { - display: flex; - align-items: center; - justify-content: space-between; - padding: 15px 0; - margin-bottom: 5px; -} - -/* top-block END */ - - -/* header START */ - -.header { - position: static; - top: 0; - z-index: 10; -} - -.header__container { - padding: 25px 0; - background: $blue; -} - -.header__inner { - display: flex; - align-items: center; -} - -.header__block { - display: flex; - align-items: center; - flex: 1; -} - -.header__block_middle { - flex: 0 0 auto; - justify-content: center; -} - -.header__block_right { - justify-content: flex-end; -} - -.header__logo { - display: block; - width: 100%; - height: 36px; - position: relative; - z-index: 2; - -} - -.header__logo img { - position: absolute; - top: -15px; - - left: 0; - transform: translateX(-55%); - max-width: unset; -} - -.header-actions { - display: flex; - align-items: center; - color: #fff; - text-transform: uppercase; -} - -.header-actions__item { - display: flex; - align-items: center; - cursor: pointer; - transition: all 0.3s; -} - -.header-actions__item:hover { - color: $green; -} - -.header-actions__item:not(:last-child) { - margin-right: 30px; -} - -.header-actions__item-icon { - margin-right: 10px; -} - -/* header END */ - - - -/* menu START */ - -.menu { - display: none; -} - -.menu__container { - padding: 30px 0; - background: $beige-d; -} - -.menu__inner { - display: flex; - flex-flow: row wrap; -} - -.menu-block:not(:last-child) { - margin-right: 75px; -} - -.menu-block__title { - font-style: italic; - color: $green; - margin-bottom: 5px; -} - -.menu-block__list li { - display: block; -} - -.menu-block__list li:not(:last-child) { - margin-bottom: 5px; -} - -.menu-block__list li a { - display: flex; - align-items: center; - text-transform: uppercase; - color: $blue; - transition: all 0.3s ease-in-out; -} - -.menu-block__list li a:hover { - transform: translateX(10px); -} - -.menu-block__list li a::before { - content: ''; - display: block; - width: 7px; - height: 12px; - background: url(../img/menu-arrow.png) center center no-repeat; - margin-right: 10px; - transform: translateY(-1px); -} - -/* menu END */ - - - -/* footer START */ - -.footer { - padding: 35px 0; - background: $blue; - color: #fff; - margin-top: auto; -} - -.footer-links { - display: flex; - align-items: center; - justify-content: center; - flex-flow: row wrap; -} - -.footer-links li { - display: flex; - position: relative; - padding: 0 22px; -} - -.footer-links li::before, -.footer-links li::after { - content: ''; - display: block; - width: 1px; - height: 14px; - background: #fff; - position: absolute; - left: 0; - top: 50%; - transform: translateY(-50%); -} - -.footer-links li::after { - left: unset; - right: 0; -} - -.footer-links li:first-child::before { - display: none; -} - -.footer-links li:last-child::after { - display: none; -} - -.footer-links li a:hover { - text-decoration: underline; -} - -/* footer END */ - - - -/* mainslider START */ - -.mainslider { - position: relative; -} - -.mainslider-item { - display: flex; - justify-content: flex-end; - align-items: flex-start; - width: 100%; - min-height: 450px; - box-sizing: border-box; - padding: 50px 35px; - background-size: cover; - background-repeat: no-repeat; - background-position: center center; - color: #fff; -} - -.mainslider-item__block { - box-sizing: border-box; - width: 482px; - max-width: 100%; - padding: 40px; - position: relative; - z-index: 1; -} - -.mainslider-item__block::after { - content: ''; - display: block; - width: 100%; - height: 100%; - background: $blue; - opacity: 0.9; - position: absolute; - left: 0; - top: 0; - z-index: -1; -} - -.mainslider-item__title { - color: #fff; - margin-bottom: 15px; -} - -.mainslider-item__btn { - font-size: 16px; - margin-top: 30px; -} - -.mainslider__pagination { - position: absolute; - bottom: 20px; - left: 0; -} - -/* mainslider END */ - - - -/* steps START */ - -.steps__list { - display: flex; - justify-content: center; -} - -.steps__item { - box-sizing: border-box; - flex: 0 0 auto; - width: calc(25% - 33px); - padding: 0 20px; - text-align: center; - position: relative; - z-index: 1; -} - -.steps__item_arrow { - display: flex; - align-items: flex-end; - width: 33px; - padding: 0 0 20px; -} - -.steps__item-num { - font-size: 16rem; - font-family: 'Berkshire Swash', sans-serif; - color: #e2d6c2; - opacity: 0.75; - position: absolute; - left: 50%; - transform: translateX(-110%); - top: 20%; - line-height: 0; - z-index: -1; - display: none; -} - -.steps__item_2 .steps__item-num, -.steps__item_4 .steps__item-num { - transform: translateX(0); -} - -.steps__item-image { - display: flex; - align-items: flex-end; - justify-content: center; - height: 170px; - margin-bottom: 20px; -} - -.steps__item-image img { - max-height: 100%; -} - -.steps__item-text { - font-weight: 500; -} - -/* steps END */ - - - -/* related products slider START */ - -.rp-slider { - margin-bottom: 10px; -} - -.rp-slider .swiper-slide { - width: auto; -} - -.rp-slider__item { - text-align: center; - max-width: 100%; - /*width: 255px;*/ - width: 100%; - background: #fff; - position: relative; -} - -.rp-slider__item-title { - box-sizing: border-box; - display: flex; - align-items: center; - justify-content: center; - height: 84px; - padding: 0 15px; - line-height: initial; - background: #fff; -} - -.rp-slider__item-image { - width: 100%; - height: 212px; - background: $blue; - position: relative; -} - -.rp-slider__item-image img { - width: 100%; - height: 100%; - object-fit: cover; - object-position: center; -} - -.rp-slider__item-image::before { - content: ''; - display: block; - width: 100%; - height: 100%; - position: absolute; - left: 0; - top: 0; - z-index: 1; - - background: $blue; - opacity: 0.5; - transition: all 0.3s; -} - -.rp-slider__item:hover .rp-slider__item-image::before { - opacity: 0; -} - -.rp-slider__item-btn { - position: absolute; - left: 50%; - bottom: 80px; - transform: translateX(-50%); - z-index: 2; -} - -.rp-slider .swiper-nav__arrow { - position: absolute; - bottom: 80px; - left: -65px; - z-index: 3; -} - -.rp-slider .swiper-nav__arrow_next { - left: unset; - right: -65px; -} - -/* related products slider END */ - - - -/* main products START */ - -.related-products__row { - display: flex; - flex-flow: row wrap; - margin: 0 -12px -15px; -} - -.related-products__row-block { - box-sizing: border-box; - flex: 18%; - padding: 0 12px; - margin-bottom: 25px; -} - -.related-products__row-block_wide { - flex: 35%; -} - -.related-products__item { - box-sizing: border-box; - /*width: 216px;*/ - width: 100%; - height: 346px; - padding: 20px; - background: #fff; -} - -.related-product__title { - display: block; - text-align: center; - height: 50px; - overflow: hidden; - margin-bottom: 15px; -} - -.related-product__title:hover { - text-decoration: underline; -} - -.related-product__image { - position: relative; - display: flex; - align-items: center; - justify-content: center; - height: 180px; - margin-bottom: 20px; - - .related-products__specialoffer { - position: absolute; - top:0; - right:0; - } -} - -.related-product__image img { - max-height: 100%; -} - -.related-product__bottom { - display: flex; - align-items: center; - justify-content: space-between; -} - -.related-product__price { - font-size: 18px; - font-weight: 500; - padding-right: 10px; -} - -.related-product .related-product__btn { - flex: 0 0 auto; - padding: 0; - width: 52px; - height: 48px; - background-image: url(../img/icon_cart-white.png); - background-repeat: no-repeat; - background-position: center center; -} - -.related-products__image { - /*width: 417px;*/ - /*min-height: 346px;*/ - padding: 0; -} - -.related-products__image img { - width: 100%; - height: 100%; - object-fit: cover; - object-position: center center; -} - - -.related-products-mobile__slider { - position: relative; - margin-bottom: 40px; -} - -.related-products-mobile__slider::before { - content: ''; - display: block; - width: 15%; - height: 100%; - position: absolute; - top: 0; - right: 0; - z-index: 2; - - background: -moz-linear-gradient(left, rgba(244,240,233,0) 0%, rgba(244,240,233,1) 100%); - background: -webkit-linear-gradient(left, rgba(244,240,233,0) 0%,rgba(244,240,233,1) 100%); - background: linear-gradient(to right, rgba(244,240,233,0) 0%,rgba(244,240,233,1) 100%); - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00f4f0e9', endColorstr='#f4f0e9',GradientType=1 ); - -} - -.related-products-mobile__btn { - margin: 0 auto; -} - -.related-products-mobile__nav .swiper-nav__arrow { - position: absolute; - bottom: 160px; - z-index: 3 -} - -.related-products-mobile__nav .swiper-nav__arrow.disabled { - visibility: hidden; -} - -.related-products-mobile__nav .swiper-nav__arrow_prev { - left: -35px; -} - -.related-products-mobile__nav .swiper-nav__arrow_next { - right: -35px; -} - -.related-products-mobile__slider .swiper-slide { - width: auto; -} - -/* main products END */ - - - -/* engagements START */ - -.engagements__list { - display: flex; - justify-content: center; - flex-flow: row wrap; - padding-top: 20px; -} - -.engagements__item { - box-sizing: border-box; - width: 25%; - padding: 0 15px; - text-align: center; -} - -.engagements-item__image { - display: flex; - justify-content: center; - align-items: flex-end; - height: 165px; - margin-bottom: 15px; -} - -.engagements-item__image img { - max-height: 100%; -} - -.engagements-item__title { - margin-bottom: 5px; -} - -.engagements-item__text { - font-weight: 500; -} - -/* engagements START */ - - - -/* subscribe START */ - -.subscribe { - padding-top: 20px; -} - -.subscribe__block { - display: flex; - align-items: center; - justify-content: space-between; - background: $green; - padding: 20px; -} - -.subscribe__title { - color: #fff; -} - -.subscribe__form { - display: flex; - align-items: center; -} - -.subscribe__form input { - width: 365px; -} - -.subscribe button { - height: 38px; - text-transform: unset; -} - -/* subscribe END */ - - - -/* hero banner START */ - -.hero-banner__wrapper { - height: 250px; -} - -.hero-banner__wrapper img { - width: 100%; - height: 100%; - object-fit: cover; - object-position: center center; -} - -/* hero banner END */ - - - -/* mentios START */ - -.mentios-page { - padding-bottom: 90px; -} - -/* mentios END */ - - - -/* contacts START */ - -.contact-page { - padding-bottom: 90px; -} - -.contact-page__content { - padding-top: 15px; -} - -.contact-page__row { - display: flex; -} - -.contact-page__row-block { - flex: 1; - padding: 0 20px; -} - -.contacts__text { - text-align: justify; - margin-bottom: 20px; -} - -.contacts__blocks { - margin-bottom: 25px; -} - -.contacts__block { - display: flex; - margin-bottom: 10px; -} - -.contacts__block-name { - width: 125px; - max-width: 30%; - padding-right: 20px; -} - -.contacts__map { - box-sizing: border-box; - border: 1px solid #b2b2b2; -} - -/* contacts END */ - - - - -/* accordeon START */ - -.accordeon { - background: $beige-d; - margin-bottom: 25px; -} - -.accordeon-block:not(:last-child) { - border-bottom: 1px solid $beige-d; -} - -.accordeon-block__title { - display: flex; - align-items: center; - padding: 9px 0; - background: #fff; - cursor: pointer; -} - -.accordeon-block__title-text { - padding: 0 10px; - transition: all 0.3s; -} - -.accordeon-block__title:hover .accordeon-block__title-text { - color: $green; -} - -.accordeon-block__title-arrow { - flex: 0 0 auto; - display: flex; - align-items: center; - justify-content: center; - width: 40px; - margin-left: auto; -} - -.accordeon-block__title-arrow::before { - content: ''; - display: block; - width: 12px; - height: 21px; - background: url(../img/accordeon__arrow.png) center center no-repeat; - transform: rotate(0); - transition: all 0.3s; -} - -.accordeon-block.active .accordeon-block__title-arrow::before { - transform: rotate(90deg); -} - -.accordeon-block__content { - display: none; -} - -.accordeon-block__content-inner { - padding: 20px; - font-weight: 500; -} - -/* accordeon END */ - - -.flex-row { - display: flex; - margin: 0 -20px; -} - -.flex-row__block { - flex: 1; - width: 100%; - margin: 0 20px; -} - -.block-about { - padding-bottom: 20px; - border-bottom: 1px solid $beige-d; -} - -.block-about__title { - text-align: left; -} - -.block-about__title_mobile { - display: none; -} - -.block-about__description { - text-align: justify; - font-weight: 500; -} - -/* product START */ - -.product__block { - padding-bottom: 65px; -} - -.product__info { - display: flex; - align-items: center; - justify-content: space-between; - padding: 15px 0; - font-weight: 500; -} - -.product__trade { - display: flex; - flex-flow: row wrap; - align-items: center; - padding: 15px 0; - margin-bottom: 25px; -} - -.product__price { - margin-right: auto; -} - -.product__qty { - display: flex; - width: 73px; - margin-right: 20px; -} - -.product__qty-btn { - flex: 0 0 auto; - display: flex; - align-items: center; - justify-content: center; - padding: 0 6px; - background: #fff; - font-weight: 500; - font-size: 18px; - cursor: pointer; -} - -.product__qty-btn:hover { - color: $green; -} - -input.product__qty-input { - text-align: center; - padding: 0 !important; - height: 48px; -} - -.product__image { - display: flex; - justify-content: center; - align-items: flex-start; - margin-bottom: 40px; -} - -.product-benefits { - overflow: hidden; -} - -.product-benefits__title { - margin-bottom: 15px; -} - -.product-benefits__list { - display: flex; - flex-flow: row wrap; - justify-content: center; - margin: 0 -17px; -} - -.product-benefits__item { - box-sizing: border-box; - display: flex; - justify-content: center; - align-items: center; - width: 255px; - height: 87px; - padding: 20px; - background: #fff; - margin: 0 17px 30px; -} - -.product-benefits__item-image { - flex: 0 0 auto; - max-width: 50px; - margin-right: 10px; -} - -.product-benefits__item-text { - font-family: 'Berkshire Swash', sans-serif; - font-size: 18px; - color: $blue; -} - - -.product__related-products .related-products__list { - padding-top: 5px; -} - -/* product END */ - - - -/* category START */ - -.category__main { - margin-bottom: 40px; -} - -.category__image { - display: flex; - justify-content: center; - align-items: flex-start; -} - -.category-page .block-about { - border: 0; -} - -.product-list { - display: flex; - flex-flow: row wrap; -} - -.product-list__block { - box-sizing: border-box; - flex: 25%; - padding: 0 20px; -} - -.product-list__block_wide { - flex: 50%; -} - -.pl-item { - box-sizing: border-box; - max-width: 100%; - width: 255px; - height: 346px; - padding: 20px; - background: #fff; - margin: 0 0 40px; -} - -.pl-item__title { - //display: flex; - align-items: center; - justify-content: center; - text-align: center; - padding: 0 10px; - height: 50px; - //overflow: hidden; - margin-bottom: 15px; - & > span.ellipse { - display: block; - /* hide text if it more than N lines */ - overflow: hidden; - /* for set '...' in absolute position */ - position: relative; - /* use this value to count block height */ - //line-height: 1.2em; - /* max-height = line-height (1.2) * lines max number (3) */ - max-height: 50px; - /* fix problem when last visible word doesn't adjoin right side */ - text-align: justify; - /* place for '...' */ - margin-right: -1em; - padding-right: 1em; - &:before { - /* points in the end */ - content: '...'; - /* absolute position */ - position: absolute; - /* set position to right bottom corner of block */ - right: 0; - bottom: 0; - } - &:after { - /* points in the end */ - content: ''; - /* absolute position */ - position: absolute; - /* set position to right bottom corner of text */ - right: 0; - /* set width and height */ - width: 1em; - height: 1em; - margin-top: 0.2em; - /* bg color = bg color under block */ - background: white; - } - } -} - -.pl-item__title:hover { - text-decoration: underline; -} - -.pl-item__image { - position: relative; - display: flex; - align-items: center; - justify-content: center; - height: 175px; - max-height: 60%; - margin-bottom: 20px; - - .pl-item__specialoffer { - position: absolute; - top:0; - right:0; - } - - img { - max-height: 100%; - } -} - -.pl-item__bottom { - display: flex; - align-items: center; - justify-content: space-between; -} - -.pl-item__price { - font-size: 18px; - font-weight: 500; - padding-right: 10px; -} - -.pl-item__newprice { - font-family: 'Roboto', sans-serif; -} - -.pl-item__btn { - flex: 0 0 auto; - padding: 0; - width: 52px; - height: 48px; - background-image: url(../img/icon_cart-white.png); - background-repeat: no-repeat; - background-position: center center; -} - -.pl-item__block { - display: flex; -} - -.pl-item__panel,.pl-item__specialoffer,.related-products__specialoffer { - padding: 7px 20px 6px; - font-size: 14px; - color: #fff; - background: $green; - text-transform: uppercase; -} - -.pl-item__content { - box-sizing: border-box; - padding: 10px 20px 20px; -} - -.pl-item__row { - display: flex; - margin: 0 -20px; -} - -.pl-item__row-block { - box-sizing: border-box; - flex: 1; - padding: 0 20px; -} - -.pl-item-description { - font-weight: 500; - height: 120px; - overflow: hidden; - margin-bottom: 30px; -} - - -.pl-item_wide { - width: 550px; - max-width: 100%; - min-width: 100%; - padding: 0; -} - -.pl-item_wide .pl-item__image { - box-sizing: border-box; - flex: 50%; - height: auto; - min-height: 180px; -} - -.pl-item_wide .pl-item__title { - text-align: left; - height: 75px; - padding: 0; - max-width: 85%; - font-size: 24px; -} - -.pl-item_offre { - padding: 0; -} - -.pl-item_offre .pl-item__image { - height: 150px; - max-height: 45%; -} - -.pl-item_offre .pl-item__bottom { - padding: 0 10px; - flex-flow: row wrap; -} - -.pl-item_offre .pl-item__price { - text-decoration: line-through; -} - -.pl-recipe { - display: flex; - flex-direction: column; - padding: 0 !important; -} - -.pl-recipe__title { - flex: 0 0 auto; - box-sizing: border-box; - display: flex; - align-items: center; - justify-content: center; - padding: 10px; - background: $blue; - color: #fff; - font-family: 'Berkshire Swash', sans-serif; - font-size: 18px; - height: 64px; -} - -.pl-recipe__content { - flex: 1; - display: flex; - flex-direction: column; - - position: relative; - z-index: 1; - - padding: 75px 25px 20px; - text-align: center; -} - -.pl-recipe__content::after { - content: ''; - display: block; - width: 100%; - height: 100%; - background: $blue; - position: absolute; - left: 0; - top: 0; - z-index: -1; - opacity: 0.5; -} - -.pl-recipe__image { - width: 100%; - height: 100%; - object-fit: cover; - object-position: center center; - position: absolute; - top: 0; - left: 0; - z-index: -2; -} - -.pl-recipe__text { - color: #fff; -} - -.pl-recipe__btn { - padding-left: 15px; - padding-right: 15px; - width: 100%; - margin-top: auto; -} - -.category-page .related-products { - background: $beige-d; - padding-top: 25px; -} - -/* category END */ - - - -/* pagination START */ - -.pagination { - display: flex; - align-items: center; - justify-content: center; - margin-bottom: 50px; -} - -.pagination__block { - margin: 0 50px; -} - -.pagination-nav { - display: flex; - align-items: center; - font-family: 'Berkshire Swash', sans-serif; - font-size: 16px; - color: $blue; - cursor: pointer; -} - -.pagination-nav:hover { - text-decoration: underline; -} - -.pagination-nav__arrow { - flex: 0 0 auto; - display: block; - width: 7px; - height: 12px; - background: url(../img/nav_prev.png) center center no-repeat; - margin: 0 10px; -} - -.pagination-nav_next .pagination-nav__arrow { - background-image: url(../img/nav_next.png); -} - -.pagination-pages { - display: flex; - align-items: center; -} - -.pagination-pages__item { - flex: 0 0 auto; - display: flex; - align-items: center; - justify-content: center; - width: 22px; - height: 22px; - color: $blue; - border-radius: 100%; - line-height: 1.1; -} - -.pagination-pages__item.current { - color: #fff; - background: $blue; - cursor: default; -} - -.pagination-pages__item:not(.current):hover { - color: $green; -} - -/* pagination END */ - -.btn-mobile-wrapper { - display: flex; - justify-content: center; - padding-top: 5px; -} diff --git a/resources/views/front/canard/sass/media.scss b/resources/views/front/canard/sass/media.scss deleted file mode 100644 index 0970688..0000000 --- a/resources/views/front/canard/sass/media.scss +++ /dev/null @@ -1,913 +0,0 @@ -@media screen and (max-width: 1365px) { - .wrapper { - width: 1240px; - } -} - -@media screen and (max-width: 1240px) { - .wrapper { - width: 1024px; - } - - .related-products__row-block { - flex: 25%; - } - - .related-products__row-block_wide { - flex: 50%; - } - - .product__related-products .related-products__row-block_wide { - order: 99; - } -} - -@media screen and (max-width: 1080px) { - body { - font-size: 14px; - } - - input, textarea { - font-size: 14px; - } - - .title { - font-size: 32px; - } - - .title_medium { - font-size: 26px; - } - - .title_small, - .description h4 { - font-size: 22px; - } - - .title_xs, - .description h5 { - font-size: 18px; - } - - .btn, - .auth-form__links a.btn { - font-size: 16px; - height: 42px; - padding: 10px 15px; - } - - .pl-item__btn { - width: 42px; - } - - .search-form__btn { - height: 38px; - } - - .header__logo img { - max-width: 230px; - transform: translateX(-35%); - } - - .breadrumbs__inner { - min-height: 60px; - } - - .swiper-nav__arrow { - width: 30px; - height: 30px; - } - - .mainslider-item { - padding: 40px 30px; - min-height: 400px; - } - - .mainslider-item__block { - padding: 30px; - } - - .mainslider-item__btn { - font-size: 15px; - margin-top: 20px; - } - - - .rp-slider__item-title { - font-size: 20px; - } - - .rp-slider .swiper-nav__arrow_prev { - left: -35px; - } - - .rp-slider .swiper-nav__arrow_next { - right: -35px; - } - - .hero-banner__wrapper { - height: 220px; - } - - .product-list__block { - padding: 0 10px; - } - -} - -@media screen and (max-width: 1000px) { - - .mobile { - position: static; - } - - body .desktop { - display: none; - } - - .title { - font-size: 28px; - } - - .title_medium { - font-size: 22px; - } - - .title_small, - .description h4 { - font-size: 20px; - } - - .title_xs, - .description h5 { - font-size: 16px; - } - - .section { - padding: 30px 0; - } - - .main { - padding-bottom: 0; - } - - .menu-trigger__lines { - margin: 0; - } - - .menu-trigger__text { - display: none; - } - - .header-actions__item-title { - display: none; - } - - .footer-links li { - padding: 0 10px; - } - - .top-block { - justify-content: center; - } - - .top-block__title { - text-align: center; - } - - - .steps__list { - flex-flow: row wrap; - padding-bottom: 50px; - } - - .steps__item { - width: 34%; - padding: 0; - margin-bottom: 50px; - } - - .steps__item_arrow { - display: none; - } - - .steps__item-num { - display: block; - } - - .steps__item-image { - height: 120px; - } - - - .steps__item_2, - .steps__item_4 { - transform: translateY(100px); - } - - .engagements__list { - display: block; - } - - .engagements-item { - display: flex; - width: 100%; - padding: 0; - text-align: left; - } - - .engagements-item:not(:last-child) { - margin-bottom: 40px; - } - - .engagements-item>div { - flex: 1; - padding: 0 15px; - } - - .engagements-item__image { - margin-bottom: 0; - justify-content: flex-end; - align-items: flex-start; - height: unset; - } - - .engagements-item__image img { - max-height: 85px; - } - - .engagements-item:nth-child(even) .engagements-item__image { - justify-content: flex-start; - } - - .engagements-item:nth-child(even) .engagements-item__info { - order: -1; - justify-content: flex-end; - text-align: right; - } - - .subscribe__block { - display: block; - padding: 15px 18px; - } - - .subscribe__title { - text-align: center; - margin-bottom: 10px - } - - .subscribe__form { - justify-content: center; - } - - .contacts__map iframe { - height: 360px; - } - - .pl-item { - height: 305px; - margin: 0 auto 20px; - } - - .pl-item:not(.pl-item_offre) { - padding: 10px 10px 20px; - } - - .pl-item__title { - height: 45px; - align-items: flex-start; - } - - .pl-item__price { - font-size: 14px; - } - - .pl-item__btn { - width: 38px; - height: 38px; - background-size: 50% auto; - } - - .related-products .top-block { - margin: 0 -10px; - } - -} - -@media screen and (max-width: 768px) { - .flex-row { - flex-direction: column; - margin: 0; - } - - .flex-row__block { - margin-left: 0; - margin-right: 0 - } - - .wrapper { - width: 100%; - } - - .menu-block:not(:last-child) { - margin-right: 40px; - } - - .footer { - padding: 20px 0; - } - - .footer-links { - display: block; - } - - .footer-links li { - padding: 0; - margin-bottom: 10px; - } - - .footer-links li:last-child { - margin-bottom: 0; - } - - .footer-links li::before, - .footer-links li::after { - display: none; - } - - .hero-banner__wrapper { - height: 180px; - } - - .contact-page__row { - display: block; - } - - .contact-page__row-block { - padding: 0; - } - - .contacts__map { - margin-bottom: 40px; - } - - .contacts__map iframe { - height: 260px; - } - - .product .flex-row__block:last-child { - order: -1; - } - - .product__block { - padding-top: 15px; - padding-bottom: 0; - } - - .product-benefits__title { - text-align: center; - } - - .product-benefits__list { - margin: 0 -1.5%; - } - - .product-benefits__item { - width: 30%; - margin: 0 1.5% 20px; - min-width: 200px; - height: 55px; - } - - .product-benefits__item-image { - max-width: 30px; - } - - .product-benefits__item-text { - font-size: 14px; - } - - .product-list__block { - flex: 33.33%; - } - - .block-about__title_desktop { - display: none; - } - - .block-about__title_mobile { - display: block; - } -} - -@media screen and (max-width: 640px) { - - body { - font-size: 13px; - } - - .title { - font-size: 26px; - } - - .title_medium { - font-size: 18px; - } - - .title_small, - .description h4 { - font-size: 16px; - } - - .title_xs, - .description h5 { - font-size: 14px; - } - - - .btn, - .auth-form__links a.btn { - height: 38px; - font-size: 14px; - } - - .pl-item__btn { - width: 38px; - } - - .breadrumbs .left__offset { - display: none; - } - - .breadrumbs__inner { - padding-top: 25px; - padding-left: 20px; - } - - .header__block_middle { - display: none; - } - - .menu__container { - padding-top: 40px; - } - - .menu-block { - margin: 0 0 20px; - width: 100%; - } - - .header-actions__item:not(:last-child) { - margin-right: 10px; - } - - .header-actions__item-icon { - margin: 0; - } - - .breadrumbs__inner { - min-height: 40px; - } - - .mainslider-item { - min-height: 340px; - } - - .tc-text__title { - text-align: left; - } - - .tc-text__text { - columns: unset; - - display: -webkit-box; - -webkit-line-clamp: 4; - -webkit-box-orient: vertical; - overflow: hidden; - max-height: calc(1.25 * 56px); - } - - .tc-text.active .tc-text__text { - -webkit-line-clamp: unset; - max-height: unset; - } - - .tc-text__readmore { - display: flex; - } - - .steps__item { - width: 50%; - } - - .steps__item-num { - font-size: 12rem; - } - - .steps__item-image { - height: 100px; - margin-bottom: 0; - } - - .engagements-item>div { - padding: 0 5px; - } - - .related-products__item { - width: 216px; - } - - .hero-banner__wrapper { - height: 140px; - } - - .pagination__block_nav { - display: none; - } - - - .product-list__block { - flex: 50%; - } - -} - -@media screen and (max-width: 480px) { -/* body { - font-size: 12px; - }*/ - - input.form__input, textarea.form__input { - height: 20px; - font-size: 9px; - padding-left: 10px; - } - - textarea.form__input { - height: 80px; - } - - .custom-input span::before { - width: 14px; - height: 14px; - } - - .custom-input span::after { - width: 6px; - height: 6px; - top: 4px; - left: 4px; - } - - .field__error { - font-size: 11px; - } - - .section { - padding: 15px 0; - } - - .wrapper { - width: 100%; - padding: 0 20px; - box-sizing: border-box; - } - - .wrapper-inner { - padding: 0 10px; - } - - .tc-text__wrapper-inner, - .product__wrapper-inner { - padding: 0; - } - - -/* .title { - font-size: 18px; - } - - .title_medium { - font-size: 15px; - } - - .title_small, - .description h4 { - font-size: 13px; - } - - .title_xs, - .description h5 { - font-size: 12px; - }*/ - - .title { - font-size: 21px; - } - - .title_medium { - font-size: 20px; - } - - .title_small, - .description h4 { - font-size: 13px; - } - - .title_xs, - .description h5 { - font-size: 13px; - } - - .breadrumbs__inner { - padding-left: 10px; - } - - .btn, - .auth-form__links a.btn { - height: 24px; - font-size: 9px; - padding: 5px 10px; - } - - .pl-item__btn { - width: 24px; - } - - .swiper-nav__arrow { - width: 17px; - height: 17px; - } - - .swiper-nav .swiper-nav__arrow_next { - right: -25px; - } - - .swiper-nav .swiper-nav__arrow_prev { - left: -25px; - } - - .breadrumbs__inner { - min-height: 20px; - } - - .header__container { - padding: 10px 0; - } - - - .header .left__offset { - flex: 0 0 auto; - width: 80px; - padding-right: 20px; - - } - - - .header__logo img { - max-width: 160px; - right: unset; - left: -10px; - top: 5px; - } - - .menu__inner .left__offset { - display: none; - } - - - - .mainslider-item { - min-height: 105px; - padding: 10px; - } - - .mainslider-item__block { - width: 100%; - padding: 0; - - } - - .mainslider-item__block::after, - .mainslider-item__title, - .mainslider-item__text { - display: none; - } - - .mainslider-item__btn { - margin: 0 0 0 auto; - } - - .mainslider__pagination { - display: none; - } - - - .hero-banner { - margin-bottom: 15px; - } - - - .tc-text__text { - max-height: calc(1.25 * 48px); - } - - .steps__list { - padding-top: 10px; - padding-bottom: 0; - } - - .steps__item_2, .steps__item_4 { - transform: translateY(50px); - } - - .steps__item-image { - height: 40px; - } - - .steps__item-num { - font-size: 6rem; - } - - .rp-slider__item { - width: 127px; - min-width: 100%; - } - - .rp-slider__item-title { - height: 42px; - } - - .rp-slider__item-image { - height: 106px; - } - - .rp-slider__item-btn { - bottom: 40px; - } - - .rp-slider .swiper-nav__arrow { - bottom: 45px; - } - - - .related-products-mobile__slider { - margin-bottom: 15px; - } - - .related-products__item { - width: 110px; - min-width: 100%; - padding: 5px; - } - - .related-products__item { - height: 173px; - } - - .related-product__image { - height: 80px; - margin-bottom: 15px; - } - - .related-product__title { - height: 30px; - margin-bottom: 5px; - } - - .related-products-mobile__nav .swiper-nav__arrow { - bottom: 80px; - } - - .related-product__price { - font-size: 10px; - } - - .related-product .related-product__btn { - width: 26px; - height: 24px; - background-size: 60% auto; - } - - .engagements .wrapper { - padding: 0 13px; - } - - .engagements .wrapper-inner { - padding: 0; - } - - .engagements-item:not(:last-child) { - margin-bottom: 20px; - } - - .engagements-item>div { - padding: 0; - } - - .engagements-item__image { - transform: translateX(-10px); - } - - .engagements-item:nth-child(even) .engagements-item__image { - transform: translateX(10px); - } - - .engagements-item__image img { - max-height: 61px; - } - - .engagements-item__text br { - display: none; - } - - - - .subscribe__title { - margin-bottom: 8px; - } - - .subscribe button { - height: 19px; - } - - .auth-form { - padding-top: 0; - margin-bottom: 0; - } - - .auth-form__form { - padding: 20px; - } - - .auth-form__links { - display: block; - text-align: center; - } - - .auth-form__links a { - display: flex; - justify-content: center; - margin: 0 auto; - font-size: 12px; - } - - .auth-form__links a:not(:last-child) { - margin-bottom: 10px; - } - - .product__qty { - height: 26px; - margin-right: 0; - } - - input.product__qty-input { - height: 100%; - } - - body .product__price { - font-size: 16px; - width: 100%; - margin-bottom: 15px; - } - - .product__btn-wrap { - margin-left: auto; - } -/* - .product__btn-wrap { - width: 100%; - padding-top: 15px; - }*/ - - .product__add2cart { - margin-left: auto; - } - - .product-list__block { - flex: 100%; - } - - .login-page { - min-height: 400px; - } - - - .contact-page__content { - padding-top: 0; - } - - - .form__row { - display: block; - } - - .form__row .form__field { - width: 100%; - } - - .mentios-page__title { - margin-bottom: 5px; - } - -} diff --git a/resources/views/front/canard/sass/ranges.scss b/resources/views/front/canard/sass/ranges.scss deleted file mode 100644 index dc74ea2..0000000 --- a/resources/views/front/canard/sass/ranges.scss +++ /dev/null @@ -1,157 +0,0 @@ -/* main products START */ - -.ranges__row { - display: flex; - flex-flow: row wrap; - margin: 0 -12px -15px; -} - -.ranges__row-block { - box-sizing: border-box; - flex: 25%; - padding: 0 12px; - margin-bottom: 25px; -} - -.ranges__row-block_wide { - flex: 35%; -} - -.ranges__item { - box-sizing: border-box; - width: 216px; - width: 100%; - height: 346px; - padding: 20px; - background: #fff; -} - -.range__title { - display: block; - text-align: center; - height: 50px; - overflow: hidden; - margin-bottom: 15px; -} - -.range__title:hover { - text-decoration: underline; -} - -.range__image { - display: flex; - align-items: center; - justify-content: center; - height: 180px; - margin-bottom: 20px; -} - -.range__image img { - max-height: 100%; -} - -.range__bottom { - display: flex; - align-items: center; - justify-content: space-between; -} - -.range__price { - font-size: 18px; - font-weight: 500; - padding-right: 10px; -} - -.range .range__btn { - margin: auto; - // flex: 0 0 auto; - // padding: 0; - // width: 52px; - // height: 48px; - // background-image: url(../img/icon_cart-white.png); - // background-repeat: no-repeat; - // background-position: center center; -} - -.ranges__image { - /*width: 417px;*/ - /*min-height: 346px;*/ - padding: 0; -} - -.ranges__image img { - width: 100%; - height: 100%; - object-fit: cover; - object-position: center center; -} - - -.ranges-mobile__slider { - position: relative; - margin-bottom: 40px; -} - -.ranges-mobile__slider::before { - content: ''; - display: block; - width: 15%; - height: 100%; - position: absolute; - top: 0; - right: 0; - z-index: 2; - - background: -moz-linear-gradient(left, rgba(244,240,233,0) 0%, rgba(244,240,233,1) 100%); - background: -webkit-linear-gradient(left, rgba(244,240,233,0) 0%,rgba(244,240,233,1) 100%); - background: linear-gradient(to right, rgba(244,240,233,0) 0%,rgba(244,240,233,1) 100%); - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00f4f0e9', endColorstr='#f4f0e9',GradientType=1 ); - -} - -.ranges-mobile__btn { - margin: 0 auto; -} - -.ranges-mobile__nav .swiper-nav__arrow { - position: absolute; - bottom: 160px; - z-index: 3 -} - -.ranges-mobile__nav .swiper-nav__arrow.disabled { - visibility: hidden; -} - -.ranges-mobile__nav .swiper-nav__arrow_prev { - left: -35px; -} - -.ranges-mobile__nav .swiper-nav__arrow_next { - right: -35px; -} - -.ranges-mobile__slider .swiper-slide { - width: auto; -} - -/* main products END */ - - -@media screen and (max-width: 1240px) { - .wrapper { - width: 1024px; - } - - .ranges__row-block { - flex: 25%; - } - - .ranges__row-block_wide { - flex: 50%; - } - - .product__ranges .ranges__row-block_wide { - order: 99; - } -} diff --git a/resources/views/front/canard/sass/tunnel.scss b/resources/views/front/canard/sass/tunnel.scss deleted file mode 100644 index 8740380..0000000 --- a/resources/views/front/canard/sass/tunnel.scss +++ /dev/null @@ -1,409 +0,0 @@ -.order__stepper { - -} - -.order__step { - width:25%; - padding:0; - font-weight:500; - word-spacing: 1rem; - - &.step__done { - &:before{ - content: ""; - text-transform: uppercase; - position: absolute; - display: block; - background: no-repeat url(../img/order-step-done.svg); - height: 22px; - width: 142px; - } - } - - &.active { - &:before{ - content: ""; - text-transform: uppercase; - position: absolute; - display: block; - background: no-repeat url(../img/order-step-active.svg); - height: 22px; - width: 142px; - } - } - - &:before{ - content: ""; - text-transform: uppercase; - position: absolute; - display: block; - background: no-repeat url(../img/order-step-inactive.svg); - height: 22px; - width: 142px; - } -} - -.step--label { - text-transform: uppercase; - height: 22px; - padding: 0 0 0 127px; - display: block; - text-align: initial; - position: relative; - top: 2px; - - &:first-letter { - color: #fff; - } - - a:hover { - color: $green; - } -} - -@media screen and (max-width: 480px) { - .steps__item.order__step { - width: 66%; - margin-bottom: 3px; - &.step__done { - &:before{ - background-position-x: -120px; - } - } - - &.active { - &:before{ - background-position-x: -120px; - } - } - - &:before{ - background-position-x: -120px; - } - } - - .step--label { - padding: 0 0 0 7px; - } -} - - -.section_white { - background: #fff; -} - - -.order_recap { - display: grid; - grid-template-columns: 2em auto 20% 10% 10%; - grid-template-rows: auto; - //flex-direction: row; - &>div { - padding: 0.5em 0; - //vertical-align: middle; - &.order_recap_action { - /* first column */ - text-align: center; - } - &.order_recap_designation { - /* second column */ - text-align: left; - } - &.order_recap_quantite { - /* third column */ - text-align: center; - } - &.order_recap_unitprice { - /* fourth column */ - text-align: center; - } - &.order_recap_totalprice { - /* fifth column */ - text-align: right; - } - } - - .order_recap__header{ - border-bottom: 1px solid; - div{ - font-weight: initial; - } - } - - - .order_recap__footer{ - border-top: 1px solid; - font-weight: 500; - } - - .order_recap__row { - align-self: center; - } - - .add-to-cart { - display: inline-block; - } -} - -@media screen and (max-width: 767px) { - .order_recap { - display: flex; - flex-direction: column; - .order_recap__header { - display: none; - } - - .order_recap__footer{ - border-top: 0; - } - } - - -} - -.btn_grey { - background-color: $grey; - &:hover { - background-color: $green; - } -} - -.order__actions { - display: flex; - justify-content: space-between; - - .order__prev-step { - margin-right: 1em; - } -} - -.point-relay { - display: none; - width: 100%; - padding-right: 1em; -} - -.datetime-collect { - width: 100%; -} - -.point-relay__form { - display: flex; - align-items: center; - - input { - border-left: 1px solid; - padding-left: 0.5em; - } - - .btn { - margin-right: 1em; - &:last-child { - margin-right: initial; - } - } -} - - -//timeslot picker - -.timeslot-container { - display: flex; - justify-content: space-between; - margin: 1em 0; -} - -.calendar { - width: 67%; - background-color: $beige-d; - h2 { - text-align: center; - font-weight: 500; - background-color: $beige-l; - line-height: 40px; - span { - color: #fff; - background-color: $blue; - vertical-align: middle; - text-align: center; - border-radius: 15px; - line-height: 0; - width:30px; - display: inline-block; - margin: 0 1em; - cursor: pointer; - &:hover { - background-color: $green; - } - } - } - .content { - .current>span { - border-radius: 20px; - width: 40px; - margin: auto; - display: inline-block; - background-color: #ccc; - } - .grey { - background-color: #ebebeb; - } - .selected>span { - border-radius: 20px; - width: 40px; - margin: auto; - color: #fff; - background-color: $green; - display: inline-block; - } - .last, .next { - color: #999; - } - .unavailable{ - color: #999; - color: rgba(153,153,153,0.6); - cursor: initial; - } - } -} - - .calendar .content, - .calendar header { - background-color: $beige-d; - } - - .calendar .content, - .calendar header { - display: flex; - flex-wrap: wrap; - } - - .calendar .content>div, - .calendar header>div, - .creneaux__list div, { - box-sizing: border-box; - line-height: 40px; - height: 40px; - width: 14.28571427%; - text-align: center; - cursor: pointer; - } - - .creneaux { - width:33%; - background-color: $beige-l; - header { - font-weight: 500; - text-align: center; - line-height: 40px; - background-color: $beige-d; - } - - } - - .creneaux__list { - background-color: $beige-l; - height: 240px; - position: relative; - .creneaux__slots { - scroll-behavior: smooth; - height: 240px; - overflow-y: hidden; - position: inherit; - top: initial; - &.hasDown { - height: 200px; - top: initial; - } - &.hasUp.hasDown { - height: 160px; - top: 40px; - } - &.hasUp { - height: 200px; - top: 40px; - } - } - div { - color: #999; - background-color: #fff; - width:90%; - margin: 0.5em auto; - &.scroll-up, &.scroll-down{ - display:none; - color: #fff; - background-color: $grey; - border-radius: 15px; - width:30px; - height: 30px; - position: absolute; - bottom: 0; - left: 0; - right: 0; - z-index: 1; - margin: 5px auto; - &:hover { - background-color: $green; - } - &.active { - display:block; - } - } - &.scroll-up{ - top: 0; - } - &.dispo { - color : initial; - } - &:hover { - color: #fff; - background-color: $blue; - } - &.selected { - color: #fff; - background-color: $green; - } - } - } - - - .recap_order{ - background-color: $beige-d; - width: 66%; - margin: auto; - padding: 0.5em; - } - -@media screen and (max-width: 480px) { - .recap_order{ - width:99%; - } -} - - - .message{ - margin: 0.5em 0; - } - - .center { - text-align: center; - } - - .order__identification { - margin-top: 2em; - font-weight: 500; - } - - .order__line,.order_total { - display: flex; - flex-direction: row; - div:not(:first-child) { - padding-left: 0.5em; - } - } - - .order_total { - justify-content: flex-end; - font-weight: 500; - } - diff --git a/resources/views/front/canard/search.blade.php b/resources/views/front/canard/search.blade.php deleted file mode 100644 index b0dd37f..0000000 --- a/resources/views/front/canard/search.blade.php +++ /dev/null @@ -1,31 +0,0 @@ -@extends('layouts.layout',['brParam' => ($tag ?? null)]) - -@section('title', ($search_title ?? __('Tous les produits'))) - -@section('breadcrumb', request()->route()->getName()) - -@section('content') -

{{ $search_title ?? __('Tous les produits') }}

- {{-- la champ de recherche dans le header suffit pour le moment -
-
-
-
- -
-
- - -
-
-
- -
-
-
--}} - - @include('partials.products-list') - - @include('partials.ranges-slider') - -@endsection diff --git a/resources/views/front/canard/terms.blade.php b/resources/views/front/canard/terms.blade.php deleted file mode 100644 index b1ad830..0000000 --- a/resources/views/front/canard/terms.blade.php +++ /dev/null @@ -1,35 +0,0 @@ -@extends('layouts.layout') - -@section('title', __('Conditions générales de vente')) - -@section('content') - - -
-
- -
-
- -
-

{{ $content->title }}

- -
-
-
-
- @if ($content !== null) - {!!$content->value!!} - @endif -
-
-
-
-
- - {{-- -

CGV

- @if ($content !== null) - {!!$content->value!!} - @endif--}} -@endsection diff --git a/resources/views/front/canard/theme.config.php b/resources/views/front/canard/theme.config.php deleted file mode 100644 index 4ae5ab6..0000000 --- a/resources/views/front/canard/theme.config.php +++ /dev/null @@ -1,24 +0,0 @@ - 'canard', - 'site_name' => 'Boutique du Canard', - 'company' => 'SBV', - 'analytics' => '', //should go in env file - 'product_image_maxwidth' => '235', - 'product_image_maxheight' => '235', //'190', - 'product_image_large_maxwidth' => '550', - 'product_image_large_maxheight' => '550', //'320', - 'range_image_maxwidth' => '265', - 'range_image_maxheight' => '265', //'215', - 'range_image_large_maxwidth' => '550', - 'range_image_large_maxheight' => '550', //'265', - 'content_banner_maxwidth' => '1180', - 'content_banner_maxheight' => '250', - 'enum_product_types' => [ - 'foodProduct' => 'Alimentaire', - ], - 'slide_image_maxwidth' => '1180', - 'slide_image_maxheight' => '449', - -];