From 236dd9ee9a25a6007ee8082cd5b460d24ff6c742 Mon Sep 17 00:00:00 2001 From: devfake Date: Sat, 4 Jul 2015 11:18:53 +0200 Subject: [PATCH] small handcard change --- client/scss/main.scss | 21 ++++++++++++++++++++- client/templates/battle.handlebars | 8 +++++--- 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/client/scss/main.scss b/client/scss/main.scss index da99e06..8db937d 100644 --- a/client/scss/main.scss +++ b/client/scss/main.scss @@ -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; diff --git a/client/templates/battle.handlebars b/client/templates/battle.handlebars index 6055237..085a39f 100644 --- a/client/templates/battle.handlebars +++ b/client/templates/battle.handlebars @@ -60,9 +60,11 @@
- {{#each cards as |val key|}} - {{>card val}} - {{/each}} +
+ {{#each cards as |val key|}} + {{>card val}} + {{/each}} +