1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-12-27 05:13:13 +00:00
not-gwent-online/site/client/app/modules/deck-builder/views/deck-builder.html
2015-06-25 10:19:43 +02:00

198 lines
4.4 KiB
HTML

<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">
<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>
<div class="my-card-container">
<span>LEADER</span>
<div class="card-wrap-small">
<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/medic.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="5">
<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/imlerith.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="11">
<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/siege_tech.png)'"></div>
<div class="shadow"></div>
<div class="overlay-card"></div>
</div>
</div>
<div class="my-card-container">
<span>WEATHER</span>
<div class="card-wrap-small" v-repeat="3">
<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/frost.png)'"></div>
<div class="shadow"></div>
<div class="overlay-card"></div>
</div>
</div>
<div class="clear-space"></div>
</div>
</div>
<style>
.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>