From 5260d3dfd99d79924c4aaa3ab798e90c7d328d7d Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Tue, 19 Jun 2012 01:04:26 -0700 Subject: Binding Hud CSS Change --- .../binding-hud.reel/binding-hud.css | 22 +++++++++++----------- js/stage/binding-view.reel/binding-view.js | 3 ++- 2 files changed, 13 insertions(+), 12 deletions(-) (limited to 'js/stage') 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 @@ .bindingHud { position: absolute; - background: rgba(0, 0, 0, 0.8); - padding: 0px; - color: #FFF; + background: rgba(0, 0, 0, 0.85); + /*padding: 0px;*/ + color: #C4C4C4; font-size: 11px; - box-shadow: 2px 2px 3px black; - border-radius: 3px; - padding: 3px; - padding-top:0px; + box-shadow: inset 0px 0px 0px 0px #CCC; + border-radius: 6px; + padding: 3px 3px 8px; border:1px solid #000; text-shadow: 1px 1px 0px #000; } @@ -25,18 +24,19 @@ line-height: 20px; background-position: left center; padding-top: 2px; + color: #EBE6E6; } .bindingHud .hudRepetition { - background: rgba(0, 0, 0, 0.3); + /*background: rgba(0, 0, 0, 0.3);*/ line-height:16px; - box-shadow: inset 0px 0px 4px #333, 1px 1px 0px #3A3A3A; + /*box-shadow: inset 0px 0px 4px #333, 1px 1px 0px #3A3A3A;*/ min-width: 80px; } .bindingHud .hudOption { position:relative; - border-bottom:1px solid #505050; + /*border-bottom:1px solid #505050;*/ line-height:16px; padding:1px 20px 1px 10px; } @@ -63,7 +63,7 @@ height: 12px; border-left: 0px; display: block; - box-shadow: inset 0px 0px 6px #AAA; + box-shadow: inset 0px 0px 0px 4px rgba(170, 170, 170, 0.34);/*inset 0px 0px 6px #AAA;*/ /*border-bottom-right-radius: 50%; border-top-right-radius: 50%;*/ 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, { // var nodeEl = new webkitConvertPointFromPageToNode(this.element, mouseUpPoint); this.element.style.zIndex = "12"; var nodeEl = document.elementFromPoint(e.pageX, e.pageY); - alert(nodeEl.parentElement.controller.title); + //alert(nodeEl.parentElement.controller.title); + debugger; this.element.style.zIndex = null; this._isDrawingConnection = false; this.needsDraw = true; -- cgit v1.2.3