aboutsummaryrefslogtreecommitdiff
path: root/js/stage
diff options
context:
space:
mode:
authorEric Guzman2012-06-19 01:04:26 -0700
committerEric Guzman2012-06-19 01:04:26 -0700
commit5260d3dfd99d79924c4aaa3ab798e90c7d328d7d (patch)
treedc3e93a723a1fea3ee0f1e5b0e5d1936175d502c /js/stage
parentfe3a9e7990024293b39fac815a7e340a3b21859a (diff)
downloadninja-5260d3dfd99d79924c4aaa3ab798e90c7d328d7d.tar.gz
Binding Hud CSS Change
Diffstat (limited to 'js/stage')
-rwxr-xr-xjs/stage/binding-view.reel/binding-hud.reel/binding-hud.css22
-rwxr-xr-xjs/stage/binding-view.reel/binding-view.js3
2 files changed, 13 insertions, 12 deletions
diff --git a/js/stage/binding-view.reel/binding-hud.reel/binding-hud.css b/js/stage/binding-view.reel/binding-hud.reel/binding-hud.css
index 1c75b03a..76b8e37e 100755
--- a/js/stage/binding-view.reel/binding-hud.reel/binding-hud.css
+++ b/js/stage/binding-view.reel/binding-hud.reel/binding-hud.css
@@ -6,14 +6,13 @@
6 6
7.bindingHud { 7.bindingHud {
8 position: absolute; 8 position: absolute;
9 background: rgba(0, 0, 0, 0.8); 9 background: rgba(0, 0, 0, 0.85);
10 padding: 0px; 10 /*padding: 0px;*/
11 color: #FFF; 11 color: #C4C4C4;
12 font-size: 11px; 12 font-size: 11px;
13 box-shadow: 2px 2px 3px black; 13 box-shadow: inset 0px 0px 0px 0px #CCC;
14 border-radius: 3px; 14 border-radius: 6px;
15 padding: 3px; 15 padding: 3px 3px 8px;
16 padding-top:0px;
17 border:1px solid #000; 16 border:1px solid #000;
18 text-shadow: 1px 1px 0px #000; 17 text-shadow: 1px 1px 0px #000;
19} 18}
@@ -25,18 +24,19 @@
25 line-height: 20px; 24 line-height: 20px;
26 background-position: left center; 25 background-position: left center;
27 padding-top: 2px; 26 padding-top: 2px;
27 color: #EBE6E6;
28} 28}
29 29
30.bindingHud .hudRepetition { 30.bindingHud .hudRepetition {
31 background: rgba(0, 0, 0, 0.3); 31 /*background: rgba(0, 0, 0, 0.3);*/
32 line-height:16px; 32 line-height:16px;
33 box-shadow: inset 0px 0px 4px #333, 1px 1px 0px #3A3A3A; 33 /*box-shadow: inset 0px 0px 4px #333, 1px 1px 0px #3A3A3A;*/
34 min-width: 80px; 34 min-width: 80px;
35} 35}
36 36
37.bindingHud .hudOption { 37.bindingHud .hudOption {
38 position:relative; 38 position:relative;
39 border-bottom:1px solid #505050; 39 /*border-bottom:1px solid #505050;*/
40 line-height:16px; 40 line-height:16px;
41 padding:1px 20px 1px 10px; 41 padding:1px 20px 1px 10px;
42} 42}
@@ -63,7 +63,7 @@
63 height: 12px; 63 height: 12px;
64 border-left: 0px; 64 border-left: 0px;
65 display: block; 65 display: block;
66 box-shadow: inset 0px 0px 6px #AAA; 66 box-shadow: inset 0px 0px 0px 4px rgba(170, 170, 170, 0.34);/*inset 0px 0px 6px #AAA;*/
67 /*border-bottom-right-radius: 50%; 67 /*border-bottom-right-radius: 50%;
68 border-top-right-radius: 50%;*/ 68 border-top-right-radius: 50%;*/
69 69
diff --git a/js/stage/binding-view.reel/binding-view.js b/js/stage/binding-view.reel/binding-view.js
index d2f653fa..c1e0fcbb 100755
--- a/js/stage/binding-view.reel/binding-view.js
+++ b/js/stage/binding-view.reel/binding-view.js
@@ -342,7 +342,8 @@ exports.BindingView = Montage.create(Component, {
342// var nodeEl = new webkitConvertPointFromPageToNode(this.element, mouseUpPoint); 342// var nodeEl = new webkitConvertPointFromPageToNode(this.element, mouseUpPoint);
343 this.element.style.zIndex = "12"; 343 this.element.style.zIndex = "12";
344 var nodeEl = document.elementFromPoint(e.pageX, e.pageY); 344 var nodeEl = document.elementFromPoint(e.pageX, e.pageY);
345 alert(nodeEl.parentElement.controller.title); 345 //alert(nodeEl.parentElement.controller.title);
346 debugger;
346 this.element.style.zIndex = null; 347 this.element.style.zIndex = null;
347 this._isDrawingConnection = false; 348 this._isDrawingConnection = false;
348 this.needsDraw = true; 349 this.needsDraw = true;