From 1433f2bdf2e5b8c5c18fed5e9c17fd983ab3606d Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Fri, 2 Mar 2012 10:55:51 -0800 Subject: CSS Panel - Updating components, created toolbar components, and small changes to styles controller --- .../css-style-rule.reel/css-style-rule.html | 57 ++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html (limited to 'js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html') diff --git a/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html new file mode 100644 index 00000000..e8661bf9 --- /dev/null +++ b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html @@ -0,0 +1,57 @@ + + + + + + + + + +
+ + +
+ + \ No newline at end of file -- cgit v1.2.3 From a43de0b808db09ed76a94bf43ca0108bedeb2e62 Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Mon, 12 Mar 2012 15:25:53 -0700 Subject: CSS Panel Update - Style Rule update --- .../css-style-rule.reel/css-style-rule.html | 24 +++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) (limited to 'js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html') diff --git a/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html index e8661bf9..2f5d69af 100644 --- a/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html +++ b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html @@ -14,7 +14,8 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot "module" : "js/panels/css-panel/rule-components/css-style-rule.reel", "name" : "CssStyleRule", "properties" : { - "element" : {"#" : "rule-item"} + "element" : {"#" : "rule-item"}, + "declarationComponent": {"@": "declaration"} } }, "sheetName": { @@ -44,14 +45,31 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot "oneway": true } } + }, + "declaration": { + "module": "js/panels/css-panel/declaration.reel", + "name": "Declaration", + "properties": { + "element": {"#": "declaration-list"} + } + }, + "sheetLink": { + "module": "montage/ui/anchor.reel", + "name": "Anchor", + "properties": { + "element": {"#": "style-sheet-name"} + } } }
- - +
+ + +
+
\ No newline at end of file -- cgit v1.2.3 From 4afb01e3b8261ab5e9492bfc63ad17e44dfcb934 Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Fri, 16 Mar 2012 15:08:29 -0700 Subject: CSS Panel Updates - CSS tweaks and cleanup --- .../css-panel/rule-components/css-style-rule.reel/css-style-rule.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html') diff --git a/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html index 2f5d69af..de64f81f 100644 --- a/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html +++ b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html @@ -64,12 +64,12 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot -
+
  • -
  • + \ No newline at end of file -- cgit v1.2.3 From 0a4672001ac5122c512087779e57dc07de4ec1b7 Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Thu, 12 Apr 2012 11:31:39 -0700 Subject: CSS Style Rule - Make selector editable --- .../rule-components/css-style-rule.reel/css-style-rule.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html') diff --git a/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html index de64f81f..1042d29e 100644 --- a/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html +++ b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html @@ -33,9 +33,10 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot } }, "selector": { - "module": "montage/ui/dynamic-text.reel", - "name" : "DynamicText", + "module": "js/components/hintable.reel", + "name" : "Hintable", "properties": { + "startOnEvent": "click", "element": {"#": "rule-selector"} }, "bindings": { @@ -64,7 +65,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot -
  • +
  • -- cgit v1.2.3 From 4332599afffae987a18bb197fcfdd09bc2e94d2b Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Mon, 30 Apr 2012 13:45:52 -0700 Subject: CSS Style Rule - Add code for changing selectors and showing unapplied rules --- .../rule-components/css-style-rule.reel/css-style-rule.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html') diff --git a/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html index 1042d29e..bf101719 100644 --- a/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html +++ b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html @@ -15,6 +15,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot "name" : "CssStyleRule", "properties" : { "element" : {"#" : "rule-item"}, + "selectorField": {"@": "selector"}, "declarationComponent": {"@": "declaration"} } }, @@ -52,6 +53,18 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot "name": "Declaration", "properties": { "element": {"#": "declaration-list"} + }, + "bindings": { + "focusDelegate" : { + "boundObject": {"@": "owner"}, + "boundObjectPropertyPath": "focusDelegate", + "oneway": true + }, + "declaration" : { + "boundObject": {"@": "owner"}, + "boundObjectPropertyPath": "_declaration", + "oneway": true + } } }, "sheetLink": { -- cgit v1.2.3 From eb80f8a610100f908b5cb9ffc65bfa94f8a23c21 Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Tue, 8 May 2012 13:26:36 -0700 Subject: CSS Panel - Create non-tree declaration (optimized). And add updating functionality. --- .../css-style-rule.reel/css-style-rule.html | 25 ++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) (limited to 'js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html') diff --git a/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html index bf101719..05ea669f 100644 --- a/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html +++ b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html @@ -49,8 +49,8 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot } }, "declaration": { - "module": "js/panels/css-panel/declaration.reel", - "name": "Declaration", + "module": "js/panels/css-panel/style-declaration.reel", + "name": "StyleDeclaration", "properties": { "element": {"#": "declaration-list"} }, @@ -76,6 +76,27 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot } } +
  • -- cgit v1.2.3 From 1c3da2901f454ad2c18e20216bb2517740a1c080 Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Tue, 22 May 2012 14:28:00 -0700 Subject: CSS Panel - Update components to use new serialization format --- .../css-style-rule.reel/css-style-rule.html | 40 ++++++---------------- 1 file changed, 10 insertions(+), 30 deletions(-) (limited to 'js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html') diff --git a/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html index 05ea669f..f203b61f 100644 --- a/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html +++ b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html @@ -11,8 +11,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot