From 559075d7837e8bf67399dfbdd11bbec3a06e8045 Mon Sep 17 00:00:00 2001 From: Caroline Girard Date: Tue, 26 Mar 2019 12:48:00 +0100 Subject: [PATCH] sub-footer --- app/assets/stylesheets/public.scss | 39 +++++++++++++++--------------- app/views/layouts/public.html.haml | 7 ++++-- 2 files changed, 24 insertions(+), 22 deletions(-) diff --git a/app/assets/stylesheets/public.scss b/app/assets/stylesheets/public.scss index 6e19f14..e67e030 100644 --- a/app/assets/stylesheets/public.scss +++ b/app/assets/stylesheets/public.scss @@ -553,11 +553,23 @@ h2{ margin: 20px; } - #footer { - margin-top: 0px; - .btn { - position: relative !important; - right: 70% !important; + #sub_footer { + padding: 5px 0 !important; + text-align: center; + #logos { + padding: 20px !important; + img { + margin: 5px 12px !important; + } + } + + #place { + padding-right: 4% !important; + padding-left: 6% !important; + } + + img { + height: 70px !important; } } @@ -590,22 +602,9 @@ h2{ margin-top: 20px; } - #sub_footer #place { - } - #sub_footer #logos img { - height: 75px; - margin: 0 10px; - p { - margin-left: 10px; - } - } - #sub_footer #contacts { - padding-right: 50px; - position: relative; - left: -20%; - height: 15vh; - } + + //pour les particuliers #main_content { padding: 0px; diff --git a/app/views/layouts/public.html.haml b/app/views/layouts/public.html.haml index be912d1..65ace0b 100644 --- a/app/views/layouts/public.html.haml +++ b/app/views/layouts/public.html.haml @@ -221,6 +221,9 @@ #sub_footer #logos + =link_to "https://groupe-payre.fr", :target => "_blank" do + =image_tag "/logo.png" + =link_to "http://payreagri.quartz.xyz", :target => "_blank" do =image_tag "/payre-agriculture.png" @@ -241,8 +244,8 @@ 2089 route de St Quentin %br 38430 MOIRANS - #contacts - + %br + %br %p =ic :phone 04 76 35 31 69