mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-03 08:21:07 +00:00
show more avatar background (remove Lvl, hide avatar name)
This commit is contained in:
parent
a4ae9332bb
commit
1e797a0b05
2 changed files with 11 additions and 6 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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}}"}))
|
||||
|
|
|
|||
Loading…
Reference in a new issue