From 0fd3bb6079c2eb4db4c1a35f839fcf2557eb14c3 Mon Sep 17 00:00:00 2001 From: Brian Talbot Date: Thu, 16 May 2013 11:42:00 -0400 Subject: [PATCH] studio - removes the .is-fleeting class/animation that is handled by backbone's min/max time for notifications --- cms/static/sass/assets/_anims.scss | 31 ------------------- .../sass/elements/_system-feedback.scss | 4 --- 2 files changed, 35 deletions(-) diff --git a/cms/static/sass/assets/_anims.scss b/cms/static/sass/assets/_anims.scss index ee86c9de00..b01752e214 100644 --- a/cms/static/sass/assets/_anims.scss +++ b/cms/static/sass/assets/_anims.scss @@ -92,37 +92,6 @@ // ==================== -// notifications slide up then down -@mixin notificationsSlideUpDown { - 0%, 100% { - @include transform(translateY(0)); - } - - 15%, 85% { - @include transform(translateY(-($notification-height))); - } - - 20%, 80% { - @include transform(translateY(-($notification-height*0.99))); - } -} - -@-moz-keyframes notificationsSlideUpDown { @include notificationsSlideUpDown(); } -@-webkit-keyframes notificationsSlideUpDown { @include notificationsSlideUpDown(); } -@-o-keyframes notificationsSlideUpDown { @include notificationsSlideUpDown(); } -@keyframes notificationsSlideUpDown { @include notificationsSlideUpDown();} - -@mixin anim-notificationsSlideUpDown($duration, $timing: ease-in-out, $count: 1, $delay: 0) { - @include animation-name(notificationsSlideUpDown); - @include animation-duration($duration); - @include animation-delay($delay); - @include animation-timing-function($timing); - @include animation-iteration-count($count); - @include animation-fill-mode(both); -} - -// ==================== - // bounce in @mixin bounceIn { 0% { diff --git a/cms/static/sass/elements/_system-feedback.scss b/cms/static/sass/elements/_system-feedback.scss index 0a317f2fbc..7175268ed8 100644 --- a/cms/static/sass/elements/_system-feedback.scss +++ b/cms/static/sass/elements/_system-feedback.scss @@ -669,10 +669,6 @@ &.is-hiding { @include anim-notificationsSlideDown(0.25s); } - - &.is-fleeting { - @include anim-notificationsSlideUpDown(2s); - } } }