mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-03 08:21:07 +00:00
refactor(avatar): restyle level label
This commit is contained in:
parent
b4e53a21aa
commit
190ef0402c
2 changed files with 3 additions and 3 deletions
|
|
@ -17,7 +17,7 @@ future re: pets and whatnot, this is just temporary.
|
|||
position: absolute
|
||||
bottom: 2px
|
||||
right: 2px
|
||||
hrpg-text-shadow-mixin(white)
|
||||
@extend $hrpg-label
|
||||
|
||||
// basic herobox styles
|
||||
.herobox
|
||||
|
|
@ -53,7 +53,7 @@ future re: pets and whatnot, this is just temporary.
|
|||
.herobox.isUser:not(.hasMount):after
|
||||
opacity: 1
|
||||
// make it a bit special
|
||||
hrpg-label-color-mixin(darken($color-herobox, 15%))
|
||||
hrpg-label-color-mixin(darken($color-herobox, 16.18%))
|
||||
|
||||
.character-sprites span
|
||||
position: absolute
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ mixin herobox(opts)
|
|||
- if (!opts) {opts = {minimal:false,main:false}}
|
||||
figure.herobox(ng-click='spell ? castEnd(profile, "user", $event) : clickMember(profile._id)', data-name='{{profile.profile.name}}', class='background_{{profile.preferences.background}} #{opts.main ? "isUser" : ""} #{opts.minimal ? "minimal" : ""}', ng-class='{hasPet: (#{!opts.minimal} && profile.items.currentPet), hasMount: (#{!opts.minimal} && profile.items.currentMount), notBackground: !profile.preferences.background, "cast-target": applyingAction, isLeader: party.leader==profile._id}')
|
||||
+avatar(opts)
|
||||
.avatar-level.label.label-default(ng-class='userLevelStyle(profile)')
|
||||
.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')
|
||||
|
|
|
|||
Loading…
Reference in a new issue