mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-04 21:01:06 -05:00
146 lines
2.8 KiB
Sass
146 lines
2.8 KiB
Sass
@import "app/styles/mixins"
|
|
@import "app/styles/bootstrap/variables"
|
|
|
|
#spectate-level-view
|
|
#playback-view
|
|
width: 100%
|
|
#restart-button
|
|
display: none
|
|
#multiplayer-button
|
|
display: none
|
|
#docs-button
|
|
display: none
|
|
#gold-view
|
|
right: 1%
|
|
#duel-stats-view
|
|
right: 230px
|
|
bottom: 80px
|
|
@include scale(2)
|
|
|
|
#control-bar-view
|
|
width: 100%
|
|
|
|
.title
|
|
position: absolute
|
|
display: inline-block
|
|
color: #BEBEBE
|
|
line-height: 15px
|
|
left: 20%
|
|
width: 60%
|
|
text-align: center
|
|
|
|
margin: 0 auto
|
|
@include user-select(none)
|
|
|
|
.level-content
|
|
position: relative
|
|
margin: 0px auto
|
|
|
|
#canvas-wrapper
|
|
top: 50px
|
|
width: 100%
|
|
position: relative
|
|
margin: 0 auto
|
|
|
|
canvas#webgl-surface, canvas#normal-surface
|
|
display: block
|
|
z-index: 1
|
|
margin: 0 auto
|
|
|
|
canvas#webgl-surface
|
|
background-color: #333
|
|
|
|
canvas#normal-surface
|
|
position: absolute
|
|
top: 0
|
|
pointer-events: none
|
|
|
|
min-width: 1024px
|
|
position: relative
|
|
#thang-hud
|
|
margin: 0 auto
|
|
display: none
|
|
|
|
|
|
#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
|
|
|
|
#level-done-button
|
|
position: absolute
|
|
right: 46%
|
|
top: 43px
|
|
@include box-shadow(4px 4px 15px black)
|
|
|
|
// 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)
|
|
|
|
$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
|
|
|
|
#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%
|