diff --git a/app/assets/images/branding/logos/powered_by_diaspora.png b/app/assets/images/branding/logos/powered_by_diaspora.png deleted file mode 100644 index 3979f5be7..000000000 Binary files a/app/assets/images/branding/logos/powered_by_diaspora.png and /dev/null differ diff --git a/app/assets/stylesheets/footer.scss b/app/assets/stylesheets/footer.scss index 2fc0168a5..f47e07b6b 100644 --- a/app/assets/stylesheets/footer.scss +++ b/app/assets/stylesheets/footer.scss @@ -1,28 +1,29 @@ +html { + min-height: 100%; + position: relative; +} + +body { margin-bottom: 150px; } + footer { - width: 100%; - left: 0; + background-color: $background-grey; + border-top: 1px solid $border-grey; bottom: 0; - color: $text-grey; + max-height: 130px; + padding-top: 15px; + padding-bottom: 15px; + position: absolute; + width: 100%; - .container { - width: 95%; - margin: 4em auto 0 auto; - padding: 0.5em 0 1em 0; - border-top: 1px solid $border-grey; - } - - .logos-powered_by_diaspora { - display: inline-block; - margin-top: 3px; - height: 11px; - width: 145px; + .powered-by-diaspora { + color: $link-grey; + font-weight: bold; } ul#footer_nav { margin: 0; padding: 0; display: inline-block; - float: right; > li { display: inline; diff --git a/app/assets/stylesheets/mobile/mobile.scss b/app/assets/stylesheets/mobile/mobile.scss index ca3bbb840..7a6d14476 100644 --- a/app/assets/stylesheets/mobile/mobile.scss +++ b/app/assets/stylesheets/mobile/mobile.scss @@ -6,7 +6,7 @@ @import 'entypo'; @import 'icons'; -@import "header"; +@import "mobile/header"; @import "mobile/tags"; @import "mobile/conversations"; @import "mobile/settings"; diff --git a/app/assets/stylesheets/new_styles/_base.scss b/app/assets/stylesheets/new_styles/_base.scss index 95ecb30d8..e95f48fbc 100644 --- a/app/assets/stylesheets/new_styles/_base.scss +++ b/app/assets/stylesheets/new_styles/_base.scss @@ -1,9 +1,3 @@ -html, -body { - /* hack to ensure fixed elements at height: 100%; are in relation to the window */ - max-height : 100%; -} - body { margin-top: 50px; padding : none; diff --git a/app/views/layouts/_footer.html.haml b/app/views/layouts/_footer.html.haml index 12236d956..81079a730 100644 --- a/app/views/layouts/_footer.html.haml +++ b/app/views/layouts/_footer.html.haml @@ -1,5 +1,7 @@ %footer .container - .logos-powered_by_diaspora - %ul#footer_nav + .pull-left + .powered-by-diaspora + powered by diaspora* + %ul#footer_nav.pull-right = render :partial =>'shared/links'