2014-01-03 13:32:13 -05:00
|
|
|
@import "../../bootstrap/mixins"
|
|
|
|
|
|
|
|
#editor-level-thangs-tab-view
|
|
|
|
position: relative
|
|
|
|
|
|
|
|
$addPaletteIconColumns: 3
|
|
|
|
$extantThangsWidth: 300px
|
2014-01-06 20:11:57 -05:00
|
|
|
$addPaletteIconWidth: 40px
|
|
|
|
$addPaletteIconPadding: 2px
|
|
|
|
$addPaletteIconMargin: 2px
|
|
|
|
$addPaletteWidth: ($addPaletteIconWidth + 2 * $addPaletteIconPadding + 2 * $addPaletteIconMargin) * $addPaletteIconColumns + 20
|
2014-01-03 13:32:13 -05:00
|
|
|
|
|
|
|
.thangs-container
|
|
|
|
width: $extantThangsWidth
|
|
|
|
position: absolute
|
|
|
|
left: 0
|
|
|
|
top: 0
|
|
|
|
bottom: 0
|
|
|
|
|
|
|
|
h3
|
|
|
|
margin: 0 -20px 0 0
|
|
|
|
|
|
|
|
#thangs-treema
|
|
|
|
position: absolute
|
|
|
|
top: 40px
|
|
|
|
left: 0
|
|
|
|
right: 0
|
|
|
|
bottom: 0
|
|
|
|
overflow: scroll
|
|
|
|
|
|
|
|
.treema-children .treema-row *
|
|
|
|
cursor: pointer !important
|
|
|
|
|
|
|
|
.world-container
|
|
|
|
margin-left: $extantThangsWidth
|
|
|
|
margin-right: $addPaletteWidth
|
|
|
|
padding: 0 20px
|
|
|
|
box-sizing: border-box
|
|
|
|
|
|
|
|
h3
|
|
|
|
margin: 0 -10px 0 0
|
|
|
|
|
|
|
|
.add-thangs-palette
|
|
|
|
width: $addPaletteWidth
|
|
|
|
box-sizing: border-box
|
|
|
|
position: absolute
|
|
|
|
right: 0
|
|
|
|
top: 0
|
|
|
|
bottom: 0
|
|
|
|
|
|
|
|
#thangs-list
|
|
|
|
position: absolute
|
|
|
|
right: 0
|
|
|
|
top: 40px
|
|
|
|
bottom: 0
|
|
|
|
overflow: scroll
|
|
|
|
|
|
|
|
h3
|
|
|
|
margin: 0 -20px 0 0
|
|
|
|
width: 100%
|
|
|
|
|
|
|
|
.add-thang-palette-icon
|
2014-01-06 20:11:57 -05:00
|
|
|
position: relative
|
|
|
|
float: left
|
|
|
|
background: white
|
|
|
|
padding: $addPaletteIconPadding
|
|
|
|
margin: $addPaletteIconMargin
|
2014-01-03 13:32:13 -05:00
|
|
|
cursor: pointer
|
2014-01-06 20:11:57 -05:00
|
|
|
|
|
|
|
img
|
|
|
|
width: $addPaletteIconWidth
|
|
|
|
height: $addPaletteIconWidth
|
|
|
|
transition: box-shadow 0.25s ease-out
|
|
|
|
|
2014-01-03 13:32:13 -05:00
|
|
|
&.selected
|
|
|
|
border: 1px solid blue
|
|
|
|
margin: $addPaletteIconPadding - 1px
|
|
|
|
@include box-shadow(0px 5px 25px rgba(79, 79, 213, 0.6))
|
2014-01-06 20:11:57 -05:00
|
|
|
background: #add8e6
|
2014-01-03 13:32:13 -05:00
|
|
|
|
2014-01-14 01:29:58 -05:00
|
|
|
.world-container
|
2014-01-03 13:32:13 -05:00
|
|
|
position: relative
|
|
|
|
|
2014-01-14 01:29:58 -05:00
|
|
|
#canvas-wrapper
|
|
|
|
width: 100%
|
|
|
|
position: relative
|
|
|
|
|
|
|
|
// Below snatched from play/level.sass; should refactor?
|
|
|
|
|
|
|
|
canvas#surface
|
|
|
|
background-color: #ddd
|
|
|
|
width: 100%
|
|
|
|
display: block
|
|
|
|
z-index: 1
|
|
|
|
|
|
|
|
$GI: 0.5 // gradient intensity; can tweak this 0-1
|
|
|
|
|
|
|
|
.gradient
|
|
|
|
position: absolute
|
|
|
|
z-index: 10
|
|
|
|
|
|
|
|
#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: 0
|
|
|
|
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%)
|