diff options
author | Nivesh Rajbhandari | 2012-06-27 14:21:27 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-06-27 14:21:27 -0700 |
commit | 978b9049d057d2a0995758275f68da8641193201 (patch) | |
tree | d26fadef6100d5eb87e871a68f8c71fac9ab27a6 /js/panels/Materials/materials-popup.reel/materials-popup.css | |
parent | 8351c3685a6db703d1940817abc71f92ef4e1bd4 (diff) | |
download | ninja-978b9049d057d2a0995758275f68da8641193201.tar.gz |
Integrating Materials UI changes. Squashed commit of the following:
commit 89ccb55130e67c4516e616ccc56d2a649a2b9160
Author: Nivesh Rajbhandari <mqg734@motorola.com>
Date: Wed Jun 27 14:20:01 2012 -0700
Position Materials Editor popup and change buttons' text color.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
commit 89bca82adc781f4913f8d302a49a8baa907631c5
Author: Nivesh Rajbhandari <mqg734@motorola.com>
Date: Wed Jun 27 12:00:51 2012 -0700
Support deleting and editing custom materials.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
commit 5be5160c4786beb70e8ad4d75562adb135718c6c
Merge: 1d9d9f6 2ebf3e3
Author: Nivesh Rajbhandari <mqg734@motorola.com>
Date: Wed Jun 27 11:11:37 2012 -0700
Merge branch 'refs/heads/ninja-internal' into WebGLMaterials
Conflicts:
js/data/panels-data.js
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
commit 1d9d9f6e66ea7585f07ed461cebba99e71f65de0
Author: Nivesh Rajbhandari <mqg734@motorola.com>
Date: Tue Jun 26 22:01:22 2012 -0700
"Save as" support to duplicate material with modified settings. Also removed Add button and disabled Reset button for now.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
commit bf1037508dbc686f2884765344832f906cbf06d0
Author: Nivesh Rajbhandari <mqg734@motorola.com>
Date: Tue Jun 26 17:23:31 2012 -0700
Added UI for duplicating and deleting materials in the Materials Library.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
commit 54930792f9c417df5f739831164aa1f96a41d67a
Author: Nivesh Rajbhandari <mqg734@motorola.com>
Date: Tue Jun 26 14:29:17 2012 -0700
Added preview of material in materials editor popup and fixed some styling.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/panels/Materials/materials-popup.reel/materials-popup.css')
-rwxr-xr-x | js/panels/Materials/materials-popup.reel/materials-popup.css | 36 |
1 files changed, 33 insertions, 3 deletions
diff --git a/js/panels/Materials/materials-popup.reel/materials-popup.css b/js/panels/Materials/materials-popup.reel/materials-popup.css index 943d9bcb..2de03e91 100755 --- a/js/panels/Materials/materials-popup.reel/materials-popup.css +++ b/js/panels/Materials/materials-popup.reel/materials-popup.css | |||
@@ -6,7 +6,8 @@ | |||
6 | </copyright> */ | 6 | </copyright> */ |
7 | 7 | ||
8 | .materials_popup { | 8 | .materials_popup { |
9 | width:400px; | 9 | width:auto; |
10 | min-width: 300px; | ||
10 | font-size: 12px; | 11 | font-size: 12px; |
11 | overflow: hidden; | 12 | overflow: hidden; |
12 | background: #494949; | 13 | background: #494949; |
@@ -32,6 +33,7 @@ | |||
32 | .mp_preview { | 33 | .mp_preview { |
33 | height: 100px; | 34 | height: 100px; |
34 | text-align: center; | 35 | text-align: center; |
36 | margin: 20px 0 10px 0; | ||
35 | } | 37 | } |
36 | 38 | ||
37 | .mp_property | 39 | .mp_property |
@@ -59,7 +61,19 @@ | |||
59 | .mp_property .hottext, | 61 | .mp_property .hottext, |
60 | .mp_property .hottextInput | 62 | .mp_property .hottextInput |
61 | { | 63 | { |
62 | width: 30px; | 64 | width: 23px; |
65 | } | ||
66 | |||
67 | .mp_property .hottext | ||
68 | { | ||
69 | color: white; | ||
70 | background: none; | ||
71 | } | ||
72 | |||
73 | .mp_property .hottextInput | ||
74 | { | ||
75 | color: black; | ||
76 | background: white; | ||
63 | } | 77 | } |
64 | 78 | ||
65 | .mp_property .button | 79 | .mp_property .button |
@@ -76,7 +90,8 @@ | |||
76 | 90 | ||
77 | .mp_properties_list | 91 | .mp_properties_list |
78 | { | 92 | { |
79 | padding-bottom: 8px; | 93 | padding-bottom: 8px; |
94 | padding-right: 20px; | ||
80 | } | 95 | } |
81 | 96 | ||
82 | .mp_properties_list > .mp_property > .colortoolbar | 97 | .mp_properties_list > .mp_property > .colortoolbar |
@@ -104,13 +119,28 @@ | |||
104 | display: block; | 119 | display: block; |
105 | cursor: pointer; | 120 | cursor: pointer; |
106 | } | 121 | } |
122 | .mp_buttons button:hover, | ||
123 | .mp_buttons button:active { | ||
124 | color: white; | ||
125 | } | ||
107 | 126 | ||
108 | .mp_buttons .mp_cancel_btn { | 127 | .mp_buttons .mp_cancel_btn { |
109 | float: left; | 128 | float: left; |
110 | width: 60px; | 129 | width: 60px; |
111 | } | 130 | } |
112 | 131 | ||
132 | .mp_buttons .mp_saveAs_btn { | ||
133 | float: right; | ||
134 | width: 60px; | ||
135 | } | ||
136 | |||
113 | .mp_buttons .mp_ok_btn { | 137 | .mp_buttons .mp_ok_btn { |
114 | float: right; | 138 | float: right; |
115 | width: 30px; | 139 | width: 30px; |
140 | margin-left:4px; | ||
141 | } | ||
142 | |||
143 | .materials_popup .mp_reset_btn { | ||
144 | float: right; | ||
145 | margin-right: 8px; | ||
116 | } \ No newline at end of file | 146 | } \ No newline at end of file |