From 353ee20feba1e6b5256672453298ab8380f196ed Mon Sep 17 00:00:00 2001 From: Will Marshall Date: Fri, 11 Jul 2014 17:07:54 +1000 Subject: [PATCH] Animations fix --- .../stylesheets/darkswarm/animations.sass | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/app/assets/stylesheets/darkswarm/animations.sass b/app/assets/stylesheets/darkswarm/animations.sass index 8ef5756ecf..6532cce60d 100644 --- a/app/assets/stylesheets/darkswarm/animations.sass +++ b/app/assets/stylesheets/darkswarm/animations.sass @@ -85,7 +85,6 @@ .animate-repeat - border-color: rgba(153, 153, 153, 1) -webkit-transform: translateZ(0) transform: translateZ(0) &.ng-move, &.ng-enter, &.ng-leave @@ -94,22 +93,25 @@ &.ng-leave opacity: 1 - border-color: rgba(153, 153, 153, 1) &.ng-leave-active opacity: 0 - border-color: rgba(153, 153, 153, 0) &.ng-enter opacity: 0 - border-color: rgba(153, 153, 153, 0) &.ng-enter-active opacity: 1 + +product.animate-repeat + &.ng-leave + border-color: rgba(153, 153, 153, 1) + &.ng-leave-active + border-color: rgba(153, 153, 153, 0) + + &.ng-enter + border-color: rgba(153, 153, 153, 0) + &.ng-enter-active border-color: rgba(153, 153, 153, 1) - &.ng-move - &.ng-move-active - - .animate-show -webkit-animation-name: slideInDown animation-name: slideInDown