From 1137efce9571c8dea86b02c4e0e1a4d9c5b66a44 Mon Sep 17 00:00:00 2001 From: Jerome Morjon Date: Tue, 24 Mar 2015 12:07:25 +0100 Subject: [PATCH] add css --- SRC/public/css/frontend.css | 15 +++++++++++++-- SRC/resources/views/frontend/games.blade.php | 10 +++++++--- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/SRC/public/css/frontend.css b/SRC/public/css/frontend.css index e4c49d9..cd60e4d 100755 --- a/SRC/public/css/frontend.css +++ b/SRC/public/css/frontend.css @@ -172,17 +172,28 @@ button.level:active { height:100px; width:100px; margin:40px; + padding-top : 30px; cursor:pointer; background-position: center center; background-size:cover; - line-height:100px; + line-height:20px; font-weight:bold; - font-size:40px; + font-size:18px; + } #imgRef:active { cursor:wait; } +.referent:hover +{ + -moz-box-shadow: 0px 0px 10px 2px white; +-webkit-box-shadow: 0px 0px 10px 2px white; +-o-box-shadow: 0px 0px 10px 2px white; +box-shadow: 0px 0px 10px 2px white; +filter:progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=NaN, Strength=10); +} + .trophy-text { font-weight: bold; line-height: 40px; diff --git a/SRC/resources/views/frontend/games.blade.php b/SRC/resources/views/frontend/games.blade.php index f40f2b2..562bd06 100755 --- a/SRC/resources/views/frontend/games.blade.php +++ b/SRC/resources/views/frontend/games.blade.php @@ -52,14 +52,18 @@ function startCounter(event) { absorbEvent_(event); chiffre = 3; - imgRef.innerHTML = "Redirection "+chiffre; + imgRef.innerHTML = "Redirection
"+chiffre; redirectTimer = setInterval(counter, 1000); } function counter() { chiffre--; - imgRef.innerHTML = "Redirection "+chiffre; - if(chiffre == 0) location.href="{{URL::to('choisirref')}}"; + imgRef.innerHTML = "Redirection
"+chiffre; + if(chiffre == 0) + { + endCounter(null); + location.href="{{URL::to('choisirref')}}"; + } } function endCounter(event) {