From e04903ed2d2e6754119550cb071e03878bb1b14b Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Mon, 18 Jun 2012 19:08:05 -0700 Subject: Objects Tray - Move back to binding view --- js/stage/binding-view.reel/binding-view.css | 11 +++++++++++ js/stage/binding-view.reel/binding-view.html | 10 ++++++++++ js/stage/stage.reel/stage.css | 18 ------------------ js/stage/stage.reel/stage.html | 12 ------------ 4 files changed, 21 insertions(+), 30 deletions(-) (limited to 'js/stage') diff --git a/js/stage/binding-view.reel/binding-view.css b/js/stage/binding-view.reel/binding-view.css index 37bc8318..543577d1 100755 --- a/js/stage/binding-view.reel/binding-view.css +++ b/js/stage/binding-view.reel/binding-view.css @@ -5,6 +5,7 @@ */ .bindingView { + height: 100%; position: absolute; width:100%; z-index: 12; @@ -23,3 +24,13 @@ z-index: 1; } +.objects-tray-container { + bottom: 10px; + position: absolute; + width: 100%; + display: -webkit-box; + -webkit-box-orient: horizontal; + -webkit-box-pack: center; + -webkit-box-align: center; + z-index: 2; +} \ No newline at end of file diff --git a/js/stage/binding-view.reel/binding-view.html b/js/stage/binding-view.reel/binding-view.html index e0c42194..91c9e397 100755 --- a/js/stage/binding-view.reel/binding-view.html +++ b/js/stage/binding-view.reel/binding-view.html @@ -27,6 +27,12 @@ "objects": {"<-": "@owner.bindables"} } }, + "objectsTray" : { + "prototype": "js/stage/objects-tray.reel", + "properties": { + "element": {"#": "objects-tray" } + } + }, "hud": { "prototype": "js/stage/binding-view.reel/binding-hud.reel", "properties": { @@ -57,6 +63,10 @@ +
+
+
+ diff --git a/js/stage/stage.reel/stage.css b/js/stage/stage.reel/stage.css index bc20c4f3..2271cd8a 100755 --- a/js/stage/stage.reel/stage.css +++ b/js/stage/stage.reel/stage.css @@ -48,24 +48,6 @@ width:2500px;/*to prevent scrolling of editor container in the middle of the page for short files*/ } -.stage-tray-container { - height: 100%; - position: absolute; - width: 100%; -} - -.objects-tray-container { - bottom: 10px; - position: absolute; - width: 100%; - display: -webkit-box; - -webkit-box-orient: horizontal; - -webkit-box-pack: center; - -webkit-box-align: center; - z-index: 2; -} - - span.CodeMirror-matchhighlight { background: #e9e9e9 } .CodeMirror-focused span.CodeMirror-matchhighlight { background: #e7e4ff; !important } div.CodeMirror span.CodeMirror-matchingbracket {color: #000 !important;background-color: #ffd500;} diff --git a/js/stage/stage.reel/stage.html b/js/stage/stage.reel/stage.html index acab4b1b..397af0b6 100755 --- a/js/stage/stage.reel/stage.html +++ b/js/stage/stage.reel/stage.html @@ -47,12 +47,6 @@ "element": {"#": "bindingView" } } }, - "objectsTray" : { - "prototype": "js/stage/objects-tray.reel", - "properties": { - "element": {"#": "objects-tray" } - } - }, "owner": { "prototype": "js/stage/stage.reel", "properties": { @@ -89,12 +83,6 @@ -
-
-
-
-
-
-- cgit v1.2.3