2014-11-05 22:03:05 -05:00
|
|
|
@import "app/styles/mixins"
|
|
|
|
@import "app/styles/bootstrap/variables"
|
|
|
|
|
|
|
|
$heroCanvasHeight: 265px
|
|
|
|
|
2014-09-17 21:56:08 -04:00
|
|
|
#play-heroes-modal
|
|
|
|
|
2014-11-05 22:03:05 -05:00
|
|
|
//- Clear modal defaults
|
|
|
|
|
|
|
|
.modal-dialog
|
|
|
|
padding: 0
|
|
|
|
width: 820px
|
|
|
|
height: 658px
|
|
|
|
|
|
|
|
|
|
|
|
//- Background
|
|
|
|
|
|
|
|
#play-heroes-background
|
|
|
|
position: absolute
|
|
|
|
top: -59px
|
|
|
|
left: -20px
|
|
|
|
|
|
|
|
|
|
|
|
//- Header
|
|
|
|
|
|
|
|
h1
|
|
|
|
position: absolute
|
|
|
|
left: 154px
|
|
|
|
top: 25px
|
|
|
|
margin: 0
|
2014-11-30 17:00:29 -05:00
|
|
|
width: 350px
|
2014-11-05 22:03:05 -05:00
|
|
|
text-align: center
|
|
|
|
color: rgb(254,188,68)
|
|
|
|
font-size: 38px
|
|
|
|
text-shadow: black 4px 4px 0, black -4px -4px 0, black 4px -4px 0, black -4px 4px 0, black 4px 0px 0, black 0px -4px 0, black -4px 0px 0, black 0px 4px 0
|
|
|
|
|
|
|
|
|
2014-11-30 17:00:29 -05:00
|
|
|
//- Gems count
|
|
|
|
|
|
|
|
#gems-count-container
|
|
|
|
position: absolute
|
|
|
|
right: 39px
|
|
|
|
top: 470px
|
|
|
|
|
|
|
|
#gems-count
|
|
|
|
font-family: 'Open Sans Condensed'
|
|
|
|
font-size: 24.5px
|
|
|
|
color: lighten(rgb(1,64,91), 50%)
|
|
|
|
|
|
|
|
|
2014-11-05 22:03:05 -05:00
|
|
|
//- Close modal button
|
|
|
|
|
|
|
|
#close-modal
|
|
|
|
position: absolute
|
|
|
|
left: 615px
|
|
|
|
top: 17px
|
|
|
|
width: 60px
|
|
|
|
height: 60px
|
|
|
|
color: white
|
|
|
|
text-align: center
|
|
|
|
font-size: 30px
|
|
|
|
padding-top: 15px
|
|
|
|
cursor: pointer
|
|
|
|
@include rotate(-3deg)
|
|
|
|
|
|
|
|
&:hover
|
|
|
|
color: yellow
|
|
|
|
|
|
|
|
|
|
|
|
//- Carousel character portraits
|
|
|
|
|
|
|
|
#hero-carousel
|
|
|
|
width: 750px
|
|
|
|
height: 386px
|
|
|
|
position: absolute
|
|
|
|
left: 34px
|
|
|
|
top: 117px
|
|
|
|
|
|
|
|
.carousel-indicator-container
|
|
|
|
position: relative
|
|
|
|
z-index: 1
|
|
|
|
|
|
|
|
.carousel-indicators
|
|
|
|
position: static
|
|
|
|
width: 100%
|
|
|
|
margin-left: 0
|
|
|
|
|
|
|
|
.hero-indicator
|
|
|
|
width: 104px
|
|
|
|
height: 98px
|
|
|
|
margin: 0 -11px
|
|
|
|
position: relative
|
2014-11-07 10:04:10 -05:00
|
|
|
background: url(/images/pages/play/modal/hero-portrait.png)
|
2014-11-05 22:03:05 -05:00
|
|
|
border: none
|
|
|
|
&.active
|
2014-11-07 10:04:10 -05:00
|
|
|
background: url(/images/pages/play/modal/hero-portrait-selected.png)
|
2014-11-05 22:03:05 -05:00
|
|
|
z-index: 5
|
|
|
|
|
|
|
|
.hero-avatar
|
|
|
|
width: 61px
|
|
|
|
height: 61px
|
|
|
|
background-size: contain
|
|
|
|
position: relative
|
|
|
|
left: 21px
|
|
|
|
top: 18px
|
|
|
|
|
2014-11-25 12:28:42 -05:00
|
|
|
&.locked:not(.purchasable)
|
2014-11-05 22:03:05 -05:00
|
|
|
.hero-avatar
|
2014-11-25 12:28:42 -05:00
|
|
|
background-color: goldenrod
|
2014-11-05 22:03:05 -05:00
|
|
|
@include filter(contrast(50%) brightness(65%))
|
|
|
|
|
|
|
|
.lock-indicator
|
|
|
|
position: absolute
|
|
|
|
width: 40%
|
|
|
|
left: 30%
|
|
|
|
top: 30%
|
|
|
|
@include filter(invert(90%))
|
|
|
|
|
2014-11-25 12:28:42 -05:00
|
|
|
&.purchasable
|
|
|
|
.hero-avatar
|
|
|
|
background-color: goldenrod
|
|
|
|
|
2014-11-26 11:53:06 -05:00
|
|
|
&.restricted
|
|
|
|
@include opacity(0.25)
|
|
|
|
.hero-avatar
|
|
|
|
background-color: black
|
|
|
|
|
2014-11-05 22:03:05 -05:00
|
|
|
|
|
|
|
//- Small transformations to jumble the hero icons a little
|
|
|
|
|
|
|
|
.hero-index-0
|
|
|
|
transform: rotate(-5deg)
|
|
|
|
z-index: 2
|
|
|
|
|
|
|
|
.hero-index-1
|
|
|
|
top: -3px
|
|
|
|
z-index: 1
|
|
|
|
|
|
|
|
.hero-index-2
|
|
|
|
top: -3px
|
|
|
|
transform: rotate(5deg)
|
|
|
|
z-index: 1
|
|
|
|
|
|
|
|
.hero-index-3
|
|
|
|
transform: rotate(-1deg)
|
|
|
|
z-index: 0
|
|
|
|
|
|
|
|
.hero-index-4
|
|
|
|
transform: rotate(3deg)
|
|
|
|
|
|
|
|
.hero-index-5
|
|
|
|
z-index: 0
|
|
|
|
|
|
|
|
.hero-index-6
|
|
|
|
transform: rotate(6deg)
|
|
|
|
top: -8px
|
|
|
|
z-index: 1
|
|
|
|
|
|
|
|
.hero-index-8
|
|
|
|
transform: rotate(4deg)
|
|
|
|
|
|
|
|
|
|
|
|
//- Carousel panel
|
|
|
|
|
|
|
|
#hero-carousel
|
|
|
|
.hero-item
|
|
|
|
|
2014-11-26 11:53:06 -05:00
|
|
|
&.locked:not(.purchasable), &.restricted
|
2014-11-05 22:03:05 -05:00
|
|
|
@include opacity(0.6)
|
|
|
|
|
|
|
|
canvas, .hero-feature-image
|
|
|
|
width: 334px
|
|
|
|
height: $heroCanvasHeight
|
|
|
|
float: left
|
|
|
|
|
|
|
|
.hero-stats
|
|
|
|
width: 384px
|
|
|
|
height: $heroCanvasHeight
|
|
|
|
float: left
|
|
|
|
|
|
|
|
.hero-feature-image
|
|
|
|
display: none
|
|
|
|
text-align: center
|
|
|
|
|
|
|
|
img
|
|
|
|
height: $heroCanvasHeight
|
|
|
|
|
|
|
|
.hero-stats
|
|
|
|
color: white
|
|
|
|
|
|
|
|
h2
|
|
|
|
margin-top: 0px
|
|
|
|
color: white
|
|
|
|
|
|
|
|
.hero-description
|
|
|
|
margin-bottom: 10px
|
|
|
|
|
|
|
|
.hero-stat-row
|
|
|
|
margin: 5px 0
|
|
|
|
|
|
|
|
.stat-label
|
|
|
|
float: left
|
|
|
|
width: 100px
|
|
|
|
color: rgb(203,170,148)
|
|
|
|
|
|
|
|
.stat-value
|
|
|
|
display: inline-block
|
|
|
|
width: 280px
|
|
|
|
color: rgb(244,189,68)
|
|
|
|
|
|
|
|
.stat-progress
|
|
|
|
background: rgb(32,27,22)
|
|
|
|
height: 15px
|
|
|
|
padding: 4px 5px
|
|
|
|
border-radius: 16px
|
|
|
|
position: relative
|
|
|
|
top: 2px
|
|
|
|
left: -3px
|
|
|
|
width: 70%
|
|
|
|
|
|
|
|
.stat-progress-bar
|
|
|
|
height: 7px
|
|
|
|
border-radius: 7px
|
|
|
|
|
|
|
|
|
|
|
|
&.attack .stat-progress-bar
|
2014-11-22 21:43:02 -05:00
|
|
|
background: #c32424
|
2014-11-05 22:03:05 -05:00
|
|
|
|
|
|
|
&.health .stat-progress-bar
|
2014-11-22 21:43:02 -05:00
|
|
|
background: #0f802a
|
2014-11-05 22:03:05 -05:00
|
|
|
|
|
|
|
&.speed .stat-progress-bar
|
2014-11-22 21:43:02 -05:00
|
|
|
background: #4d52ab
|
2014-11-05 22:03:05 -05:00
|
|
|
|
|
|
|
|
|
|
|
//- Carousel switch buttons
|
|
|
|
|
|
|
|
a.left, a.right
|
|
|
|
color: rgb(74,61,51)
|
|
|
|
position: absolute
|
|
|
|
top: 195px
|
|
|
|
width: 40px
|
|
|
|
height: 84px
|
|
|
|
font-size: 24px
|
|
|
|
|
|
|
|
.glyphicon
|
|
|
|
position: relative
|
|
|
|
top: 27px
|
|
|
|
left: 8px
|
|
|
|
|
|
|
|
&:hover, &:active
|
|
|
|
color: rgb(126,105,88)
|
|
|
|
|
|
|
|
a.right
|
|
|
|
right: -49px
|
|
|
|
|
|
|
|
a.left
|
|
|
|
left: -46px
|
|
|
|
.glyphicon
|
|
|
|
@include scaleXY(-1, 1)
|
|
|
|
|
2014-11-25 12:28:42 -05:00
|
|
|
//- Different footer states
|
|
|
|
|
2014-11-30 17:00:29 -05:00
|
|
|
#purchasable-hero-explanation, #loading-hero-explanation
|
2014-11-25 12:28:42 -05:00
|
|
|
position: absolute
|
|
|
|
left: 32px
|
|
|
|
top: 532px
|
|
|
|
width: 541px
|
|
|
|
height: 97px
|
|
|
|
padding: 10px 40px
|
|
|
|
|
|
|
|
h2
|
|
|
|
color: #333
|
|
|
|
text-align: center
|
|
|
|
|
2014-11-26 11:53:06 -05:00
|
|
|
#locked-hero-explanation, #restricted-hero-explanation
|
2014-11-25 12:28:42 -05:00
|
|
|
position: absolute
|
|
|
|
left: 32px
|
|
|
|
top: 527px
|
|
|
|
width: 541px
|
|
|
|
height: 102px
|
|
|
|
padding: 10px 40px
|
|
|
|
text-align: center
|
|
|
|
|
|
|
|
h2
|
|
|
|
color: #333
|
|
|
|
margin-top: 12px
|
|
|
|
margin-bottom: 5px
|
|
|
|
|
|
|
|
#purchase-hero-button
|
|
|
|
width: 209px
|
|
|
|
height: 110px
|
|
|
|
position: absolute
|
|
|
|
left: 588px
|
|
|
|
top: 522px
|
|
|
|
line-height: 100px
|
|
|
|
text-align: center
|
|
|
|
text-transform: uppercase
|
|
|
|
font-size: 24.5px
|
|
|
|
font-family: Open Sans Condensed
|
|
|
|
color: white
|
|
|
|
border: 3px solid rgb(7,65,83)
|
|
|
|
background: rgb(0,119,168)
|
|
|
|
border-radius: 0
|
|
|
|
|
|
|
|
&:disabled
|
|
|
|
background: rgb(72, 106, 113)
|
|
|
|
opacity: 1
|
|
|
|
color: rgba(255,255,255, 0.4)
|
|
|
|
|
|
|
|
> *
|
|
|
|
@include opacity(0.9)
|
|
|
|
|
|
|
|
&:hover > *
|
|
|
|
@include opacity(1)
|
2014-11-05 22:03:05 -05:00
|
|
|
|
|
|
|
//- Programming select box
|
|
|
|
|
|
|
|
.form
|
|
|
|
position: absolute
|
|
|
|
left: 32px
|
|
|
|
top: 527px
|
|
|
|
width: 541px
|
|
|
|
height: 102px
|
|
|
|
padding: 10px 40px
|
|
|
|
|
|
|
|
.help-block
|
|
|
|
color: rgb(51,51,51)
|
|
|
|
font-size: 14px
|
|
|
|
font-weight: bold
|
|
|
|
|
|
|
|
select
|
|
|
|
font-size: 18px
|
|
|
|
|
|
|
|
.fancy-select
|
|
|
|
display: inline-block
|
|
|
|
width: 100%
|
|
|
|
|
|
|
|
.options
|
|
|
|
text-transform: none
|
|
|
|
|
|
|
|
.trigger, .options
|
|
|
|
background-color: rgb(239,232,217)
|
|
|
|
color: black
|
|
|
|
|
|
|
|
.trigger
|
|
|
|
text-transform: uppercase
|
|
|
|
border: 3px solid black
|
|
|
|
font-size: 16px
|
|
|
|
padding: 5px 10px
|
2014-11-05 22:37:13 -05:00
|
|
|
width: 100%
|
2014-11-05 22:03:05 -05:00
|
|
|
|
|
|
|
//- the little triangle on the right side of the fancy select box
|
|
|
|
&:after
|
|
|
|
border: 8px solid transparent
|
|
|
|
border-top-color: black
|
|
|
|
top: 13px
|
|
|
|
right: 11px
|
|
|
|
|
|
|
|
.options
|
|
|
|
padding-left: 5px
|
2014-11-05 22:37:13 -05:00
|
|
|
overflow: visible
|
2014-11-05 22:03:05 -05:00
|
|
|
|
|
|
|
.selected
|
|
|
|
color: black
|
|
|
|
|
|
|
|
.hover
|
|
|
|
color: black
|
|
|
|
background-color: #abc
|
|
|
|
|
|
|
|
.options
|
|
|
|
li
|
|
|
|
padding-left: 40px
|
|
|
|
background: transparent url(/images/common/code_languages/javascript_small.png) no-repeat left center
|
|
|
|
background-size: 32px 32px
|
2014-11-05 22:37:13 -05:00
|
|
|
margin-bottom: -1px
|
2014-11-05 22:03:05 -05:00
|
|
|
|
|
|
|
&[data-value="python"]
|
|
|
|
background-image: url(/images/common/code_languages/python_small.png)
|
|
|
|
&[data-value="coffeescript"]
|
|
|
|
background-image: url(/images/common/code_languages/coffeescript_small.png)
|
|
|
|
&[data-value="clojure"]
|
|
|
|
background-image: url(/images/common/code_languages/clojure_small.png)
|
|
|
|
&[data-value="lua"]
|
|
|
|
background-image: url(/images/common/code_languages/lua_small.png)
|
|
|
|
&[data-value="io"]
|
|
|
|
background-image: url(/images/common/code_languages/io_small.png)
|
|
|
|
|
|
|
|
#confirm-button
|
|
|
|
background: url(/images/pages/play/modal/confirm-button.png)
|
|
|
|
width: 209px
|
|
|
|
height: 110px
|
|
|
|
position: absolute
|
|
|
|
left: 588px
|
|
|
|
top: 522px
|
|
|
|
padding: 36px 0
|
|
|
|
text-align: center
|
|
|
|
text-transform: uppercase
|
|
|
|
font-size: 26px
|
|
|
|
font-family: Open Sans Condensed
|
|
|
|
color: white
|
|
|
|
|
|
|
|
|
|
|
|
body.ipad #play-heroes-modal
|
|
|
|
// iPad is Python-only for now, and has its own reset button.
|
|
|
|
.form
|
|
|
|
display: none
|