From 0033c8809a810c8b518ca68a9ada5704a7f6e9c9 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Tue, 25 Feb 2014 11:27:16 -0600 Subject: [PATCH] fix(modal): Fix modal animation for firefox, closes #671 --- scss/_animations.scss | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/scss/_animations.scss b/scss/_animations.scss index d8f74303571..6716bc6b4cc 100644 --- a/scss/_animations.scss +++ b/scss/_animations.scss @@ -24,6 +24,16 @@ $slide-in-up-function: cubic-bezier(.1, .7, .1, 1); opacity: 1; } } +@-moz-keyframes slideInUp { + 0% { + @include translate3d(0, 100%, 0); + opacity: 0; + } + 100% { + @include translate3d(0, 0, 0); + opacity: 1; + } +} @-webkit-keyframes slideOutUp { 0% { @include translate3d(0, 0, 0); @@ -34,6 +44,16 @@ $slide-in-up-function: cubic-bezier(.1, .7, .1, 1); opacity: 0; } } +@-moz-keyframes slideOutUp { + 0% { + @include translate3d(0, 0, 0); + opacity: 1; + } + 100% { + @include translate3d(0, 100%, 0); + opacity: 0; + } +} // Slide In From Left // -------------------------------