From d6391afb368e9b4eb23db6411b3fe9097ad9072c Mon Sep 17 00:00:00 2001 From: augier Date: Sun, 11 Oct 2015 12:17:56 +0200 Subject: [PATCH] Use BS variable -height for flash messages animation --- app/assets/stylesheets/admin.scss | 1 + app/assets/stylesheets/animations.scss | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/admin.scss b/app/assets/stylesheets/admin.scss index eb28611bf..1859d1c06 100644 --- a/app/assets/stylesheets/admin.scss +++ b/app/assets/stylesheets/admin.scss @@ -1,4 +1,5 @@ @import 'color-variables'; +@import 'bootstrap-variables'; @import 'animations'; /** ADMIN STYlES **/ diff --git a/app/assets/stylesheets/animations.scss b/app/assets/stylesheets/animations.scss index 52171102f..2ef8bee16 100644 --- a/app/assets/stylesheets/animations.scss +++ b/app/assets/stylesheets/animations.scss @@ -1,8 +1,8 @@ // flash message animations - header height is about 50px @keyframes expose { 0% { top: -100px; } - 12% { top: 50px; } - 88% { top: 50px; } + 12% { top: $navbar-height; } + 88% { top: $navbar-height; } 100% { top: -100px; } }