1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-10-31 10:36:53 +00:00
not-gwent-online/client/scss/main.scss

644 lines
12 KiB
SCSS
Raw Normal View History

2015-06-18 13:06:13 +00:00
//@import "style";
@import "backbone.modal";
@import "backbone.modal.theme";
2015-07-03 17:23:10 +00:00
@import "effects";
2015-07-03 09:36:59 +00:00
@import "base";
2015-06-10 14:25:27 +00:00
$height: 600px;
$game-height: 800px;
2015-07-04 13:07:49 +00:00
2015-07-02 16:17:33 +00:00
.container {
2015-07-04 13:07:49 +00:00
min-width: 970px;
width: 970px important;
2015-07-04 07:36:34 +00:00
background: rgba(5,5,5,0.25);
padding: 20px;
2015-07-04 13:07:49 +00:00
margin-bottom: 150px;
2015-07-04 13:39:02 +00:00
//margin-top: 65px;
2015-07-02 16:17:33 +00:00
}
2015-06-10 14:25:27 +00:00
.board {
height: $game-height;
2015-07-04 07:36:34 +00:00
//border: 1px solid black;
2015-06-10 14:25:27 +00:00
}
.battleside {
width: 100%;
height: $height/2;
2015-07-04 07:36:34 +00:00
//border: 1px solid black;
2015-06-10 14:25:27 +00:00
}
2015-06-25 19:34:51 +00:00
.large-field-counter {
line-height: 20px;
2015-06-29 17:57:51 +00:00
//border: 1px solid black;
2015-06-25 19:34:51 +00:00
border-radius: 30px;
height: 40px;
padding: 10px;
margin-top: 33px;
text-align: center;
2015-07-04 12:16:04 +00:00
color: #3f4c5b;
2015-06-25 19:34:51 +00:00
}
2015-06-10 14:25:27 +00:00
.field {
2015-06-21 14:50:50 +00:00
//width: 100%;
2015-06-10 14:25:27 +00:00
height: 100px;
2015-07-04 15:08:08 +00:00
border-bottom: 1px solid black;
//border: 1px solid black;
2015-07-04 13:07:49 +00:00
/*margin-bottom: 15px;*/
2015-06-27 13:08:35 +00:00
/*
overflow: hidden;
2015-06-20 11:08:11 +00:00
2015-06-27 13:08:35 +00:00
&:hover {
overflow: visible;
}*/
2015-06-19 15:15:26 +00:00
2015-06-20 11:08:11 +00:00
.card:first-child {
margin-left: 0 !important;
}
2015-07-04 14:18:22 +00:00
2015-06-19 15:15:26 +00:00
&.active {
2015-07-04 14:18:22 +00:00
//box-shadow: 0px 0px 15px #ffbb0b !important;
2015-07-04 14:25:00 +00:00
cursor: pointer;
2015-07-04 14:21:42 +00:00
-webkit-animation: WoobWoob linear 2s;
-webkit-animation-iteration-count: infinite;
-o-animation: WoobWoob linear 2s;
-o-animation-iteration-count: infinite;
-ms-animation: WoobWoob linear 2s;
-ms-animation-iteration-count: infinite;
2015-07-04 14:25:00 +00:00
2015-07-04 14:41:17 +00:00
animation: WoobWoob linear 2s;
animation-iteration-count: infinite;
2015-07-04 14:25:00 +00:00
/*&:hover {
2015-07-04 08:44:42 +00:00
box-shadow: 0px 0px 30px #ffd135 !important;
2015-07-04 14:25:00 +00:00
}*/
2015-07-04 14:18:22 +00:00
}
}
2015-06-19 15:15:26 +00:00
2015-07-04 14:25:00 +00:00
@-webkit-keyframes WoobWoob {
0% {
2015-07-04 15:13:43 +00:00
box-shadow: 0 0 15px #ffbb0b;
2015-07-04 14:25:00 +00:00
}
50% {
2015-07-04 15:13:43 +00:00
box-shadow: 0 0 40px #ffd135;
2015-07-04 14:25:00 +00:00
}
100% {
2015-07-04 15:13:43 +00:00
box-shadow: 0 0 15px #ffbb0b;
2015-07-04 14:25:00 +00:00
}
}
2015-07-04 15:13:43 +00:00
2015-07-04 14:25:00 +00:00
@-o-keyframes WoobWoob {
0% {
2015-07-04 15:13:43 +00:00
box-shadow: 0 0 15px #ffbb0b;
2015-07-04 14:25:00 +00:00
}
50% {
2015-07-04 15:13:43 +00:00
box-shadow: 0 0 40px #ffd135;
2015-07-04 14:25:00 +00:00
}
100% {
2015-07-04 15:13:43 +00:00
box-shadow: 0 0 15px #ffbb0b;
2015-07-04 14:25:00 +00:00
}
}
@-ms-keyframes WoobWoob {
0% {
2015-07-04 15:13:43 +00:00
box-shadow: 0 0 15px #ffbb0b;
2015-07-04 14:25:00 +00:00
}
50% {
2015-07-04 15:13:43 +00:00
box-shadow: 0 0 40px #ffd135;
2015-07-04 14:25:00 +00:00
}
100% {
2015-07-04 15:13:43 +00:00
box-shadow: 0 0 15px #ffbb0b;
2015-07-04 14:25:00 +00:00
}
}
2015-07-04 14:18:22 +00:00
@keyframes WoobWoob {
0% {
2015-07-04 15:13:43 +00:00
box-shadow: 0 0 15px #ffbb0b;
2015-07-04 14:18:22 +00:00
}
50% {
2015-07-04 15:13:43 +00:00
box-shadow: 0 0 40px #ffd135;
2015-07-04 14:18:22 +00:00
}
100% {
2015-07-04 15:13:43 +00:00
box-shadow: 0 0 15px #ffbb0b;
2015-06-19 15:15:26 +00:00
}
2015-06-10 14:25:27 +00:00
}
2015-06-27 13:08:35 +00:00
.field-horn {
/*
border: 1px solid green;*/
2015-06-21 14:50:50 +00:00
/*clear: both;*/
margin: 0px;
padding: 0px;
}
2015-06-10 14:25:27 +00:00
.field:hover, .field-single:hover {
2015-07-04 12:16:04 +00:00
//box-shadow: 0px 0px 10px #000;
2015-06-10 14:25:27 +00:00
}
2015-07-04 09:18:53 +00:00
.handcard-wrap {
margin: 0 auto;
2015-07-04 13:39:02 +00:00
width: 550px;
2015-07-04 09:18:53 +00:00
}
2015-06-10 14:25:27 +00:00
.field-hand {
2015-07-04 09:18:53 +00:00
//margin-top: 20px;
border: none;
transition: all .2s ease-in-out 0s;
position: fixed;
bottom: 0;
left: 0;
width: 100%;
2015-07-04 13:25:15 +00:00
background: rgba(6, 13, 22, .8);
2015-07-04 12:16:04 +00:00
height: 110px;
z-index: 20;
2015-07-04 09:18:53 +00:00
2015-06-10 14:25:27 +00:00
.card {
2015-06-20 11:08:11 +00:00
margin-left: -31px;
&:first-child {
margin-left: 0 !important;
}
2015-06-10 14:25:27 +00:00
&:hover {
position: relative;
z-index: 10;
2015-07-04 08:44:42 +00:00
transform: scale(1.1, 1.1);
2015-06-10 14:25:27 +00:00
}
}
}
2015-06-27 13:08:35 +00:00
.passing {
2015-07-04 12:19:29 +00:00
color: #3f4c5b;
margin: 10px 0 0;
text-transform: uppercase;
2015-06-27 13:08:35 +00:00
/*
display: none;*/
2015-06-10 14:25:27 +00:00
}
.field-single {
2015-07-04 12:16:04 +00:00
//border: 1px solid black;
2015-06-27 13:08:35 +00:00
/*
width: 85px;*/
2015-06-20 11:08:11 +00:00
/*margin: 5px;*/
2015-07-04 12:16:04 +00:00
//height: 98px;
padding: 0;
2015-06-10 14:25:27 +00:00
}
.left-side {
//height: $game-height;
}
2015-07-04 12:16:04 +00:00
.score,
.hand-card {
color: #8798ac;
text-align: center;
}
.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;
2015-07-04 12:19:29 +00:00
background: #3f4c5b;
2015-07-04 12:16:04 +00:00
padding: 5px 0;
color: #fff;
text-transform: uppercase;
fon-size: 15px;
2015-07-04 12:19:29 +00:00
&:hover {
background: lighten(#3f4c5b, 10%);
}
&:active {
background: #3f4c5b;
}
2015-07-04 12:16:04 +00:00
}
2015-06-10 14:25:27 +00:00
.game-info {
2015-07-04 11:04:32 +00:00
height: $game-height/2 - 140px;
2015-06-10 14:25:27 +00:00
width: 100%;
2015-07-04 07:36:34 +00:00
//border: 1px solid black;
2015-07-04 12:16:04 +00:00
background: rgba(252, 219, 125, 0.1);
position: relative;
2015-07-04 10:54:55 +00:00
div {
margin-bottom: 5px;
2015-07-04 12:16:04 +00:00
padding: 0;
2015-07-04 15:13:43 +00:00
font-size: 17px;
2015-07-04 10:54:55 +00:00
}
.icon-hand-card {
background: url("../../assets/card_icon.png") no-repeat;
height: 50px;
width: 50px;
display: block;
position: absolute;
margin-top: -8px;
}
2015-06-14 14:01:25 +00:00
}
.removeBackground {
2015-07-04 12:16:04 +00:00
background: rgba(0,0,0, .4);
2015-06-10 14:25:27 +00:00
}
.mid-line {
width: 100%;
height: 1px;
2015-07-04 12:16:04 +00:00
//border: 1px solid black;
2015-06-10 14:25:27 +00:00
margin: 5px;
}
.right-side {
2015-07-04 15:08:08 +00:00
&:nth-child(2) {
border-bottom: 1px solid black;
}
2015-07-04 11:04:32 +00:00
height: $height/2;
2015-06-10 14:25:27 +00:00
}
2015-07-04 08:44:42 +00:00
.field {
.card-wrap {/*
height: 90px;
width: 63px !important;*//*
float: left;
cursor: pointer;
z-index: 10;
height: auto !important;
width: auto !important;
margin: 3px;*/
}
}
2015-06-10 14:25:27 +00:00
.card {
2015-07-04 08:44:42 +00:00
/*border: 2px solid black;
2015-06-10 14:25:27 +00:00
float: left;
margin: 3px;
2015-07-04 08:44:42 +00:00
overflow: hidden;*//*
2015-06-10 14:25:27 +00:00
height: 90px;
2015-07-04 08:44:42 +00:00
overflow: hidden;*//*
border: none !important;
margin: 0 !important;
border-radius: 0 !important;
overflow: visible !important;
height: 93px !important;
*/
i {/*
display: block;*/
2015-06-27 13:37:36 +00:00
//transform: scale(1);
2015-06-10 14:25:27 +00:00
}
2015-06-22 18:19:06 +00:00
/*.card-attr-power {
margin-top: 0px;
margin-left: 0px;
height: 25px;
width: 25px;
text-align: center;
line-height: 25px;
font-size: 20px;
color: black;
}*/
2015-06-30 10:34:57 +00:00
.card-attr-positive span {
color: #00b000 !important;
2015-06-22 18:19:06 +00:00
}
2015-06-30 10:34:57 +00:00
.card-attr-power {
2015-06-14 18:50:53 +00:00
position: absolute;
2015-06-30 10:34:57 +00:00
margin-top: -3px;
margin-left: -4px;
2015-06-29 08:31:02 +00:00
//margin-top: 2px;
2015-06-14 18:50:53 +00:00
cursor: default;
2015-07-04 08:44:42 +00:00
//padding-top: 3px;
2015-06-29 08:31:02 +00:00
//padding-left: -4px;
2015-07-04 08:44:42 +00:00
height: 30px;
2015-06-29 08:31:02 +00:00
width: 30px;
background: url("../../assets/card_strength_border.png") no-repeat;
2015-07-04 08:44:42 +00:00
z-index: 11;
2015-06-30 10:34:57 +00:00
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;
2015-07-04 08:44:42 +00:00
margin-top: -1px;
line-height: 30px;
2015-06-30 10:34:57 +00:00
}
2015-06-14 18:50:53 +00:00
}
2015-06-18 13:06:13 +00:00
&.disabled {
opacity: 0.5;
}
2015-07-04 08:44:42 +00:00
/*&.activeCard {
2015-06-18 13:06:13 +00:00
position: relative;
z-index: 11;
2015-06-27 13:08:35 +00:00
transform: scale(1.5, 1.5) !important;
2015-07-04 08:44:42 +00:00
}*/
2015-06-10 14:25:27 +00:00
}
2015-07-04 14:16:07 +00:00
.field-discard,
.field-deck {
2015-07-04 13:43:38 +00:00
background: rgba(0,0,0,.6);
2015-07-04 13:25:15 +00:00
float: left;
padding: 25px 15px;
width: auto;
cursor: pointer;
margin: 20px 0;
2015-07-04 13:43:38 +00:00
transition: all .2s ease-in-out 0s;
&:hover {
background: rgba(0,0,0,.9);
}
2015-07-04 13:25:15 +00:00
}
2015-07-04 14:16:07 +00:00
.field-deck {
margin: 20px 0 0 10px;
}
.discard-skull,
.icon-deck {
2015-07-04 14:06:52 +00:00
background: url("../../assets/discard.png") no-repeat;
2015-07-04 13:25:15 +00:00
width: 35px;
2015-07-04 14:16:07 +00:00
height: 40px;
2015-07-04 13:25:15 +00:00
float: left;
}
2015-07-04 14:06:52 +00:00
.icon-deck {
background: url("../../assets/card_icon.png") no-repeat;
}
2015-06-10 14:25:27 +00:00
.card-preview {
2015-06-25 19:34:51 +00:00
div {
position: fixed;
//left:0;
2015-07-02 16:17:33 +00:00
z-index: 310;
//height: 100px !important;
i {
display: block;
2015-07-02 16:17:33 +00:00
margin-left: -15px;
}
2015-06-25 19:34:51 +00:00
.preview-description {
width: 238px;
min-height: 200px;
background: rgba(16, 16, 16, 0.57);
color: #ffffff;
2015-07-02 16:17:33 +00:00
margin-left: -15px;
2015-06-25 19:34:51 +00:00
p {
padding: 10px;
}
}
}
2015-06-10 14:25:27 +00:00
}
2015-06-27 13:08:35 +00:00
.gwent-lives {
2015-07-04 12:16:04 +00:00
margin: 20px 0;
i {
display: block;
float: left;
height: 40px;
width: 40px;
2015-07-04 12:16:04 +00:00
margin: 0 10px 0 0;
background: url("../../assets/ruby-grey.png");
&.ruby {
background: url("../../assets/ruby.png");
}
2015-06-10 14:25:27 +00:00
}
2015-06-27 13:08:35 +00:00
}
2015-06-13 07:58:55 +00:00
2015-06-27 13:08:35 +00:00
.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 */
2015-06-27 13:08:35 +00:00
}
&.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 */
}
2015-06-27 13:08:35 +00:00
}
2015-06-26 12:40:19 +00:00
2015-06-27 13:08:35 +00:00
.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%;
2015-06-26 12:40:19 +00:00
}
}
2015-06-28 14:10:09 +00:00
.waiting-for-opponent {
2015-07-04 09:18:53 +00:00
// temp
2015-07-04 13:39:02 +00:00
//display: none;
2015-07-04 09:18:53 +00:00
2015-07-02 16:17:33 +00:00
position: fixed;
2015-06-28 14:10:09 +00:00
//left: 43%;
2015-07-02 16:17:33 +00:00
cursor: default;
width: 100%;
text-align: center;
//left: calc(50% - 400px) ;
left: 0;
//top: calc(50% - 60px);
2015-07-04 13:49:48 +00:00
top: calc(100% - 155px);
2015-07-04 13:39:02 +00:00
//top: 0;
2015-07-02 16:17:33 +00:00
//border: 1px solid black;
//border-radius: 10px;
/*
padding: 0px 200px;*/
font-size: 25px;
2015-07-04 13:49:48 +00:00
line-height: 15px;
padding: 15px;
2015-06-28 14:10:09 +00:00
z-index: 300;
color: #ff8927;
//text-shadow: 0px 0px 1px #000;
background: #444ba1;
}
2015-07-04 14:48:37 +00:00
.waiting-for-opponent,
.notification-left {
animation: Woob linear 2s;
2015-06-28 14:10:09 +00:00
animation-iteration-count: infinite;
transform-origin: 50% 50%;
2015-07-04 14:48:37 +00:00
-webkit-animation: Woob linear 2s;
2015-06-28 14:10:09 +00:00
-webkit-animation-iteration-count: infinite;
-webkit-transform-origin: 50% 50%;
2015-07-04 14:48:37 +00:00
-moz-animation: Woob linear 2s;
2015-06-28 14:10:09 +00:00
-moz-animation-iteration-count: infinite;
-moz-transform-origin: 50% 50%;
2015-07-04 14:48:37 +00:00
-o-animation: Woob linear 2s;
2015-06-28 14:10:09 +00:00
-o-animation-iteration-count: infinite;
-o-transform-origin: 50% 50%;
2015-07-04 14:48:37 +00:00
-ms-animation: Woob linear 2s;
2015-06-28 14:10:09 +00:00
-ms-animation-iteration-count: infinite;
-ms-transform-origin: 50% 50%;
}
2015-07-04 14:48:37 +00:00
.notification-left {
background: #c64b4b;
color: #fff;
left: 0;
padding: 10px 0;
position: fixed;
top: 0;
width: 100%;
z-index: 20;
text-align: center;
font-size: 17px;
}
2015-06-29 17:57:51 +00:00
.container {
position: relative;
}
2015-06-28 14:10:09 +00:00
2015-06-29 17:57:51 +00:00
.notifications {
2015-06-30 16:26:24 +00:00
position: fixed;
2015-06-29 17:57:51 +00:00
top: 0;
z-index: 200;
2015-06-30 11:43:03 +00:00
width: 500px;
left: calc(50% - (500px/2));
2015-06-29 17:57:51 +00:00
}
2015-06-30 10:34:57 +00:00
2015-06-29 17:57:51 +00:00
.notification {
height: 0;
2015-06-30 11:43:03 +00:00
/*margin-left: 250px;
margin-right: 250px;*/
2015-06-29 17:57:51 +00:00
.alert {
margin-bottom: 0;
2015-06-30 12:47:09 +00:00
display: none;
2015-06-29 17:57:51 +00:00
//padding: 0;
}
}
2015-06-28 14:10:09 +00:00
2015-07-01 16:55:50 +00:00
.startMatchmaking {
height: 50px;
line-height: 35px;
width: 200px;
text-align: left;
}
2015-07-02 16:17:33 +00:00
2015-07-01 16:55:50 +00:00
.image-gif-loader {
background: url("../../assets/content-load.gif");
display: block;
height: 32px;
width: 32px;
margin-left: 10px;
}
2015-06-30 12:47:09 +00:00
2015-07-04 14:48:37 +00:00
@keyframes Woob{
2015-06-28 14:10:09 +00:00
0% {
opacity:1;
}
50% {
opacity:0.8;
}
100% {
opacity:1;
}
}
2015-07-04 14:48:37 +00:00
@-moz-keyframes Woob{
2015-06-28 14:10:09 +00:00
0% {
opacity:1;
}
50% {
opacity:0.8;
}
100% {
opacity:1;
}
}
2015-07-04 14:48:37 +00:00
@-webkit-keyframes Woob {
2015-06-28 14:10:09 +00:00
0% {
opacity:1;
}
50% {
opacity:0.8;
}
100% {
opacity:1;
}
}
2015-07-04 14:48:37 +00:00
@-o-keyframes Woob {
2015-06-28 14:10:09 +00:00
0% {
opacity:1;
}
50% {
opacity:0.8;
}
100% {
opacity:1;
}
}
2015-07-04 14:48:37 +00:00
@-ms-keyframes Woob {
2015-06-28 14:10:09 +00:00
0% {
opacity:1;
}
50% {
opacity:0.8;
}
100% {
opacity:1;
}
}