aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Whiteland <dave@mysociety.org>2013-09-25 10:36:00 +0100
committerDave Whiteland <dave@mysociety.org>2013-09-25 12:50:14 +0100
commit106935529a3180be9bb8ebfe20a604388f2cfeb1 (patch)
treec5d1263683106c59fe1cb336dc432da557dc54ff
parent9decb3d0f33737cfd7ff1368556534049aa7dbd9 (diff)
add FB/fabap links to fixmindelo footer, part of #557
-rw-r--r--templates/web/fixmindelo/footer.html20
-rw-r--r--web/cobrands/fixmindelo/base.scss27
-rw-r--r--web/cobrands/fixmindelo/images/link_sprites.pngbin0 -> 1037 bytes
3 files changed, 45 insertions, 2 deletions
diff --git a/templates/web/fixmindelo/footer.html b/templates/web/fixmindelo/footer.html
index 4a8144ccf..608f7adf6 100644
--- a/templates/web/fixmindelo/footer.html
+++ b/templates/web/fixmindelo/footer.html
@@ -1,6 +1,24 @@
[% IF pagefooter %]
<footer role="content-info">
- <p><a href="/privacy">Privacy and cookies</a></p>
+ <div id="footer-help">
+ <ul>
+ <li>
+ <h4>
+ <a class="link-fb" href="https://www.facebook.com/fixmindelo">Facebook</a>
+ </h4>
+ </li>
+ <li>
+ <h4>
+ <a class="link-fabap" href="http://galeria.fabricadeaplicativos.com.br/fixmystreetmindelo">Fábrica de aplicativos</a>
+ </h4>
+ </li>
+ <li>
+ <h4>
+ <a href="/privacy">Privacy and cookies</a>
+ </h4>
+ <li>
+ </ul>
+ </div>
</footer>
[% END %]
</div><!-- .content role=main -->
diff --git a/web/cobrands/fixmindelo/base.scss b/web/cobrands/fixmindelo/base.scss
index e5c8f144d..ef410961e 100644
--- a/web/cobrands/fixmindelo/base.scss
+++ b/web/cobrands/fixmindelo/base.scss
@@ -39,4 +39,29 @@ $image-sprite: 'images/sprite.png';
.wrapper {
position: relative; // to make the staging-banner not affect top/left positioning of logo
-} \ No newline at end of file
+}
+
+#footer-help ul li {
+ padding-right: 3em;
+ a {
+ display: block;
+ }
+ a.link-fb, a.link-fabap {
+ padding-left: 30px;
+ background-image: url('images/link_sprites.png');
+ background-repeat: no-repeat;
+ background-position-x: 0;
+ }
+ a.link-fb {
+ background-position-y: -282px;
+ &:hover {
+ background-position-y: -222px;
+ }
+ }
+ a.link-fabap {
+ background-position-y: -78px;
+ &:hover {
+ background-position-y: -28px;
+ }
+ }
+}
diff --git a/web/cobrands/fixmindelo/images/link_sprites.png b/web/cobrands/fixmindelo/images/link_sprites.png
new file mode 100644
index 000000000..bf4d982fe
--- /dev/null
+++ b/web/cobrands/fixmindelo/images/link_sprites.png
Binary files differ