aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcss/ninja.css4
-rwxr-xr-xjs/stage/stage-view.reel/stage-view.js8
-rwxr-xr-xscss/imports/scss/_MainWindow.scss10
-rw-r--r--scss/imports/scss/_Stage.scss13
4 files changed, 23 insertions, 12 deletions
diff --git a/css/ninja.css b/css/ninja.css
index 824a675a..96ae6caf 100755
--- a/css/ninja.css
+++ b/css/ninja.css
@@ -118,9 +118,9 @@ body { position: absolute; margin: 0px; width: 100%; height: 100%; background-co
118 118
119#sceneBar { height: 70px; background-color: #474747; } 119#sceneBar { height: 70px; background-color: #474747; }
120 120
121#mainContainer #rulerTop { background: url("../images/temp/ruler-top.png"); height: 15px; margin-bottom: 0px; display:none;} 121#mainContainer #rulerTop { background: gray; height: 15px; margin-bottom: 0px; }
122 122
123#rulerLeft { background: url("../images/temp/ruler-left.png"); width: 16px; display:none;} 123#rulerLeft { background: gray; width: 16px; }
124 124
125#stateBar { height: 20px; background-color: #282828; margin-bottom: 0px; } 125#stateBar { height: 20px; background-color: #282828; margin-bottom: 0px; }
126 126
diff --git a/js/stage/stage-view.reel/stage-view.js b/js/stage/stage-view.reel/stage-view.js
index cd19f361..46d74e13 100755
--- a/js/stage/stage-view.reel/stage-view.js
+++ b/js/stage/stage-view.reel/stage-view.js
@@ -198,14 +198,14 @@ exports.StageView = Montage.create(Component, {
198 }, 198 },
199 showRulers:{ 199 showRulers:{
200 value:function(){ 200 value:function(){
201 this.application.ninja.rulerTop.style.display = "block"; 201 this.application.ninja.rulerTop.style.background = "url('../images/temp/ruler-top.png')";
202 this.application.ninja.rulerLeft.style.display = "block"; 202 this.application.ninja.rulerLeft.style.background = "url('../images/temp/ruler-left.png')";
203 } 203 }
204 }, 204 },
205 hideRulers:{ 205 hideRulers:{
206 value:function(){ 206 value:function(){
207 this.application.ninja.rulerTop.style.display = "none"; 207 this.application.ninja.rulerTop.style.background = "rgb(128,128,128)";
208 this.application.ninja.rulerLeft.style.display = "none"; 208 this.application.ninja.rulerLeft.style.background = "rgb(128,128,128)";
209 } 209 }
210 }, 210 },
211 211
diff --git a/scss/imports/scss/_MainWindow.scss b/scss/imports/scss/_MainWindow.scss
index 0b0649dc..97344b1e 100755
--- a/scss/imports/scss/_MainWindow.scss
+++ b/scss/imports/scss/_MainWindow.scss
@@ -200,18 +200,16 @@
200} 200}
201 201
202#mainContainer #rulerTop { 202#mainContainer #rulerTop {
203 // TODO: temporary background please replace when component is implemented 203 // TODO: temporary background please replace when component is implemented
204 background: url("../images/temp/ruler-top.png"); 204 background:$color-stage;
205 height:15px; 205 height:15px;
206 margin-bottom: 0px; 206 margin-bottom: 0px;
207 display:none;
208} 207}
209 208
210#rulerLeft { 209#rulerLeft {
211 // TODO: temporary background please replace when component is implemented 210 // TODO: temporary background please replace when component is implemented
212 background: url("../images/temp/ruler-left.png"); 211 background:$color-stage;
213 width:16px; 212 width:16px;
214 display:none;
215} 213}
216 214
217#stateBar { 215#stateBar {
diff --git a/scss/imports/scss/_Stage.scss b/scss/imports/scss/_Stage.scss
index 7b7db576..587903d2 100644
--- a/scss/imports/scss/_Stage.scss
+++ b/scss/imports/scss/_Stage.scss
@@ -192,3 +192,16 @@
192 overflow-x: auto; 192 overflow-x: auto;
193 overflow-y: auto; 193 overflow-y: auto;
194} 194}
195
196.montage-editor-frame {
197 position:absolute;
198 z-index:7;
199 top: 0;
200 left:0;
201 display:none;
202 -webkit-user-select: initial;
203}
204.montage-editor {
205 padding:0px;
206 word-wrap: normal;
207} \ No newline at end of file