aboutsummaryrefslogtreecommitdiff
path: root/js/panels
diff options
context:
space:
mode:
authorArmen Kesablyan2012-06-15 15:19:56 -0700
committerArmen Kesablyan2012-06-15 15:19:56 -0700
commit9184efdaff88d3ce0e949dbe7ccbb3324dbfaae9 (patch)
tree8b2616eaaf354a6b444bdcd1422006abb708e5f5 /js/panels
parent022e2ba65070ee1e5eb2d4b197b88768a1ea3f4f (diff)
parentc7b5f04d41f54ccabfb385a02c47f131383797d8 (diff)
downloadninja-9184efdaff88d3ce0e949dbe7ccbb3324dbfaae9.tar.gz
Merge pull request #14 from ericguzman/binding
Binding
Diffstat (limited to 'js/panels')
-rwxr-xr-xjs/panels/PanelContainer.reel/PanelContainer.html14
-rw-r--r--js/panels/objects/object.reel/object.css9
2 files changed, 5 insertions, 18 deletions
diff --git a/js/panels/PanelContainer.reel/PanelContainer.html b/js/panels/PanelContainer.reel/PanelContainer.html
index 9842a1d1..ed6e8463 100755
--- a/js/panels/PanelContainer.reel/PanelContainer.html
+++ b/js/panels/PanelContainer.reel/PanelContainer.html
@@ -94,16 +94,6 @@
94 } 94 }
95 }, 95 },
96 96
97 "panel_8": {
98 "prototype": "js/panels/Panel.reel",
99 "properties": {
100 "element": {"#": "panel_8"}
101 },
102 "bindings": {
103 "currentDocument": {"<-": "@owner.currentDocument"}
104 }
105 },
106
107 "owner": { 97 "owner": {
108 "prototype": "js/panels/PanelContainer.reel", 98 "prototype": "js/panels/PanelContainer.reel",
109 "properties": { 99 "properties": {
@@ -116,8 +106,7 @@
116 "panel_4": {"@": "panel_4"}, 106 "panel_4": {"@": "panel_4"},
117 "panel_5": {"@": "panel_5"}, 107 "panel_5": {"@": "panel_5"},
118 "panel_6": {"@": "panel_6"}, 108 "panel_6": {"@": "panel_6"},
119 "panel_7": {"@": "panel_7"}, 109 "panel_7": {"@": "panel_7"}
120 "panel_8": {"@": "panel_8"}
121 }, 110 },
122 "listeners": [ 111 "listeners": [
123 { 112 {
@@ -149,7 +138,6 @@
149 <article data-montage-id="panel_5"></article> 138 <article data-montage-id="panel_5"></article>
150 <article data-montage-id="panel_6"></article> 139 <article data-montage-id="panel_6"></article>
151 <article data-montage-id="panel_7"></article> 140 <article data-montage-id="panel_7"></article>
152 <article data-montage-id="panel_8"></article>
153 </article> 141 </article>
154 </section> 142 </section>
155</body> 143</body>
diff --git a/js/panels/objects/object.reel/object.css b/js/panels/objects/object.reel/object.css
index 64b2dbcc..f090ade6 100644
--- a/js/panels/objects/object.reel/object.css
+++ b/js/panels/objects/object.reel/object.css
@@ -22,7 +22,7 @@
22.objects-list .list-item { 22.objects-list .list-item {
23 list-style-type: none; 23 list-style-type: none;
24 float: left; 24 float: left;
25 width: 80px; 25 width: 70px;
26 overflow: hidden; 26 overflow: hidden;
27 text-overflow: ellipsis; 27 text-overflow: ellipsis;
28} 28}
@@ -32,7 +32,7 @@
32 ------------------- */ 32 ------------------- */
33 33
34.object-icon { 34.object-icon {
35 background-color: rgba(0, 0, 0, 0.4); 35 background-color: rgba(0, 0, 0, 0.6);
36 /* red owner/crate */ 36 /* red owner/crate */
37 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAACoZJREFUeNqsV2lsHOUZfufYmZ09vF6vE3t9YSc%2ByEWC7YAhbuM0B04TBDVQEGrVVmqpKrUS%2FVOhohQKglYtUlWEkJBKKaWiqG4EciHFMU5iJ8RJnDhOiG878b3rY9d7H7Nz9PkWEgVIaaj4pLFmx%2FN97%2FM%2B7%2FMew9FNrkuXLlE6nSZJkigWi0mZTKbcNM0duC7g2UWn05nYtGkTfdnF%2Fa8Xzp07R3V1ddTf3y8lEonNePSwxWLZL8tyhdVqlTRN0wFoBoBadV3%2FW15e3qWNGzca%2FzeAy5cv05o1a7L3MGpVVfUujuO%2BI4riHhgstNlsImMBnmffYfdsJZNJikQiKkAOAczreP8tvOsDmJsDMDw8zKgleMenUqm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xsE1EIuIdJExlJZ%2BcPr0wFG%2F74PKeHxLJBzkUjVVpq5rHDuYrcnuY7Tin59XPuwe9AcCI1eam7WnnnvuW5h8HMxwT0%2BPOTIyMn%2FixInfsFENW%2BKfZYAtFSCW0cFG%2FX5%2FDL9vgybk6qoqfs%2BePV6wJ%2Fy598zCuKzEy0pLFEHgLaweQD%2FxaEd7omBiorfTZuu67YknmnY2N38NPUO6ePEiHTt2TIPho7h%2BGwgEDuNcVgXNGwHIMoFrGU1lDJvHMSHVZTKak80HtXW1hZVrK6V%2Ftb3TWVVVWYFh1cYYQBsfSHZ2dkw038P%2F4MCBH23dutWbQM%2FoOXmSuru7%2Fe3t7S%2BPj4%2B%2FDB30XKX%2BRhq4fjGBRbBhFhsvY75bCyYKPJ58DmO2cscdd1bDawEFRWIaAAvxoua9Jfe3tGxHk7FMXJ6g3jNnDMT6o46OjucR0rdx3giuxGcNCV8wsjOUcdSGeYhzEKEpQMzLoQu%2BoqIcmCQJdGanm9raWvf2pqZVmIK4k%2FD63LmziePHj7eeOnXqBThxDOf4mMhvZES4iY%2BXBITtx9w4AAXrALAJ1tF1RQp%2BAqC4uIRjxaqrq4vOnz8%2FjUH3DxDzawDdj%2F3h6yn%2F7BJv8gsqxubGoaGhIEqvP5NRf15Y6HVlaUIhunChn%2FUEDe2ZCe2PeMxUvvTfvP6yDFxdOvMGaxIZMocZYhMEmsM0MDc3F4D3f8Kn3Et4p%2FcToRlfycfpDRarnquQFdtaWloex3SkHzly5C8o4914PsdS%2BSv9Ov6C5YAeCljzQoawvI7crNfXr%2F8IMADlMDTD%2BOWcSAAAAABJRU5ErkJggg%3D%3D);
38 background-position: center center; 38 background-position: center center;
@@ -40,7 +40,7 @@
40 border: 1px solid rgba(0, 0, 0, 0); 40 border: 1px solid rgba(0, 0, 0, 0);
41 border-radius: 5px; 41 border-radius: 5px;
42 height: 50px; 42 height: 50px;
43 margin: 0 15px 5px; 43 margin: 0 auto 5px;
44 width: 50px; 44 width: 50px;
45} 45}
46.object-label { 46.object-label {
@@ -50,8 +50,7 @@
50} 50}
51 51
52.object-icon:hover { 52.object-icon:hover {
53 border: 1px solid rgba(0, 0, 0, 0.4); 53 background-color: rgba(0, 0, 0, 0.4);
54 box-shadow: 0 0 1px 1px #474747;
55} 54}
56 55
57.object-icon-component.object-icon { 56.object-icon-component.object-icon {