mirror of
https://github.com/exane/not-gwent-online
synced 2024-10-31 10:36:53 +00:00
557 lines
10 KiB
SCSS
557 lines
10 KiB
SCSS
//@import "style";
|
|
@import "backbone.modal";
|
|
@import "backbone.modal.theme";
|
|
@import "effects";
|
|
@import "base";
|
|
|
|
|
|
$height: 600px;
|
|
$game-height: 800px;
|
|
|
|
.container {
|
|
min-width: 970px;
|
|
width: 970px important;
|
|
background: rgba(5,5,5,0.25);
|
|
padding: 20px;
|
|
margin-bottom: 150px;
|
|
//margin-top: 65px;
|
|
}
|
|
.board {
|
|
height: $game-height;
|
|
//border: 1px solid black;
|
|
}
|
|
|
|
.battleside {
|
|
width: 100%;
|
|
height: $height/2;
|
|
//border: 1px solid black;
|
|
}
|
|
|
|
.large-field-counter {
|
|
line-height: 20px;
|
|
//border: 1px solid black;
|
|
border-radius: 30px;
|
|
height: 40px;
|
|
padding: 10px;
|
|
margin-top: 33px;
|
|
text-align: center;
|
|
color: #3f4c5b;
|
|
}
|
|
|
|
.field {
|
|
//width: 100%;
|
|
height: 100px;
|
|
border: 1px solid black;
|
|
/*margin-bottom: 15px;*/
|
|
/*
|
|
overflow: hidden;
|
|
|
|
&:hover {
|
|
overflow: visible;
|
|
}*/
|
|
|
|
.card:first-child {
|
|
margin-left: 0 !important;
|
|
}
|
|
&.active {
|
|
box-shadow: 0px 0px 15px #ffbb0b !important;
|
|
&:hover {
|
|
box-shadow: 0px 0px 30px #ffd135 !important;
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
.field-horn {
|
|
/*
|
|
border: 1px solid green;*/
|
|
/*clear: both;*/
|
|
margin: 0px;
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
.field:hover, .field-single:hover {
|
|
//box-shadow: 0px 0px 10px #000;
|
|
}
|
|
|
|
.handcard-wrap {
|
|
margin: 0 auto;
|
|
width: 550px;
|
|
}
|
|
|
|
.field-hand {
|
|
//margin-top: 20px;
|
|
border: none;
|
|
transition: all .2s ease-in-out 0s;
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
background: rgba(6, 13, 22, .8);
|
|
height: 110px;
|
|
z-index: 20;
|
|
|
|
.card {
|
|
margin-left: -31px;
|
|
&:first-child {
|
|
margin-left: 0 !important;
|
|
}
|
|
&:hover {
|
|
position: relative;
|
|
z-index: 10;
|
|
transform: scale(1.1, 1.1);
|
|
}
|
|
}
|
|
}
|
|
|
|
.passing {
|
|
color: #3f4c5b;
|
|
margin: 10px 0 0;
|
|
text-transform: uppercase;
|
|
/*
|
|
display: none;*/
|
|
}
|
|
|
|
.field-single {
|
|
//border: 1px solid black;
|
|
/*
|
|
width: 85px;*/
|
|
/*margin: 5px;*/
|
|
//height: 98px;
|
|
padding: 0;
|
|
}
|
|
|
|
.left-side {
|
|
//height: $game-height;
|
|
}
|
|
|
|
.score,
|
|
.hand-card {
|
|
color: #8798ac;
|
|
text-align: center;
|
|
padding: 0 20px 0 0 !important;
|
|
}
|
|
|
|
.field-weather {
|
|
border: none;
|
|
}
|
|
|
|
.info-title {
|
|
color: #3f4c5b;
|
|
}
|
|
|
|
.info-name {
|
|
color: #8798ac;
|
|
font-size: 18px;
|
|
margin: 15px 0;
|
|
}
|
|
|
|
.button-pass-wrap {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.button-pass {
|
|
width: 100%;
|
|
border: 0;
|
|
background: #3f4c5b;
|
|
padding: 5px 0;
|
|
color: #fff;
|
|
text-transform: uppercase;
|
|
fon-size: 15px;
|
|
|
|
&:hover {
|
|
background: lighten(#3f4c5b, 10%);
|
|
}
|
|
|
|
&:active {
|
|
background: #3f4c5b;
|
|
}
|
|
}
|
|
|
|
.game-info {
|
|
height: $game-height/2 - 140px;
|
|
width: 100%;
|
|
//border: 1px solid black;
|
|
background: rgba(252, 219, 125, 0.1);
|
|
position: relative;
|
|
|
|
div {
|
|
margin-bottom: 5px;
|
|
padding: 0;
|
|
}
|
|
|
|
.icon-hand-card {
|
|
background: url("../../assets/card_icon.png") no-repeat;
|
|
height: 50px;
|
|
width: 50px;
|
|
display: block;
|
|
position: absolute;
|
|
margin-top: -8px;
|
|
}
|
|
}
|
|
|
|
.removeBackground {
|
|
background: rgba(0,0,0, .4);
|
|
}
|
|
|
|
.mid-line {
|
|
width: 100%;
|
|
height: 1px;
|
|
//border: 1px solid black;
|
|
margin: 5px;
|
|
}
|
|
|
|
.right-side {
|
|
border: 1px solid black;
|
|
height: $height/2;
|
|
}
|
|
|
|
.field {
|
|
.card-wrap {/*
|
|
height: 90px;
|
|
width: 63px !important;*//*
|
|
float: left;
|
|
cursor: pointer;
|
|
z-index: 10;
|
|
height: auto !important;
|
|
width: auto !important;
|
|
margin: 3px;*/
|
|
}
|
|
}
|
|
|
|
.card {
|
|
/*border: 2px solid black;
|
|
float: left;
|
|
margin: 3px;
|
|
overflow: hidden;*//*
|
|
height: 90px;
|
|
overflow: hidden;*//*
|
|
border: none !important;
|
|
margin: 0 !important;
|
|
border-radius: 0 !important;
|
|
overflow: visible !important;
|
|
height: 93px !important;
|
|
*/
|
|
|
|
i {/*
|
|
display: block;*/
|
|
//transform: scale(1);
|
|
}
|
|
|
|
/*.card-attr-power {
|
|
margin-top: 0px;
|
|
margin-left: 0px;
|
|
height: 25px;
|
|
width: 25px;
|
|
text-align: center;
|
|
line-height: 25px;
|
|
font-size: 20px;
|
|
color: black;
|
|
}*/
|
|
.card-attr-positive span {
|
|
color: #00b000 !important;
|
|
}
|
|
|
|
.card-attr-power {
|
|
position: absolute;
|
|
margin-top: -3px;
|
|
margin-left: -4px;
|
|
//margin-top: 2px;
|
|
cursor: default;
|
|
//padding-top: 3px;
|
|
//padding-left: -4px;
|
|
height: 30px;
|
|
width: 30px;
|
|
background: url("../../assets/card_strength_border.png") no-repeat;
|
|
z-index: 11;
|
|
|
|
span {
|
|
color: #ff2d00;
|
|
text-shadow: 1px 1px 1px #101010;
|
|
text-align: center;
|
|
font-weight: bold;
|
|
font-size: 16px;
|
|
width: 30px;
|
|
display: block;
|
|
margin-left: -2px;
|
|
margin-top: -1px;
|
|
line-height: 30px;
|
|
}
|
|
}
|
|
|
|
&.disabled {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
/*&.activeCard {
|
|
position: relative;
|
|
z-index: 11;
|
|
transform: scale(1.5, 1.5) !important;
|
|
}*/
|
|
}
|
|
|
|
.field-discard {
|
|
background: rgba(0,0,0,.6);
|
|
float: left;
|
|
padding: 25px 15px;
|
|
width: auto;
|
|
cursor: pointer;
|
|
margin: 20px 0;
|
|
transition: all .2s ease-in-out 0s;
|
|
|
|
&:hover {
|
|
background: rgba(0,0,0,.9);
|
|
}
|
|
}
|
|
|
|
.discard-scull {
|
|
background: url(discard.png) no-repeat;
|
|
width: 35px;
|
|
height: 35px;
|
|
float: left;
|
|
}
|
|
|
|
.card-preview {
|
|
div {
|
|
position: fixed;
|
|
//left:0;
|
|
z-index: 310;
|
|
//height: 100px !important;
|
|
i {
|
|
display: block;
|
|
margin-left: -15px;
|
|
}
|
|
.preview-description {
|
|
width: 238px;
|
|
min-height: 200px;
|
|
background: rgba(16, 16, 16, 0.57);
|
|
color: #ffffff;
|
|
margin-left: -15px;
|
|
|
|
p {
|
|
padding: 10px;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
.gwent-lives {
|
|
margin: 20px 0;
|
|
|
|
i {
|
|
display: block;
|
|
float: left;
|
|
height: 40px;
|
|
width: 40px;
|
|
margin: 0 10px 0 0;
|
|
background: url("../../assets/ruby-grey.png");
|
|
&.ruby {
|
|
background: url("../../assets/ruby.png");
|
|
}
|
|
}
|
|
}
|
|
|
|
.field {
|
|
&.field-frost {
|
|
background: #ffffff; /* Old browsers */
|
|
background: -moz-linear-gradient(top, #ffffff 0%, #2365ff 100%); /* FF3.6+ */
|
|
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #2365ff)); /* Chrome,Safari4+ */
|
|
background: -webkit-linear-gradient(top, #ffffff 0%, #2365ff 100%); /* Chrome10+,Safari5.1+ */
|
|
background: -o-linear-gradient(top, #ffffff 0%, #2365ff 100%); /* Opera 11.10+ */
|
|
background: -ms-linear-gradient(top, #ffffff 0%, #2365ff 100%); /* IE10+ */
|
|
background: linear-gradient(to bottom, #ffffff 0%, #2365ff 100%); /* W3C */
|
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#2365ff', GradientType=0); /* IE6-9 */
|
|
|
|
}
|
|
&.field-fog {
|
|
background: #ffffff; /* Old browsers */
|
|
background: -moz-linear-gradient(top, #ffffff 0%, #232f30 100%); /* FF3.6+ */
|
|
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #232f30)); /* Chrome,Safari4+ */
|
|
background: -webkit-linear-gradient(top, #ffffff 0%, #232f30 100%); /* Chrome10+,Safari5.1+ */
|
|
background: -o-linear-gradient(top, #ffffff 0%, #232f30 100%); /* Opera 11.10+ */
|
|
background: -ms-linear-gradient(top, #ffffff 0%, #232f30 100%); /* IE10+ */
|
|
background: linear-gradient(to bottom, #ffffff 0%, #232f30 100%); /* W3C */
|
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#232f30', GradientType=0); /* IE6-9 */
|
|
}
|
|
&.field-rain {
|
|
background: #ffffff; /* Old browsers */
|
|
background: -moz-linear-gradient(top, #ffffff 0%, #9b9b9b 100%); /* FF3.6+ */
|
|
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #9b9b9b)); /* Chrome,Safari4+ */
|
|
background: -webkit-linear-gradient(top, #ffffff 0%, #9b9b9b 100%); /* Chrome10+,Safari5.1+ */
|
|
background: -o-linear-gradient(top, #ffffff 0%, #9b9b9b 100%); /* Opera 11.10+ */
|
|
background: -ms-linear-gradient(top, #ffffff 0%, #9b9b9b 100%); /* IE10+ */
|
|
background: linear-gradient(to bottom, #ffffff 0%, #9b9b9b 100%); /* W3C */
|
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#9b9b9b', GradientType=0); /* IE6-9 */
|
|
|
|
}
|
|
}
|
|
|
|
.playcard-banner {
|
|
position: fixed;
|
|
border: 1px solid red;
|
|
background: orangered;
|
|
width: 100%;
|
|
height: 250px;
|
|
left: 0;
|
|
text-align: center;
|
|
top: 200px;
|
|
z-index: 200;
|
|
.card {
|
|
position: relative;
|
|
left: 50%;
|
|
top: 30%;
|
|
}
|
|
}
|
|
|
|
.waiting-for-opponent {
|
|
|
|
// temp
|
|
//display: none;
|
|
|
|
position: fixed;
|
|
//left: 43%;
|
|
cursor: default;
|
|
width: 100%;
|
|
text-align: center;
|
|
//left: calc(50% - 400px) ;
|
|
left: 0;
|
|
//top: calc(50% - 60px);
|
|
top: calc(100% - 170px);
|
|
//top: 0;
|
|
//border: 1px solid black;
|
|
//border-radius: 10px;
|
|
/*
|
|
padding: 0px 200px;*/
|
|
font-size: 25px;
|
|
line-height: 20px;
|
|
padding: 20px;
|
|
z-index: 300;
|
|
color: #ff8927;
|
|
//text-shadow: 0px 0px 1px #000;
|
|
background: #444ba1;
|
|
}
|
|
|
|
.waiting-for-opponent{
|
|
animation: waitForOpponent linear 2s;
|
|
animation-iteration-count: infinite;
|
|
transform-origin: 50% 50%;
|
|
-webkit-animation: waitForOpponent linear 2s;
|
|
-webkit-animation-iteration-count: infinite;
|
|
-webkit-transform-origin: 50% 50%;
|
|
-moz-animation: waitForOpponent linear 2s;
|
|
-moz-animation-iteration-count: infinite;
|
|
-moz-transform-origin: 50% 50%;
|
|
-o-animation: waitForOpponent linear 2s;
|
|
-o-animation-iteration-count: infinite;
|
|
-o-transform-origin: 50% 50%;
|
|
-ms-animation: waitForOpponent linear 2s;
|
|
-ms-animation-iteration-count: infinite;
|
|
-ms-transform-origin: 50% 50%;
|
|
}
|
|
|
|
.container {
|
|
position: relative;
|
|
}
|
|
|
|
.notifications {
|
|
position: fixed;
|
|
top: 0;
|
|
z-index: 200;
|
|
width: 500px;
|
|
left: calc(50% - (500px/2));
|
|
}
|
|
|
|
.notification {
|
|
height: 0;
|
|
/*margin-left: 250px;
|
|
margin-right: 250px;*/
|
|
|
|
|
|
.alert {
|
|
margin-bottom: 0;
|
|
display: none;
|
|
//padding: 0;
|
|
}
|
|
}
|
|
|
|
.startMatchmaking {
|
|
height: 50px;
|
|
line-height: 35px;
|
|
width: 200px;
|
|
text-align: left;
|
|
}
|
|
|
|
.image-gif-loader {
|
|
background: url("../../assets/content-load.gif");
|
|
display: block;
|
|
height: 32px;
|
|
width: 32px;
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
@keyframes waitForOpponent{
|
|
0% {
|
|
opacity:1;
|
|
}
|
|
50% {
|
|
opacity:0.8;
|
|
}
|
|
100% {
|
|
opacity:1;
|
|
}
|
|
}
|
|
|
|
@-moz-keyframes waitForOpponent{
|
|
0% {
|
|
opacity:1;
|
|
}
|
|
50% {
|
|
opacity:0.8;
|
|
}
|
|
100% {
|
|
opacity:1;
|
|
}
|
|
}
|
|
|
|
@-webkit-keyframes waitForOpponent {
|
|
0% {
|
|
opacity:1;
|
|
}
|
|
50% {
|
|
opacity:0.8;
|
|
}
|
|
100% {
|
|
opacity:1;
|
|
}
|
|
}
|
|
|
|
@-o-keyframes waitForOpponent {
|
|
0% {
|
|
opacity:1;
|
|
}
|
|
50% {
|
|
opacity:0.8;
|
|
}
|
|
100% {
|
|
opacity:1;
|
|
}
|
|
}
|
|
|
|
@-ms-keyframes waitForOpponent {
|
|
0% {
|
|
opacity:1;
|
|
}
|
|
50% {
|
|
opacity:0.8;
|
|
}
|
|
100% {
|
|
opacity:1;
|
|
}
|
|
} |