From 1a75748763f8a0541917b4afaca348f493783fc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20Juli=C3=A1n?= Date: Fri, 17 Apr 2015 09:00:45 +0200 Subject: [PATCH] Refactor animation code --- app/styles/core/animation.scss | 14 ++++++++++++++ app/styles/modules/common/navbar.scss | 15 --------------- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/app/styles/core/animation.scss b/app/styles/core/animation.scss index 978ec66b..1a2fc285 100644 --- a/app/styles/core/animation.scss +++ b/app/styles/core/animation.scss @@ -44,3 +44,17 @@ flex: 1; } } + +// Drop Down element animations +@keyframes dropdownFade { + 0% { + opacity: 0; + transform: translateY(-.25rem); + } + 60% { + opacity: 1; + } + 100% { + transform: translateY(0); + } +} diff --git a/app/styles/modules/common/navbar.scss b/app/styles/modules/common/navbar.scss index f2c8e80b..e892fa40 100644 --- a/app/styles/modules/common/navbar.scss +++ b/app/styles/modules/common/navbar.scss @@ -142,18 +142,3 @@ } } } - -// Generated with Bounce.js. Edit at http://goo.gl/yZlDYR - -@keyframes dropdownFade { - 0% { - opacity: 0; - transform: translateY(-.25rem); - } - 60% { - opacity: 1; - } - 100% { - transform: translateY(0); - } -}