diff options
author | Valerio Virgillito | 2012-03-16 10:36:01 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-03-16 10:36:01 -0700 |
commit | 8fb69c933fc3368fe15dd297aec5b2d8b186a959 (patch) | |
tree | ef9769e8bc327d19ced0cc82a274f7d46eadb8b6 /js/panels/presets | |
parent | 8b6dc6097fbd974df5363a72756de649794363b6 (diff) | |
parent | 57ad8ea9c96005a4199cd75c82f4c7db0361e7b9 (diff) | |
download | ninja-8fb69c933fc3368fe15dd297aec5b2d8b186a959.tar.gz |
Merge pull request #121 from dhg637/Something
Presets Panel: Added Scale Up and Down to transitions list. According to
Diffstat (limited to 'js/panels/presets')
-rw-r--r-- | js/panels/presets/default-transition-presets.js | 30 |
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 |