mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-30 19:06:59 -05:00
Refactored how the editor sets up its special nav through base.jade.
This commit is contained in:
parent
4c1143f026
commit
6057bd94b9
2 changed files with 86 additions and 86 deletions
|
@ -1,10 +1,10 @@
|
||||||
#editor-level-view
|
#editor-level-view
|
||||||
|
&, #level-editor-top-nav
|
||||||
|
min-width: 1024px
|
||||||
|
|
||||||
a
|
a
|
||||||
font-family: helvetica, arial, sans serif
|
font-family: helvetica, arial, sans serif
|
||||||
|
|
||||||
#top-nav
|
|
||||||
display: none
|
|
||||||
|
|
||||||
position: absolute
|
position: absolute
|
||||||
top: 0px
|
top: 0px
|
||||||
left: 0px
|
left: 0px
|
||||||
|
@ -55,7 +55,7 @@
|
||||||
.outer-content
|
.outer-content
|
||||||
background-color: $BG
|
background-color: $BG
|
||||||
position: absolute
|
position: absolute
|
||||||
top: 0
|
top: 35px
|
||||||
bottom: 0
|
bottom: 0
|
||||||
left: 0
|
left: 0
|
||||||
right: 0
|
right: 0
|
||||||
|
@ -73,10 +73,10 @@
|
||||||
|
|
||||||
#level-editor-tabs
|
#level-editor-tabs
|
||||||
position: absolute
|
position: absolute
|
||||||
left: 20px
|
left: 15px
|
||||||
right: 20px
|
right: 15px
|
||||||
top: 46px
|
top: 15px
|
||||||
bottom: 20px
|
bottom: 15px
|
||||||
|
|
||||||
.treema-root
|
.treema-root
|
||||||
background-color: white
|
background-color: white
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
extends /templates/base
|
extends /templates/base
|
||||||
|
|
||||||
block outer_content
|
block header
|
||||||
.outer-content
|
|
||||||
|
|
||||||
if false
|
if false
|
||||||
nav.navbar.navbar-default(role='navigation')#level-editor-top-nav
|
nav.navbar.navbar-default(role='navigation')#level-editor-top-nav
|
||||||
.container-fluid
|
.container-fluid
|
||||||
|
@ -85,6 +83,8 @@ block outer_content
|
||||||
li
|
li
|
||||||
a(data-toggle="coco-modal", data-target="modal/contact", data-i18n="nav.contact") Email
|
a(data-toggle="coco-modal", data-target="modal/contact", data-i18n="nav.contact") Email
|
||||||
|
|
||||||
|
block outer_content
|
||||||
|
.outer-content
|
||||||
div.tab-content#level-editor-tabs
|
div.tab-content#level-editor-tabs
|
||||||
div.tab-pane.active#editor-level-thangs-tab-view
|
div.tab-pane.active#editor-level-thangs-tab-view
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue