refactor(avatar): restyle level label

This commit is contained in:
benmanley 2014-07-03 16:22:51 +01:00
parent b4e53a21aa
commit 190ef0402c
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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')