2014-09-24 23:15:17 -04:00
|
|
|
@import "app/styles/mixins"
|
2014-08-14 16:41:32 -04:00
|
|
|
|
2014-11-26 22:04:47 -05:00
|
|
|
$itemSlotSize: 48px
|
2014-11-10 18:24:05 -05:00
|
|
|
$itemSlotInnerWidth: $itemSlotSize - 4
|
2014-11-26 22:04:47 -05:00
|
|
|
$itemSlotGridWidth: 51px
|
|
|
|
$itemSlotGridHeight: 51px
|
2014-09-21 02:06:28 -04:00
|
|
|
|
2014-10-30 16:07:04 -04:00
|
|
|
.ui-effects-transfer
|
|
|
|
outline: 2px solid #28f
|
|
|
|
@include box-shadow(0 0 10px #28f)
|
|
|
|
z-index: 9001
|
|
|
|
|
2014-11-06 19:23:23 -05:00
|
|
|
#inventory-modal
|
2014-11-10 18:24:05 -05:00
|
|
|
|
|
|
|
//- Overall modal structure
|
2014-11-06 19:23:23 -05:00
|
|
|
.modal-dialog
|
|
|
|
margin: 30px auto 0 auto
|
2014-11-10 18:24:05 -05:00
|
|
|
width: 1017px
|
|
|
|
height: 660px
|
|
|
|
|
|
|
|
.modal-content
|
|
|
|
height: 100%
|
|
|
|
width: 100%
|
2014-11-06 19:23:23 -05:00
|
|
|
|
2014-11-10 18:24:05 -05:00
|
|
|
.modal-body
|
|
|
|
height: 450px
|
|
|
|
margin: 0
|
2014-11-06 19:23:23 -05:00
|
|
|
|
2014-08-14 16:41:32 -04:00
|
|
|
+user-select(none)
|
2014-09-21 02:06:28 -04:00
|
|
|
|
2014-08-13 20:21:37 -04:00
|
|
|
|
2014-11-10 18:24:05 -05:00
|
|
|
//- Background
|
|
|
|
|
|
|
|
#play-items-modal-narrow-bg
|
|
|
|
position: absolute
|
|
|
|
top: -69px
|
|
|
|
left: -8px
|
|
|
|
|
|
|
|
|
|
|
|
//- Gems count
|
|
|
|
|
|
|
|
#gems-count-container
|
|
|
|
position: absolute
|
2014-11-12 21:01:35 -05:00
|
|
|
left: 374px
|
2014-11-10 18:24:05 -05:00
|
|
|
top: 10px
|
|
|
|
width: 160px
|
|
|
|
height: 66px
|
|
|
|
@include rotate(5deg)
|
|
|
|
|
|
|
|
#gems-count
|
|
|
|
position: absolute
|
|
|
|
left: 75px
|
2014-11-12 21:01:35 -05:00
|
|
|
top: 14px
|
2014-11-10 18:24:05 -05:00
|
|
|
font-size: 25px
|
|
|
|
color: rgb(1,64,91)
|
|
|
|
|
|
|
|
|
|
|
|
//- Close modal button
|
|
|
|
|
|
|
|
#close-modal
|
|
|
|
position: absolute
|
2014-11-12 21:01:35 -05:00
|
|
|
left: 551px
|
|
|
|
top: 21px
|
2014-11-10 18:24:05 -05:00
|
|
|
width: 60px
|
|
|
|
height: 60px
|
|
|
|
color: white
|
|
|
|
text-align: center
|
|
|
|
font-size: 30px
|
|
|
|
padding-top: 7px
|
|
|
|
cursor: pointer
|
|
|
|
@include rotate(-3deg)
|
|
|
|
|
|
|
|
&:hover
|
|
|
|
color: yellow
|
|
|
|
|
|
|
|
|
|
|
|
//- Equipped area
|
|
|
|
|
2014-08-13 20:21:37 -04:00
|
|
|
#equipped
|
2014-11-10 18:24:05 -05:00
|
|
|
width: 330px
|
2014-08-13 20:21:37 -04:00
|
|
|
position: absolute
|
2014-11-06 19:23:23 -05:00
|
|
|
left: 20px
|
2014-11-12 21:01:35 -05:00
|
|
|
top: 122px
|
2014-11-10 18:24:05 -05:00
|
|
|
height: 450px
|
2014-09-24 12:38:45 -04:00
|
|
|
overflow: hidden
|
2014-09-21 02:06:28 -04:00
|
|
|
|
|
|
|
.item-slot
|
|
|
|
width: $itemSlotSize
|
|
|
|
height: $itemSlotSize
|
2014-11-10 18:24:05 -05:00
|
|
|
margin: 5px
|
|
|
|
background-color: rgba(255,255,255,0.4)
|
|
|
|
border: 2px dashed rgb(100,100,150)
|
2014-09-21 02:06:28 -04:00
|
|
|
position: relative
|
|
|
|
cursor: pointer
|
2014-10-27 14:17:34 -04:00
|
|
|
@include transition(0.5s ease)
|
2014-11-26 22:04:47 -05:00
|
|
|
z-index: 20
|
2014-09-21 02:06:28 -04:00
|
|
|
|
2014-11-10 18:24:05 -05:00
|
|
|
//&.disabled
|
|
|
|
// opacity: 0.5
|
|
|
|
|
|
|
|
&.selected
|
2014-11-18 16:02:01 -05:00
|
|
|
.placeholder, .item
|
2014-11-10 18:24:05 -05:00
|
|
|
border-color: rgb(81,153,236)
|
|
|
|
background-color: rgb(81,153,236)
|
|
|
|
@include box-shadow(0 0 10px rgb(81,153,236))
|
2014-11-18 16:02:01 -05:00
|
|
|
.item
|
2014-11-10 18:24:05 -05:00
|
|
|
background: rgb(81,153,236)
|
|
|
|
|
2014-10-09 18:54:18 -04:00
|
|
|
&.should-equip
|
|
|
|
background-color: #8fa
|
|
|
|
outline: 2px solid #8af
|
2014-10-27 14:17:34 -04:00
|
|
|
@include box-shadow(2px 2px 4px black)
|
2014-11-10 18:24:05 -05:00
|
|
|
|
2014-09-21 02:06:28 -04:00
|
|
|
&.droppable
|
|
|
|
outline: 2px solid blue
|
2014-10-27 14:17:34 -04:00
|
|
|
@include box-shadow(4px 4px 6px black)
|
2014-11-10 18:24:05 -05:00
|
|
|
|
2014-09-21 02:06:28 -04:00
|
|
|
&.droppable-hover
|
|
|
|
outline: 4px solid blue
|
2014-10-27 14:17:34 -04:00
|
|
|
@include box-shadow(6px 6px 8px black)
|
2014-11-10 18:24:05 -05:00
|
|
|
|
2014-09-21 02:06:28 -04:00
|
|
|
.placeholder
|
|
|
|
width: 100%
|
|
|
|
height: 100%
|
|
|
|
background-size: cover
|
2014-11-10 18:24:05 -05:00
|
|
|
@include opacity(0.7)
|
2014-10-01 21:17:21 -04:00
|
|
|
background-image: url(/images/pages/game-menu/slot-icons.png)
|
2014-11-10 18:24:05 -05:00
|
|
|
|
2014-09-21 02:06:28 -04:00
|
|
|
|
2014-11-26 22:04:47 -05:00
|
|
|
// Positioning the slots manually
|
|
|
|
|
|
|
|
&[data-slot]
|
|
|
|
position: absolute
|
|
|
|
top: 10px
|
|
|
|
left: 10px
|
2014-10-01 21:17:21 -04:00
|
|
|
|
2014-11-10 18:24:05 -05:00
|
|
|
&[data-slot="misc-1"]
|
|
|
|
display: none // hiding for now
|
2014-11-26 22:04:47 -05:00
|
|
|
left: 10px + ($itemSlotGridWidth * 0)
|
|
|
|
top: 15px + ($itemSlotGridHeight * 3)
|
2014-11-10 18:24:05 -05:00
|
|
|
.placeholder
|
|
|
|
background-position: (-0 * $itemSlotInnerWidth) 0px
|
|
|
|
|
|
|
|
&[data-slot="misc-0"]
|
|
|
|
display: none // hiding for now
|
2014-11-26 22:04:47 -05:00
|
|
|
left: 10px + ($itemSlotGridWidth * 0)
|
|
|
|
top: 15px + ($itemSlotGridHeight * 2)
|
2014-11-10 18:24:05 -05:00
|
|
|
.placeholder
|
|
|
|
background-position: (-4 * $itemSlotInnerWidth) 0px
|
2014-10-01 21:17:21 -04:00
|
|
|
|
2014-11-10 18:24:05 -05:00
|
|
|
&[data-slot="minion"]
|
2014-11-26 22:04:47 -05:00
|
|
|
left: 10px + ($itemSlotGridWidth * 0)
|
|
|
|
top: 15px + ($itemSlotGridHeight * 0)
|
2014-11-10 18:24:05 -05:00
|
|
|
.placeholder
|
|
|
|
background-position: (-1 * $itemSlotInnerWidth) 0px
|
|
|
|
|
|
|
|
&[data-slot="programming-book"]
|
2014-11-26 22:04:47 -05:00
|
|
|
left: 10px + ($itemSlotGridWidth * 0)
|
|
|
|
top: 15px + ($itemSlotGridHeight * 0)
|
2014-11-10 18:24:05 -05:00
|
|
|
.placeholder
|
|
|
|
background-position: (-3 * $itemSlotInnerWidth) 0px
|
|
|
|
|
2014-10-14 12:54:18 -04:00
|
|
|
// Only for wizards...
|
|
|
|
//&[data-slot="spellbook"] .placeholder
|
|
|
|
// background-position: (-2 * $itemSlotInnerWidth) 0px
|
2014-11-10 18:24:05 -05:00
|
|
|
|
|
|
|
&[data-slot="wrists"]
|
2014-11-26 22:04:47 -05:00
|
|
|
left: 10px + ($itemSlotGridWidth * 0)
|
|
|
|
top: 15px + ($itemSlotGridHeight * 0)
|
2014-11-10 18:24:05 -05:00
|
|
|
.placeholder
|
|
|
|
background-position: (-5 * $itemSlotInnerWidth) 0px
|
|
|
|
|
|
|
|
&[data-slot="left-ring"]
|
2014-11-26 22:04:47 -05:00
|
|
|
left: 10px + ($itemSlotGridWidth * 4)
|
|
|
|
top: 15px + ($itemSlotGridHeight * 0)
|
2014-11-10 18:24:05 -05:00
|
|
|
.placeholder
|
|
|
|
background-position: (-6 * $itemSlotInnerWidth) 0px
|
|
|
|
|
|
|
|
&[data-slot="right-ring"]
|
2014-11-26 22:04:47 -05:00
|
|
|
left: 10px + ($itemSlotGridWidth * 1)
|
|
|
|
top: 15px + ($itemSlotGridHeight * 0)
|
2014-11-10 18:24:05 -05:00
|
|
|
.placeholder
|
|
|
|
background-position: (-7 * $itemSlotInnerWidth) 0px
|
|
|
|
|
|
|
|
&[data-slot="torso"]
|
2014-11-26 22:04:47 -05:00
|
|
|
left: 10px + ($itemSlotGridWidth * 5)
|
|
|
|
top: 15px + ($itemSlotGridHeight * 2)
|
2014-11-10 18:24:05 -05:00
|
|
|
.placeholder
|
|
|
|
background-position: (-8 * $itemSlotInnerWidth) 0px
|
|
|
|
|
|
|
|
&[data-slot="feet"]
|
2014-11-26 22:04:47 -05:00
|
|
|
left: 10px + ($itemSlotGridWidth * 0)
|
|
|
|
top: 15px + ($itemSlotGridHeight * 7.2)
|
2014-11-10 18:24:05 -05:00
|
|
|
.placeholder
|
|
|
|
background-position: (-9 * $itemSlotInnerWidth) 0px
|
|
|
|
|
|
|
|
&[data-slot="neck"]
|
2014-11-26 22:04:47 -05:00
|
|
|
left: 10px + ($itemSlotGridWidth * 3)
|
|
|
|
top: 15px + ($itemSlotGridHeight * 0)
|
2014-11-10 18:24:05 -05:00
|
|
|
.placeholder
|
|
|
|
background-position: (-10 * $itemSlotInnerWidth) 0px
|
|
|
|
|
|
|
|
&[data-slot="waist"]
|
2014-11-26 22:04:47 -05:00
|
|
|
left: 10px + ($itemSlotGridWidth * 0)
|
|
|
|
top: 15px + ($itemSlotGridHeight * 1)
|
2014-11-10 18:24:05 -05:00
|
|
|
.placeholder
|
|
|
|
background-position: (-11 * $itemSlotInnerWidth) 0px
|
|
|
|
|
|
|
|
&[data-slot="eyes"]
|
2014-11-26 22:04:47 -05:00
|
|
|
left: 10px + ($itemSlotGridWidth * 2)
|
|
|
|
top: 15px + ($itemSlotGridHeight * 0)
|
2014-11-10 18:24:05 -05:00
|
|
|
.placeholder
|
|
|
|
background-position: (-12 * $itemSlotInnerWidth) 0px
|
|
|
|
|
|
|
|
&[data-slot="head"]
|
2014-11-26 22:04:47 -05:00
|
|
|
left: 10px + ($itemSlotGridWidth * 5)
|
|
|
|
top: 15px + ($itemSlotGridHeight * 1)
|
2014-11-10 18:24:05 -05:00
|
|
|
.placeholder
|
|
|
|
background-position: (-13 * $itemSlotInnerWidth) 0px
|
|
|
|
|
|
|
|
&[data-slot="pet"]
|
2014-11-26 22:04:47 -05:00
|
|
|
left: 10px + ($itemSlotGridWidth * 5)
|
|
|
|
top: 15px + ($itemSlotGridHeight * 7.2)
|
2014-11-10 18:24:05 -05:00
|
|
|
.placeholder
|
|
|
|
background-position: (-14 * $itemSlotInnerWidth) 0px
|
|
|
|
|
|
|
|
&[data-slot="gloves"]
|
2014-11-26 22:04:47 -05:00
|
|
|
left: 10px + ($itemSlotGridWidth * 0)
|
|
|
|
top: 15px + ($itemSlotGridHeight * 2)
|
2014-11-10 18:24:05 -05:00
|
|
|
.placeholder
|
|
|
|
background-position: (-15 * $itemSlotInnerWidth) 0px
|
|
|
|
|
|
|
|
&[data-slot="left-hand"]
|
2014-11-26 22:04:47 -05:00
|
|
|
left: 10px + ($itemSlotGridWidth * 5)
|
|
|
|
top: 15px + ($itemSlotGridHeight * 3)
|
2014-11-10 18:24:05 -05:00
|
|
|
.placeholder
|
|
|
|
background-position: (-16 * $itemSlotInnerWidth) 0px
|
|
|
|
|
|
|
|
&[data-slot="right-hand"]
|
2014-11-26 22:04:47 -05:00
|
|
|
left: 10px + ($itemSlotGridWidth * 0)
|
|
|
|
top: 15px + ($itemSlotGridHeight * 3)
|
2014-11-10 18:24:05 -05:00
|
|
|
.placeholder
|
|
|
|
background-position: (-17 * $itemSlotInnerWidth) 0px
|
|
|
|
|
|
|
|
&[data-slot="flag"]
|
2014-11-26 22:04:47 -05:00
|
|
|
left: 10px + ($itemSlotGridWidth * 5)
|
|
|
|
top: 15px + ($itemSlotGridHeight * 0)
|
2014-11-10 18:24:05 -05:00
|
|
|
.placeholder
|
|
|
|
background-position: (-2 * $itemSlotInnerWidth) 0px
|
|
|
|
|
2014-11-18 16:02:01 -05:00
|
|
|
.item
|
2014-11-10 18:24:05 -05:00
|
|
|
position: absolute
|
|
|
|
left: -2px
|
|
|
|
top: -2px
|
2014-10-14 12:54:18 -04:00
|
|
|
|
2014-11-10 18:24:05 -05:00
|
|
|
width: $itemSlotSize
|
|
|
|
height: $itemSlotSize
|
|
|
|
border: 2px solid black
|
|
|
|
background-color: white
|
2014-10-01 21:17:21 -04:00
|
|
|
|
2014-11-10 18:24:05 -05:00
|
|
|
|
|
|
|
//- dragging styling
|
|
|
|
|
|
|
|
#equipped
|
|
|
|
|
|
|
|
&.droppable
|
|
|
|
outline: 2px solid blue
|
|
|
|
@include box-shadow(4px 4px 6px black)
|
2014-10-01 21:17:21 -04:00
|
|
|
|
2014-11-10 18:24:05 -05:00
|
|
|
&.droppable-hover
|
|
|
|
outline: 4px solid blue
|
|
|
|
@include box-shadow(6px 6px 8px black)
|
|
|
|
|
|
|
|
.draggable-item
|
|
|
|
width: $itemSlotSize * 1.2
|
|
|
|
height: $itemSlotSize * 1.2
|
2014-10-01 21:17:21 -04:00
|
|
|
|
2014-11-22 23:56:46 -05:00
|
|
|
button
|
|
|
|
display: none
|
|
|
|
|
2014-11-10 18:24:05 -05:00
|
|
|
|
|
|
|
//- Available equipment
|
|
|
|
|
2014-11-18 16:02:01 -05:00
|
|
|
&.Warrior #unequipped .item:not(.Warrior), &.Ranger #unequipped .item:not(.Ranger), &.Wizard #unequipped .item:not(.Wizard)
|
2014-11-10 21:13:04 -05:00
|
|
|
// Our code hides and shows (modifies display), but we can be invisible this other way.
|
|
|
|
visibility: hidden
|
|
|
|
position: absolute
|
|
|
|
|
2014-11-10 18:24:05 -05:00
|
|
|
#unequipped
|
2014-11-12 21:01:35 -05:00
|
|
|
width: 245px
|
2014-11-10 18:24:05 -05:00
|
|
|
position: absolute
|
|
|
|
left: 370px
|
2014-11-12 21:01:35 -05:00
|
|
|
top: 135px
|
|
|
|
height: 435px
|
2014-11-10 21:13:04 -05:00
|
|
|
padding: 9px 0 9px 9px
|
2014-10-01 21:17:21 -04:00
|
|
|
|
2014-11-10 18:24:05 -05:00
|
|
|
#double-click-hint
|
2014-11-18 16:28:04 -05:00
|
|
|
margin: 20px 40px 60px 0
|
|
|
|
border: 3px solid #8585f4
|
|
|
|
padding: 5px
|
|
|
|
font-weight: bold
|
|
|
|
.glyphicon
|
|
|
|
margin-right: 5px
|
|
|
|
position: relative
|
|
|
|
top: 2px
|
2014-11-10 18:24:05 -05:00
|
|
|
|
|
|
|
h4
|
|
|
|
clear: both
|
|
|
|
margin-bottom: 10px
|
|
|
|
margin-top: 20px
|
|
|
|
font-size: 24px
|
|
|
|
text-transform: uppercase
|
|
|
|
font-weight: bold
|
|
|
|
|
2014-11-18 16:02:01 -05:00
|
|
|
.item
|
2014-11-10 18:24:05 -05:00
|
|
|
float: left
|
|
|
|
border: 1px solid black
|
|
|
|
margin: 3px
|
|
|
|
padding: 1px
|
2014-11-18 16:02:01 -05:00
|
|
|
position: relative
|
2014-11-10 18:24:05 -05:00
|
|
|
width: 60px
|
2014-11-18 16:02:01 -05:00
|
|
|
|
2014-11-26 10:33:07 -05:00
|
|
|
&:not(.equipped):not(.restricted):not(.silhouette)
|
2014-11-26 10:11:55 -05:00
|
|
|
cursor: pointer
|
|
|
|
|
|
|
|
&:hover
|
|
|
|
padding: 0
|
|
|
|
img
|
|
|
|
margin: 1px
|
|
|
|
button
|
|
|
|
margin-top: -2px
|
|
|
|
height: 19px
|
|
|
|
font-size: 12px
|
|
|
|
|
2014-11-18 16:02:01 -05:00
|
|
|
img
|
|
|
|
width: 56px
|
|
|
|
height: 56px
|
|
|
|
display: block
|
|
|
|
|
|
|
|
button
|
|
|
|
width: 100%
|
|
|
|
height: 17px
|
|
|
|
border: 1px solid rgb(46,46,46)
|
|
|
|
background: white
|
|
|
|
font-size: 11px
|
|
|
|
border-radius: 1px
|
|
|
|
padding: 0
|
2014-11-26 10:11:55 -05:00
|
|
|
@include transition(0.1s ease)
|
2014-11-10 18:24:05 -05:00
|
|
|
|
2014-11-26 10:33:07 -05:00
|
|
|
.required-level
|
|
|
|
@include opacity(0)
|
|
|
|
@include transition(0.6s ease-in)
|
|
|
|
pointer-events: none
|
|
|
|
font-size: 14px
|
|
|
|
text-align: center
|
|
|
|
width: 100%
|
|
|
|
bottom: 20px
|
|
|
|
top: inherit
|
|
|
|
position: absolute
|
|
|
|
color: white
|
|
|
|
|
2014-11-10 18:24:05 -05:00
|
|
|
&.active
|
|
|
|
background-color: rgb(81,153,236)
|
2014-11-26 10:11:55 -05:00
|
|
|
|
|
|
|
button
|
|
|
|
background-color: lighten(rgb(89,136,47), 10%)
|
|
|
|
box-shadow: 1px 1px 4px #333
|
|
|
|
color: white
|
2014-11-10 18:24:05 -05:00
|
|
|
|
|
|
|
//.status-message .should-equip-message
|
|
|
|
// display: inline
|
|
|
|
|
|
|
|
&.should-equip
|
|
|
|
background-color: #8fa
|
|
|
|
outline: 2px solid #8af
|
|
|
|
@include box-shadow(4px 4px 6px black)
|
|
|
|
z-index: 1
|
|
|
|
|
|
|
|
//.status-message .should-equip-message
|
|
|
|
// display: inline
|
|
|
|
// font-weight: bold
|
|
|
|
|
|
|
|
&.equipped
|
|
|
|
background-color: #ff5
|
|
|
|
display: none
|
|
|
|
|
|
|
|
//.item-view
|
|
|
|
// cursor: default
|
|
|
|
//
|
|
|
|
//.status-message .equipped-message
|
|
|
|
// display: inline
|
|
|
|
|
|
|
|
&.restricted
|
2014-11-23 15:18:42 -05:00
|
|
|
background-color: rgba(190, 190, 190, 1)
|
|
|
|
@include filter(contrast(50%) brightness(100%))
|
2014-11-10 18:24:05 -05:00
|
|
|
|
|
|
|
//.item-view
|
|
|
|
// cursor: default
|
|
|
|
//
|
|
|
|
//.status-message .restricted-message
|
|
|
|
// display: inline
|
|
|
|
|
2014-11-26 10:33:07 -05:00
|
|
|
&.locked:not(:hover)
|
|
|
|
@include filter(contrast(75%))
|
2014-11-10 18:24:05 -05:00
|
|
|
|
|
|
|
&.silhouette
|
2014-11-26 10:33:07 -05:00
|
|
|
img
|
|
|
|
@include filter(contrast(25%) brightness(25%))
|
|
|
|
opacity: 0.5
|
|
|
|
|
|
|
|
&:hover
|
|
|
|
.required-level
|
|
|
|
@include opacity(1)
|
|
|
|
text-shadow: 0 1px 0 black, 1px 0 0 black, 0 -1px 0 black, -1px 0 0 black
|
2014-11-10 18:24:05 -05:00
|
|
|
|
|
|
|
//- Hero/Play buttons
|
2014-10-01 21:17:21 -04:00
|
|
|
|
2014-11-10 18:24:05 -05:00
|
|
|
#choose-hero-button, #play-level-button
|
2014-11-12 21:01:35 -05:00
|
|
|
top: 582px
|
2014-11-10 18:24:05 -05:00
|
|
|
position: absolute
|
|
|
|
background: url(/images/pages/play/modal/confirm-button.png)
|
|
|
|
width: 209px
|
2014-11-12 21:01:35 -05:00
|
|
|
height: 55px
|
|
|
|
background-size: 209px 55px
|
2014-11-10 18:24:05 -05:00
|
|
|
border: 0
|
|
|
|
|
|
|
|
&:disabled
|
|
|
|
opacity: 1
|
|
|
|
@include filter(grayscale(100%))
|
|
|
|
|
|
|
|
|
|
|
|
#choose-hero-button
|
|
|
|
left: 20px
|
|
|
|
|
|
|
|
#play-level-button
|
|
|
|
right: 414px
|
2014-10-01 21:17:21 -04:00
|
|
|
|
2014-11-10 18:24:05 -05:00
|
|
|
|
2014-11-10 21:13:04 -05:00
|
|
|
//- Item details. Non-specific item-details-view styling is in item-details-view.sass.
|
2014-09-21 02:06:28 -04:00
|
|
|
|
2014-11-10 21:13:04 -05:00
|
|
|
#item-details-view
|
2014-10-14 12:54:18 -04:00
|
|
|
|
2014-11-10 21:13:04 -05:00
|
|
|
#item-title
|
|
|
|
left: 698px
|
|
|
|
top: 56px
|
2014-09-24 23:15:17 -04:00
|
|
|
|
2014-11-10 21:13:04 -05:00
|
|
|
#item-details-body
|
|
|
|
left: 650px
|
|
|
|
|
|
|
|
#selected-item-unlock-button
|
|
|
|
left: 646px
|
2014-11-10 18:24:05 -05:00
|
|
|
|
2014-11-18 22:37:08 -05:00
|
|
|
.unequippable
|
|
|
|
display: none
|
|
|
|
|
2014-11-10 21:13:04 -05:00
|
|
|
|
|
|
|
//- Equip/unequip/extra
|
2014-11-10 18:24:05 -05:00
|
|
|
|
|
|
|
#item-details-extra
|
|
|
|
position: absolute
|
|
|
|
left: 644px
|
|
|
|
top: 589px
|
|
|
|
|
|
|
|
& > *
|
|
|
|
width: 338px
|
|
|
|
height: 50px
|
2014-08-13 20:21:37 -04:00
|
|
|
|
2014-11-10 18:24:05 -05:00
|
|
|
.alert
|
|
|
|
text-align: center
|
|
|
|
font-weight: bold
|
|
|
|
|
|
|
|
button
|
|
|
|
border: 3px solid rgb(46,46,46)
|
|
|
|
background: white
|
|
|
|
font-size: 16px
|
2014-11-18 16:52:39 -05:00
|
|
|
|
|
|
|
#equip-item-viewed
|
|
|
|
background: rgb(84,128,44)
|
|
|
|
color: white
|
2014-11-26 22:04:47 -05:00
|
|
|
|
|
|
|
//- Paper doll positioning
|
|
|
|
|
2014-11-28 15:11:51 -05:00
|
|
|
#hero-image, #hero-image-head, #hero-image-hair, #hero-image-thumb
|
2014-11-26 22:04:47 -05:00
|
|
|
display: block
|
|
|
|
position: absolute
|
|
|
|
z-index: 12
|
|
|
|
|
|
|
|
&.male
|
|
|
|
left: 65px
|
|
|
|
bottom: 31px
|
|
|
|
|
|
|
|
&.female
|
|
|
|
left: 80px
|
|
|
|
bottom: 31px
|
|
|
|
|
2014-11-28 15:11:51 -05:00
|
|
|
#hero-image-head
|
2014-11-26 22:04:47 -05:00
|
|
|
z-index: 16
|
2014-11-28 15:11:51 -05:00
|
|
|
#hero-image-hair
|
|
|
|
z-index: 17
|
2014-11-26 22:04:47 -05:00
|
|
|
#hero-image-thumb
|
|
|
|
z-index: 16
|
|
|
|
|
2014-11-28 15:11:51 -05:00
|
|
|
//&.female
|
|
|
|
// left: 81px
|
|
|
|
// bottom: 150px
|
|
|
|
// @include rotate(-15deg)
|
|
|
|
//
|
|
|
|
//&.male
|
|
|
|
// left: 68px
|
|
|
|
// bottom: 121px
|
|
|
|
// @include rotate(-15deg)
|
2014-11-26 22:04:47 -05:00
|
|
|
|
|
|
|
.doll-image
|
|
|
|
position: absolute
|
|
|
|
z-index: 15
|
|
|
|
|
2014-11-28 15:11:51 -05:00
|
|
|
&.male
|
|
|
|
left: 65px
|
|
|
|
bottom: 31px
|
2014-11-26 22:04:47 -05:00
|
|
|
|
2014-11-28 15:11:51 -05:00
|
|
|
&.female
|
|
|
|
left: 80px
|
|
|
|
bottom: 31px
|
2014-11-26 22:04:47 -05:00
|
|
|
|
2014-11-28 15:11:51 -05:00
|
|
|
&.feet
|
|
|
|
z-index: 13
|
2014-11-26 22:04:47 -05:00
|
|
|
|
2014-11-28 15:11:51 -05:00
|
|
|
//&.female
|
|
|
|
// left: 101px
|
|
|
|
// bottom: 37px
|
|
|
|
//
|
|
|
|
//&.male
|
|
|
|
// left: 98px
|
|
|
|
// bottom: 37px
|
|
|
|
|
|
|
|
//&.right-hand
|
|
|
|
//&.female
|
|
|
|
// left: 48px
|
|
|
|
// bottom: 132px
|
|
|
|
// @include rotate(-15deg)
|
|
|
|
//
|
|
|
|
//&.male
|
|
|
|
// left: 40px
|
|
|
|
// bottom: 111px
|
|
|
|
// @include rotate(-15deg)
|
2014-11-26 22:04:47 -05:00
|
|
|
|
|
|
|
&.left-hand
|
|
|
|
z-index: 17
|
2014-11-28 15:11:51 -05:00
|
|
|
//&.female
|
|
|
|
// left: 193px
|
|
|
|
// bottom: 72px
|
|
|
|
//
|
|
|
|
//&.male
|
|
|
|
// left: 193px
|
|
|
|
// bottom: 72px
|
2014-11-26 22:04:47 -05:00
|
|
|
|
|
|
|
&.torso
|
|
|
|
z-index: 14
|
|
|
|
|
2014-11-28 15:11:51 -05:00
|
|
|
//&.female
|
|
|
|
// left: 72px
|
|
|
|
// bottom: 105px
|
|
|
|
//
|
|
|
|
//&.male
|
|
|
|
// left: 55px
|
|
|
|
// bottom: 69px
|
2014-11-26 22:04:47 -05:00
|
|
|
|
|
|
|
&.gloves
|
|
|
|
z-index: 15
|
|
|
|
|
|
|
|
&.female
|
|
|
|
&.female-thumb
|
|
|
|
z-index: 16
|
2014-11-28 15:11:51 -05:00
|
|
|
// left: 78px
|
|
|
|
// bottom: 133px
|
|
|
|
|
|
|
|
// left: 81px
|
|
|
|
// bottom: 150px
|
|
|
|
// @include rotate(-15deg)
|
2014-11-26 22:04:47 -05:00
|
|
|
|
|
|
|
&.male
|
|
|
|
&.male-thumb
|
|
|
|
z-index: 16
|
2014-11-28 15:11:51 -05:00
|
|
|
// left: 65px
|
|
|
|
// bottom: 109px
|
|
|
|
|
|
|
|
// left: 68px
|
|
|
|
// bottom: 121px
|
|
|
|
// @include rotate(-15deg)
|
2014-11-26 22:04:47 -05:00
|
|
|
|
|
|
|
&.head
|
2014-11-28 15:11:51 -05:00
|
|
|
z-index: 17
|
2014-11-26 22:04:47 -05:00
|
|
|
|
2014-11-28 15:11:51 -05:00
|
|
|
//&.female
|
|
|
|
// left: 72px
|
|
|
|
// bottom: 105px
|
|
|
|
//
|
|
|
|
//&.male
|
|
|
|
// left: 119px
|
|
|
|
// bottom: 180px
|
2014-11-26 22:04:47 -05:00
|
|
|
|
|
|
|
|