2014-01-30 15:03:33 -05:00
|
|
|
@import "app/styles/bootstrap/mixins"
|
|
|
|
@import "app/styles/mixins"
|
2014-01-03 13:32:13 -05:00
|
|
|
|
2014-04-11 19:15:26 -04:00
|
|
|
body.is-playing
|
|
|
|
background-color: black
|
2014-04-13 19:06:47 -04:00
|
|
|
.footer
|
|
|
|
background-color: black
|
2014-04-11 19:15:26 -04:00
|
|
|
|
2014-01-03 13:32:13 -05:00
|
|
|
#level-view
|
|
|
|
margin: 0 auto
|
|
|
|
@include user-select(none)
|
|
|
|
|
|
|
|
.level-content
|
|
|
|
position: relative
|
|
|
|
|
|
|
|
#canvas-wrapper
|
|
|
|
width: 55%
|
|
|
|
position: relative
|
2014-05-19 14:31:18 -04:00
|
|
|
overflow: hidden
|
2014-01-03 13:32:13 -05:00
|
|
|
|
|
|
|
canvas#surface
|
2014-04-22 14:11:08 -04:00
|
|
|
background-color: #333
|
2014-01-03 13:32:13 -05:00
|
|
|
width: 100%
|
|
|
|
display: block
|
|
|
|
z-index: 1
|
|
|
|
|
|
|
|
min-width: 1024px
|
|
|
|
position: relative
|
|
|
|
|
|
|
|
#code-area
|
|
|
|
@include box-sizing(border-box)
|
|
|
|
padding: 10px 1%
|
|
|
|
width: 45%
|
|
|
|
background: transparent url(/images/level/wood_texture.png)
|
|
|
|
background-size: 100% 100%
|
|
|
|
position: absolute
|
|
|
|
right: 0
|
|
|
|
top: 0px
|
|
|
|
bottom: 0
|
2014-07-09 16:41:42 -04:00
|
|
|
transition: width 0.5s ease-in-out
|
|
|
|
&.fullscreen-editor
|
|
|
|
position: fixed
|
|
|
|
width: 100%
|
|
|
|
height: 100%
|
2014-01-03 13:32:13 -05:00
|
|
|
|
|
|
|
#pointer
|
|
|
|
position: absolute
|
|
|
|
left: 0
|
|
|
|
top: 0
|
|
|
|
height: 100px
|
|
|
|
opacity: 0.0
|
|
|
|
pointer-events: none
|
|
|
|
z-index: 10
|
|
|
|
|
|
|
|
// Level Docs
|
|
|
|
.ui-effects-transfer
|
|
|
|
border: 2px dotted gray
|
|
|
|
|
|
|
|
.modal
|
|
|
|
img
|
|
|
|
float: right
|
|
|
|
|
|
|
|
img.diagram
|
|
|
|
float: none
|
|
|
|
|
|
|
|
#multiplayer-join-link
|
|
|
|
font-size: 12px
|
|
|
|
|
|
|
|
// Custom Buttons
|
|
|
|
.btn.banner
|
|
|
|
@include banner-button(#FFF, #333)
|
|
|
|
@include box-shadow(2px 2px 2px rgba(0, 0, 0, 0.5))
|
|
|
|
border: 1px solid black
|
|
|
|
text-shadow: none
|
|
|
|
|
|
|
|
$buttonConfig: 'primary' #6CA8EA, 'info' #71AACC, 'success' #90B236, 'warning' #CD6800, 'danger' #B43C20, 'inverse' #3A537F
|
|
|
|
@each $tuple in $buttonConfig
|
|
|
|
&.btn-#{nth($tuple, 1)}
|
|
|
|
@include banner-button(nth($tuple, 2), #FFF)
|
|
|
|
|
|
|
|
.footer .footer-link-text a
|
2014-01-29 15:18:37 -05:00
|
|
|
@include opacity(0.75)
|
2014-01-03 13:32:13 -05:00
|
|
|
@include transition(opacity .10s linear)
|
|
|
|
|
|
|
|
&:hover, &:active
|
2014-01-29 15:18:37 -05:00
|
|
|
@include opacity(1)
|
2014-01-03 13:32:13 -05:00
|
|
|
|
|
|
|
$GI: 0.5 // gradient intensity; can tweak this 0-1
|
|
|
|
|
|
|
|
.gradient
|
|
|
|
position: absolute
|
|
|
|
z-index: 10
|
|
|
|
|
|
|
|
#code-area-gradient
|
|
|
|
top: 0px
|
|
|
|
width: 3px
|
|
|
|
background: linear-gradient(to right, rgba(0,0,0,0) 0%,rgba(0,0,0,$GI) 100%)
|
|
|
|
left: -3px
|
|
|
|
bottom: 0
|
|
|
|
|
|
|
|
#hud-top-gradient
|
|
|
|
top: -32px
|
|
|
|
background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.8*$GI) 100%)
|
|
|
|
left: 0
|
|
|
|
right: 0
|
|
|
|
bottom: 0
|
|
|
|
height: 3px
|
|
|
|
|
|
|
|
#canvas-left-gradient
|
|
|
|
left: 0px
|
|
|
|
width: 5px
|
|
|
|
background: linear-gradient(to left, rgba(0,0,0,0) 0%,rgba(0,0,0,0.8*$GI) 100%)
|
|
|
|
bottom: -30px
|
|
|
|
top: 0
|
|
|
|
|
|
|
|
#canvas-top-gradient
|
|
|
|
top: 0
|
|
|
|
height: 5px
|
|
|
|
left: 0
|
|
|
|
right: 0
|
|
|
|
background: linear-gradient(to top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.8*$GI) 100%)
|
|
|
|
|
|
|
|
#hud-left-gradient
|
|
|
|
background: linear-gradient(to right, rgba(0,0,0,$GI) 0%,rgba(0,0,0,0) 100%)
|
|
|
|
left: 0
|
|
|
|
top: 0
|
|
|
|
height: 100%
|
|
|
|
width: 2%
|
|
|
|
|
|
|
|
#hud-right-gradient
|
|
|
|
background: linear-gradient(to right, rgba(0,0,0,0) 0%,rgba(0,0,0,$GI) 100%)
|
|
|
|
right: 0
|
|
|
|
position: absolute
|
|
|
|
top: 0
|
|
|
|
height: 100%
|
|
|
|
width: 2%
|
2014-02-22 20:40:38 -05:00
|
|
|
|
2014-02-23 14:48:34 -05:00
|
|
|
.footer
|
|
|
|
@media screen and (min-aspect-ratio: 17/10)
|
|
|
|
display: none
|
|
|
|
|
|
|
|
&:not(:hover)
|
|
|
|
@include opacity(0.6)
|
|
|
|
|
|
|
|
.hour-of-code-explanation
|
|
|
|
margin-top: 5px
|
|
|
|
color: white
|
|
|
|
font-size: 12px
|
|
|
|
|
|
|
|
&:not(:hover)
|
|
|
|
@include opacity(0.75)
|
|
|
|
|
|
|
|
a
|
|
|
|
color: white
|
|
|
|
text-decoration: underline
|