aboutsummaryrefslogtreecommitdiff
path: root/js/panels/css-panel
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/css-panel')
-rw-r--r--js/panels/css-panel/css-style.reel/css-style.js4
-rw-r--r--js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html21
-rw-r--r--js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.js5
-rw-r--r--js/panels/css-panel/style-sheet.reel/style-sheet.html2
4 files changed, 10 insertions, 22 deletions
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 84841f5b..29b3b34d 100644
--- a/js/panels/css-panel/css-style.reel/css-style.js
+++ b/js/panels/css-panel/css-style.reel/css-style.js
@@ -8,6 +8,10 @@ var Montage = require("montage/core/core").Montage,
8 Component = require("montage/ui/component").Component; 8 Component = require("montage/ui/component").Component;
9 9
10exports.CssStyle = Montage.create(Component, { 10exports.CssStyle = Montage.create(Component, {
11 declaration: {
12 value: null
13 },
14
11 delegate : { value: null }, 15 delegate : { value: null },
12 disabledClass : { value: 'style-item-disabled' }, 16 disabledClass : { value: 'style-item-disabled' },
13 editingStyleClass : { value: 'edit-style-item' }, 17 editingStyleClass : { value: 'edit-style-item' },
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 9aab5649..8b0c3101 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
@@ -56,27 +56,6 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot
56 } 56 }
57 } 57 }
58 </script> 58 </script>
59 <script type="text/json">
60 "declaration": {
61 "module": "js/panels/css-panel/declaration.reel",
62 "name": "Declaration",
63 "properties": {
64 "element": {"#": "declaration-list"}
65 },
66 "bindings": {
67 "focusDelegate" : {
68 "boundObject": {"@": "owner"},
69 "boundObjectPropertyPath": "focusDelegate",
70 "oneway": true
71 },
72 "declaration" : {
73 "boundObject": {"@": "owner"},
74 "boundObjectPropertyPath": "_declaration",
75 "oneway": true
76 }
77 }
78 },
79 </script>
80</head> 59</head>
81<body> 60<body>
82<li data-montage-id="rule-item" class="css-style-rule-item"> 61<li data-montage-id="rule-item" class="css-style-rule-item">
diff --git a/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.js b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.js
index 54181bf3..5361e5cc 100644
--- a/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.js
+++ b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.js
@@ -8,6 +8,11 @@ var Montage = require("montage/core/core").Montage,
8 Component = require("montage/ui/component").Component; 8 Component = require("montage/ui/component").Component;
9 9
10exports.CssStyleRule = Montage.create(Component, { 10exports.CssStyleRule = Montage.create(Component, {
11
12 selectorField: {
13 value: null
14 },
15
11 addClassNameOnChange : { 16 addClassNameOnChange : {
12 value: null 17 value: null
13 }, 18 },
diff --git a/js/panels/css-panel/style-sheet.reel/style-sheet.html b/js/panels/css-panel/style-sheet.reel/style-sheet.html
index 7e27dd93..d08453fa 100644
--- a/js/panels/css-panel/style-sheet.reel/style-sheet.html
+++ b/js/panels/css-panel/style-sheet.reel/style-sheet.html
@@ -27,7 +27,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot
27 "properties": { 27 "properties": {
28 "element": {"#": "sheet-name"}, 28 "element": {"#": "sheet-name"},
29 "identifier": "nameText", 29 "identifier": "nameText",
30 "defaultText": "Style sheet" 30 "defaultValue": "Style sheet"
31 }, 31 },
32 "bindings": { 32 "bindings": {
33 "value": {"<-": "@owner.name"} 33 "value": {"<-": "@owner.name"}