From baeff46187e106a238b23631fe35b9760b70dcc7 Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Tue, 22 May 2012 13:18:12 -0700 Subject: CSS Style - Remove drag/drop UI stuff --- js/panels/css-panel/css-style.reel/css-style.css | 6 +++--- js/panels/css-panel/css-style.reel/css-style.js | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'js/panels/css-panel') diff --git a/js/panels/css-panel/css-style.reel/css-style.css b/js/panels/css-panel/css-style.reel/css-style.css index 4f7f6b9c..524884bd 100644 --- a/js/panels/css-panel/css-style.reel/css-style.css +++ b/js/panels/css-panel/css-style.reel/css-style.css @@ -9,15 +9,15 @@ ------------------------ */ .style-item { border-bottom: 1px solid rgba(0,0,0,0); - cursor: url(/js/../images/tools/hand_down.png), default; + /*cursor: url(/js/../images/tools/hand_down.png), default;*/ display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .style-item:hover { - border-right: 3px double #999; - margin-right: 3px; + /*border-right: 3px double #999;*/ + /*margin-right: 3px;*/ } /* ------------------------ diff --git a/js/panels/css-panel/css-style.reel/css-style.js b/js/panels/css-panel/css-style.reel/css-style.js index 327448b0..8fd0f156 100644 --- a/js/panels/css-panel/css-style.reel/css-style.js +++ b/js/panels/css-panel/css-style.reel/css-style.js @@ -374,14 +374,14 @@ exports.CssStyle = Montage.create(Component, { draw : { value : function() { if(this.empty) { - this.element.draggable = false; + //this.element.draggable = false; this.element.classList.add(this.emptyStyleClass); if(!this.addStyleButton.parentNode) { this.element.appendChild(this.addStyleButton); this.addStyleButton.addEventListener('click', this, false); } } else { - this.element.draggable = true; + //this.element.draggable = true; this.element.classList.remove(this.emptyStyleClass); if(this.addStyleButton.parentNode) { this.element.removeChild(this.addStyleButton); -- cgit v1.2.3