]> _ Git - cubedesigners-v7.git/commitdiff
(no commit message)
authorbruno@cubedesigners.com <bruno@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 20 Jan 2014 16:33:08 +0000 (16:33 +0000)
committerbruno@cubedesigners.com <bruno@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 20 Jan 2014 16:33:08 +0000 (16:33 +0000)
25 files changed:
framework/application/forms/CMS/Home.php
framework/application/forms/CMS/Sub/Contact.php [new file with mode: 0644]
framework/application/forms/CMS/Sub/Contact/Office.php [new file with mode: 0644]
framework/application/forms/CMS/Sub/Contact/Offices.php [new file with mode: 0644]
framework/application/forms/CMS/Sub/Followus.php [new file with mode: 0644]
framework/application/forms/CMS/Sub/Followus/SocialNetwork.php [new file with mode: 0644]
framework/application/forms/CMS/Sub/Followus/SocialsNetworks.php [new file with mode: 0644]
framework/application/forms/CMS/Sub/Home/Agence.php [new file with mode: 0644]
framework/application/forms/CMS/Sub/News.php [new file with mode: 0644]
framework/application/forms/CMS/Sub/News/New.php [new file with mode: 0644]
framework/application/forms/CMS/Sub/News/News.php [new file with mode: 0644]
framework/application/forms/Settings.php
framework/application/views/helpers/FooterActualites.php [new file with mode: 0644]
framework/application/views/helpers/FooterContact.php [new file with mode: 0644]
framework/application/views/helpers/FooterSocials.php [new file with mode: 0644]
framework/application/views/helpers/HomeAgence.php [new file with mode: 0644]
framework/application/views/scripts/common/footer.phtml
framework/application/views/scripts/common/header.phtml
framework/application/views/scripts/templates/home.phtml
images/logo-mobile.png [new file with mode: 0644]
images/picto_footer_mail.png [new file with mode: 0644]
less/common.less
less/footer.less
less/header.less
less/home.less

index 9093f069acf6a7ddfcdaf72abd57e2dbe7494844..7e117b5a915f4704c39745e3c5c7654b741527f0 100644 (file)
@@ -5,10 +5,15 @@ class Cubedesigners_Form_CMS_Home extends Cubedesigners_Form_CMS {
     public function init() {
         parent::init();
 
-        $titre = new Zend_Form_Element_Text('titre');
+        $titre = new CubeIT_Form_Element_Markitup('titre');
         $titre->setLabel('Titre');
         $this->addElement($titre);
+
+        $agence = new Cubedesigners_Form_CMS_Sub_Home_Agence();
+        $agence->setLabel('Bloc L\'agence');
+        $this->addSubForm($agence, 'agence');
     }
 
 }
+
 ?>
\ No newline at end of file
diff --git a/framework/application/forms/CMS/Sub/Contact.php b/framework/application/forms/CMS/Sub/Contact.php
new file mode 100644 (file)
index 0000000..8cafaa1
--- /dev/null
@@ -0,0 +1,19 @@
+<?php
+
+class Cubedesigners_Form_CMS_Sub_Contact extends CubeIT_Form_SubForm {
+
+    public function init() {
+        parent::init();
+
+        $bloc = new CubeIT_Form_Element_Markitup('bloc');
+        $bloc->setLabel('Bloc "Nous Contacter"');
+        $this->addElement($bloc);
+
+        $bureau = new Cubedesigners_Form_CMS_Sub_Contact_Offices('bureaux');
+        $bureau->setLegend('Bureaux');
+        $this->addSubForm($bureau, 'bureau');
+    }
+
+}
+
+?>
diff --git a/framework/application/forms/CMS/Sub/Contact/Office.php b/framework/application/forms/CMS/Sub/Contact/Office.php
new file mode 100644 (file)
index 0000000..6b01466
--- /dev/null
@@ -0,0 +1,27 @@
+<?php
+
+class Cubedesigners_Form_CMS_Sub_Contact_Office extends CubeIT_Form_SubForm {
+
+    public function init() {
+        parent::init();
+
+        $titre = new Zend_Form_Element_Text('titre');
+        $titre->setLabel('Titre du bureau');
+        $this->addElement($titre);
+
+        $telephone = new CubeIT_Form_Element_Phone('telephone');
+        $telephone->setLabel('Téléphone');
+        $this->addElement($telephone);
+
+        $fax = new CubeIT_Form_Element_Phone('fax');
+        $fax->setLabel('Fax');
+        $this->addElement($fax);
+
+        $adresse = new CubeIT_Form_Adresse('adresse');
+        $adresse->setLabel('Adresse');
+        $this->addSubForm($adresse, 'adresse');
+    }
+
+}
+
+?>
diff --git a/framework/application/forms/CMS/Sub/Contact/Offices.php b/framework/application/forms/CMS/Sub/Contact/Offices.php
new file mode 100644 (file)
index 0000000..f98d637
--- /dev/null
@@ -0,0 +1,16 @@
+<?php
+
+class Cubedesigners_Form_CMS_Sub_Contact_Offices extends CubeIT_Form_Multi_SubForm {
+
+    public function init() {
+        parent::init();
+
+        $office = new Cubedesigners_Form_CMS_Sub_Contact_Office();
+        $this->setBaseSubForm($office);
+        $this->setBaseLegend('Edition du bureau « $titre »');
+        $this->setNewLegend('Nouveau bureau');
+    }
+
+}
+
+?>
diff --git a/framework/application/forms/CMS/Sub/Followus.php b/framework/application/forms/CMS/Sub/Followus.php
new file mode 100644 (file)
index 0000000..45748d2
--- /dev/null
@@ -0,0 +1,15 @@
+<?php
+
+class Cubedesigners_Form_CMS_Sub_Followus extends CubeIT_Form_SubForm {
+
+    public function init() {
+        parent::init();
+
+        $reseaux = new Cubedesigners_Form_CMS_Sub_Followus_SocialsNetworks('reseauxsociaux');
+        $reseaux->setLegend('Réseaux Sociaux');
+        $this->addSubForm($reseaux, 'reseauxsociaux');
+    }
+
+}
+
+?>
diff --git a/framework/application/forms/CMS/Sub/Followus/SocialNetwork.php b/framework/application/forms/CMS/Sub/Followus/SocialNetwork.php
new file mode 100644 (file)
index 0000000..e6b85a8
--- /dev/null
@@ -0,0 +1,24 @@
+<?php
+
+class Cubedesigners_Form_CMS_Sub_Followus_SocialNetwork extends CubeIT_Form_SubForm {
+
+    public function init() {
+        parent::init();
+
+        $titre = new Zend_Form_Element_Text('titre');
+        $titre->setLabel('Titre du réseau social');
+        $this->addElement($titre);
+
+        $url = new CubeIT_Form_Element_Url('url');
+        $url->setLabel('Url');
+        $this->addElement($url);
+
+        $picto = new CubeIT_Form_Element_File_Image('picto');
+        $picto->setLabel('Pictogramme');
+        $picto->setMaxItems(1);
+        $this->addElement($picto);
+    }
+
+}
+
+?>
diff --git a/framework/application/forms/CMS/Sub/Followus/SocialsNetworks.php b/framework/application/forms/CMS/Sub/Followus/SocialsNetworks.php
new file mode 100644 (file)
index 0000000..c0b832c
--- /dev/null
@@ -0,0 +1,16 @@
+<?php
+
+class Cubedesigners_Form_CMS_Sub_Followus_SocialsNetworks extends CubeIT_Form_Multi_SubForm {
+
+    public function init() {
+        parent::init();
+
+        $reseau = new Cubedesigners_Form_CMS_Sub_Followus_SocialNetwork();
+        $this->setBaseSubForm($reseau);
+        $this->setBaseLegend('Edition du réseau social « $titre »');
+        $this->setNewLegend('Nouveau réseau social');
+    }
+
+}
+
+?>
diff --git a/framework/application/forms/CMS/Sub/Home/Agence.php b/framework/application/forms/CMS/Sub/Home/Agence.php
new file mode 100644 (file)
index 0000000..29ae597
--- /dev/null
@@ -0,0 +1,19 @@
+<?php
+
+class Cubedesigners_Form_CMS_Sub_Home_Agence extends CubeIT_Form_SubForm {
+
+    public function init() {
+        parent::init();
+
+        $titre = new Zend_Form_Element_Text('titre');
+        $titre->setLabel('Titre');
+        $this->addElement($titre);
+
+        $blocs = new Cubedesigners_Form_CMS_Sub_Home_Agence_Blocs('blocs');
+        $blocs->setLegend('Sous-blocs');
+        $this->addSubForm($blocs, 'blocs');
+    }
+
+}
+
+?>
diff --git a/framework/application/forms/CMS/Sub/News.php b/framework/application/forms/CMS/Sub/News.php
new file mode 100644 (file)
index 0000000..ac5280b
--- /dev/null
@@ -0,0 +1,15 @@
+<?php
+
+class Cubedesigners_Form_CMS_Sub_News extends CubeIT_Form_SubForm {
+
+    public function init() {
+        parent::init();
+
+        $actus = new Cubedesigners_Form_CMS_Sub_News_News('actualites');
+        $actus->setLegend('Actualités');
+        $this->addSubForm($actus, 'actualites');
+    }
+
+}
+
+?>
diff --git a/framework/application/forms/CMS/Sub/News/New.php b/framework/application/forms/CMS/Sub/News/New.php
new file mode 100644 (file)
index 0000000..fa5ed06
--- /dev/null
@@ -0,0 +1,19 @@
+<?php
+
+class Cubedesigners_Form_CMS_Sub_News_New extends CubeIT_Form_SubForm {
+
+    public function init() {
+        parent::init();
+
+        $date = new CubeIT_Form_Element_Date('date');
+        $date->setLabel('Date');
+        $this->addElement($date);
+
+        $texte = new CubeIT_Form_Element_Markitup_Basic('texte');
+        $texte->setLabel('Texte');
+        $this->addElement($texte);
+    }
+
+}
+
+?>
diff --git a/framework/application/forms/CMS/Sub/News/News.php b/framework/application/forms/CMS/Sub/News/News.php
new file mode 100644 (file)
index 0000000..29366c1
--- /dev/null
@@ -0,0 +1,16 @@
+<?php
+
+class Cubedesigners_Form_CMS_Sub_News_News extends CubeIT_Form_Multi_SubForm {
+
+    public function init() {
+        parent::init();
+
+        $actu = new Cubedesigners_Form_CMS_Sub_News_New();
+        $this->setBaseSubForm($actu);
+        $this->setBaseLegend('Edition de l\'actualité du « $date »');
+        $this->setNewLegend('Nouvelle actualité');
+    }
+
+}
+
+?>
index fbf11d02a75142b27f1fcd2fd797d941bddcc709..0b4fb74b7476ad01e296a5f3582d62c54dc9f1e5 100644 (file)
@@ -15,6 +15,21 @@ class Cubedesigners_Form_Settings extends CubeIT_Form_Settings {
         $description->setLabel('Description de la page par défaut');
         $this->addElementLocalized($description);
 
+        /* BLOC CONTACT */
+        $contact = new Cubedesigners_Form_CMS_Sub_Contact();
+        $contact->setLabel('Informations de contact');
+        $this->addSubFormLocalized($contact, 'contact');
+
+        /* BLOC ACTUALITES */
+        $actus = new Cubedesigners_Form_CMS_Sub_News();
+        $actus->setLabel('Bloc Actualités');
+        $this->addSubFormLocalized($actus, 'actus');
+
+        /* BLOC SUIVEZ-NOUS */
+        $followus = new Cubedesigners_Form_CMS_Sub_Followus();
+        $followus->setLabel('Bloc Suivez-nous');
+        $this->addSubFormLocalized($followus, 'followus');
+
         /* COPYRIGHT */
         $copyright = new Zend_Form_Element_Text('copyright');
         $copyright->setLabel('Copyright du bas de page');
diff --git a/framework/application/views/helpers/FooterActualites.php b/framework/application/views/helpers/FooterActualites.php
new file mode 100644 (file)
index 0000000..448d943
--- /dev/null
@@ -0,0 +1,22 @@
+<?php\r
+\r
+class Cubedesigners_View_Helper_FooterActualites extends Zend_View_Helper_Abstract {\r
+\r
+    public function footerActualites($actus) {\r
+\r
+        $actus = $actus["actualites"];\r
+\r
+        $nbActus = count($actus);\r
+\r
+        $res = '<div class="actus">';\r
+        foreach ($actus as $id => $actu) {\r
+            $res.='<div class="actu"><p class="date">' . $actu['date'] . '</p><p class="texte">' . $this->view->markupDotclear($actu['texte']) . '<p></div>';\r
+        }\r
+        $res.= '</div>';\r
+\r
+        return $res;\r
+    }\r
+\r
+}\r
+\r
+?>\r
diff --git a/framework/application/views/helpers/FooterContact.php b/framework/application/views/helpers/FooterContact.php
new file mode 100644 (file)
index 0000000..2b01eda
--- /dev/null
@@ -0,0 +1,41 @@
+<?php\r
+\r
+class Cubedesigners_View_Helper_FooterContact extends Zend_View_Helper_Abstract {\r
+\r
+    public function footerContact($contact) {\r
+\r
+        $res = '<div class="contact-texte">' . $this->view->markupDotclear($contact['bloc']) . '</div>';\r
+\r
+        $bureaux = $contact['bureau'];\r
+\r
+        foreach ($bureaux as $id => $bureau) {\r
+\r
+            $res.='<div class="bureau">';\r
+\r
+            $res.='<p class="titre">' . $bureau['titre'] . '<p>';\r
+\r
+            $res.='<div class="numeros">';\r
+            $res.='<p>' . __('Tel') . ' ' . $bureau['telephone'] . '</p>';\r
+            $res.='<p>' . __('Fax') . ' ' . $bureau['fax'] . '</p>';\r
+            $res.='</div>';\r
+\r
+            $res.='<div class="adresse">';\r
+            $res.='<p>' . __('Cubedesigners') . '</p>';\r
+            $res.='<p>' . $bureau['adresse']['adresse'] . '</p>';\r
+            $res.='<p>' . $bureau['adresse']['code_postal'] . ' ' . $bureau['adresse']['ville'] . '</p>';\r
+            $res.='<p>' . Zend_Locale::getTranslation($bureau['adresse']['pays'], 'territory') . '<p>';\r
+            $res.='</div>';\r
+\r
+            $res.='<div class="geoloc">';\r
+            $res.=$this->view->linkGeo(__('Plan d\'accès'), $bureau['adresse']['adresse'] . ',' . $bureau['adresse']['ville'] . ',' . Zend_Locale::getTranslation($bureau['adresse']['pays'], 'territory'));\r
+            $res.='</div>';\r
+\r
+            $res.='</div>';\r
+        }\r
+\r
+        return $res;\r
+    }\r
+\r
+}\r
+\r
+?>\r
diff --git a/framework/application/views/helpers/FooterSocials.php b/framework/application/views/helpers/FooterSocials.php
new file mode 100644 (file)
index 0000000..50d68fd
--- /dev/null
@@ -0,0 +1,23 @@
+<?php\r
+\r
+class Cubedesigners_View_Helper_FooterSocials extends Zend_View_Helper_Abstract {\r
+\r
+    public function footerSocials($socials) {\r
+\r
+        $socials = $socials["reseauxsociaux"];\r
+\r
+        $nbSocials = count($socials);\r
+\r
+        $res = '<div class="reseaux">';\r
+        foreach ($socials as $id => $social) {\r
+            $image = $this->view->imageProcess($social['picto'], $social['titre'], 45, 45);\r
+            $res.='<div class="social"><a href="' . $social['url'] . '">' . $image . '</a></div>';\r
+        }\r
+        $res.= '</div>';\r
+\r
+        return $res;\r
+    }\r
+\r
+}\r
+\r
+?>\r
diff --git a/framework/application/views/helpers/HomeAgence.php b/framework/application/views/helpers/HomeAgence.php
new file mode 100644 (file)
index 0000000..a0bcd47
--- /dev/null
@@ -0,0 +1,48 @@
+<?php\r
+\r
+class Cubedesigners_View_Helper_HomeAgence extends Zend_View_Helper_Abstract {\r
+\r
+    public function homeAgence($blocs) {\r
+\r
+        $blocs = $blocs['blocs'];\r
+\r
+        $res = '<div class="blocs">';\r
+        foreach ($blocs as $id => $bloc) {\r
+\r
+            /* $res.='<div class="bureau">';\r
+\r
+              $res.='<p class="titre">' . $bureau['titre'] . '<p>';\r
+\r
+              $res.='<div class="numeros">';\r
+              $res.='<p>' . __('Tel') . ' ' . $bureau['telephone'] . '</p>';\r
+              $res.='<p>' . __('Fax') . ' ' . $bureau['fax'] . '</p>';\r
+              $res.='</div>';\r
+\r
+              $res.='<div class="adresse">';\r
+              $res.='<p>' . __('Cubedesigners') . '</p>';\r
+              $res.='<p>' . $bureau['adresse']['adresse'] . '</p>';\r
+              $res.='<p>' . $bureau['adresse']['code_postal'] . ' ' . $bureau['adresse']['ville'] . '</p>';\r
+              $res.='<p>' . Zend_Locale::getTranslation($bureau['adresse']['pays'], 'territory') . '<p>';\r
+              $res.='</div>';\r
+\r
+              $res.='<div class="geoloc">';\r
+              $res.=$this->view->linkGeo(__('Plan d\'accès'), $bureau['adresse']['adresse'] . ',' . $bureau['adresse']['ville'] . ',' . Zend_Locale::getTranslation($bureau['adresse']['pays'], 'territory'));\r
+              $res.='</div>';\r
+\r
+              $res.='</div>'; */\r
+            $image = $this->view->imageProcess($bloc['picto'], $bloc['titre'], 120, 120);\r
+\r
+            $res.='<div class="sousbloc">';\r
+            $res.= $image;\r
+            $res.= '<h2>' . $this->view->markupDotclear($bloc['titre']) . '</h2>';\r
+            $res.= '<p>' . $this->view->markupDotclear($bloc['texte']) . '</p>';\r
+            $res.='</div>';\r
+        }\r
+\r
+        $res .= '</div>';\r
+        return $res;\r
+    }\r
+\r
+}\r
+\r
+?>\r
index 3656131ea6f7ae48ee9c8de527a8ecc0b2a02b34..d483aa806c44458594f68826a2a67b0ded7beac4 100644 (file)
@@ -10,7 +10,34 @@ if (!is_null($mentions_page)) {
 ?>\r
 <div id="footer">\r
     <div class="footer-holder">\r
-        <div class="footer-top"></div>\r
+\r
+        <div class="footer-top">\r
+\r
+            <div class="footer-top-content">\r
+\r
+                <div class="bloc">\r
+\r
+                    <h1>Nous contacter</h1>\r
+\r
+                    <?php echo $this->footerContact($this->option('contact')); ?>\r
+                </div>\r
+\r
+                <div class="bloc">\r
+\r
+                    <h1>Actualités</h1>\r
+\r
+                    <?php echo $this->footerActualites($this->option('actus')); ?>\r
+\r
+                    <h2>Suivez-nous</h2>\r
+\r
+                    <?php echo $this->footerSocials($this->option('followus')); ?>\r
+\r
+                </div>\r
+\r
+            </div>\r
+\r
+        </div>\r
+\r
         <div class="footer-bottom">\r
             <?php\r
             echo $this->option('copyright');\r
index 27802b8d8c4a5ce05cc6455b107484bba4ac0575..990fea385e4e6345f32bcff62e5ed59c71e115bf 100644 (file)
@@ -13,7 +13,7 @@ if (!is_null($homepage)) {
     <?php\r
     /* LOGO */\r
     if (!is_null($home)) {\r
-        echo '<div class="logo"><a href="' . $home . '" class="logo">' . $this->image('/images/logo.png', 'Cubedesigners') . '</a></div>';\r
+        echo '<a href="' . $home . '" class="logo"><div class="logo"></div></a>';\r
     }\r
 \r
     /* NAVIGATION */\r
index e9a66b6ad68fe70fb4a2a8aabcacd2cc34cb22e5..37d73968d636b90934b882fb2446303c751b3fb9 100644 (file)
@@ -1,4 +1,17 @@
 <?php\r
-\r
 $this->headScript()->addScriptAndStyle('home');\r
-?>
\ No newline at end of file
+?>\r
+\r
+<div class="home-title"><?php echo $this->markupDotclear($this->titre); ?></div>\r
+\r
+<div class="home-slideshow"></div>\r
+\r
+<div class="home-agency">\r
+    <div class="home-agency-holder">\r
+\r
+        <h1><?php echo ucfirst($this->agence['titre']); ?></h1>\r
+\r
+        <?php echo $this->homeAgence($this->agence); ?>\r
+\r
+    </div>\r
+</div>
\ No newline at end of file
diff --git a/images/logo-mobile.png b/images/logo-mobile.png
new file mode 100644 (file)
index 0000000..c35073e
Binary files /dev/null and b/images/logo-mobile.png differ
diff --git a/images/picto_footer_mail.png b/images/picto_footer_mail.png
new file mode 100644 (file)
index 0000000..a7d9d9f
Binary files /dev/null and b/images/picto_footer_mail.png differ
index dd4e599e6e2554c1d8a45cb21e1a7c47c99c7826..21398c5c8547fb5fb611d04ad9a9a5074ef7e78f 100644 (file)
@@ -4,6 +4,21 @@ body {
     color:#1b1b1b;\r
 }\r
 \r
+#main {\r
+    margin: 0 auto;\r
+    //min-width: 1024px;\r
+    //max-width: 1200px;\r
+    width:100%;\r
+}\r
+\r
+#main .main-holder {\r
+    min-width: 950px;\r
+    max-width: 1140px;\r
+    width:100%;\r
+    margin: 0 auto;\r
+    padding: 0px 20px 50px 20px;\r
+}\r
+\r
 #wrapper {\r
     \r
 }
\ No newline at end of file
index 9a849b4e4de2671bd481473687ef6b8a520175cf..b427dc62477425347e5dc46f87f600c1a376a899 100644 (file)
@@ -5,9 +5,100 @@
 
 #footer .footer-top {
     background-color: #282828;
-    height: 520px;
 }
 
+#footer .footer-top .footer-top-content {
+    min-width: 950px;
+    max-width: 1140px;
+    width:100%;
+    margin: 0 auto;
+    overflow: hidden;
+    padding: 0px 20px 50px 20px;
+}
+
+#footer .footer-top .footer-top-content .bloc {
+    float: left;
+    //max-width: 490px;
+    width: 50%;
+}
+
+#footer .footer-top .footer-top-content .bloc h1 {
+    font-family: 'roboto_condensedlight';
+    font-weight: normal;
+    color:#fff;
+    font-size:56px;;
+    padding-top: 50px;
+    padding-bottom: 50px;
+}
+
+#footer .footer-top .footer-top-content .bloc h2 {
+    font-family: 'roboto_condensedlight';
+    font-weight: normal;
+    color:#fff;
+    font-size:56px;;
+    padding-top: 50px;
+    padding-bottom: 20px;
+}
+
+/* Footer Nous Contacter */
+#footer .contact-texte {
+    background: url('../images/picto_footer_mail.png') no-repeat;
+    background-position:0px 10px;
+    font-family: 'roboto_condensedlight';
+    font-weight: normal;
+    color:#fff;
+    padding-left:70px;
+    padding-bottom: 50px;
+}
+
+#footer .bureau {
+    float:left;
+    width:50%;
+    color:#6c6c6c;
+}
+
+#footer .bureau .titre, #footer .bureau .numeros {
+    padding-bottom: 20px;
+}
+
+#footer .bureau .geoloc {
+    padding-top : 30px;
+}
+
+#footer .bureau a {
+    background-color: #191919;
+    border-radius: 2px;
+    padding: 5px 20px;
+    color:#6c6c6c;
+}
+
+/* Footer Actualites */
+#footer .actu {
+    font-family: 'roboto_condensedlight';
+    font-weight: normal;
+    color:#6c6c6c;
+    padding-bottom: 20px;
+}
+
+#footer .actu:last-child {
+    padding-bottom: 0;
+}
+
+#footer .actu .date {
+    font-size:12px;
+}
+
+#footer .actu .texte {
+    font-size:16px;
+}
+
+/* Footer Suivez-nous */
+#footer .reseaux .social {
+    float: left;
+    margin-right: 20px;
+}
+
+/* Footer Copyright */
 #footer .footer-bottom {
     background-color: #191919;
     height: 30px;
     line-height: 30px;
 }
 
-#footer .footer-bottom a{
+/* Footer Liens */
+#footer a{
         text-decoration: none;
        color:#3885e0;
 }
 
-#footer .footer-bottom a:hover,
-#footer .footer-bottom .active a{
+#footer a:hover,
+#footer .active a{
        color:#3885e0;
 }
\ No newline at end of file
index 562b9cc1f231dd405988a2cfe76205db64861e27..a0bf6e193df41ecaa5c536e1066fe6fc05ede8e5 100644 (file)
@@ -32,6 +32,9 @@
 }
 
 #header .logo { 
+        background: url('../images/logo.png') no-repeat;
+        width:317px;
+        height:130px;
        float:left;
 }
 
 
 #header .navigation li{
        margin:0 20px 0 0;
-}
\ No newline at end of file
+}
+
+
+/* max-width pour faibles résolutions */
+@media screen and (max-width: 1024px) {
+       
+    #header {
+            margin: 0 auto;
+            max-width: 1024px;
+            width:100%;
+            height:97px;
+        }
+    
+    #header .logo { 
+            background: url('../images/logo-mobile.png') no-repeat;
+            width:212px;
+            height:97px;
+            float:left;
+    }
+        
+}
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..c2dc2fb7fb19f9ae8c42aa64d63671a3c54f74ce 100644 (file)
@@ -0,0 +1,66 @@
+/* Home Title */\r
+.home-title {\r
+    padding: 50px 0px 50px 0;\r
+}\r
+\r
+.home-title h1 {\r
+    text-align: center;\r
+    font-weight: normal;\r
+    font-size: 56px;\r
+}\r
+\r
+.home-title h2 {\r
+    text-align: center;\r
+    font-weight: normal;\r
+    font-size: 32px;\r
+}\r
+\r
+/* Home Slideshow */\r
+.home-slideshow {\r
+    height: 450px;\r
+    padding-bottom:50px;\r
+}\r
+\r
+/* Home Agency */\r
+.home-agency {\r
+    background-color:#3885e0;\r
+    color:#fff;\r
+}\r
+\r
+.home-agency .home-agency-holder {\r
+    min-width: 950px;\r
+    max-width: 1140px;\r
+    width:100%;\r
+    margin: 0 auto;\r
+    padding: 50px 20px 0px 20px;\r
+    overflow:hidden;\r
+}\r
+\r
+.home-agency .home-agency-holder h1 {\r
+    font-family: 'roboto_condensedlight';\r
+    font-weight: normal;\r
+    color:#fff;\r
+    font-size:56px;\r
+}\r
+\r
+.home-agency .home-agency-holder h2 {\r
+    font-family: 'roboto_condensedlight';\r
+    font-weight: normal;\r
+    color:#fff;\r
+    font-size:32px;\r
+}\r
+\r
+.home-agency .home-agency-holder .blocs {\r
+    padding: 40px 0;\r
+}\r
+\r
+.home-agency .home-agency-holder .sousbloc {\r
+    float:left;\r
+    width:50%;\r
+    padding-bottom: 50px;\r
+}\r
+\r
+.home-agency .home-agency-holder .sousbloc img {\r
+    float:left;\r
+    padding-right: 50px;\r
+}
\ No newline at end of file