mirror of
https://github.com/exane/not-gwent-online
synced 2025-09-22 14:49:06 +00:00
relocate images + include sprite generator
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
//@import "style";
|
||||
@import "backbone.modal";
|
||||
@import "backbone.modal.theme";
|
||||
@import "cards";
|
||||
|
||||
$height: 600px;
|
||||
$game-height: 800px;
|
||||
@@ -116,8 +117,13 @@ $game-height: 800px;
|
||||
margin: 3px;
|
||||
height: 90px;
|
||||
overflow: hidden;
|
||||
img {
|
||||
/*img {
|
||||
height: 120px;
|
||||
}*/
|
||||
|
||||
i {
|
||||
display: block;
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
/*.card-attr-power {
|
||||
@@ -161,7 +167,10 @@ $game-height: 800px;
|
||||
position: fixed;
|
||||
//left:0;
|
||||
z-index: 110;
|
||||
height: 100px !important;
|
||||
//height: 100px !important;
|
||||
i {
|
||||
display: block;
|
||||
}
|
||||
.preview-description {
|
||||
width: 238px;
|
||||
min-height: 200px;
|
||||
@@ -176,65 +185,67 @@ $game-height: 800px;
|
||||
|
||||
}
|
||||
|
||||
i {
|
||||
display: block;
|
||||
float: left;
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
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%;
|
||||
.gwent-lives{
|
||||
i {
|
||||
display: block;
|
||||
float: left;
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
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%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user