diff options
author | hwc487 | 2012-03-16 12:40:50 -0700 |
---|---|---|
committer | hwc487 | 2012-03-16 12:40:50 -0700 |
commit | 2ac5db3bb1bcee887d6dd742e6c0273abb5366bd (patch) | |
tree | 13622390967922f9c1719bf835f2f818867b5b9b /js/panels/presets | |
parent | a0d23354802ebc6b437698acb4b18d3395d47cd1 (diff) | |
parent | 3e98d9eaf6f691aa0f7a4334983537a4ee3ffd39 (diff) | |
download | ninja-2ac5db3bb1bcee887d6dd742e6c0273abb5366bd.tar.gz |
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into integration
Diffstat (limited to 'js/panels/presets')
-rw-r--r-- | js/panels/presets/content.reel/content.css | 4 | ||||
-rw-r--r-- | js/panels/presets/default-transition-presets.js | 30 |
2 files changed, 31 insertions, 3 deletions
diff --git a/js/panels/presets/content.reel/content.css b/js/panels/presets/content.reel/content.css index c0ccbad4..409e1960 100644 --- a/js/panels/presets/content.reel/content.css +++ b/js/panels/presets/content.reel/content.css | |||
@@ -10,9 +10,7 @@ | |||
10 | -webkit-box-orient: vertical; | 10 | -webkit-box-orient: vertical; |
11 | -webkit-box-flex: 1; | 11 | -webkit-box-flex: 1; |
12 | } | 12 | } |
13 | .presetsPanel .treeRoot { | 13 | |
14 | margin: 0 8px; | ||
15 | } | ||
16 | .tab-bar { | 14 | .tab-bar { |
17 | -webkit-box-flex: 0; | 15 | -webkit-box-flex: 0; |
18 | background-color: #282828; | 16 | background-color: #282828; |
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 |