Private
Public Access
1
0
Files
MineSeeker/assets/css/mineseeker/_bomb.scss

225 lines
9.8 KiB
SCSS

#mine-wrapper .game-wrapper .users .user-container .user-control {
background: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.5) 0%, rgba(125, 185, 232, 0) 100%);
background: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.5) 0%, rgba(125, 185, 232, 0) 100%);
background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(125, 185, 232, 0) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#007db9e8', GradientType=1);
position: relative;
padding: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}
#mine-wrapper .game-wrapper .users .user-container .user-control > img {
position: absolute;
width: 55px;
left: -5px;
bottom: 10px;
-ms-transform: rotate(-15deg);
-webkit-transform: rotate(-15deg);
transform: rotate(-15deg);
}
#mine-wrapper .game-wrapper .users .user-container .user-control .user-control-mines {
display: inline-block;
background: #FFFFFF;
font-size: 25px;
text-align: center;
width: 45px;
height: 35px;
margin-left: 25px;
margin-top: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}
#mine-wrapper .game-wrapper .users .user-container.user-blue .user-control .user-control-mines {
color: #1a3955;
}
#mine-wrapper .game-wrapper .users .user-container.user-red .user-control .user-control-mines {
color: #b10000;
}
#mine-wrapper .game-wrapper .users .user-container .user-control .bomb-container {
display: inline-block;
float: right;
width: 65px;
height: 45px;
border: 1px solid #000;
-webkit-border-radius: 7px;
border-radius: 7px;
-webkit-transform: translateZ(0);
transform: translateZ(0);
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-moz-osx-font-smoothing: grayscale;
box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
#mine-wrapper .game-wrapper .users .user-container .user-control .bomb-container.buzz:hover {
-webkit-animation-name: hvr-buzz-out;
animation-name: hvr-buzz-out;
-webkit-animation-duration: 0.75s;
animation-duration: 0.75s;
-webkit-animation-timing-function: linear;
animation-timing-function: linear;
-webkit-animation-iteration-count: 1;
animation-iteration-count: 1;
}
@-webkit-keyframes hvr-buzz-out {
10% { -webkit-transform: translateX(3px) rotate(2deg); transform: translateX(3px) rotate(2deg); }
20% { -webkit-transform: translateX(-3px) rotate(-2deg); transform: translateX(-3px) rotate(-2deg); }
30% { -webkit-transform: translateX(3px) rotate(2deg); transform: translateX(3px) rotate(2deg); }
40% { -webkit-transform: translateX(-3px) rotate(-2deg); transform: translateX(-3px) rotate(-2deg); }
50% { -webkit-transform: translateX(2px) rotate(1deg); transform: translateX(2px) rotate(1deg); }
60% { -webkit-transform: translateX(-2px) rotate(-1deg); transform: translateX(-2px) rotate(-1deg); }
70% { -webkit-transform: translateX(2px) rotate(1deg); transform: translateX(2px) rotate(1deg); }
80% { -webkit-transform: translateX(-2px) rotate(-1deg); transform: translateX(-2px) rotate(-1deg); }
90% { -webkit-transform: translateX(1px) rotate(0); transform: translateX(1px) rotate(0); }
100% { -webkit-transform: translateX(-1px) rotate(0); transform: translateX(-1px) rotate(0); }
}
@keyframes hvr-buzz-out {
10% { -webkit-transform: translateX(3px) rotate(2deg); transform: translateX(3px) rotate(2deg); }
20% { -webkit-transform: translateX(-3px) rotate(-2deg); transform: translateX(-3px) rotate(-2deg); }
30% { -webkit-transform: translateX(3px) rotate(2deg); transform: translateX(3px) rotate(2deg); }
40% { -webkit-transform: translateX(-3px) rotate(-2deg); transform: translateX(-3px) rotate(-2deg); }
50% { -webkit-transform: translateX(2px) rotate(1deg); transform: translateX(2px) rotate(1deg); }
60% { -webkit-transform: translateX(-2px) rotate(-1deg); transform: translateX(-2px) rotate(-1deg); }
70% { -webkit-transform: translateX(2px) rotate(1deg); transform: translateX(2px) rotate(1deg); }
80% { -webkit-transform: translateX(-2px) rotate(-1deg); transform: translateX(-2px) rotate(-1deg); }
90% { -webkit-transform: translateX(1px) rotate(0); transform: translateX(1px) rotate(0); }
100% { -webkit-transform: translateX(-1px) rotate(0); transform: translateX(-1px) rotate(0); }
}
#mine-wrapper .game-wrapper .users .user-container .user-control .bomb-container .bomb {
width: 100%;
height: 100%;
text-align: center;
cursor: pointer;
}
#mine-wrapper .game-wrapper .users .user-container .user-control .bomb-container .bomb img {
display: inline-block;
height: 100%;
}
#mine-wrapper .game-wrapper .users .user-container .user-control .bomb-container:hover .bomb img {
-webkit-animation-name: hvr-buzz;
animation-name: hvr-buzz;
-webkit-animation-duration: 0.15s;
animation-duration: 0.15s;
-webkit-animation-timing-function: linear;
animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
}
#mine-wrapper .game-wrapper .users .user-container .user-control .bomb-container .bomb {
-webkit-border-radius: 5px;
border-radius: 5px;
}
#mine-wrapper .game-wrapper .users .user-container.user-blue .user-control .bomb-container .bomb {
background: rgb(131, 194, 245);
background: -moz-linear-gradient(top, rgba(131, 194, 245, 1) 0%, rgba(108, 190, 230, 1) 39%, rgba(221, 255, 252, 1) 100%);
background: -webkit-linear-gradient(top, rgba(131, 194, 245, 1) 0%, rgba(108, 190, 230, 1) 39%, rgba(221, 255, 252, 1) 100%);
background: linear-gradient(to bottom, rgba(131, 194, 245, 1) 0%, rgba(108, 190, 230, 1) 39%, rgba(221, 255, 252, 1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#83c2f5', endColorstr='#ddfffc', GradientType=0);
border: 3px solid #0b538e;
}
#mine-wrapper .game-wrapper .users .user-container.user-red .user-control .bomb-container .bomb {
background: rgb(255, 175, 159);
background: -moz-linear-gradient(top, rgba(255, 175, 159, 1) 0%, rgba(231, 113, 7, 1) 54%, rgba(231, 113, 7, 1) 54%, rgba(237, 172, 16, 1) 100%);
background: -webkit-linear-gradient(top, rgba(255, 175, 159, 1) 0%, rgba(231, 113, 7, 1) 54%, rgba(231, 113, 7, 1) 54%, rgba(237, 172, 16, 1) 100%);
background: linear-gradient(to bottom, rgba(255, 175, 159, 1) 0%, rgba(231, 113, 7, 1) 54%, rgba(231, 113, 7, 1) 54%, rgba(237, 172, 16, 1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffaf9f', endColorstr='#edac10', GradientType=0);
border: 3px solid #c9221c;
}
// Resign button
#mine-wrapper .game-wrapper .users .resign {
background: rgba(70, 73, 66, 1);
background: -moz-linear-gradient(top, rgba(70, 73, 66, 1) 0%, rgba(140, 138, 139, 1) 69%, rgba(96, 89, 97, 1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(70, 73, 66, 1)), color-stop(69%, rgba(140, 138, 139, 1)), color-stop(100%, rgba(96, 89, 97, 1)));
background: -webkit-linear-gradient(top, rgba(70, 73, 66, 1) 0%, rgba(140, 138, 139, 1) 69%, rgba(96, 89, 97, 1) 100%);
background: -o-linear-gradient(top, rgba(70, 73, 66, 1) 0%, rgba(140, 138, 139, 1) 69%, rgba(96, 89, 97, 1) 100%);
background: -ms-linear-gradient(top, rgba(70, 73, 66, 1) 0%, rgba(140, 138, 139, 1) 69%, rgba(96, 89, 97, 1) 100%);
background: linear-gradient(to bottom, rgba(70, 73, 66, 1) 0%, rgba(140, 138, 139, 1) 69%, rgba(96, 89, 97, 1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#464942', endColorstr='#605961', GradientType=0);
display: block;
position: relative;
width: 95%;
height: 50px;
font-family: 'Open Sans', sans-serif;
font-weight: bold;
font-size: 22px;
text-transform: uppercase;
text-align: center;
line-height: 40px;
border: 3px solid #484742;
color: #fff;
margin: 10px auto 0 auto;
outline: none;
cursor: pointer;
-webkit-border-radius: 5px;
border-radius: 5px;
-webkit-transition: all 250ms ease-in-out;
-moz-transition: all 250ms ease-in-out;
-o-transition: all 250ms ease-in-out;
transition: all 250ms ease-in-out;
}
#mine-wrapper .game-wrapper .users .resign:hover {
background: rgba(70, 73, 66, 1);
color: #FFFFFF;
transition: all 250ms ease-in-out;
}
#mine-wrapper .game-wrapper .users .resign.disabled {
background: rgba(70, 73, 66, 1);
color: #848484;
cursor: default;
}
#mine-wrapper .game-wrapper .users .resign.disabled:hover {
background: rgba(70, 73, 66, 1);
color: #848484;
}
#mine-wrapper .game-wrapper .users .resign .resign-shine {
background: rgba(255, 255, 255, 1);
background: -moz-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255, 255, 255, 1)), color-stop(100%, rgba(0, 0, 0, 0)));
background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%);
background: -o-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%);
background: -ms-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%);
background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#000000', GradientType=0);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 33%;
opacity: 0.7;
-webkit-border-radius: 5px;
border-radius: 5px;
transition: all 250ms ease-in-out;
}
#mine-wrapper .game-wrapper .users .resign:hover .resign-shine,
#mine-wrapper .game-wrapper .users .resign.disabled .resign-shine {
display: none;
transition: all 250ms ease-in-out;
}