1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-10-31 10:36:53 +00:00

interface changes

This commit is contained in:
exane 2015-07-04 12:54:55 +02:00
parent 9fc3b5c10c
commit b157dedb5e
4 changed files with 22 additions and 6 deletions

BIN
assets/card_icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

View File

@ -122,6 +122,19 @@ $game-height: 800px;
width: 100%; width: 100%;
//border: 1px solid black; //border: 1px solid black;
background: rgba(252, 219, 125, 0.51); background: rgba(252, 219, 125, 0.51);
div {
margin-bottom: 5px;
}
.icon-hand-card {
background: url("../../assets/card_icon.png") no-repeat;
height: 50px;
width: 50px;
display: block;
position: absolute;
margin-top: -8px;
}
} }
.removeBackground { .removeBackground {

View File

@ -2,16 +2,19 @@
<div class="col-xs-12 col-lg-6 field-single field-leader">{{>card leader}}</div> <div class="col-xs-12 col-lg-6 field-single field-leader">{{>card leader}}</div>
<div class="col-xs-12 col-lg-6"> <div class="col-xs-12 col-lg-6">
<div class="row"> <div class="row">
<div class="col-xs-6">Points:</div> <div class="col-xs-4"></div>
<div class="col-xs-6 score">{{data.score}}</div> <div class="col-xs-4">Points:</div>
<div class="col-xs-4 score">{{data.score}}</div>
</div> </div>
<div class="row"> <div class="row">
<div class="col-xs-6">Hand:</div> <div class="col-xs-4"><i class="icon-hand-card"></i></div>
<div class="col-xs-6 hand-card">{{data.hand}}</div> <div class="col-xs-4">Hand:</div>
<div class="col-xs-4 hand-card">{{data.hand}}</div>
</div> </div>
<div class="row"> <div class="row">
<div class="col-xs-6">Deck:</div> <div class="col-xs-4"></div>
<div class="col-xs-6 hand-card">{{data.deck}}</div> <div class="col-xs-4">Deck:</div>
<div class="col-xs-4 hand-card">{{data.deck}}</div>
</div> </div>
<div class="row"> <div class="row">
<div class="col-xs-12 gwent-lives"> <div class="col-xs-12 gwent-lives">