From: Stephen Cameron Date: Tue, 18 Jan 2022 12:18:34 +0000 (+0100) Subject: Wait #5027 @5.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=b4ab739ea71a81ea5ae13ff52d1f9253114f8926;p=odl.git Wait #5027 @5.5 --- diff --git a/resources/css/common/animations.css b/resources/css/common/animations.css index 9de2f1c..7aec731 100644 --- a/resources/css/common/animations.css +++ b/resources/css/common/animations.css @@ -57,3 +57,34 @@ } /*============================================================*/ + +.animate-shake-horizontal { + animation-name: animate-shake-horizontal; + animation-timing-function: cubic-bezier(0.455, 0.030, 0.515, 0.955); +} + +@keyframes animate-shake-horizontal { + 0%, + 100% { + transform: translateX(0); + } + 10%, + 30%, + 50%, + 70% { + transform: translateX(-10px); + } + 20%, + 40%, + 60% { + transform: translateX(10px); + } + 80% { + transform: translateX(8px); + } + 90% { + transform: translateX(-8px); + } +} + +/*============================================================*/ diff --git a/resources/views/components/pin-code.blade.php b/resources/views/components/pin-code.blade.php new file mode 100644 index 0000000..0ba9b1e --- /dev/null +++ b/resources/views/components/pin-code.blade.php @@ -0,0 +1,167 @@ +{{-- PIN Code Component --}} +@php + $pin = $pin ?? '1234'; +@endphp + +
+ +
+

Saisir le code d’accès

+ +
+ Ce code n’est pas valide +
+ + {{-- PIN DIGITS --}} +
+ +
+ + {{-- KEYPAD BUTTONS --}} +
+ '; + } + ?> + + {!! $digit !!} + + +
+ +
+ +
+ +@push('after_css') + +@endpush + +@push('before_scripts') + +@endpush diff --git a/resources/views/front/splash.blade.php b/resources/views/front/splash.blade.php index 01e49ca..35b897b 100644 --- a/resources/views/front/splash.blade.php +++ b/resources/views/front/splash.blade.php @@ -2,13 +2,13 @@ @section('body_tag') {{-- Make sure no scrollbars are present because they affect the background scaling --}} - + @endsection @section('main') {{-- Title + Illustration --}} -
@@ -17,7 +17,7 @@
@endsection -@push('after_scripts') +@push('before_scripts') @endpush