Added level indicator

This commit is contained in:
Ryan Marren 2015-02-20 23:50:42 -05:00
parent 0e135ac07f
commit a7dadc34aa
2 changed files with 9 additions and 3 deletions

View file

@ -376,7 +376,7 @@ $gameControlMargin: 30px
height: 32px height: 32px
color: white color: white
.gem, .player-level-icon, .player-hero-icon .gem, .level-indicator .player-level-icon, .player-hero-icon
position: absolute position: absolute
top: 1px top: 1px
@ -384,7 +384,7 @@ $gameControlMargin: 30px
margin-left: 40px margin-left: 40px
.player-level .player-level
margin-left: 34px margin-left: 5px
.player-name .player-name
margin-left: 45px margin-left: 45px
@ -400,6 +400,12 @@ $gameControlMargin: 30px
height: 30px height: 30px
margin: 0px 2px margin: 0px 2px
.level-indicator
margin-left: 15px
color: #E5C100
display: inline-block
margin: 0p 2px
.player-hero-icon .player-hero-icon
margin-left: 10px margin-left: 10px
background-position: (-4 * $spriteSheetSize) 0 background-position: (-4 * $spriteSheetSize) 0

View file

@ -93,7 +93,7 @@ else
.user-status-line .user-status-line
span.gem.gem-30 span.gem.gem-30
span#gems-count.spr= me.gems() span#gems-count.spr= me.gems()
span.player-level-icon span.level-indicator Level
span.player-level.spr= me.level() span.player-level.spr= me.level()
span.player-hero-icon span.player-hero-icon
if me.get('anonymous') if me.get('anonymous')