From 9d0d7f85f620dd37de27335c4b828433bf179a26 Mon Sep 17 00:00:00 2001 From: summerscope Date: Tue, 29 Apr 2014 15:10:50 +1000 Subject: [PATCH] Styling footer and beta sections. --- app/assets/stylesheets/darkswarm/footer.sass | 4 +++- app/assets/stylesheets/darkswarm/mixins.sass | 15 +++++++++++++++ app/views/home/_beta.html.haml | 5 ++++- 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/darkswarm/footer.sass b/app/assets/stylesheets/darkswarm/footer.sass index a2c8c56a9d..8ad1b6e46c 100644 --- a/app/assets/stylesheets/darkswarm/footer.sass +++ b/app/assets/stylesheets/darkswarm/footer.sass @@ -4,4 +4,6 @@ footer background: $dark-grey @include panepadding - color: white \ No newline at end of file + .row + &, & * + color: white \ No newline at end of file diff --git a/app/assets/stylesheets/darkswarm/mixins.sass b/app/assets/stylesheets/darkswarm/mixins.sass index eef948bda3..1daabe34a5 100644 --- a/app/assets/stylesheets/darkswarm/mixins.sass +++ b/app/assets/stylesheets/darkswarm/mixins.sass @@ -19,16 +19,31 @@ background-color: $clr-brick &, & * color: white + a + color: $clr-brick-ultra-light + &:hover + text-decoration: none + color: $clr-brick-light @mixin lightbg background-color: $clr-brick-ultra-light &, & * color: black + a + color: $clr-brick + &:hover + text-decoration: none + color: $clr-brick-bright @mixin turqbg background-color: $clr-turquoise-light &, & * color: $clr-turquoise + a + color: white + &:hover + text-decoration: none + color: $clr-turquoise-light @mixin fullbg background-position: center center diff --git a/app/views/home/_beta.html.haml b/app/views/home/_beta.html.haml index 99239a29da..318608edb4 100644 --- a/app/views/home/_beta.html.haml +++ b/app/views/home/_beta.html.haml @@ -7,4 +7,7 @@ %p Open Food Network (beta) is a new service that’s being built right now! Our food producers are currently based around Melbourne and Victoria, and we hope to expand OFN nationally very soon. %p Want to help? Or find out when OFN is coming to you? %strong We’d love to hear from you: - %p Food buyers | Food producers & farmers \ No newline at end of file + %p + %a{title:'Food buyers', href: '/food-buyers'} Food buyers + | + %a{title:'Food producers & farmers', href: '/food-producers'} Food producers & farmers \ No newline at end of file