aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValerio Virgillito2012-06-28 11:17:28 -0700
committerValerio Virgillito2012-06-28 11:17:28 -0700
commite25474df5116a7e336933a1d1d17ff11a0ef9786 (patch)
tree9b329703ef618931129e23475ab1bd5bfc1c417a
parent56d6311f398e04eee3883a5c848fec3b2b53c981 (diff)
downloadninja-e25474df5116a7e336933a1d1d17ff11a0ef9786.tar.gz
Fixing the button for the shape pi
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
-rwxr-xr-xjs/panels/properties.reel/properties.css12
-rwxr-xr-xjs/panels/properties.reel/sections/custom.reel/custom.js2
2 files changed, 9 insertions, 5 deletions
diff --git a/js/panels/properties.reel/properties.css b/js/panels/properties.reel/properties.css
index d1aa750a..ce5145d0 100755
--- a/js/panels/properties.reel/properties.css
+++ b/js/panels/properties.reel/properties.css
@@ -314,11 +314,13 @@ input label {
314 width:45px; 314 width:45px;
315} 315}
316 316
317.propertiesPanel div.montage-button:disabled { 317/*.propertiesPanel div.montage-button:disabled {*/
318.propertiesPanel div[type=button]:disabled {
318 opacity: 0.4; 319 opacity: 0.4;
319} 320}
320 321
321.propertiesPanel div.montage-button { 322/*.propertiesPanel div.montage-button {*/
323.propertiesPanel div[type=button] {
322 font-size: 9px; 324 font-size: 9px;
323 cursor: pointer; 325 cursor: pointer;
324 display: block; 326 display: block;
@@ -336,10 +338,12 @@ input label {
336 height: 14px; 338 height: 14px;
337} 339}
338 340
339.propertiesPanel div.montage-button:active { 341/*.propertiesPanel div.montage-button:active {*/
342.propertiesPanel div[type=button]:active {
340 background-image: -webkit-linear-gradient(top, #3c3c3c 0%, #505050 100%); 343 background-image: -webkit-linear-gradient(top, #3c3c3c 0%, #505050 100%);
341} 344}
342 345
343.propertiesPanel div.montage-button:hover { 346/*.propertiesPanel div.montage-button:hover {*/
347.propertiesPanel div[type=button]:hover {
344 -webkit-box-shadow: 0px 0px 3px #b4b4b4; 348 -webkit-box-shadow: 0px 0px 3px #b4b4b4;
345} \ No newline at end of file 349} \ No newline at end of file
diff --git a/js/panels/properties.reel/sections/custom.reel/custom.js b/js/panels/properties.reel/sections/custom.reel/custom.js
index 9c31cf45..84e89334 100755
--- a/js/panels/properties.reel/sections/custom.reel/custom.js
+++ b/js/panels/properties.reel/sections/custom.reel/custom.js
@@ -20,7 +20,7 @@ var Dropdown = require("js/components/combobox.reel").Combobox;
20var TextField = require("js/components/textfield.reel").TextField; 20var TextField = require("js/components/textfield.reel").TextField;
21var LabelCheckbox = require("js/components/ui/label-checkbox.reel").LabelCheckbox; 21var LabelCheckbox = require("js/components/ui/label-checkbox.reel").LabelCheckbox;
22var ColorChip = require("js/components/ui/color-chip.reel").ColorChip; 22var ColorChip = require("js/components/ui/color-chip.reel").ColorChip;
23var Button = require("montage/ui/button.reel").Button; 23var Button = require("montage/ui/native/button.reel").Button;
24 24
25exports.CustomSection = Montage.create(Component, { 25exports.CustomSection = Montage.create(Component, {
26 26