From 884d7b7dd7b29171367b360c84799bb935e8dbcf Mon Sep 17 00:00:00 2001
From: danielvincent <danielgrippi@gmail.com>
Date: Sun, 10 Oct 2010 23:13:03 -0700
Subject: [PATCH] flash message should slide in

---
 public/javascripts/view.js               | 4 +++-
 public/stylesheets/application.css       | 2 +-
 public/stylesheets/sass/application.sass | 2 +-
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/public/javascripts/view.js b/public/javascripts/view.js
index fce769331c..474548fe34 100644
--- a/public/javascripts/view.js
+++ b/public/javascripts/view.js
@@ -12,7 +12,9 @@ $(document).ready(function(){
 
   $("label").inFieldLabels();
 
-  $('#flash_notice, #flash_error, #flash_alert').delay(4000).animate({
+  $('#flash_notice, #flash_error, #flash_alert').animate({
+    top: 0
+  }).delay(4000).animate({
     top: -100 
   }, $(this).remove());
 
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 0a5f022b4e..15419a4889 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -34,7 +34,7 @@ h3 {
   z-index: 100;
   position: fixed;
   color: white;
-  top: 0;
+  top: -100px;
   left: 0;
   width: 100%;
   padding: 1em;
diff --git a/public/stylesheets/sass/application.sass b/public/stylesheets/sass/application.sass
index 389adacf4e..d47f0d16fd 100644
--- a/public/stylesheets/sass/application.sass
+++ b/public/stylesheets/sass/application.sass
@@ -42,7 +42,7 @@ h3
   :position fixed
   :color #fff
 
-  :top 0
+  :top -100px
   :left 0
 
   :width 100%
-- 
GitLab