aboutsummaryrefslogtreecommitdiff
path: root/js/panels/properties.reel
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-03-01 21:49:44 -0800
committerNivesh Rajbhandari2012-03-01 21:49:44 -0800
commit50058746779f714ed9b0287f49e56c9f0d35593e (patch)
tree8bfcb041824bfb492765ff814bf8576847a11436 /js/panels/properties.reel
parent500426dea0ca95a6b45be8ea8d132cfdb4d2c940 (diff)
parentff0a956f33df034e9a009cfcb8999e469456a4b5 (diff)
downloadninja-50058746779f714ed9b0287f49e56c9f0d35593e.tar.gz
Merge branch 'refs/heads/ninja-internal' into WebGLFixes
Diffstat (limited to 'js/panels/properties.reel')
-rwxr-xr-xjs/panels/properties.reel/properties.css299
-rwxr-xr-xjs/panels/properties.reel/properties.html182
-rwxr-xr-xjs/panels/properties.reel/properties.js415
-rwxr-xr-xjs/panels/properties.reel/section.reel/section.html50
-rwxr-xr-xjs/panels/properties.reel/section.reel/section.js30
-rwxr-xr-xjs/panels/properties.reel/sections/custom-rows/color-select.reel/color-select.html53
-rwxr-xr-xjs/panels/properties.reel/sections/custom-rows/color-select.reel/color-select.js83
-rwxr-xr-xjs/panels/properties.reel/sections/custom-rows/dual-row.reel/dual-row.html67
-rwxr-xr-xjs/panels/properties.reel/sections/custom-rows/dual-row.reel/dual-row.js53
-rwxr-xr-xjs/panels/properties.reel/sections/custom-rows/single-row.reel/single-row.html47
-rwxr-xr-xjs/panels/properties.reel/sections/custom-rows/single-row.reel/single-row.js50
-rwxr-xr-xjs/panels/properties.reel/sections/custom.reel/custom.html61
-rwxr-xr-xjs/panels/properties.reel/sections/custom.reel/custom.js356
-rwxr-xr-xjs/panels/properties.reel/sections/position-and-size.reel/position-and-size.css14
-rwxr-xr-xjs/panels/properties.reel/sections/position-and-size.reel/position-and-size.html142
-rwxr-xr-xjs/panels/properties.reel/sections/position-and-size.reel/position-and-size.js264
-rwxr-xr-xjs/panels/properties.reel/sections/three-d-view.reel/three-d-view.html348
-rwxr-xr-xjs/panels/properties.reel/sections/three-d-view.reel/three-d-view.js265
18 files changed, 2779 insertions, 0 deletions
diff --git a/js/panels/properties.reel/properties.css b/js/panels/properties.reel/properties.css
new file mode 100755
index 00000000..f8d37984
--- /dev/null
+++ b/js/panels/properties.reel/properties.css
@@ -0,0 +1,299 @@
1/* <copyright>
2 This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
3 No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
4 (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
5 </copyright> */
6
7.propertiesPanel {
8 color:#FFF;
9 overflow-x: hidden;
10}
11
12.propertiesPanel .fieldCol {
13 display: -webkit-box;
14 -webkit-box-orient:horizontal;
15 position:relative;
16}
17
18.propertiesPanel .fieldCol > label {
19 -webkit-box-flex:0;
20 text-align: right;
21 width:46px;
22 display:block;
23 padding: 4px 2px 4px 5px;
24 height:16px;
25 line-height: 16px;
26}
27
28.propertiesPanel .fieldRow label {
29padding-right:6px;
30 width:20px;
31 display: inline-block;
32 text-align: right;
33}
34
35
36.propertiesPanel .fieldRow {
37 padding: 4px 10px 4px 5px;
38 height:16px;
39 line-height: 16px;
40 display:block;
41 -webkit-box-flex:1;
42}
43
44.propertiesPanel .fieldRow.oneCol div, .propertiesPanel .fieldRow.twoCol div,.propertiesPanel .fieldRow.threeCol div {
45 -webkit-box-sizing: content-box;
46 float:left;
47
48}
49
50.propertiesPanel hr {
51 border: 0;
52 border-top: 1px solid #3c3c3c;
53 border-bottom: 1px solid #555;
54}
55
56.propertiesPanel input[type='text'] {
57 width:100%;
58 padding: 1px;
59}
60
61.propertiesPanel .montage-textfield {
62 padding: 1px;
63}
64
65.propertiesPanel .fieldRow.threeCol div input[type='text'] {
66 width:34px;
67 display: inline-block;
68}
69
70.propertiesPanel .hottextunit input {
71 width:38px;
72}
73
74.propertiesPanel .fieldRow.threeCol div .inputField {
75 width:34px;
76}
77.propertiesPanel .fieldRow.twoCol label {
78 width:74px;
79 display: inline-block;
80
81}
82
83.propertiesPanel .fieldRow.oneCol label {
84 width:auto;
85 display: inline-block;
86
87}
88
89.propertiesPanel .fieldRow.oneCol div input[type='text'] {
90 width:34px;
91 display: inline-block;
92}
93.propertiesPanel .fieldRow.oneCol div .inputField {
94 width:34px;
95}
96
97
98.propertiesPanel .fieldRow.twoCol div input[type='text'] {
99 width:38px;
100 display: inline-block;
101}
102.propertiesPanel .fieldRow.twoCol div .inputField {
103 width:38px;
104}
105
106.propertiesPanel input[type='text'][readonly], .propertiesPanel input[type='text'][readonly]:focus {
107 border: none;
108 background: none;
109 -webkit-box-shadow:none;
110}
111
112.propertiesPanel h2 {
113 background: #3E3E3E;
114 font-size:11px;
115 height:16px;
116 line-height: 17px;
117 display:-webkit-box;
118 -webkit-box-orient:horizontal;
119 margin: 0px;
120 border-bottom: 1px solid #3A3A3A;
121}
122.propertiesPanel .subSectionHeader .arrow {
123 -webkit-box-flex:0;
124 margin: 0px 10px;
125}
126
127.propertiesPanel .subSectionHeader .arrowIcon {
128 background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RY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S5OV7L4RixhhcqQ9crMsA/tpIKY3WGuu62sWcw3VdKKXYAaC1RhRF8DwPjuPsFuccnHOM44g4js+fIIRA133+GjdJEgghzgFExO73LyzLcnr5+Xwgz3MQEbMmEEKgbdtTwO2WbhpbAhARU0phnuedaBgGFEUBImJEdP4LP8lN08D3/a1P0/TgbEsAImJ932Oaps29LMvN/U8JAKCqKgRBgCzLrO47wBuZdV1nwjBEXdcAwGwA9homKeX7mdFaw3XdA0ApdQT82zB9DwCCtIRuTJsRWAAAAABJRU5ErkJggg==") 0px 0px no-repeat;
129 -webkit-background-size:cover;
130 width:15px;
131 height:15px;
132}
133
134.propertiesPanel .subSectionHeader.collapsed .arrowIcon {
135 -webkit-transform: rotate(-90deg);
136}
137
138.propertiesPanel .sectional {
139 padding: 4px;
140}
141
142.propertiesPanel .animated {
143 -webkit-transition: 0.2s all linear;
144}
145
146.propertiesPanel div.collapsed {
147 padding: 0px !important;
148 height:0px !important;
149 overflow: hidden;
150}
151
152.propertiesPanel .subSectionHeader section {
153 -webkit-box-flex:1;
154}
155
156.propertiesPanel {
157 text-shadow: 1px 1px 1px #000;
158}
159
160/* Dropdown layout */
161.propertiesPanel select {
162 -webkit-appearance: none;
163 font-size: 10px;
164 color: white;
165 background-color: #444;
166 border: 1px solid #313131;
167 width: 100%;
168 -webkit-box-sizing: border-box;
169 height: 15px;
170 outline: none;
171 background-image: url("../../../images/dropdown-bg.png");
172 background-repeat: no-repeat;
173 background-position: right center;
174 border-radius: 0px;
175 padding-left:5px;
176}
177
178/* File Input Field */
179.propertiesPanel .file {
180 display:-webkit-box;
181}
182.propertiesPanel .file input {
183 -webkit-box-flex:1;
184 width:auto;
185 display: block;