From 0fa33076731ede649abc34d98371fc7532bbbdc3 Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Thu, 28 Jan 2016 13:35:40 -0200 Subject: [PATCH] Convert footer to bootstrap --- static/styles/app.scss | 27 +++++++++++++++++++ templates/base.html | 60 +++++++++++++++++++++++++----------------- 2 files changed, 63 insertions(+), 24 deletions(-) diff --git a/static/styles/app.scss b/static/styles/app.scss index 18140604b..0ebef1a65 100644 --- a/static/styles/app.scss +++ b/static/styles/app.scss @@ -81,4 +81,31 @@ p.control-label { border-bottom: 1px solid $legend-border-color; } +// #### footer ########################################### +// based on http://getbootstrap.com/examples/sticky-footer +$footer-height : 140px; +html { + position: relative; + min-height: 100%; +} +body { + margin-bottom: $footer-height + 20px; +} +.footer { + position: absolute; + bottom: 0; + width: 100%; + /* Set the fixed height of the footer here */ + height: $footer-height; + background: #364347 none repeat scroll 0% 0%; + color: white; + text-align: center; + p { + color: white; + margin-top: 10px; + } + .container { + padding-top: 25px; + } +} diff --git a/templates/base.html b/templates/base.html index 2a2920a7b..70dfc9996 100644 --- a/templates/base.html +++ b/templates/base.html @@ -173,31 +173,43 @@