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

214 lines
5.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-25 13:18:44 +00:00
<div class="card-wrap" v-repeat="card: cards | filterBy factionFilter in faction" track-by="$index">
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>
2015-06-25 13:18:44 +00:00
<!-- todo: own component -->
2015-06-25 08:19:43 +00:00
<div class="my-card-container">
<span>LEADER</span>
2015-06-25 14:39:20 +00:00
<div class="card-wrap-small" v-repeat="item: deck | getType [3]" track-by="$index">
2015-06-25 13:18:44 +00:00
<div class="count-card no-select">1x</div>
2015-06-25 08:19:43 +00:00
<div class="bla ani"></div>
2015-06-25 13:18:44 +00:00
<div class="card-img-small card-small-small" v-style="background-image: 'url(http://80.240.132.120/gwent/assets/cards/' + item.img + '.png)'"></div>
2015-06-25 08:19:43 +00:00
<div class="shadow"></div>
<div class="overlay-card"></div>
2015-06-24 18:34:35 +00:00
</div>
2015-06-25 08:19:43 +00:00
</div>
<div class="my-card-container">
<span>CLOSE COMBAT</span>
2015-06-25 14:39:20 +00:00
<div class="card-wrap-small" v-repeat="item: deck | getType [0]" track-by="$index">
2015-06-25 13:18:44 +00:00
<div class="count-card no-select">{{ c > 1 ? c + 'x' : '' }}</div>
2015-06-25 08:19:43 +00:00
<div class="bla ani"></div>
2015-06-25 13:18:44 +00:00
<div class="card-img-small card-small-small" v-style="background-image: 'url(http://80.240.132.120/gwent/assets/cards/' + item.img + '.png)'"></div>
2015-06-25 08:19:43 +00:00
<div class="shadow"></div>
<div class="overlay-card"></div>
</div>
</div>
<div class="my-card-container">
<span>RANGE</span>
2015-06-25 14:39:20 +00:00
<div class="card-wrap-small" v-repeat="item: deck | getType [1]" track-by="$index">
2015-06-25 08:19:43 +00:00
<div class="bla ani"></div>
2015-06-25 13:18:44 +00:00
<div class="card-img-small card-small-small" v-style="background-image: 'url(http://80.240.132.120/gwent/assets/cards/' + item.img + '.png)'"></div>
<div class="shadow"></div>
<div class="overlay-card"></div>
</div>
</div>
<div class="my-card-container">
<span>SPECIAL</span>
2015-06-25 14:39:20 +00:00
<div class="card-wrap-small" v-repeat="item: deck | getType [4,5]" track-by="$index">
2015-06-25 08:19:43 +00:00
<div class="bla ani"></div>
2015-06-25 13:18:44 +00:00
<div class="card-img-small card-small-small" v-style="background-image: 'url(http://80.240.132.120/gwent/assets/cards/' + item.img + '.png)'"></div>
2015-06-25 08:19:43 +00:00
<div class="shadow"></div>
<div class="overlay-card"></div>
2015-06-24 18:34:35 +00:00
</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-25 13:18:44 +00:00
.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%);
}
2015-06-25 08:19:43 +00:00
.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;
}
2015-06-24 18:34:35 +00:00
.delete {
float: left;
clear: both;
font-style: normal;
}
.images {
position: relative;
2015-06-25 08:19:43 +00:00
width: 70px;
height: 132px;
2015-06-24 18:34:35 +00:00
float: left;
}
.img-small {
float: left;
2015-06-25 08:19:43 +00:00
background-size: 70px 132px;
width: 70px;
height: 132px;
2015-06-24 18:34:35 +00:00
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;
2015-06-25 08:19:43 +00:00
width: calc(100% + 40px);
2015-06-24 18:34:35 +00:00
height: 100%;
overflow-y: auto;
2015-06-25 08:19:43 +00:00
padding: 0 50px 0 30px;
2015-06-24 18:34:35 +00:00
}
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>