diff --git a/SRC/public/css/frontend.css b/SRC/public/css/frontend.css index 19c67ed..9fd3777 100644 --- a/SRC/public/css/frontend.css +++ b/SRC/public/css/frontend.css @@ -105,7 +105,7 @@ nav input { height: 20px; } -button { +button.level { vertical-align:top; cursor: pointer; display: inline-block; @@ -121,10 +121,10 @@ button { outline: 0; transition: all 0.2s; } -button:hover { +button.level:hover { border-bottom-width: 4px; } -button:active { +button.level:active { border-bottom-width: 2px; } diff --git a/SRC/public/css/memory.css b/SRC/public/css/memory.css index 70031c0..1d41e06 100755 --- a/SRC/public/css/memory.css +++ b/SRC/public/css/memory.css @@ -459,24 +459,18 @@ left: 56.3333%%; * * A simple helper class for game buttons. Edit at your will. */ -.mg__button span { - vertical-align:middle; -} + .mg__button { margin: 0; display: inline-block; - padding: 5px; + padding: 15px; color: #fff; - font-family: "Roboto Slab", serif; font-size: 14px; - line-height:18px; - appearance: none; background: #ff3c50; - border: none; - border-radius: 3px; - box-shadow: none; + border-radius: 4px; cursor: pointer; + border: none; } /* ============================================================================= diff --git a/SRC/public/imgs/adminbg.jpg b/SRC/public/imgs/adminbg.jpg index edcc8ac..b87cfc9 100644 Binary files a/SRC/public/imgs/adminbg.jpg and b/SRC/public/imgs/adminbg.jpg differ diff --git a/SRC/public/imgs/previouspage.png b/SRC/public/imgs/previouspage.png new file mode 100644 index 0000000..e322757 Binary files /dev/null and b/SRC/public/imgs/previouspage.png differ diff --git a/SRC/public/js/memory.js b/SRC/public/js/memory.js index 361e8fb..3529bfe 100755 --- a/SRC/public/js/memory.js +++ b/SRC/public/js/memory.js @@ -259,7 +259,7 @@ if (self.flippedTiles == self.numTiles) { self._winGame(); } - }, 1500 ); + }, 500 ); // plus one on the move counter this._gameCounterPlusOne(); @@ -364,7 +364,6 @@ Memory.prototype._winGame = function() { firework(); this.gameMessages.innerHTML = '

\ -

Vous avez gagné votre partie en ' + this.numMoves + ' coups !

\ '; var audio = new Audio(); diff --git a/SRC/resources/views/frontend/games.blade.php b/SRC/resources/views/frontend/games.blade.php index 8fd52ee..814346d 100755 --- a/SRC/resources/views/frontend/games.blade.php +++ b/SRC/resources/views/frontend/games.blade.php @@ -9,7 +9,14 @@
+ +
1 + + 2 + + 4 +
@endsection diff --git a/SRC/resources/views/frontend/memo_level.blade.php b/SRC/resources/views/frontend/memo_level.blade.php index 919bb89..50a9d6f 100755 --- a/SRC/resources/views/frontend/memo_level.blade.php +++ b/SRC/resources/views/frontend/memo_level.blade.php @@ -10,18 +10,13 @@
- + - + -
+
-
{{ $nbOr }} - - {{ $nbOr }} - - {{ $nbOr }} - + diff --git a/SRC/resources/views/frontend/puzzle.blade.php b/SRC/resources/views/frontend/puzzle.blade.php index 78daa67..833fb2c 100755 --- a/SRC/resources/views/frontend/puzzle.blade.php +++ b/SRC/resources/views/frontend/puzzle.blade.php @@ -1,7 +1,6 @@ @extends('frontend/template') @section('content') -