From 03b221a3df1570ca075e147a9718e39b9e93599a Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Thu, 7 Apr 2016 09:42:47 +0200 Subject: [PATCH] Simplified flash message animation. Moved to bottom right. Increased timeout. --- app/assets/stylesheets/application.scss | 1 - app/views/layouts/_messages.slim | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index feb9637..3a770df 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -14,5 +14,4 @@ *= require fancybox * https://github.com/hakanersu/AmaranJS *= require amaran - **= require animate */ diff --git a/app/views/layouts/_messages.slim b/app/views/layouts/_messages.slim index ea73987..a2b9014 100644 --- a/app/views/layouts/_messages.slim +++ b/app/views/layouts/_messages.slim @@ -20,8 +20,7 @@ 'color' : '#{flash_color}', 'bgcolor' : '#{flash_bgcolor}' }, - 'position' :'top right', + 'position' :'bottom right', 'theme' : 'colorful', - 'cssanimationIn' :'bounceInDown', - 'cssanimationOut' :'zoomOutUp' + 'delay' : 7000 });