refactor(bs3): push footer down

This commit is contained in:
Matteo Pagliazzi 2014-02-06 18:46:43 +01:00
parent d6b3279e5c
commit d313a46299
2 changed files with 20 additions and 16 deletions

View file

@ -44,9 +44,14 @@ hr
/* Customizations to make footer sticky */
html, body
height: 100%
#wrap
z-index:-1
padding: 0 15px // Required by Bootstrap 3 when using .container-fluid
min-height: 100%
height: auto !important
@media (max-width: 600px)
#wrap

View file

@ -24,23 +24,22 @@ html(ng-app="habitrpg", ng-controller="RootCtrl", ng-class='{"applying-action":a
link(href='//fonts.googleapis.com/css?family=Lato:300,400,700,400italic,700italic', rel='stylesheet', type='text/css')
body(ng-cloak)
div(ng-controller='GroupsCtrl')
include ./shared/modals/index
include ./shared/header/header
body(ng-cloak, ng-controller='GroupsCtrl')
include ./shared/modals/index
include ./shared/header/header
include ./shared/tasks/lists
include ./main/index
include ./options/index
include ./shared/tasks/lists
include ./main/index
include ./options/index
#notification-area(ng-controller='NotificationCtrl')
#wrap.container-fluid
//if they hide the header, we still need user-menu visible
div(ng-if='user.preferences.hideHeader')
include ./shared/header/menu
#notification-area(ng-controller='NotificationCtrl')
#wrap.container-fluid
//if they hide the header, we still need user-menu visible
div(ng-if='user.preferences.hideHeader')
include ./shared/header/menu
.row
.col-md-12.exp-chart(ng-show='charts.exp')
#main(ui-view)
.row
.col-md-12.exp-chart(ng-show='charts.exp')
#main(ui-view)
include ./shared/footer
include ./shared/footer