From a8fe4924afba5eab3625261cc03a4d2b230d2177 Mon Sep 17 00:00:00 2001 From: devfake Date: Sat, 4 Jul 2015 17:41:56 +0200 Subject: [PATCH 1/2] style deck count --- client/scss/main.scss | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/client/scss/main.scss b/client/scss/main.scss index 34f5256..af88319 100644 --- a/client/scss/main.scss +++ b/client/scss/main.scss @@ -190,6 +190,9 @@ $game-height: 800px; .field-deck-number { display: block; text-align: center; + font-size: 14px; + margin: 3px 0 0 0; + color: #3f4c5b; } .score, @@ -367,8 +370,8 @@ $game-height: 800px; .field-deck { background: rgba(0,0,0,.6); float: left; - padding: 25px 15px; - width: auto; + width: 65px; + height: 90px; cursor: pointer; margin: 20px 0; transition: all .2s ease-in-out 0s; @@ -376,22 +379,26 @@ $game-height: 800px; &:hover { background: rgba(0,0,0,.9); } + + i { + width: 35px; + height: 40px; + display: block; + } } .field-deck { margin: 20px 0 0 10px; } -.discard-skull, -.icon-deck { +.discard-skull { background: url("../../assets/discard.png") no-repeat; - width: 35px; - height: 40px; - float: left; + margin: 23px auto 0 auto; } .icon-deck { background: url("../../assets/card_icon.png") no-repeat; + margin: 13px auto 0 auto; } .card-preview { From 09b5e7aa169ec0c5f8d114c1037f480c603bca55 Mon Sep 17 00:00:00 2001 From: devfake Date: Sat, 4 Jul 2015 17:51:39 +0200 Subject: [PATCH 2/2] style notifications --- client/scss/main.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/client/scss/main.scss b/client/scss/main.scss index 228639c..bfe0605 100644 --- a/client/scss/main.scss +++ b/client/scss/main.scss @@ -555,6 +555,13 @@ $game-height: 800px; font-size: 17px; } +.alert-success { + background: #3f4c5b; + color: #fff; + border-radius: 0; + border: 0; +} + .container { position: relative; }