2014-03-14 20:06:08 -04:00
|
|
|
@import "app/styles/mixins"
|
2014-09-30 19:17:54 -04:00
|
|
|
@import "app/styles/bootstrap/variables"
|
2014-03-14 20:06:08 -04:00
|
|
|
|
2014-04-11 19:15:26 -04:00
|
|
|
@mixin wing-background($url: '', $backgroundPosition: left)
|
|
|
|
background: black
|
|
|
|
background-image: url($url)
|
2014-03-14 20:06:08 -04:00
|
|
|
background-repeat: no-repeat
|
|
|
|
background-position: top $backgroundPosition
|
2014-03-15 19:06:35 -04:00
|
|
|
background-size: contain
|
2014-03-14 20:06:08 -04:00
|
|
|
|
2015-11-10 18:22:09 -05:00
|
|
|
$UNVEIL_TIME: 1.2s
|
|
|
|
|
2014-03-14 20:06:08 -04:00
|
|
|
#level-loading-view
|
|
|
|
width: 100%
|
|
|
|
height: 100%
|
|
|
|
position: absolute
|
|
|
|
z-index: 20
|
2014-04-09 12:04:59 -04:00
|
|
|
|
|
|
|
&.unveiled
|
|
|
|
pointer-events: none
|
2015-11-10 18:22:09 -05:00
|
|
|
|
|
|
|
&.preview-screen
|
|
|
|
background-color: rgba(0, 0, 0, 0.5)
|
|
|
|
|
|
|
|
.left-wing, .right-wing
|
|
|
|
width: 100%
|
|
|
|
height: 100%
|
|
|
|
position: absolute
|
|
|
|
pointer-events: none
|
|
|
|
|
|
|
|
.left-wing
|
|
|
|
@include wing-background('/images/level/loading_left_wing_1920.jpg', right)
|
|
|
|
@media screen and ( max-width: 1366px )
|
|
|
|
@include wing-background('/images/level/loading_left_wing_1366.jpg', right)
|
|
|
|
left: -50%
|
|
|
|
@include transition(all $UNVEIL_TIME ease)
|
|
|
|
|
|
|
|
.right-wing
|
|
|
|
@include wing-background('/images/level/loading_right_wing_1920.jpg', left)
|
|
|
|
@media screen and ( max-width: 1366px )
|
|
|
|
@include wing-background('/images/level/loading_right_wing_1366.jpg', left)
|
|
|
|
right: -50%
|
|
|
|
@include transition(all $UNVEIL_TIME ease)
|
|
|
|
|
|
|
|
#loading-details
|
2014-03-14 20:06:08 -04:00
|
|
|
position: absolute
|
2014-11-30 21:02:45 -05:00
|
|
|
top: 86px
|
2015-11-10 18:22:09 -05:00
|
|
|
right: 50%
|
2014-11-30 21:02:45 -05:00
|
|
|
$WIDTH: 450px
|
2014-03-14 20:06:08 -04:00
|
|
|
width: $WIDTH
|
2014-11-30 21:02:45 -05:00
|
|
|
height: 450px
|
2015-11-10 18:22:09 -05:00
|
|
|
margin-right: (-$WIDTH / 2)
|
2014-03-14 20:06:08 -04:00
|
|
|
z-index: 100
|
2014-11-30 21:02:45 -05:00
|
|
|
background: transparent url(/images/level/code_editor_background.png) no-repeat
|
|
|
|
background-size: 100% 100%
|
2014-03-17 03:05:45 -04:00
|
|
|
color: darkslategray
|
|
|
|
font-size: 15px
|
2014-11-30 21:02:45 -05:00
|
|
|
padding: 80px 80px 40px 80px
|
2014-03-14 20:06:08 -04:00
|
|
|
text-align: center
|
|
|
|
// http://matthewlein.com/ceaser/ Bounce down a bit, then snap up.
|
2015-11-10 18:22:09 -05:00
|
|
|
@include transition($UNVEIL_TIME cubic-bezier(0.285, -0.595, 0.670, -0.600))
|
2014-11-30 21:02:45 -05:00
|
|
|
font-family: 'Open Sans Condensed'
|
2014-03-14 20:06:08 -04:00
|
|
|
|
2015-11-10 18:22:09 -05:00
|
|
|
&.preview
|
|
|
|
top: 0
|
|
|
|
right: 0
|
|
|
|
margin-right: 0
|
|
|
|
width: 45%
|
|
|
|
height: auto
|
|
|
|
pointer-events: all
|
|
|
|
@include transition($UNVEIL_TIME ease-in-out)
|
|
|
|
|
|
|
|
padding: 80px 70px 40px 50px
|
|
|
|
.progress-or-start-container.intro-footer
|
|
|
|
bottom: 30px
|
|
|
|
|
2014-11-30 21:02:45 -05:00
|
|
|
.level-loading-goals
|
|
|
|
text-align: left
|
|
|
|
|
|
|
|
.goals-title
|
|
|
|
font-size: 32px
|
|
|
|
color: black
|
|
|
|
font-weight: bold
|
|
|
|
|
|
|
|
li
|
|
|
|
font-size: 20px
|
|
|
|
color: black
|
|
|
|
|
2015-11-10 18:22:09 -05:00
|
|
|
.intro-doc
|
|
|
|
text-align: left
|
|
|
|
font-size: 16px
|
2015-11-15 11:23:12 -05:00
|
|
|
//overflow-y: scroll // using nanoscroller now
|
2015-11-10 18:22:09 -05:00
|
|
|
|
|
|
|
img
|
|
|
|
max-width: 100%
|
|
|
|
|
2014-11-30 21:02:45 -05:00
|
|
|
.progress-or-start-container
|
2014-03-17 03:05:45 -04:00
|
|
|
position: absolute
|
2014-11-30 21:02:45 -05:00
|
|
|
bottom: 95px
|
|
|
|
height: 80px
|
2015-02-06 13:26:38 -05:00
|
|
|
left: 48px
|
2015-11-10 18:22:09 -05:00
|
|
|
right: 77px
|
|
|
|
@include transition(bottom $UNVEIL_TIME ease-out)
|
2014-11-30 21:02:45 -05:00
|
|
|
|
|
|
|
.load-progress
|
|
|
|
width: 100%
|
2015-02-06 13:26:38 -05:00
|
|
|
height: 45px
|
2014-11-30 21:02:45 -05:00
|
|
|
margin: 20px auto 0 auto
|
|
|
|
|
|
|
|
.progress
|
2014-09-21 18:52:49 -04:00
|
|
|
height: 100%
|
2014-11-30 21:02:45 -05:00
|
|
|
position: relative
|
|
|
|
background-color: transparent
|
2015-02-06 13:26:38 -05:00
|
|
|
@include box-shadow(none)
|
2014-11-01 14:10:26 -04:00
|
|
|
|
2015-02-06 13:26:38 -05:00
|
|
|
.progress-background
|
|
|
|
width: 100%
|
2014-11-30 21:02:45 -05:00
|
|
|
height: 100%
|
2015-02-06 13:26:38 -05:00
|
|
|
background: transparent url(/images/level/loading_bar_back.png) no-repeat
|
|
|
|
background-size: 100% 100%
|
|
|
|
position: absolute
|
|
|
|
z-index: -1
|
|
|
|
|
|
|
|
.progress-bar-container
|
|
|
|
width: 75%
|
|
|
|
height: 100%
|
|
|
|
left: 10%
|
|
|
|
position: absolute
|
|
|
|
|
|
|
|
.progress-bar
|
|
|
|
width: 1%
|
|
|
|
height: 100%
|
|
|
|
transition-duration: 0
|
|
|
|
background: transparent url(/images/level/loading_bar_fill.png) no-repeat
|
|
|
|
background-size: 325px 100%
|
|
|
|
@include box-shadow(none)
|
2014-09-21 18:52:49 -04:00
|
|
|
|
2014-11-30 21:02:45 -05:00
|
|
|
&.active .progress-bar
|
|
|
|
transition-duration: 1.2s
|
2014-09-21 18:52:49 -04:00
|
|
|
|
2014-11-30 21:02:45 -05:00
|
|
|
.rim
|
|
|
|
position: absolute
|
|
|
|
left: 0
|
|
|
|
top: 0
|
|
|
|
width: 100%
|
|
|
|
height: 100%
|
|
|
|
background: transparent url(/images/level/loading_bar_rim.png) no-repeat
|
|
|
|
background-size: 100% 100%
|
2014-09-21 18:52:49 -04:00
|
|
|
|
2014-11-30 21:02:45 -05:00
|
|
|
.start-level-button
|
|
|
|
display: none
|
|
|
|
width: 100%
|
2015-02-06 13:26:38 -05:00
|
|
|
height: auto
|
2014-11-30 21:02:45 -05:00
|
|
|
margin: 0px auto
|
|
|
|
font-size: 40px
|
2015-02-06 13:26:38 -05:00
|
|
|
line-height: 45px
|
2014-11-30 21:02:45 -05:00
|
|
|
font-variant: small-caps
|
2015-02-06 13:26:38 -05:00
|
|
|
text-transform: none
|
2014-03-14 20:06:08 -04:00
|
|
|
|
2015-10-06 15:48:39 -04:00
|
|
|
.subscription-required, .course-membership-required
|
2014-12-03 15:04:12 -05:00
|
|
|
display: none
|
|
|
|
margin-top: -160px
|
|
|
|
color: black
|
|
|
|
font-size: 24px
|
|
|
|
|
2015-10-06 15:48:39 -04:00
|
|
|
.btn
|
2014-12-03 15:04:12 -05:00
|
|
|
width: 100%
|
|
|
|
margin: 0px auto
|
|
|
|
font-size: 40px
|
|
|
|
font-variant: small-caps
|
|
|
|
|
2014-11-30 21:02:45 -05:00
|
|
|
#tip-wrapper
|
|
|
|
position: absolute
|
|
|
|
z-index: 2
|
|
|
|
bottom: 40px
|
|
|
|
left: 25px
|
|
|
|
width: 401px
|
|
|
|
color: #666
|
2014-09-21 17:35:59 -04:00
|
|
|
|
2015-11-10 18:22:09 -05:00
|
|
|
&.preview #tip-wrapper
|
|
|
|
left: 48px
|
|
|
|
right: 77px
|
|
|
|
width: auto
|