From 532f12a11a14a1bed46d184a32fa04ef2671d7b5 Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Mon, 1 Aug 2016 18:14:10 +0200 Subject: [PATCH] suite --- app/assets/stylesheets/public.scss | 20 ++++++++++++++++++-- app/views/layouts/public.html.haml | 5 ++++- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/public.scss b/app/assets/stylesheets/public.scss index 40d392b..960ead2 100755 --- a/app/assets/stylesheets/public.scss +++ b/app/assets/stylesheets/public.scss @@ -978,7 +978,7 @@ padding:5px 8px; } .mobile-no-margin-top{ - margin-top:0; + margin-top:0 !important; } @@ -1023,8 +1023,24 @@ padding:5px 8px; } -@media screen and (max-width:600px) { + +.bottom_mobile_only{ + display:none; +} +.bottom_desktop_only{ + display:inline; +} + + +@media screen and (max-width:600px) { + .bottom_mobile_only{ + display:block; + } + .bottom_desktop_only{ + display:none; + + } #nous-bloc{ .gallery_for_mobile{ display:block; diff --git a/app/views/layouts/public.html.haml b/app/views/layouts/public.html.haml index 340befc..ddec260 100755 --- a/app/views/layouts/public.html.haml +++ b/app/views/layouts/public.html.haml @@ -194,7 +194,10 @@ =i(:"arrow-up") .bottom - © 2016 idN communication • Tous droits réservés • + © 2016 idN communication • Tous droits réservés + .bottom_mobile_only + %span.bottom_desktop_only + • =link_to "Mentions légales", "/fr/mentions-legales.html", :data => {:remote => true}