1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-10-31 10:36:53 +00:00
not-gwent-online/site/client/app/modules/deck-builder/views/deck-builder.html

153 lines
3.1 KiB
HTML
Raw Normal View History

2015-06-24 10:44:10 +00:00
<div class="heading">
2015-06-24 18:34:35 +00:00
<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>
2015-06-24 10:44:10 +00:00
</div>
2015-06-24 05:09:16 +00:00
<div class="all-cards-wrap">
<div class="all-cards">
<div class="clear-space"></div>
2015-06-24 10:44:10 +00:00
<div class="card-wrap" v-repeat="card: cards | filterBy factionFilter in faction">
2015-06-24 05:09:16 +00:00
<div class="bla ani"></div>
2015-06-24 07:28:31 +00:00
<div class="card-img card" v-style="background-image: 'url(http://80.240.132.120/gwent/assets/cards/' + card.img + '.png)'"></div>
2015-06-24 05:09:16 +00:00
<div class="shadow"></div>
<div class="overlay-card"></div>
</div>
<div class="clear-space"></div>
</div>
</div>
2015-06-24 18:34:35 +00:00
<div class="all-deck-wrap">
<div class="all-deck">
<div class="clear-space"></div>
<div class="my-card" v-repeat="deck">
<div class="images">
<div
v-repeat="$value"
class="img-small" v-style="background-image: 'url(http://80.240.132.120/gwent/assets/cards/medic.png)'"></div>
</div>
<div class="sep">{{ $value }}x Blue Stripes Commando<br>
<span>
Power: 5 (Close Combat)
</span>
<em class="delete" v-on="click: removeCard($key)">Delete</em>
</div>
</div>
<div class="clear-space"></div>
</div>
</div>
2015-06-24 05:09:16 +00:00
<style>
2015-06-24 10:44:10 +00:00
2015-06-24 18:34:35 +00:00
.delete {
float: left;
clear: both;
font-style: normal;
}
.images {
position: relative;
width: 50px;
height: 94px;
float: left;
}
.img-small {
float: left;
background-size: 50px 94px;
width: 50px;
height: 94px;
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;
width: 50%;
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);
padding: 0 20px;
margin: -80px 0 0 0;
}
.all-deck {
float: left;
width: calc(100% + 50px);
height: 100%;
overflow-y: auto;
}
2015-06-24 10:44:10 +00:00
.shadow-all-cards {
height: 60px;
float: left;
width: 100%;
}
2015-06-24 05:09:16 +00:00
.container-content {
padding: 0;
}
.test {
float: left;
overflow: hidden;
2015-06-24 18:34:35 +00:00
width: 100%;;
2015-06-24 05:09:16 +00:00
}
2015-06-24 10:44:10 +00:00
.remove {
opacity: 0;
}
2015-06-24 05:09:16 +00:00
</style>