aboutsummaryrefslogtreecommitdiff
path: root/js/panels
diff options
context:
space:
mode:
authorEric Guzman2012-05-22 13:18:12 -0700
committerEric Guzman2012-05-22 13:18:12 -0700
commitbaeff46187e106a238b23631fe35b9760b70dcc7 (patch)
treeb3a4742b17231f0e5f636a9c287e7d1f4b166718 /js/panels
parente7a3193bdc33856795f8b96c255fd0c7e2f189a3 (diff)
downloadninja-baeff46187e106a238b23631fe35b9760b70dcc7.tar.gz
CSS Style - Remove drag/drop UI stuff
Diffstat (limited to 'js/panels')
-rw-r--r--js/panels/css-panel/css-style.reel/css-style.css6
-rw-r--r--js/panels/css-panel/css-style.reel/css-style.js4
2 files changed, 5 insertions, 5 deletions
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 @@
9------------------------ */ 9------------------------ */
10.style-item { 10.style-item {
11 border-bottom: 1px solid rgba(0,0,0,0); 11 border-bottom: 1px solid rgba(0,0,0,0);
12 cursor: url(/js/../images/tools/hand_down.png), default; 12 /*cursor: url(/js/../images/tools/hand_down.png), default;*/
13 display: block; 13 display: block;
14 overflow: hidden; 14 overflow: hidden;
15 white-space: nowrap; 15 white-space: nowrap;
16 text-overflow: ellipsis; 16 text-overflow: ellipsis;
17} 17}
18.style-item:hover { 18.style-item:hover {
19 border-right: 3px double #999; 19 /*border-right: 3px double #999;*/
20 margin-right: 3px; 20 /*margin-right: 3px;*/
21} 21}
22 22
23/* ------------------------ 23/* ------------------------
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, {
374 draw : { 374 draw : {
375 value : function() { 375 value : function() {
376 if(this.empty) { 376 if(this.empty) {
377 this.element.draggable = false; 377 //this.element.draggable = false;
378 this.element.classList.add(this.emptyStyleClass); 378 this.element.classList.add(this.emptyStyleClass);
379 if(!this.addStyleButton.parentNode) { 379 if(!this.addStyleButton.parentNode) {
380 this.element.appendChild(this.addStyleButton); 380 this.element.appendChild(this.addStyleButton);
381 this.addStyleButton.addEventListener('click', this, false); 381 this.addStyleButton.addEventListener('click', this, false);
382 } 382 }
383 } else { 383 } else {
384 this.element.draggable = true; 384 //this.element.draggable = true;
385 this.element.classList.remove(this.emptyStyleClass); 385 this.element.classList.remove(this.emptyStyleClass);
386 if(this.addStyleButton.parentNode) { 386 if(this.addStyleButton.parentNode) {
387 this.element.removeChild(this.addStyleButton); 387 this.element.removeChild(this.addStyleButton);