From 6b67b498b3b1eec82e7bb7f34261e2c390506616 Mon Sep 17 00:00:00 2001 From: Nivesh Rajbhandari Date: Mon, 30 Apr 2012 16:04:13 -0700 Subject: Updating id to data-montage-id (and associated CSS, if necessary) in some of our custom ui controls (such as hottest, slider, etc.), materials panels and three-d section of the PI. Signed-off-by: Nivesh Rajbhandari --- .../materials-library-panel.css | 43 +++++++++------------- .../materials-library-panel.html | 14 +++---- 2 files changed, 24 insertions(+), 33 deletions(-) (limited to 'js/panels/Materials/materials-library-panel.reel') diff --git a/js/panels/Materials/materials-library-panel.reel/materials-library-panel.css b/js/panels/Materials/materials-library-panel.reel/materials-library-panel.css index fe88ebf6..bed3acfe 100755 --- a/js/panels/Materials/materials-library-panel.reel/materials-library-panel.css +++ b/js/panels/Materials/materials-library-panel.reel/materials-library-panel.css @@ -5,43 +5,34 @@ */ .materials_library_panel hr { - float: left; - clear: both; - width: 100%; - display: block; - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0.5, #1d1d1d), color-stop(0.75, #424242)); - border: none; - height: 2px; - margin: 4px 0px 4px 0px; + float: left; + clear: both; + width: 100%; + display: block; + background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0.5, #1d1d1d), color-stop(0.75, #424242)); + border: none; + height: 2px; + margin: 4px 0 4px 0; } -#ml_buttons { +.ml_buttons { clear:both; float: left; - margin: 0px -4px 0px 4px; + margin: 0 -4px 0 4px; width: 97%; } -#ml_buttons .nj-skinned{ - height: 22px; - overflow: hidden; - display: block; - cursor: pointer; - margin: 0px 1px; -} - -#ml_add_btn { - float: left; - width: 60px; -} - -#ml_copy_btn { +.ml_buttons .nj-skinned { + height: 22px; + overflow: hidden; + display: block; + cursor: pointer; + margin: 0 1px; float: left; width: 60px; } -#ml_delete_btn { +.ml_buttons .nj-skinned:last-child { float: right; - width: 60px; } \ No newline at end of file diff --git a/js/panels/Materials/materials-library-panel.reel/materials-library-panel.html b/js/panels/Materials/materials-library-panel.reel/materials-library-panel.html index 741ff6aa..7fc48a55 100755 --- a/js/panels/Materials/materials-library-panel.reel/materials-library-panel.html +++ b/js/panels/Materials/materials-library-panel.reel/materials-library-panel.html @@ -88,15 +88,15 @@ -
-
-
+
+
+

-
- - - +
+ + +
-- cgit v1.2.3 From a81fb74cd0f8c7a7da507fe7cb9ad94875687cc7 Mon Sep 17 00:00:00 2001 From: Nivesh Rajbhandari Date: Fri, 11 May 2012 12:11:14 -0700 Subject: Removing outdated tree-controller. Signed-off-by: Nivesh Rajbhandari --- .../Materials/materials-library-panel.reel/materials-library-panel.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/panels/Materials/materials-library-panel.reel') diff --git a/js/panels/Materials/materials-library-panel.reel/materials-library-panel.html b/js/panels/Materials/materials-library-panel.reel/materials-library-panel.html index 7fc48a55..b5d7a869 100755 --- a/js/panels/Materials/materials-library-panel.reel/materials-library-panel.html +++ b/js/panels/Materials/materials-library-panel.reel/materials-library-panel.html @@ -50,7 +50,7 @@ "prototype": "js/panels/Materials/materials-popup.reel" }, "materialsController" : { - "prototype": "js/controllers/tree-controller", + "prototype": "js/components/controllers/tree-controller", "properties" : { "branchKey" : "children", "labelKey" : "label", -- cgit v1.2.3