Modified to 15px border and lock icon based on feedback from dev team

This commit is contained in:
pollockjj 2014-11-29 21:56:10 -06:00
parent 9abaedc7c5
commit 6520caed7d
2 changed files with 17 additions and 7 deletions

View file

@ -68,12 +68,21 @@ menu
margin: 25px 0 0
.background-unlocked
border 4px solid white
width: 144px !important
height: 152px !important
border 15px solid white
width: 170px !important
height: 177px !important
.background-locked
border 4px solid gray
width: 144px !important
height: 152px !important
border 15px solid gray
width: 170px !important
height: 177px !important
.background-locked
position: relative
.background-locked i
position: absolute;
right: -13px;
bottom: -13px;
color: white;
top: auto;

View file

@ -250,7 +250,8 @@ mixin backgrounds(mobile)
//-button.btn.btn-xs(ng-hide="ownsSet('background',Content.backgrounds['#{k}'])",ng-click="unlock(setKeys('background',Content.backgrounds['#{k}']))")!= env.t('unlockSet',{cost:15}) + ' <span class="Pet_Currency_Gem1x inline-gems"/>'
button.btn.btn-xs(ng-hide="ownsSet('background',#{JSON.stringify(bgs)})",ng-click="unlock(setKeys('background',#{JSON.stringify(bgs)}))")!= env.t('unlockSet',{cost:15}) + ' <span class="Pet_Currency_Gem1x inline-gems"/>'
each bg,k in bgs
button.customize-option(type='button',class='background_#{k}',ng-class="user.purchased.background.#{k} ? 'background-unlocked' : 'background-locked'", ng-click='unlock("background.#{k}")',popover-title=bg.text(),popover=bg.notes(),popover-trigger='mouseenter')
button.customize-option(type='button', class='background_#{k}', ng-class="user.purchased.background.#{k} ? 'background-unlocked' : 'background-locked'", ng-click='unlock("background.#{k}")', popover-title=bg.text(), popover=bg.notes(),popover-trigger='mouseenter')
i.glyphicon.glyphicon-lock(ng-if="!user.purchased.background.#{k}")
- }
script(type='text/ng-template', id='partials/options.profile.backgrounds.html')