Put in the new InventoryModal background.

This commit is contained in:
Scott Erickson 2014-11-12 18:01:35 -08:00
parent 73fee3e801
commit ed8285248f
4 changed files with 13 additions and 17 deletions
app
assets/images/pages/play/modal
styles/game-menu
templates/game-menu
views/game-menu

Binary file not shown.

After

(image error) Size: 114 KiB

View file

@ -40,7 +40,7 @@ $itemSlotGridHeight: 70px
#gems-count-container
position: absolute
left: 213px
left: 374px
top: 10px
width: 160px
height: 66px
@ -49,7 +49,7 @@ $itemSlotGridHeight: 70px
#gems-count
position: absolute
left: 75px
top: 17px
top: 14px
font-size: 25px
color: rgb(1,64,91)
@ -58,8 +58,8 @@ $itemSlotGridHeight: 70px
#close-modal
position: absolute
left: 390px
top: 23px
left: 551px
top: 21px
width: 60px
height: 60px
color: white
@ -77,11 +77,9 @@ $itemSlotGridHeight: 70px
#equipped
width: 330px
background: white
border: 3px solid black
position: absolute
left: 20px
top: 112px
top: 122px
height: 450px
overflow: hidden
@ -307,14 +305,12 @@ $itemSlotGridHeight: 70px
position: absolute
#unequipped
width: 222px
width: 245px
position: absolute
left: 370px
top: 112px
height: 450px
border: 3px solid black
top: 135px
height: 435px
padding: 9px 0 9px 9px
background-color: white
#double-click-hint
margin: 20px 0 70px
@ -387,12 +383,12 @@ $itemSlotGridHeight: 70px
//- Hero/Play buttons
#choose-hero-button, #play-level-button
top: 572px
top: 582px
position: absolute
background: url(/images/pages/play/modal/confirm-button.png)
width: 209px
height: 65px
background-size: 209px 65px
height: 55px
background-size: 209px 55px
border: 0
&:disabled

View file

@ -1,6 +1,6 @@
.modal-dialog
.modal-content
img(src="/images/pages/play/modal/items-background-narrow.png")#play-items-modal-narrow-bg
img(src="/images/pages/play/modal/inventory-background.png")#play-items-modal-narrow-bg
div#gems-count-container
span#gems-count.big-font= gems

View file

@ -124,7 +124,7 @@ module.exports = class InventoryModal extends ModalView
@itemDetailsView = new ItemDetailsView()
@insertSubView(@itemDetailsView)
@requireLevelEquipment()
@$el.find('.nano').nanoScroller()
@$el.find('.nano').nanoScroller({alwaysVisible: true})
afterInsert: ->
super()