From 7bd5e4f50a67b3c6409d1108ae7ea2ad4310c13d Mon Sep 17 00:00:00 2001 From: Lucas Kanashiro Date: Thu, 21 May 2015 13:39:56 -0300 Subject: [PATCH] First version of SPB footer --- colab/static/css/footer.css | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ colab/static/css/screen.css | 2 ++ colab/static/img/acesso-a-informacao.png | Bin 0 -> 3838 bytes colab/static/img/brasil.png | Bin 0 -> 14322 bytes colab/static/img/sgpr.png | Bin 0 -> 4227 bytes colab/templates/base.html | 4 ++-- colab/templates/footer.html | 117 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------- colab/templates/header.html | 8 -------- 8 files changed, 170 insertions(+), 25 deletions(-) create mode 100644 colab/static/css/footer.css create mode 100644 colab/static/img/acesso-a-informacao.png create mode 100644 colab/static/img/brasil.png create mode 100644 colab/static/img/sgpr.png diff --git a/colab/static/css/footer.css b/colab/static/css/footer.css new file mode 100644 index 0000000..eb54459 --- /dev/null +++ b/colab/static/css/footer.css @@ -0,0 +1,64 @@ +.footer-content{ + background: rgb(213,213,213); + padding: 20px 0; + font-family: 'Open Sans'; +} + +.footer-links > ul > li > a{ + color:#2c66ce; + padding: 0; + font-size: 13px; + line-height: 1.7em; +} + +.footer-links > ul > li > a:hover{ + background: none; + text-decoration: underline; +} + +.footer-links{ + color:#2c66ce; + border-left:1px dotted #2c66ce; +} + +.footer-links h2{ + font-size: 18px; + font-weight: bold; + padding: 0; + line-height: 1.3em; + margin-top: 0; +} + +.footer-logos{ + background: #0042b2; + padding: 2em 0; + height: 49px; +} + +.footer-logos .logo-acesso { + background: transparent url(../img/acesso-a-informacao.png) center center no-repeat; + width: 107px; +} + +.footer-logos .logo-brasil { + background: transparent url(../img/brasil.png) center center no-repeat; + width: 153px; +} + +.footer-logos .logo-sgpr { + background: transparent url(../img/sgpr.png) center center no-repeat; + width: 187px; + margin-right: 30px; +} + +.footer-logos span{ + color: transparent; +} + +.footer-logos a:hover{ + text-decoration: none; +} + +.footer-logos a{ + min-height: 49px; +} diff --git a/colab/static/css/screen.css b/colab/static/css/screen.css index 8b58cc5..e84e0ef 100644 --- a/colab/static/css/screen.css +++ b/colab/static/css/screen.css @@ -1,3 +1,5 @@ +@import url(footer.css); +@import url(http://fonts.googleapis.com/css?family=Open+Sans); body { padding-top: 57px; diff --git a/colab/static/img/acesso-a-informacao.png b/colab/static/img/acesso-a-informacao.png new file mode 100644 index 0000000..fffec98 Binary files /dev/null and b/colab/static/img/acesso-a-informacao.png differ diff --git a/colab/static/img/brasil.png b/colab/static/img/brasil.png new file mode 100644 index 0000000..0ac6ed2 Binary files /dev/null and b/colab/static/img/brasil.png differ diff --git a/colab/static/img/sgpr.png b/colab/static/img/sgpr.png new file mode 100644 index 0000000..0c6187e Binary files /dev/null and b/colab/static/img/sgpr.png differ diff --git a/colab/templates/base.html b/colab/templates/base.html index 1690b9c..259cae3 100644 --- a/colab/templates/base.html +++ b/colab/templates/base.html @@ -54,7 +54,7 @@ - + {% if BROWSERID_ENABLED %} {% browserid_info %} {% endif %} @@ -95,7 +95,7 @@ {% endblock %} -
+
{% block main-content %}{% endblock %}
diff --git a/colab/templates/footer.html b/colab/templates/footer.html index d6e710d..3e5d53a 100644 --- a/colab/templates/footer.html +++ b/colab/templates/footer.html @@ -1,19 +1,106 @@ {% load i18n browserid conversejs gravatar proxy %} {% load static from staticfiles %} -