aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorArmen Kesablyan2012-03-15 15:20:00 -0700
committerArmen Kesablyan2012-03-15 15:20:00 -0700
commit57ad8ea9c96005a4199cd75c82f4c7db0361e7b9 (patch)
tree46b5edeebe3ce26679c1baf7e3ef13cc7be6aa3b /js
parent089534a80c64226bf7d124ab9147afce386fdb5c (diff)
downloadninja-57ad8ea9c96005a4199cd75c82f4c7db0361e7b9.tar.gz
Presets Panel: Added Scale Up and Down to transitions list. According to eric G.
Signed-off-by: Armen Kesablyan <armen@motorola.com>
Diffstat (limited to 'js')
-rw-r--r--js/panels/presets/default-transition-presets.js30
1 files changed, 30 insertions, 0 deletions
diff --git a/js/panels/presets/default-transition-presets.js b/js/panels/presets/default-transition-presets.js
index 00873231..271ad821 100644
--- a/js/panels/presets/default-transition-presets.js
+++ b/js/panels/presets/default-transition-presets.js
@@ -88,6 +88,36 @@ exports.transitionPresets = {
88 "-webkit-transform": "rotate(180deg)" 88 "-webkit-transform": "rotate(180deg)"
89 } 89 }
90 }] 90 }]
91 },
92 {
93 "text": "Scale Up",
94 "selectorBase" : "scale-up",
95 "rules" : [{
96 "selectorSuffix" : "",
97 "styles" : {
98 "-webkit-transition": "-webkit-transform 0.4s ease-in"
99 }
100 }, {
101 "selectorSuffix" : ":hover",
102 "styles" : {
103 "-webkit-transform": "scale(1.4)"
104 }
105 }]
106 },
107 {
108 "text": "Scale Down",
109 "selectorBase" : "scale-down",
110 "rules" : [{
111 "selectorSuffix" : "",
112 "styles" : {
113 "-webkit-transition": "-webkit-transform 0.4s ease-in"
114 }
115 }, {
116 "selectorSuffix" : ":hover",
117 "styles" : {
118 "-webkit-transform": "scale(.5)"
119 }
120 }]
91 }] 121 }]
92 }] 122 }]
93}; \ No newline at end of file 123}; \ No newline at end of file