show more avatar background (remove Lvl, hide avatar name)

This commit is contained in:
Alice Harris 2014-07-27 08:41:33 +10:00
parent a4ae9332bb
commit 1e797a0b05
2 changed files with 11 additions and 6 deletions

View file

@ -48,13 +48,21 @@ future re: pets and whatnot, this is just temporary.
// info revealed on hover/focus for party
// always visible on the user's own avatar
// except that the user's own name is hidden
// if the user has a mount or background
.herobox:after
opacity: 0
.herobox.isUser:not(.hasMount):after
.herobox.isUser.notBackground:not(.hasMount):after
opacity: 1
// make it a bit special
hrpg-label-color-mixin(darken($color-herobox, 16.18%))
// when a buff/rebirth exists, add space between the icon and the level
.glyphicon-circle-arrow-up
padding-right: 4px
.glyphicon-plus-sign
padding-left: 4px
.character-sprites span
position: absolute

View file

@ -77,8 +77,5 @@ mixin herobox(opts)
+avatar(opts)
.avatar-level(ng-class='userLevelStyle(profile)')
span.glyphicon.glyphicon-circle-arrow-up(ng-show='profile.stats.buffs.str || profile.stats.buffs.per || profile.stats.buffs.con || profile.stats.buffs.int || profile.stats.buffs.stealth', tooltip=env.t('buffed'))
|  
=env.t('lvl')
| {{profile.stats.lvl}}
| 
span(tooltip=env.t('level')){{profile.stats.lvl}}
span.glyphicon.glyphicon-plus-sign(ng-show='profile.achievements.rebirths', tooltip=env.t('reborn', {reLevel: "{{profile.achievements.rebirthLevel}}"}))