diff --git a/public/css/avatar.styl b/public/css/avatar.styl index 3a774d4f65..e0cb66bc2a 100644 --- a/public/css/avatar.styl +++ b/public/css/avatar.styl @@ -9,6 +9,19 @@ Seeing as the sprites might change drastically in the future re: pets and whatnot, this is just temporary. ---------------------------------------------------- */ +.profile-modal-header + width:560px + margin: 0px auto + +.avatar-level + position absolute + bottom 0px + right 0px + padding 2px 3px 2px 3px + border-top-right-radius: 0px + border-bottom-right-radius: 0px + border-bottom-left-radius: 0px + // basic herobox styles .herobox height: 10.5em // higher to acct for the name area @@ -93,4 +106,4 @@ future re: pets and whatnot, this is just temporary. position: absolute .herobox.isLeader - background: $better + background: $better \ No newline at end of file diff --git a/public/css/index.styl b/public/css/index.styl index 6dafe909b7..62a14fd6ac 100644 --- a/public/css/index.styl +++ b/public/css/index.styl @@ -134,7 +134,7 @@ div.tooltip-inner { // notification-character used only by death modal's figure, move .death-modal // a .modal-body margin: 10px - + figure float: left padding: 15px @@ -147,17 +147,6 @@ div.tooltip-inner { right: 0px z-index: 1061 -// TODO this is supposed to go in avatar.styl, but stylus is breaking if I even touch that file -.profile-modal-header - width:560px - margin: 0px auto - -.avatar-level - position absolute - bottom 0px - right 0px - padding 1px 3px 1px 3px - a cursor: pointer diff --git a/views/shared/header/avatar.jade b/views/shared/header/avatar.jade index fa54dcc12a..9b368cfe09 100644 --- a/views/shared/header/avatar.jade +++ b/views/shared/header/avatar.jade @@ -43,7 +43,7 @@ figure.herobox(ng-click='spell ? castEnd(profile, "user", $event) : clickMember( span(ng-class='{zzz:profile.preferences.sleep}') // FIXME handle @minimal, this might have to be a directive span.current-pet(class='Pet-{{profile.items.currentPet}}', ng-show='profile.items.currentPet && !minimal') - .avatar-level(ng-class='userLevelStyle(profile,"label")') + .avatar-level(ng-class='userLevelStyle(profile,"label label-default")') 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'), style='margin-right:5px;') =env.t('lvl') | {{profile.stats.lvl}}