mirror of
https://github.com/groupe1cir1n/groupe1CIR1Njs.git
synced 2026-01-18 16:37:25 +01:00
Change the sound to rick roll
This commit is contained in:
Binary file not shown.
@@ -140,10 +140,10 @@
|
||||
background: rgba(0, 0, 0, 0.65);
|
||||
border: 1px solid silver;
|
||||
box-shadow: inset 0px 0px 0px 2px #808080;
|
||||
top: 12%;
|
||||
left: 12%;
|
||||
right: 12%;
|
||||
bottom: 12%;
|
||||
top: 25%;
|
||||
left: 25%;
|
||||
right: 25%;
|
||||
bottom: 25%;
|
||||
z-index: 1;
|
||||
}
|
||||
.number {
|
||||
@@ -192,10 +192,10 @@
|
||||
}
|
||||
.inner:after {
|
||||
z-index: 3;
|
||||
top: 24%;
|
||||
right: 24%;
|
||||
bottom: 24%;
|
||||
left: 24%;
|
||||
top: 40%;
|
||||
right: 40%;
|
||||
bottom: 40%;
|
||||
left: 40%;
|
||||
background-color: #4d4d4d;
|
||||
border: 3px solid #808080;
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ let $inner = $('.inner'),
|
||||
maskDefault = 'Faites vos jeux',
|
||||
timer = 9000;
|
||||
|
||||
let red = [32,19,21,25,34,27,36,30,23,5,16,1,14,9,18,7,12,3];
|
||||
let black = [32,19,21,25,34,27,36,30,23,5,16,1,14,9,18,7,12,3];
|
||||
|
||||
|
||||
|
||||
@@ -35,8 +35,8 @@ $spin.on('click',function(event){
|
||||
// remove the disabled attribute when the ball has stopped
|
||||
setTimeout(function() {
|
||||
|
||||
if($.inArray(randomNumber, red) !== -1){ color = 'red'} else { color = 'black'};
|
||||
if(randomNumber == 0){color = 'green'};
|
||||
if($.inArray(randomNumber, black) === -1){ color = 'red'} else { color = 'black'};
|
||||
if(randomNumber === 0){color = 'green'};
|
||||
|
||||
$data.addClass('reveal');
|
||||
$inner.addClass('rest');
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user