From 68528dc17a4eb90d79169e3e78b233fa7da45ea5 Mon Sep 17 00:00:00 2001 From: Thibault Richy Date: Fri, 10 Nov 2017 15:35:55 +0100 Subject: [PATCH] Retours SBV --- .../themes/pole-sbv/contact_template.php | 2 +- pole-sbv-content/themes/pole-sbv/css/main.css | 108 +++++++++++++++--- .../themes/pole-sbv/earth_template.php | 2 +- pole-sbv-content/themes/pole-sbv/footer.php | 4 +- pole-sbv-content/themes/pole-sbv/header.php | 2 +- .../pole-sbv/images/anim-slide01-mobile.png | Bin 18848 -> 29599 bytes .../pole-sbv/images/anim-slide02-mobile.png | Bin 55321 -> 49585 bytes .../pole-sbv/images/anim-slide03-mobile.png | Bin 31573 -> 29267 bytes pole-sbv-content/themes/pole-sbv/js/app.js | 4 + 9 files changed, 104 insertions(+), 18 deletions(-) diff --git a/pole-sbv-content/themes/pole-sbv/contact_template.php b/pole-sbv-content/themes/pole-sbv/contact_template.php index cec13a0c..d7b167e8 100755 --- a/pole-sbv-content/themes/pole-sbv/contact_template.php +++ b/pole-sbv-content/themes/pole-sbv/contact_template.php @@ -82,7 +82,7 @@ get_header(); ?>

Z.I. de Bellevue
29, avenue de l’Hippodrome
22 200 - Saint-Agathon

Tel : +33 (0)2 96 11 83 00
Fax : +33 (0)2 96 11 83 20
info@farmor.fr
www.farmor.fr

-
+

diff --git a/pole-sbv-content/themes/pole-sbv/css/main.css b/pole-sbv-content/themes/pole-sbv/css/main.css index 882fc2ba..5f817941 100755 --- a/pole-sbv-content/themes/pole-sbv/css/main.css +++ b/pole-sbv-content/themes/pole-sbv/css/main.css @@ -71,12 +71,16 @@ h3 { .schema01 { max-width:100%; background-color:#575756; - display:flex; + //display:flex; + text-align:center; + text-align: -webkit-center; justify-content:center; } .schema02 { - display:flex; + //display:flex; + text-align:center; + text-align: -webkit-center; justify-content:center; } /* Schema performences */ @@ -117,8 +121,9 @@ h3 { .chicken { position:absolute; right:0; + top:0; max-width:300px; - margin-top:125px; + margin-top:50px; } .quote { text-align: right; @@ -204,17 +209,17 @@ h3 { .imgText .securityText { position:absolute; - top:20px; - left:20px; - width:50%; + top:10px; + left:10px; + width:67%; color:#fff; text-transform: uppercase; font-weight:bold; - font-size:1.7em; + font-size:1.4em; } .securityText2 { - width:400px; + //width:400px; } .security p { @@ -242,6 +247,17 @@ h3 { } @media (max-width: 480px){ + + .imgText .securityText { + top:10px; + left:10px; + width:67%; + color:#fff; + text-transform: uppercase; + font-weight:bold; + font-size:1.1em; + } + .wellness .wellnessText p { display:block; font-size:1.2em; @@ -657,7 +673,16 @@ h3 { .ms-nav-next { right:40% !important; } +.heading-decoration:after { + width:70%; +} +.heading-decoration:before{ + width:30%; +} +.heading-decoration .text:after{ + width:0; +} @media (max-width: 1024px){ .ms-bullets { @@ -703,6 +728,12 @@ h3 { } } @media (max-width: 768px){ + .heading-decoration:after { + width:70%; + } + .heading-decoration:before{ + width:30%; + } .caption-title.specTitle h1 span { font-size:23px; } @@ -784,8 +815,8 @@ p { .chicken { right:-14px; - max-width:90px; - margin-top:22px; + max-width:190px; + top:20px; } .listSavoir ul li { @@ -832,13 +863,61 @@ p { display:block; } .accelerators-block .accelerator img { - object-position: 50% 0; + object-position: 50% 20%; } .solution-illustration .img-box { width:50%; } +.grp-ldc img { + width:120px; +} +.ornament-bg .img-text-holder img{ + width:50%; + height:50%; + margin:auto; +} + } @media (max-width: 479px){ + .ornament-bg .img-text-holder img{ + width:100%; + height:100%; + margin:auto; + } + .onlyDesktop { + display:none; + } + + .banner .caption-title h1 { + font-size: 21px; + } + + .text-content .illustration-block .illstr:nth-child(2) img { + width: 120px; + } + + .text-content .illustration-block .illstr:nth-child(3) img { + width: 120px; + } + + .products .products-carousel .owl-item.center{ + transform: scale(1); + } + + .item .outside-title{ + font-size:18px; + } + .products .gallery-title{ + font-size:24px; + } + .chicken { + right:-14px; + max-width:90px; + top:100px; + } + .brands-carousel .owl-stage-outer { + min-height:130px !important; + } .solution-illustration .img-box { width:100%; } @@ -849,7 +928,7 @@ p { width:90px; } .text-content .illustration-block .illstr{ - width:170px; + width:auto; } .text-content .illustration-block .illstr:last-child { width:120px; @@ -883,12 +962,15 @@ p { .logos-holder img { margin-right:10px; } + .grp-ldc img { + max-width:100px; + } } .brands-carousel .owl-stage-outer { - min-height:250px !important; + min-height:250px; } .specImg { diff --git a/pole-sbv-content/themes/pole-sbv/earth_template.php b/pole-sbv-content/themes/pole-sbv/earth_template.php index 7f1d267d..3c78daeb 100755 --- a/pole-sbv-content/themes/pole-sbv/earth_template.php +++ b/pole-sbv-content/themes/pole-sbv/earth_template.php @@ -97,7 +97,7 @@ get_header(); ?> return ((elemBottom <= docViewBottom) && (elemTop >= docViewTop)); } $(document).on("scroll", function () { - if ($(window).scrollTop()>500) { + if ($(window).scrollTop()>200) { $('#coeur01').animate({'opacity': '1'}, 1000, function(){ $('#coeur02').animate({'opacity': '1'}, 1000, function(){ diff --git a/pole-sbv-content/themes/pole-sbv/footer.php b/pole-sbv-content/themes/pole-sbv/footer.php index b12edc27..53db23b6 100755 --- a/pole-sbv-content/themes/pole-sbv/footer.php +++ b/pole-sbv-content/themes/pole-sbv/footer.php @@ -45,8 +45,8 @@
- - + +