From 2af827182904df6b1f0de3e5a746c523e8df258f Mon Sep 17 00:00:00 2001 From: Nick Winter Date: Wed, 19 Nov 2014 09:01:01 -0800 Subject: [PATCH] Some size/styling tweaks for goals and gold. --- app/styles/play/level.sass | 7 +++++++ app/styles/play/level/goals.sass | 2 ++ app/styles/play/level/gold.sass | 15 ++++++++------- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/app/styles/play/level.sass b/app/styles/play/level.sass index cad311dad..c5145b627 100644 --- a/app/styles/play/level.sass +++ b/app/styles/play/level.sass @@ -43,6 +43,13 @@ $level-resize-transition-time: 0.5s visibility: hidden #gold-view right: 1% + @include box-shadow(-1px 1px 10px cyan) + .team-gold + font-size: 2vw + line-height: 2vw + img + width: 1.8vw + heighT: 1.8vw #control-bar-view .title left: 20% width: 60% diff --git a/app/styles/play/level/goals.sass b/app/styles/play/level/goals.sass index 310a1ee12..1d8e4a06f 100644 --- a/app/styles/play/level/goals.sass +++ b/app/styles/play/level/goals.sass @@ -12,11 +12,13 @@ padding: 19px 0px 2px 25px z-index: 3 font-size: 14px + min-width: 230px &.brighter font-size: 18px font-size: 1.4vw border-width: 0.91vw 1.22vw 3.10vw 0.91vw + min-width: 23vw .goals-status margin: 5px 0 0 0 diff --git a/app/styles/play/level/gold.sass b/app/styles/play/level/gold.sass index 370d9ec21..bc2331294 100644 --- a/app/styles/play/level/gold.sass +++ b/app/styles/play/level/gold.sass @@ -9,7 +9,7 @@ z-index: 6 @include transition(box-shadow .2s linear) @include user-select(none) - padding: 4px + padding: 0.4vw background: transparent url(/images/level/gold_background.png) no-repeat background-size: 100% 100% border-radius: 4px @@ -18,9 +18,9 @@ box-shadow: 2px 2px 2px black .team-gold - font-size: 18px + font-size: 1.4vw + line-height: 1.4vw margin: 0 - line-height: 20px color: hsla(205,0%,51%,1) display: inline-block padding: 0px 4px @@ -35,11 +35,12 @@ color: hsla(116,80%,51%,1) img - width: 16px - height: 16px + width: 1.2vw + height: 1.2vw border-radius: 2px - padding: 1px - margin-top: -1px + padding: 0.1vw + margin-top: -0.2vw + margin-right: 0.1vw .gold-amount display: inline-block