aboutsummaryrefslogtreecommitdiff
path: root/js/panels/presets
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-03-21 09:51:50 -0700
committerJose Antonio Marquez2012-03-21 09:51:50 -0700
commitb1ba63e509f77b14c05b89ea193f4d706a28ac9b (patch)
treeb6c35ce69c667f3ee8c16cc5e9a86021a4646288 /js/panels/presets
parent415bab69cca4e8511144407b67bec80f2ba95422 (diff)
parent9facfb41b0b0f9fab9ddc9c8473af1d1d7e1ff18 (diff)
downloadninja-b1ba63e509f77b14c05b89ea193f4d706a28ac9b.tar.gz
Merge branch 'refs/heads/Ninja-Internal' into Document
Diffstat (limited to 'js/panels/presets')
-rw-r--r--js/panels/presets/content.reel/content.html6
-rw-r--r--js/panels/presets/default-transition-presets.js20
2 files changed, 21 insertions, 5 deletions
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
62<body> 62<body>
63 <section id="presetsPanel" class="presetsPanel"> 63 <section id="presetsPanel" class="presetsPanel">
64 <nav id="tab-bar" class="tab-bar"> 64 <nav id="tab-bar" class="tab-bar">
65 <div id="styles">Style Library</div> 65 <div id="styles">Styles</div>
66 <div id="transitions">Transitions Library</div> 66 <div id="transitions">Transitions</div>
67 <div id="animations">Animations Library</div> 67 <div id="animations">Animations</div>
68 </nav> 68 </nav>
69 <div id="librarySlot" class="librarySlot"></div> 69 <div id="librarySlot" class="librarySlot"></div>
70 </section> 70 </section>
diff --git a/js/panels/presets/default-transition-presets.js b/js/panels/presets/default-transition-presets.js
index 271ad821..15f4882f 100644
--- a/js/panels/presets/default-transition-presets.js
+++ b/js/panels/presets/default-transition-presets.js
@@ -88,8 +88,7 @@ exports.transitionPresets = {
88 "-webkit-transform": "rotate(180deg)" 88 "-webkit-transform": "rotate(180deg)"
89 } 89 }
90 }] 90 }]
91 }, 91 },{
92 {
93 "text": "Scale Up", 92 "text": "Scale Up",
94 "selectorBase" : "scale-up", 93 "selectorBase" : "scale-up",
95 "rules" : [{ 94 "rules" : [{
@@ -118,6 +117,23 @@ exports.transitionPresets = {
118 "-webkit-transform": "scale(.5)" 117 "-webkit-transform": "scale(.5)"
119 } 118 }
120 }] 119 }]
120 },
121 {
122 "text": "Remove 3D",
123 "selectorBase" : "remove-3d",
124 "rules" : [{
125 "selectorSuffix": "",
126 "styles" : {
127 "-webkit-transition": "all 0.4s ease-in"
128 }
129 },
130 {
131 "selectorSuffix" : ":hover",
132 "styles" : {
133 "-webkit-transform": "rotateX(0deg)",
134 "opacity": "1"
135 }
136 }]
121 }] 137 }]
122 }] 138 }]
123}; \ No newline at end of file 139}; \ No newline at end of file