diff options
Diffstat (limited to 'js/panels/presets/default-transition-presets.js')
-rw-r--r-- | js/panels/presets/default-transition-presets.js | 48 |
1 files changed, 43 insertions, 5 deletions
diff --git a/js/panels/presets/default-transition-presets.js b/js/panels/presets/default-transition-presets.js index 00873231..f8968085 100644 --- a/js/panels/presets/default-transition-presets.js +++ b/js/panels/presets/default-transition-presets.js | |||
@@ -13,7 +13,6 @@ exports.transitionPresets = { | |||
13 | "text": "Fade In", | 13 | "text": "Fade In", |
14 | "selectorBase" : "fade-in", | 14 | "selectorBase" : "fade-in", |
15 | "rules" : [{ | 15 | "rules" : [{ |
16 | "selectorSuffix": "", | ||
17 | "styles" : { | 16 | "styles" : { |
18 | "opacity": "0.25", | 17 | "opacity": "0.25", |
19 | "-webkit-transition": "all 0.4s ease-in" | 18 | "-webkit-transition": "all 0.4s ease-in" |
@@ -29,7 +28,6 @@ exports.transitionPresets = { | |||
29 | "text": "Fade Out", | 28 | "text": "Fade Out", |
30 | "selectorBase" : "fade-out", | 29 | "selectorBase" : "fade-out", |
31 | "rules" : [{ | 30 | "rules" : [{ |
32 | "selectorSuffix": "", | ||
33 | "styles" : { | 31 | "styles" : { |
34 | "opacity": "1", | 32 | "opacity": "1", |
35 | "-webkit-transition": "all 0.4s ease-in" | 33 | "-webkit-transition": "all 0.4s ease-in" |
@@ -48,7 +46,6 @@ exports.transitionPresets = { | |||
48 | "text": "Slide Right", | 46 | "text": "Slide Right", |
49 | "selectorBase" : "slide-right", | 47 | "selectorBase" : "slide-right", |
50 | "rules" : [{ | 48 | "rules" : [{ |
51 | "selectorSuffix": "", | ||
52 | "styles" : { | 49 | "styles" : { |
53 | "-webkit-transition": "all 0.4s ease-in" | 50 | "-webkit-transition": "all 0.4s ease-in" |
54 | } | 51 | } |
@@ -63,7 +60,6 @@ exports.transitionPresets = { | |||
63 | "text": "Slide Left", | 60 | "text": "Slide Left", |
64 | "selectorBase" : "slide-left", | 61 | "selectorBase" : "slide-left", |
65 | "rules" : [{ | 62 | "rules" : [{ |
66 | "selectorSuffix": "", | ||
67 | "styles" : { | 63 | "styles" : { |
68 | "-webkit-transition": "all 0.4s ease-in" | 64 | "-webkit-transition": "all 0.4s ease-in" |
69 | } | 65 | } |
@@ -78,7 +74,6 @@ exports.transitionPresets = { | |||
78 | "text": "Rotate", | 74 | "text": "Rotate", |
79 | "selectorBase" : "rotate", | 75 | "selectorBase" : "rotate", |
80 | "rules" : [{ | 76 | "rules" : [{ |
81 | "selectorSuffix" : "", | ||
82 | "styles" : { | 77 | "styles" : { |
83 | "-webkit-transition": "all 0.4s ease-in" | 78 | "-webkit-transition": "all 0.4s ease-in" |
84 | } | 79 | } |
@@ -88,6 +83,49 @@ exports.transitionPresets = { | |||
88 | "-webkit-transform": "rotate(180deg)" | 83 | "-webkit-transform": "rotate(180deg)" |
89 | } | 84 | } |
90 | }] | 85 | }] |
86 | },{ | ||
87 | "text": "Scale Up", | ||
88 | "selectorBase" : "scale-up", | ||
89 | "rules" : [{ | ||
90 | "styles" : { | ||
91 | "-webkit-transition": "-webkit-transform 0.4s ease-in" | ||
92 | } | ||
93 | }, { | ||
94 | "selectorSuffix" : ":hover", | ||
95 | "styles" : { | ||
96 | "-webkit-transform": "scale(1.4)" | ||
97 | } | ||
98 | }] | ||
99 | }, | ||
100 | { | ||
101 | "text": "Scale Down", | ||
102 | "selectorBase" : "scale-down", | ||
103 | "rules" : [{ | ||
104 | "styles" : { | ||
105 | "-webkit-transition": "-webkit-transform 0.4s ease-in" | ||
106 | } | ||
107 | }, { | ||
108 | "selectorSuffix" : ":hover", | ||
109 | "styles" : { | ||
110 | "-webkit-transform": "scale(.5)" | ||
111 | } | ||
112 | }] | ||
113 | }, | ||
114 | { | ||
115 | "text": "Remove 3D", | ||
116 | "selectorBase" : "remove-3d", | ||
117 | "rules" : [{ | ||
118 | "styles" : { | ||
119 | "-webkit-transition": "all 0.4s ease-in" | ||
120 | } | ||
121 | }, | ||
122 | { | ||
123 | "selectorSuffix" : ":hover", | ||
124 | "styles" : { | ||
125 | "-webkit-transform": "rotateX(0deg)", | ||
126 | "opacity": "1" | ||
127 | } | ||
128 | }] | ||
91 | }] | 129 | }] |
92 | }] | 130 | }] |
93 | }; \ No newline at end of file | 131 | }; \ No newline at end of file |