From 1ee405a7f24aa8c6b5f4ef24dfc68beadc8cc42b Mon Sep 17 00:00:00 2001 From: Sergio Oliveira Date: Thu, 24 Sep 2015 21:58:00 -0300 Subject: [PATCH] New footer --- colab/static/css/footer.css | 149 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------- colab/templates/footer.html | 153 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------- 2 files changed, 196 insertions(+), 106 deletions(-) diff --git a/colab/static/css/footer.css b/colab/static/css/footer.css index bd70ed3..7a5be8d 100644 --- a/colab/static/css/footer.css +++ b/colab/static/css/footer.css @@ -1,97 +1,140 @@ /*Footer*/ footer { - background: none; + font-family: 'open_sansregular', Arial, Helvetica, sans-serif; } -.colab-footer-content{ - background: rgb(213,213,213); - font-family: 'Open Sans Regular', Arial, Helvetica, sans-serif; +footer #btn-top { + min-width: 960px; + max-width: 960px; + padding-right: 0px; + margin-bottom: 22px; + text-decoration: none; + font-family: 'open_sansregular', Arial, Helvetica, sans-serif; + font-size: 14px; + position: relative; } -.colab-footer-links a{ - color:#2c66ce; - font-size: 13px; - line-height: 1.7em; +footer #btn-top a { + padding-left: 20px; + background: url("../img/voltar-topo.png") no-repeat left center; + color: #777; + font-size: 14px; } -.colab-footer-links a:hover{ - background: none; - text-decoration: underline; +footer #footer { + padding: 4px 0 20px 0; + min-height: 50px; + width: 100%; + background: #EAEDF0; + color: #fff; + font-family: 'open_sansregular', Arial, Helvetica, sans-serif; + min-width: 960px; } -.colab-footer-links{ - color:#2c66ce; - border-left:1px dotted #2c66ce; - margin-top: 50px; - margin-bottom: 50px; + +footer #footer > div { + margin: 2em auto; + padding-top: 1em; + max-width: 960px; } -.colab-footer-links dt{ - font-size: 18px; - font-weight: bold; - line-height: 1.3em; - margin-bottom: 8px; - font-family: 'Open Sans Regular', Arial, Helvetica, sans-serif; +footer #doormat-container { + float: none; + width: 100%; } -.colab-footer-links dd{ - padding-bottom: 3px +footer #doormat-container dl { + border-left: 1px dotted #9CB5E2; + margin: 0 0 18px 0; + font-size: 13px; } -.footer-gov{ - background: #0042b2; +footer #doormat-container dt { + color: #2C65CD; + font-size: 18px; + font-family: "open_sansbold", Arial, Helvetica, sans-serif; } -.footer-gov > .container{ - padding: 2em 0; +footer #doormat-container dt, +footer #doormat-container dd { + padding-left: 10px; + margin-bottom: 4px; } -.footer-gov .institucionais a{ - display:table-cell; - vertical-align: middle; - float: right; +footer #doormat-container dd a { + color: #2C65CD; } -.footer-gov a:hover{ - text-decoration: none; +footer #doormat-container dd a:hover { + text-decoration: none; +} + +footer #doormat-container.columns-4 .doormatColumn { + width: 21%; } -.footer-gov span{ - display: none; +footer #doormat-container .doormatColumn { + float: left; + margin: 0 1.1em 0 0.8em; + text-align: left; } -.footer-gov .colab-logo-sgpr img, .logo-acesso img{ - padding-top: 10px; - padding-right: 15%; - padding-bottom: 10px; +#footer .footer-logos { + margin: 0 0 -20px; + padding: 1.6em 0; + max-width: 100%; + background: #0041B1; } -.colab-logo-sgpr img, .spb-definitions { - display: none; +#footer .footer-logos div { + width: 960px; + margin: auto; + overflow: auto; } -.footer-gov .logo-brasil img{ - padding-right: 0; +#footer .footer-logos div .logo-acesso-footer { + background-image: url("../img/acesso-a-informacao.png"); + float: left; + width: 107px; + height: 49px; } -.go-top{ - font-size: 13px; - height: 2em; + +#footer .footer-logos div .logo-brasil-footer { + background-image: url("../img/brasil.png"); + float: right; + width: 153px; + height: 48px; + } + +footer #extra-footer p { + margin: 1em auto; + max-width: 960px; + font-size: 12px; + line-height: 1.8em; } -.go-top a{ +footer #extra-footer a { + color: #2C65CD; +} + +footer #footer .clear { + clear: both; +} + + +footer .go-top a{ color: #717782; line-height: 2em; } -.go-top i { +footer .go-top i { margin-right: 5px; text-decoration: none; - font-size: 12px; + font-size: 12px; } -.spb-definitions{ - font-size: 10px; - padding: 10px 0; +html footer div#wrap-footer-brasil { + padding: 0; } diff --git a/colab/templates/footer.html b/colab/templates/footer.html index 78c35a7..506ee70 100644 --- a/colab/templates/footer.html +++ b/colab/templates/footer.html @@ -2,68 +2,115 @@ {% load static from staticfiles %} -- libgit2 0.21.2