You are not my master

This commit is contained in:
alexandre-pereira
2015-03-18 19:47:36 +01:00
parent 827fc50875
commit 4570db86fe
8 changed files with 44 additions and 36 deletions

View File

@ -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;
}

View File

@ -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;
}
/* =============================================================================

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -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 = '<h2 class="mg__onend--heading"><span class="icon-trophy"></span></h2>\
<p class="mg__onend--message">Vous avez gagné votre partie en ' + this.numMoves + ' coups !</p>\
<button id="mg__onend--restart" class="mg__button"><span class="icon-spinner11"></span></button>';
//var texteADire = "Bravo, tu as gagné en "+this.numMoves+" coups ! ";