From a6a6f9bcc5ff92f5bb5e9275336dfaec2d8e8f4c Mon Sep 17 00:00:00 2001
From: Eric Guzman
Date: Fri, 16 Mar 2012 17:56:25 -0700
Subject: Presets Panel - Change Tab labels, Add Un-3d preset
---
js/panels/presets/content.reel/content.html | 6 +++---
js/panels/presets/default-transition-presets.js | 16 ++++++++++++++++
2 files changed, 19 insertions(+), 3 deletions(-)
(limited to 'js/panels/presets')
diff --git a/js/panels/presets/content.reel/content.html b/js/panels/presets/content.reel/content.html
index f01e6435..afbdd559 100644
--- a/js/panels/presets/content.reel/content.html
+++ b/js/panels/presets/content.reel/content.html
@@ -62,9 +62,9 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot
diff --git a/js/panels/presets/default-transition-presets.js b/js/panels/presets/default-transition-presets.js
index 00873231..48f7c2b7 100644
--- a/js/panels/presets/default-transition-presets.js
+++ b/js/panels/presets/default-transition-presets.js
@@ -88,6 +88,22 @@ exports.transitionPresets = {
"-webkit-transform": "rotate(180deg)"
}
}]
+ },{
+ "text": "Remove 3D",
+ "selectorBase" : "remove-3d",
+ "rules" : [{
+ "selectorSuffix": "",
+ "styles" : {
+ "-webkit-transition": "all 0.4s ease-in"
+ }
+ },
+ {
+ "selectorSuffix" : ":hover",
+ "styles" : {
+ "-webkit-transform": "rotateX(0deg)",
+ "opacity": "1"
+ }
+ }]
}]
}]
};
\ No newline at end of file
--
cgit v1.2.3
From 41740c12e03ca1380eb80dc557faedae05e4ce1c Mon Sep 17 00:00:00 2001
From: Eric Guzman
Date: Sat, 17 Mar 2012 00:06:03 -0700
Subject: Presets Panel - Fix conflict with default transition presets
---
js/panels/presets/default-transition-presets.js | 30 +++++++++++++++++++++++++
1 file changed, 30 insertions(+)
(limited to 'js/panels/presets')
diff --git a/js/panels/presets/default-transition-presets.js b/js/panels/presets/default-transition-presets.js
index 48f7c2b7..15f4882f 100644
--- a/js/panels/presets/default-transition-presets.js
+++ b/js/panels/presets/default-transition-presets.js
@@ -89,6 +89,36 @@ exports.transitionPresets = {
}
}]
},{
+ "text": "Scale Up",
+ "selectorBase" : "scale-up",
+ "rules" : [{
+ "selectorSuffix" : "",
+ "styles" : {
+ "-webkit-transition": "-webkit-transform 0.4s ease-in"
+ }
+ }, {
+ "selectorSuffix" : ":hover",
+ "styles" : {
+ "-webkit-transform": "scale(1.4)"
+ }
+ }]
+ },
+ {
+ "text": "Scale Down",
+ "selectorBase" : "scale-down",
+ "rules" : [{
+ "selectorSuffix" : "",
+ "styles" : {
+ "-webkit-transition": "-webkit-transform 0.4s ease-in"
+ }
+ }, {
+ "selectorSuffix" : ":hover",
+ "styles" : {
+ "-webkit-transform": "scale(.5)"
+ }
+ }]
+ },
+ {
"text": "Remove 3D",
"selectorBase" : "remove-3d",
"rules" : [{
--
cgit v1.2.3