diff options
Diffstat (limited to 'js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html')
-rw-r--r-- | js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html | 110 |
1 files changed, 110 insertions, 0 deletions
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..05ea669f --- /dev/null +++ b/js/panels/css-panel/rule-components/css-style-rule.reel/css-style-rule.html | |||
@@ -0,0 +1,110 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <!-- <copyright> | ||
3 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
4 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | ||
5 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | ||
6 | </copyright> --> | ||
7 | <html lang="en"> | ||
8 | <head> | ||
9 | <meta http-equiv="content-type" content="text/html; charset=utf-8" /> | ||
10 | <link href="css-style-rule.css" rel="stylesheet" type="text/css"> | ||
11 | <script type="text/montage-serialization"> | ||
12 | { | ||
13 | "owner": { | ||
14 | "module" : "js/panels/css-panel/rule-components/css-style-rule.reel", | ||
15 | "name" : "CssStyleRule", | ||
16 | "properties" : { | ||
17 | "element" : {"#" : "rule-item"}, | ||
18 | "selectorField": {"@": "selector"}, | ||
19 | "declarationComponent": {"@": "declaration"} | ||
20 | } | ||
21 | }, | ||
22 | "sheetName": { | ||
23 | "module": "montage/ui/dynamic-text.reel", | ||
24 | "name" : "DynamicText", | ||
25 | "properties": { | ||
26 | "element": {"#": "style-sheet-name"} | ||
27 | }, | ||
28 | "bindings": { | ||
29 | "value" : { | ||
30 | "boundObject": {"@": "owner"}, | ||
31 | "boundObjectPropertyPath": "sheetName", | ||
32 | "oneway": true | ||
33 | } | ||
34 | } | ||
35 | }, | ||
36 | "selector": { | ||
37 | "module": "js/components/hintable.reel", | ||
38 | "name" : "Hintable", | ||
39 | "properties": { | ||
40 | "startOnEvent": "click", | ||
41 | "element": {"#": "rule-selector"} | ||
42 | }, | ||
43 | "bindings": { | ||
44 | "value" : { | ||
45 | "boundObject": {"@": "owner"}, | ||
46 | "boundObjectPropertyPath": "selector", | ||
47 | "oneway": true | ||
48 | } | ||
49 | } | ||
50 | }, | ||
51 | "declaration": { | ||
52 | "module": "js/panels/css-panel/style-declaration.reel", | ||
53 | "name": "StyleDeclaration", | ||
54 | "properties": { | ||
55 | "element": {"#": "declaration-list"} | ||
56 | }, | ||
57 | "bindings": { | ||
58 | "focusDelegate" : { | ||
59 | "boundObject": {"@": "owner"}, | ||
60 | "boundObjectPropertyPath": "focusDelegate", | ||
61 | "oneway": true | ||
62 | }, | ||
63 | "declaration" : { | ||
64 | "boundObject": {"@": "owner"}, | ||
65 | "boundObjectPropertyPath": "_declaration", | ||
66 | "oneway": true | ||
67 | } | ||
68 | } | ||
69 | }, | ||
70 | "sheetLink": { | ||
71 | "module": "montage/ui/anchor.reel", | ||
72 | "name": "Anchor", | ||
73 | "properties": { | ||
74 | "element": {"#": "style-sheet-name"} | ||
75 | } | ||
76 | } | ||
77 | } | ||
78 | </script> | ||
79 | <script type="text/json"> | ||
80 | "declaration": { | ||
81 | "module": "js/panels/css-panel/declaration.reel", | ||
82 | "name": "Declaration", | ||
83 | "properties": { | ||
84 | "element": {"#": "declaration-list"} | ||
85 | }, | ||
86 | "bindings": { | ||
87 | "focusDelegate" : { | ||
88 | "boundObject": {"@": "owner"}, | ||
89 | "boundObjectPropertyPath": "focusDelegate", | ||
90 | "oneway": true | ||
91 | }, | ||
92 | "declaration" : { | ||
93 | "boundObject": {"@": "owner"}, | ||
94 | "boundObjectPropertyPath": "_declaration", | ||
95 | "oneway": true | ||
96 | } | ||
97 | } | ||
98 | }, | ||
99 | </script> | ||
100 | </head> | ||
101 | <body> | ||
102 | <li data-montage-id="rule-item" class="css-style-rule-item"> | ||
103 | <div class="style-rule-heading"> | ||
104 | <a href="#" id="style-sheet-name" class="style-sheet-name"></a> | ||
105 | <span id="rule-selector" class="nj-css-selector"></span> | ||
106 | </div> | ||
107 | <dl id="declaration-list"></dl> | ||
108 | </li> | ||
109 | </body> | ||
110 | </html> \ No newline at end of file | ||