mirror of
https://github.com/exane/not-gwent-online
synced 2024-11-27 03:46:54 +00:00
218 lines
5.4 KiB
HTML
218 lines
5.4 KiB
HTML
<showleaders></showleaders>
|
|
|
|
<div class="heading">
|
|
<div class="heading-decks">
|
|
<a v-class="active: factionFilter == 'northern_realm'" v-on="click: changeDeck('northern_realm')">Northern Realm</a>
|
|
<a v-class="active: factionFilter == 'scoiatael'" v-on="click: changeDeck('scoiatael')">Scoia'tael</a>
|
|
<a v-class="active: factionFilter == 'monster'" v-on="click: changeDeck('monster')">Monster</a>
|
|
</div>
|
|
|
|
<div class="heading-my-deck">
|
|
<span>My Deck</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="all-cards-wrap">
|
|
<div class="all-cards">
|
|
<div class="clear-space"></div>
|
|
|
|
<div class="card-wrap" v-repeat="card: cards | filterBy factionFilter in faction" track-by="$index">
|
|
<div class="bla ani"></div>
|
|
<div class="card-img card" v-style="background-image: 'url(http://80.240.132.120/gwent/assets/cards/' + card.img + '.png)'"></div>
|
|
<div class="shadow"></div>
|
|
<div class="overlay-card"></div>
|
|
</div>
|
|
|
|
<div class="clear-space"></div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="all-deck-wrap">
|
|
<div class="all-deck">
|
|
|
|
<div class="clear-space"></div>
|
|
|
|
<!-- todo: own component -->
|
|
<div class="my-card-container">
|
|
<span>LEADER</span>
|
|
|
|
<div class="card-wrap-small" v-repeat="item: deck | getType [3]" track-by="$index" v-on="click: showLeaders(item.name)">
|
|
<div class="count-card no-select">{{ item.count > 1 ? item.count + 'x' : '' }}</div>
|
|
<div class="bla ani"></div>
|
|
<div class="card-img-small card-small-small" v-style="background-image: 'url(http://80.240.132.120/gwent/assets/cards/' + item.card.img + '.png)'"></div>
|
|
<div class="shadow"></div>
|
|
<div class="overlay-card"></div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="my-card-container">
|
|
<span>CLOSE COMBAT</span>
|
|
|
|
<div class="card-wrap-small" v-repeat="item: deck | getType [0]" track-by="$index">
|
|
<div class="count-card no-select">{{ item.count > 1 ? item.count + 'x' : '' }}</div>
|
|
<div class="bla ani"></div>
|
|
<div class="card-img-small card-small-small" v-style="background-image: 'url(http://80.240.132.120/gwent/assets/cards/' + item.card.img + '.png)'"></div>
|
|
<div class="shadow"></div>
|
|
<div class="overlay-card"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="my-card-container">
|
|
<span>RANGE</span>
|
|
|
|
<div class="card-wrap-small" v-repeat="item: deck | getType [1]" track-by="$index">
|
|
<div class="count-card no-select">{{ item.count > 1 ? item.count + 'x' : '' }}</div>
|
|
<div class="bla ani"></div>
|
|
<div class="card-img-small card-small-small" v-style="background-image: 'url(http://80.240.132.120/gwent/assets/cards/' + item.card.img + '.png)'"></div>
|
|
<div class="shadow"></div>
|
|
<div class="overlay-card"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="my-card-container">
|
|
<span>SPECIAL</span>
|
|
|
|
<div class="card-wrap-small" v-repeat="item: deck | getType [4,5]" track-by="$index">
|
|
<div class="count-card no-select">{{ item.count > 1 ? item.count + 'x' : '' }}</div>
|
|
<div class="bla ani"></div>
|
|
<div class="card-img-small card-small-small" v-style="background-image: 'url(http://80.240.132.120/gwent/assets/cards/' + item.card.img + '.png)'"></div>
|
|
<div class="shadow"></div>
|
|
<div class="overlay-card"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="clear-space"></div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<style>
|
|
|
|
.count-card {
|
|
font-size: 22px;
|
|
color: #fff;
|
|
font-weight: bold;
|
|
position: absolute;
|
|
left: 60%;
|
|
top: 60%;
|
|
z-index: 100;
|
|
cursor: pointer;
|
|
text-shadow: 0 0 2px #000;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
.my-card-container {
|
|
float: left;
|
|
width: 100%;
|
|
margin: 0 0 50px 0;
|
|
}
|
|
|
|
.my-card-container span {
|
|
color: #435365;
|
|
font-size: 16px !important;
|
|
font-weight: bold;
|
|
width: 100%;
|
|
float: left;
|
|
margin: 0 0 10px 0;
|
|
}
|
|
|
|
.delete {
|
|
float: left;
|
|
clear: both;
|
|
font-style: normal;
|
|
}
|
|
|
|
.images {
|
|
position: relative;
|
|
width: 70px;
|
|
height: 132px;
|
|
float: left;
|
|
}
|
|
|
|
.img-small {
|
|
float: left;
|
|
background-size: 70px 132px;
|
|
width: 70px;
|
|
height: 132px;
|
|
position: absolute;
|
|
z-index: 100;
|
|
}
|
|
|
|
.img-small:nth-child(2) {
|
|
top: 3px;
|
|
z-index: 99;
|
|
right: -3px;
|
|
opacity: .5;
|
|
}
|
|
|
|
.img-small:nth-child(3) {
|
|
top: 6px;
|
|
z-index: 98;
|
|
right: -6px;
|
|
opacity: .5;
|
|
}
|
|
|
|
.my-card {
|
|
color: #c3cdd8;
|
|
float: left;
|
|
margin: 0 0 20px 0;
|
|
}
|
|
|
|
.all-deck i {
|
|
color: #435365;
|
|
font-style: normal;
|
|
float: left;
|
|
font-size: 20px;
|
|
margin: 8px 0 0 0;
|
|
}
|
|
|
|
.sep {
|
|
float: left;
|
|
margin: 0 0 0 20px;
|
|
width: calc(100% - 100px);
|
|
}
|
|
|
|
.all-deck span {
|
|
color: #435365;
|
|
font-size: 14px;
|
|
float: left;
|
|
}
|
|
|
|
.all-deck-wrap {
|
|
width: 47%;
|
|
overflow: hidden;
|
|
float: right;
|
|
height: calc(100% + 40px);
|
|
margin: -80px 0 0 0;
|
|
}
|
|
|
|
.all-deck {
|
|
float: left;
|
|
width: calc(100% + 40px);
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
padding: 0 50px 0 30px;
|
|
}
|
|
|
|
.shadow-all-cards {
|
|
height: 60px;
|
|
float: left;
|
|
width: 100%;
|
|
}
|
|
|
|
.container-content {
|
|
padding: 0;
|
|
}
|
|
|
|
.test {
|
|
float: left;
|
|
overflow: hidden;
|
|
width: 100%;;
|
|
}
|
|
|
|
.remove {
|
|
opacity: 0;
|
|
}
|
|
</style> |