New editor layout.

This commit is contained in:
Scott Erickson 2014-01-28 13:16:50 -08:00
parent 407d2c7768
commit 065a1c4c27
3 changed files with 11 additions and 31 deletions

View file

@ -11,7 +11,6 @@
$BG: rgba(228, 207, 140, 1.0)
.outer-content
padding: 0 10px 10px
background-color: $BG
position: absolute
top: 0
@ -23,33 +22,34 @@
position: fixed
background-color: $BG
z-index: 100
left: 40px
right: 40px
left: 20px
right: 20px
margin-top: -10px
padding-top: 10px
.level-title-header
float: left
width: 500px
text-overflow: ellipsis
white-space: nowrap
.level-control-buttons
float: right
margin: 5px
& > *
margin: 10px 10px
.nav-tabs
margin-bottom: 10px
margin: 15px 30px
float: left
// keeps the editor tabs a certain height
#level-editor-tabs
position: absolute
left: 10px
right: 10px
top: 66px
bottom: 10px
left: 20px
right: 20px
top: 80px
bottom: 20px
.treema-root
background-color: white

View file

@ -2,27 +2,8 @@ extends /templates/base
block outer_content
.outer-content
nav.navbar.navbar-default
.navbar-header
a.navbar-brand
span(data-i18n="editor.level_title") Level Editor
span :
span.level-title #{level.attributes.name}
ul.nav.nav-pills
li.active
a(href="#editor-level-thangs-tab-view", data-toggle="tab", data-i18n="editor.level_tab_thangs") Thangs
li
a(href="#editor-level-scripts-tab-view", data-toggle="tab", data-i18n="editor.level_tab_scripts") Scripts
li
a(href="#editor-level-settings-tab-view", data-toggle="tab", data-i18n="editor.level_tab_settings") Settings
li
a(href="#editor-level-components-tab-view", data-toggle="tab", data-i18n="editor.level_tab_components") Components
li
a(href="#editor-level-systems-tab-view", data-toggle="tab", data-i18n="editor.level_tab_systems") Systems
//.top-controls-area
.top-controls-area
h2.level-title-header
span(data-i18n="editor.level_title") Level Editor
span :
@ -36,6 +17,7 @@ block outer_content
button(title="⌃↩ or ⌘↩: Play preview of current level", data-i18n="common.play")#play-button.btn.btn-inverse.banner Play!
button.btn.btn-inverse.banner.dropdown-toggle(data-toggle="dropdown")
i.icon-cog.icon-white
ul.dropdown-menu
li
@ -46,7 +28,6 @@ block outer_content
a(data-delay="3000", href="#", data-i18n="common.delay_3_sec") 3 seconds
a(data-delay="5000", href="#", data-i18n="common.delay_5_sec") 5 seconds
a(data-delay="90019001", href="#", data-i18n="common.manual") Manual
.clearfix
ul.nav.nav-tabs
li.active

View file

@ -1,2 +1 @@
h3(data-i18n="editor.level_settings_title") Settings
#settings-treema