1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-12-23 21:03:14 +00:00

small handcard change

This commit is contained in:
devfake 2015-07-04 11:18:53 +02:00
parent ec19b0448b
commit 236dd9ee9a
2 changed files with 25 additions and 4 deletions

View File

@ -70,8 +70,23 @@ $game-height: 800px;
box-shadow: 0px 0px 10px #000;
}
.handcard-wrap {
margin: 0 auto;
width: 800px;
}
.field-hand {
margin-top: 20px;
//margin-top: 20px;
border: none;
transition: all .2s ease-in-out 0s;
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background: rgba(6, 13, 22, .6);
height: auto;
z-index: 10;
.card {
margin-left: -31px;
&:first-child {
@ -300,6 +315,10 @@ $game-height: 800px;
}
.waiting-for-opponent {
// temp
display: none;
position: fixed;
//left: 43%;
cursor: default;

View File

@ -60,9 +60,11 @@
</div>
<div class="row">
<div class="col-xs-12 field field-hand {{#if isWaiting}}{{else}}active{{/if}}">
{{#each cards as |val key|}}
{{>card val}}
{{/each}}
<div class="handcard-wrap">
{{#each cards as |val key|}}
{{>card val}}
{{/each}}
</div>
</div>
</div>
</div>