class Bootstrap extends CubeIT_Bootstrap {
- protected function _initMinimum() {
- parent::_initMinimum();
- // If a project with html display (don't activate by default for web services apps
- $this->bootstrap('doctype');
- $this->bootstrap('scripts');
- }
-
- protected function _initScripts() {
- parent::_initScripts();
- $this->getView()->headLink()->appendStylesheet('/css/fonts/fonts.css');
- $this->getView()->headScript()->addTagHandler();
- }
-
- protected function _initRouter($initCms = true) {
- $router = parent::_initRouter($initCms);
- return $router;
- }
-
- /**
- *
- * @param \Doctrine\DBAL\Schema\Schema $schema
- * @param array $options
- */
- protected function _defineSchema(&$schema, $options) {
- parent::_defineSchema($schema, $options);
-
- // Users
- $user = $schema->createTable('user');
- $user->addColumn('id', 'integer', array('unsigned' => true, 'autoincrement' => true));
- $user->setPrimaryKey(array('id'));
- $user->addColumn('username', 'string', array('length' => 64));
- $user->addUniqueIndex(array('username'));
- $user->addColumn('password', 'string', array('length' => 255));
- $user->addColumn('role', 'string', array('length' => 32));
-
- // Categories
- $categories = $schema->createTable('categories');
- $categories->addColumn('id', 'integer', array('unsigned' => true, 'autoincrement' => true));
- $categories->setPrimaryKey(array('id'));
- $categories->addColumn('name', 'string', array('length' => 64));
-
- // Domaines
- $tags = $schema->createTable('domaines');
- $tags->addColumn('id', 'integer', array('unsigned' => true, 'autoincrement' => true));
- $tags->setPrimaryKey(array('id'));
- $tags->addColumn('name', 'string', array('length' => 64));
-
- // Technologies
- $tags = $schema->createTable('technologies');
- $tags->addColumn('id', 'integer', array('unsigned' => true, 'autoincrement' => true));
- $tags->setPrimaryKey(array('id'));
- $tags->addColumn('name', 'string', array('length' => 64));
-
- // Tags
- $tags = $schema->createTable('tags');
- $tags->addColumn('id', 'integer', array('unsigned' => true, 'autoincrement' => true));
- $tags->setPrimaryKey(array('id'));
- $tags->addColumn('name', 'string', array('length' => 64));
-
- // Casestudies
- $casestudies = $schema->createTable('casestudies');
- $casestudies->addColumn('id', 'integer', array('unsigned' => true, 'autoincrement' => true));
- $casestudies->setPrimaryKey(array('id'));
- $casestudies->addColumn('titre', 'text');
- $casestudies->addColumn('description', 'text');
- $casestudies->addColumn('url', 'text');
- $casestudies->addColumn('visuel', 'string', array('length' => 128));
- $casestudies->addColumn('visuel_detail', 'string', array('length' => 128));
- $casestudies->addColumn('legende', 'text');
- $casestudies->addColumn('couleur', 'text');
- $casestudies->addColumn('blocs', 'text');
- $casestudies->addColumn('categories', 'text');
- $casestudies->addColumn('domaines', 'text');
- $casestudies->addColumn('technologies', 'text');
- $casestudies->addColumn('tags_secondaires', 'text');
- $casestudies->addColumn('online', 'boolean');
- $casestudies->addColumn('propulse', 'boolean');
- $casestudies->addColumn('annee', 'text');
-
- // Réalisations
- $realisations = $schema->createTable('realisations');
- $realisations->addColumn('id', 'integer', array('unsigned' => true, 'autoincrement' => true));
- $realisations->setPrimaryKey(array('id'));
- $realisations->addColumn('titre', 'text');
- $realisations->addColumn('legende', 'text');
- $realisations->addColumn('agence', 'text');
- $realisations->addColumn('description', 'text');
- $realisations->addColumn('url', 'text');
- $realisations->addColumn('visuel', 'string', array('length' => 128));
- $realisations->addColumn('visuel_detail', 'text');
- $realisations->addColumn('categories', 'text');
- $realisations->addColumn('domaines', 'text');
- $realisations->addColumn('technologies', 'text');
- $realisations->addColumn('tags_secondaires', 'text');
- $realisations->addColumn('online', 'boolean');
- $realisations->addColumn('annee', 'text');
- }
-
- protected function _initAcl() {
- $acl = parent::_initAcl();
- return $acl;
- }
-
- protected function _makeNavigationOnePage(&$navigation, $r, $t, $isAdmin, $locale = false) {
- $page = parent::_makeNavigationOnePage($navigation, $r, $t, $isAdmin, $locale);
-
- if (!$page) {
- return;
- }
-
- if ($page->getTemplate() == 'casestudies') {
- $this->addStudiesPages($page, $locale);
- }
-
- if ($page->getTemplate() == 'realisations') {
- $this->addRealisationsPages($page, $locale);
- }
- }
-
- /**
- *
- * @param CubeIT_Navigation_Page_Locale $page
- */
- protected function addRealisationsPages($page, $locale) {
-
- $datas = $this->getCMSDatasOfNavigationPage($page);
- $db = Zend_Db_Table::getDefaultAdapter();
- $s = $db->select()->from('realisations')
- ->order('id ASC');
- $q = $s->query();
-
- while ($r = $q->fetch()) {
- $r = CubeIT_Util_Cms::unserialize($r, $locale);
- if ($r->titre == '') {
- continue;
- }
- $p = new CubeIT_Navigation_Page_Locale();
- $p->setController('Realisations');
- $p->setId($page->getId() . '/' . $r->id);
- $p->setAutoUri($r, $datas['seourl_rea'], $page->getLocale());
- $p->setSitemap(true);
- $p->setEditable(false);
-
- if ($r->online != 1)
- $p->setOnline(false);
-
- $p->setDomain($page->getDomain());
- $p->setLabel($r->titre);
- $p->setParams(array('realisation_id' => $r->id));
- $page->addPage($p);
- }
- }
-
- /**
- *
- * @param CubeIT_Navigation_Page_Locale $page
- */
- protected function addStudiesPages($page, $locale) {
- $datas = $this->getCMSDatasOfNavigationPage($page);
- $db = Zend_Db_Table::getDefaultAdapter();
- $s = $db->select()->from('casestudies')
- ->order('id ASC');
- $q = $s->query();
-
- while ($r = $q->fetch()) {
- $r = CubeIT_Util_Cms::unserialize($r, $locale);
- if ($r->titre == '') {
- continue;
- }
- $p = new CubeIT_Navigation_Page_Locale();
- $p->setController('Studies');
- $p->setId($page->getId() . '/' . $r->id);
- $p->setAutoUri($r, $datas['seourl_stu'], $page->getLocale());
- $p->setSitemap(true);
- $p->setEditable(false);
- $p->setParams(array('casestudy_id' => $r->id));
-
- if ($r->online != 1)
- $p->setOnline(false);
-
- $p->setDomain($page->getDomain());
- $p->setLabel($r->titre);
- $page->addPage($p);
- }
- }
-
- /**
- *
- * @return array
- */
- public function getCMSTemplates() {
-
- $templates = parent::getCMSTemplates();
-
- $templates['Agence'] = array("agence" => "L'agence");
- $templates['Realisations'] = array('realisations' => 'Réalisations');
- $templates['Casestudies'] = array('casestudies' => 'Case-Studies');
- $templates['CasestudiesDetail'] = array('casestudies_detail' => 'Case-Studies (détail)');
- $templates['Expertises'] = array('expertises' => 'Expertises');
- $templates['Contact'] = array('contact' => 'Contact');
- $templates['Mentions'] = array('mentions' => 'Mentions légales');
-
- return $templates;
- }
-
- public function run() {
- // run have to be the last call of bootstrap
- parent::run();
- }
-
- function __destroy() {
- endProfile();
- }
+ protected function _initMinimum() {
+ parent::_initMinimum();
+ // If a project with html display (don't activate by default for web services apps
+ $this->bootstrap('doctype');
+ $this->bootstrap('scripts');
+ }
+
+ protected function _initScripts() {
+ parent::_initScripts();
+ $this->getView()->headLink()->appendStylesheet('/css/fonts/fonts.css');
+ $this->getView()->headScript()->addTagHandler();
+ }
+
+ protected function _initRouter($initCms = true) {
+ $router = parent::_initRouter($initCms);
+ return $router;
+ }
+
+ protected function _initAcl() {
+ $acl = parent::_initAcl();
+ return $acl;
+ }
+
+ protected function _makeNavigationOnePage(&$navigation, $r, $t, $isAdmin, $locale = false) {
+ $page = parent::_makeNavigationOnePage($navigation, $r, $t, $isAdmin, $locale);
+
+ if (!$page) {
+ return;
+ }
+
+ if ($page->getTemplate() == 'casestudies') {
+ $this->addStudiesPages($page, $locale);
+ }
+
+ if ($page->getTemplate() == 'realisations') {
+ $this->addRealisationsPages($page, $locale);
+ }
+ }
+
+ /**
+ *
+ * @param CubeIT_Navigation_Page_Locale $page
+ */
+ protected function addRealisationsPages($page, $locale) {
+
+ $datas = $this->getCMSDatasOfNavigationPage($page);
+ $db = Zend_Db_Table::getDefaultAdapter();
+ $s = $db->select()->from('realisations')
+ ->order('id ASC');
+ $q = $s->query();
+
+ while ($r = $q->fetch()) {
+ $r = CubeIT_Util_Cms::unserialize($r, $locale);
+ if ($r->titre == '') {
+ continue;
+ }
+ $p = new CubeIT_Navigation_Page_Locale();
+ $p->setController('Realisations');
+ $p->setId($page->getId() . '/' . $r->id);
+ $p->setAutoUri($r, $datas['seourl_rea'], $page->getLocale());
+ $p->setSitemap(true);
+ $p->setEditable(false);
+
+ if ($r->online != 1)
+ $p->setOnline(false);
+
+ $p->setDomain($page->getDomain());
+ $p->setLabel($r->titre);
+ $p->setParams(array('realisation_id' => $r->id));
+ $page->addPage($p);
+ }
+ }
+
+ /**
+ *
+ * @param CubeIT_Navigation_Page_Locale $page
+ */
+ protected function addStudiesPages($page, $locale) {
+ $datas = $this->getCMSDatasOfNavigationPage($page);
+ $db = Zend_Db_Table::getDefaultAdapter();
+ $s = $db->select()->from('casestudies')
+ ->order('id ASC');
+ $q = $s->query();
+
+ while ($r = $q->fetch()) {
+ $r = CubeIT_Util_Cms::unserialize($r, $locale);
+ if ($r->titre == '') {
+ continue;
+ }
+ $p = new CubeIT_Navigation_Page_Locale();
+ $p->setController('Studies');
+ $p->setId($page->getId() . '/' . $r->id);
+ $p->setAutoUri($r, $datas['seourl_stu'], $page->getLocale());
+ $p->setSitemap(true);
+ $p->setEditable(false);
+ $p->setParams(array('casestudy_id' => $r->id));
+
+ if ($r->online != 1)
+ $p->setOnline(false);
+
+ $p->setDomain($page->getDomain());
+ $p->setLabel($r->titre);
+ $page->addPage($p);
+ }
+ }
+
+ /**
+ *
+ * @return array
+ */
+ public function getCMSTemplates() {
+
+ $templates = parent::getCMSTemplates();
+
+ $templates['Agence'] = array("agence" => "L'agence");
+ $templates['Realisations'] = array('realisations' => 'Réalisations');
+ $templates['Casestudies'] = array('casestudies' => 'Case-Studies');
+ $templates['CasestudiesDetail'] = array('casestudies_detail' => 'Case-Studies (détail)');
+ $templates['Expertises'] = array('expertises' => 'Expertises');
+ $templates['Contact'] = array('contact' => 'Contact');
+ $templates['Mentions'] = array('mentions' => 'Mentions légales');
+
+ return $templates;
+ }
+
+ public function run() {
+ // run have to be the last call of bootstrap
+ parent::run();
+ }
+
+ function __destroy() {
+ endProfile();
+ }
}
[production]
+tags = ""
+longTitle.fr = "Cubedesigners"
+longTitle.en = ""
+description.fr = ""
+description.en = ""
+contact.fr.bloc = "Pour toute information,
+un email unique : [contact@cubedesigners.com|mailto:contact@cubedesigners.com]
+l’agence concernée vous répondra dans les plus brefs délais."
+contact.fr.bureaux.0.coordonnees.nom = "Agence de Paris"
+contact.fr.bureaux.0.coordonnees.adresse = "46 Rue de la Clef"
+contact.fr.bureaux.0.coordonnees.code_postal = "75005"
+contact.fr.bureaux.0.coordonnees.ville = "Paris"
+contact.fr.bureaux.0.coordonnees.pays = "FR"
+contact.fr.bureaux.0.coordonnees.tel = "(+33) 1 44 24 18 53"
+contact.fr.bureaux.0.coordonnees.fax = "(+33) 1 83 64 34 71"
+contact.fr.bureaux.0.coordonnees.icon.0 = "52dfd1dd-pointeur.png"
+contact.fr.bureaux.0.map.zoom = 15
+contact.fr.bureaux.0.map.googleLink = "https://maps.google.com/maps?q=46+Rue+de+la+Clef,Paris,France"
+contact.fr.bureaux.0.map.centre.adresse = "46 Rue de la Clef"
+contact.fr.bureaux.0.map.centre.code_postal = "75005"
+contact.fr.bureaux.0.map.centre.ville = "Paris"
+contact.fr.bureaux.0.map.centre.pays = "FR"
+contact.fr.bureaux.0.markers.0.nom = "Agence de Paris"
+contact.fr.bureaux.0.markers.0.adresse = "46 Rue de la Clef"
+contact.fr.bureaux.0.markers.0.code_postal = "75005"
+contact.fr.bureaux.0.markers.0.ville = "Paris"
+contact.fr.bureaux.0.markers.0.pays = "FR"
+contact.fr.bureaux.0.markers.0.tel = "(+33) 1 44 24 18 53"
+contact.fr.bureaux.0.markers.0.fax = "(+33) 1 83 64 34 71"
+contact.fr.bureaux.0.markers.0.icon.0 = "52dfd1dd-pointeur.png"
+contact.fr.bureaux.1.coordonnees.nom = "Agence de Montpellier"
+contact.fr.bureaux.1.coordonnees.adresse = "12 Bis Rue du Général Maurin"
+contact.fr.bureaux.1.coordonnees.code_postal = "34000"
+contact.fr.bureaux.1.coordonnees.ville = "Montpellier"
+contact.fr.bureaux.1.coordonnees.pays = "FR"
+contact.fr.bureaux.1.coordonnees.tel = "(+33) 4 67 02 71 47"
+contact.fr.bureaux.1.coordonnees.fax = "(+33) 4 67 02 71 47"
+contact.fr.bureaux.1.coordonnees.icon.0 = "52dfd1dd-pointeur.png"
+contact.fr.bureaux.1.map.zoom = 15
+contact.fr.bureaux.1.map.googleLink = "https://maps.google.com/maps?q=12+Bis+Rue+du+G%C3%A9n%C3%A9ral+Maurin,Montpellier,France"
+contact.fr.bureaux.1.map.centre.adresse = "12 Bis Rue du Général Maurin"
+contact.fr.bureaux.1.map.centre.code_postal = "34000"
+contact.fr.bureaux.1.map.centre.ville = "Montpellier"
+contact.fr.bureaux.1.map.centre.pays = "FR"
+contact.fr.bureaux.1.markers.0.nom = "Agence de Montpellier"
+contact.fr.bureaux.1.markers.0.adresse = "12 Bis Rue du Général Maurin"
+contact.fr.bureaux.1.markers.0.code_postal = "34000 "
+contact.fr.bureaux.1.markers.0.ville = "Montpellier"
+contact.fr.bureaux.1.markers.0.pays = "FR"
+contact.fr.bureaux.1.markers.0.tel = "(+33) 4 67 02 71 47"
+contact.fr.bureaux.1.markers.0.fax = "(+33) 4 67 02 71 47"
+contact.fr.bureaux.1.markers.0.icon.0 = "52dfd1dd-pointeur.png"
+contact.en.bloc = ""
+contact.en.bureaux.0.coordonnees.nom = ""
+contact.en.bureaux.0.coordonnees.adresse = ""
+contact.en.bureaux.0.coordonnees.code_postal = ""
+contact.en.bureaux.0.coordonnees.ville = ""
+contact.en.bureaux.0.coordonnees.pays = "FR"
+contact.en.bureaux.0.coordonnees.tel = ""
+contact.en.bureaux.0.coordonnees.fax = ""
+contact.en.bureaux.0.coordonnees.icon = false
+contact.en.bureaux.0.map.zoom = 0
+contact.en.bureaux.0.map.googleLink = ""
+contact.en.bureaux.0.map.centre.adresse = ""
+contact.en.bureaux.0.map.centre.code_postal = ""
+contact.en.bureaux.0.map.centre.ville = ""
+contact.en.bureaux.0.map.centre.pays = "FR"
+contact.en.bureaux.0.markers.0.nom = ""
+contact.en.bureaux.0.markers.0.adresse = ""
+contact.en.bureaux.0.markers.0.code_postal = ""
+contact.en.bureaux.0.markers.0.ville = ""
+contact.en.bureaux.0.markers.0.pays = "FR"
+contact.en.bureaux.0.markers.0.tel = ""
+contact.en.bureaux.0.markers.0.fax = ""
+contact.en.bureaux.0.markers.0.icon = false
+contact.en.bureaux.0.markers.1.nom = ""
+contact.en.bureaux.0.markers.1.adresse = ""
+contact.en.bureaux.0.markers.1.code_postal = ""
+contact.en.bureaux.0.markers.1.ville = ""
+contact.en.bureaux.0.markers.1.pays = "FR"
+contact.en.bureaux.0.markers.1.tel = ""
+contact.en.bureaux.0.markers.1.fax = ""
+contact.en.bureaux.0.markers.1.icon = false
+contact.en.bureaux.1.coordonnees.nom = ""
+contact.en.bureaux.1.coordonnees.adresse = ""
+contact.en.bureaux.1.coordonnees.code_postal = ""
+contact.en.bureaux.1.coordonnees.ville = ""
+contact.en.bureaux.1.coordonnees.pays = "FR"
+contact.en.bureaux.1.coordonnees.tel = ""
+contact.en.bureaux.1.coordonnees.fax = ""
+contact.en.bureaux.1.coordonnees.icon = false
+contact.en.bureaux.1.map.zoom = 0
+contact.en.bureaux.1.map.googleLink = ""
+contact.en.bureaux.1.map.centre.adresse = ""
+contact.en.bureaux.1.map.centre.code_postal = ""
+contact.en.bureaux.1.map.centre.ville = ""
+contact.en.bureaux.1.map.centre.pays = "FR"
+contact.en.bureaux.1.markers.0.nom = ""
+contact.en.bureaux.1.markers.0.adresse = ""
+contact.en.bureaux.1.markers.0.code_postal = ""
+contact.en.bureaux.1.markers.0.ville = ""
+contact.en.bureaux.1.markers.0.pays = "FR"
+contact.en.bureaux.1.markers.0.tel = ""
+contact.en.bureaux.1.markers.0.fax = ""
+contact.en.bureaux.1.markers.0.icon = false
+contact.en.bureaux.1.markers.1.nom = ""
+contact.en.bureaux.1.markers.1.adresse = ""
+contact.en.bureaux.1.markers.1.code_postal = ""
+contact.en.bureaux.1.markers.1.ville = ""
+contact.en.bureaux.1.markers.1.pays = "FR"
+contact.en.bureaux.1.markers.1.tel = ""
+contact.en.bureaux.1.markers.1.fax = ""
+contact.en.bureaux.1.markers.1.icon = false
+actus.fr.actualites.0.date = "2013-11-21 00:00:00"
+actus.fr.actualites.0.texte = "Cubedesigners réalise le graphisme de l’exposition Mars pour la Cité de l’espace."
+actus.fr.actualites.1.date = "2013-07-16 00:00:00"
+actus.fr.actualites.1.texte = "Nous sommes fiers de vous présenter la boutique Fnac Disney Infinity !"
+actus.fr.actualites.2.date = "2013-07-07 00:00:00"
+actus.fr.actualites.2.texte = "Hercules lance la webcam HD Twist, design Cubedesigners. une webcam mini au pied original : flexible, en silicone tendre, elle se fixe partout !"
+actus.en.actualites.0.date = "2014-01-20 12:19:32"
+actus.en.actualites.0.texte = ""
+actus.en.actualites.1.date = "2014-01-20 12:19:32"
+actus.en.actualites.1.texte = ""
+actus.en.actualites.2.date = "2014-01-20 12:19:32"
+actus.en.actualites.2.texte = ""
+actus.en.actualites.3.date = "2014-01-20 12:19:32"
+actus.en.actualites.3.texte = ""
+actus.en.actualites.4.date = "2014-01-20 12:19:32"
+actus.en.actualites.4.texte = ""
+followus.fr.reseauxsociaux.0.titre = "Facebook"
+followus.fr.reseauxsociaux.0.url = "https://fr-fr.facebook.com/Cubedesigners"
+followus.fr.reseauxsociaux.0.picto.0 = "52fa1da5-picto-fb.svg"
+followus.fr.reseauxsociaux.1.titre = "Twitter"
+followus.fr.reseauxsociaux.1.url = "https://twitter.com/Cubedesigners"
+followus.fr.reseauxsociaux.1.picto.0 = "52fa1dad-picto-tw.svg"
+followus.fr.reseauxsociaux.2.titre = "Google Plus"
+followus.fr.reseauxsociaux.2.url = "https://plus.google.com/108505338910338279554"
+followus.fr.reseauxsociaux.2.picto.0 = "52fa1db5-picto-gplus.svg"
+followus.fr.reseauxsociaux.3.titre = "Pinterest"
+followus.fr.reseauxsociaux.3.url = "https://www.pinterest.com/"
+followus.fr.reseauxsociaux.3.picto.0 = "52fa1dbc-picto-pi.svg"
+followus.en.reseauxsociaux.0.titre = ""
+followus.en.reseauxsociaux.0.url = ""
+followus.en.reseauxsociaux.0.picto = false
+followus.en.reseauxsociaux.1.titre = ""
+followus.en.reseauxsociaux.1.url = ""
+followus.en.reseauxsociaux.1.picto = false
+followus.en.reseauxsociaux.2.titre = ""
+followus.en.reseauxsociaux.2.url = ""
+followus.en.reseauxsociaux.2.picto = false
+followus.en.reseauxsociaux.3.titre = ""
+followus.en.reseauxsociaux.3.url = ""
+followus.en.reseauxsociaux.3.picto = false
+copyright.fr = "Copyright © Cubedesigners. Tous droits réservés"
+copyright.en = ""
-<?php\r
-\r
-class Cubedesigners_Form_Categories extends CubeIT_Form_List {\r
-\r
- public function init() {\r
- parent::init();\r
-\r
- $id = new Zend_Form_Element_Hidden('id');\r
- $id->setLabel('#');\r
- $this->addElement($id);\r
-\r
- $name = new Zend_Form_Element_Text('name');\r
- $name->setLabel(__('Nom'));\r
- $this->addElement($name);\r
-\r
- $this->setListTitle(__('Categories'))\r
- ->setNewTitle(__('Créer une catégorie'))\r
- ->setEditTitle(sprintf(__("Edition de la catégorie « %s »"), '$name'))\r
- ->setBaseTable('categories')\r
- ->setIdColumn('id')\r
- ->setTitleColumn('name');\r
- }\r
-\r
-}\r
-\r
-?>\r
+<?php
+
+class Cubedesigners_Form_Categories extends CubeIT_Form_List {
+
+ public function init() {
+ parent::init();
+
+ $id = new Zend_Form_Element_Hidden('id');
+ $id->setLabel('#');
+ $this->addElement($id);
+
+ $name = new Zend_Form_Element_Text('name');
+ $name->setLabel(__('Nom'));
+ $this->addElement($name);
+
+ $this->setListTitle(__('Categories'))
+ ->setNewTitle(__('Créer une catégorie'))
+ ->setEditTitle(sprintf(__("Edition de la catégorie « %s »"), '$name'))
+ ->setBaseTable('categories')
+ ->setIdColumn('id')
+ ->setTitleColumn('name');
+ }
+
+}
+
+?>
--- /dev/null
+<?php
+
+class Cubedesigners_Model_Casestudy extends CubeIT_Model_Table {
+
+ protected static $_table = 'casestudies';
+ protected $titre;
+ protected $description;
+ protected $url;
+ protected $visuel;
+ protected $visuel_detail;
+ protected $legende;
+ protected $couleur;
+ protected $blocs;
+ protected $categories;
+ protected $domaines;
+ protected $technologies;
+ protected $tags_secondaires;
+ protected $online;
+ protected $propulse;
+ protected $annee;
+
+ public static function getSchema($schema) {
+ $casestudies = parent::getSchema($schema);
+ $casestudies->addColumn('titre', 'text');
+ $casestudies->addColumn('description', 'text');
+ $casestudies->addColumn('url', 'text');
+ $casestudies->addColumn('visuel', 'string', array('length' => 128));
+ $casestudies->addColumn('visuel_detail', 'string', array('length' => 128));
+ $casestudies->addColumn('legende', 'text');
+ $casestudies->addColumn('couleur', 'text');
+ $casestudies->addColumn('blocs', 'text');
+ $casestudies->addColumn('categories', 'text');
+ $casestudies->addColumn('domaines', 'text');
+ $casestudies->addColumn('technologies', 'text');
+ $casestudies->addColumn('tags_secondaires', 'text');
+ $casestudies->addColumn('online', 'boolean');
+ $casestudies->addColumn('propulse', 'boolean');
+ $casestudies->addColumn('annee', 'text');
+ }
+
+}
--- /dev/null
+<?php
+
+class Cubedesigners_Model_Categorie extends CubeIT_Model_Table {
+
+ protected static $_table = 'categories';
+ protected $name;
+
+ public static function getSchema($schema) {
+ $table = parent::getSchema($schema);
+ $table->addColumn('name', 'string', array('length' => 64));
+ }
+
+}
--- /dev/null
+<?php
+
+class Cubedesigners_Model_Domaine extends Cubedesigners_Model_Categorie {
+
+ protected static $_table = 'domaines';
+
+}
--- /dev/null
+<?php
+
+class Cubedesigners_Model_Realisation extends CubeIT_Model_Table {
+
+ protected static $_table = 'realisations';
+ protected $titre;
+ protected $legende;
+ protected $agence;
+ protected $description;
+ protected $url;
+ protected $visuel;
+ protected $visuel_detail;
+ protected $categories;
+ protected $domaines;
+ protected $technologies;
+ protected $tags_secondaires;
+ protected $online;
+ protected $annee;
+
+ public static function getSchema($schema) {
+ $realisations = parent::getSchema($schema);
+ $realisations->addColumn('titre', 'text');
+ $realisations->addColumn('legende', 'text');
+ $realisations->addColumn('agence', 'text');
+ $realisations->addColumn('description', 'text');
+ $realisations->addColumn('url', 'text');
+ $realisations->addColumn('visuel', 'string', array('length' => 128));
+ $realisations->addColumn('visuel_detail', 'text');
+ $realisations->addColumn('categories', 'text');
+ $realisations->addColumn('domaines', 'text');
+ $realisations->addColumn('technologies', 'text');
+ $realisations->addColumn('tags_secondaires', 'text');
+ $realisations->addColumn('online', 'boolean');
+ $realisations->addColumn('annee', 'text');
+ }
+
+}
--- /dev/null
+<?php
+
+class Cubedesigners_Model_Tag extends Cubedesigners_Model_Categorie {
+
+ protected static $_table = 'tags';
+
+}
--- /dev/null
+<?php
+
+class Cubedesigners_Model_Technologie extends Cubedesigners_Model_Categorie {
+
+ protected static $_table = 'technologies';
+
+}
-<?php\r
-$this->headLink()->appendStylesheet('/less/footer.less');\r
-\r
-$mentions_page = $this->navigation()->getContainer()->findOneById($this->localeDefault() . '/7');\r
-$mentions = '/';\r
-if (!is_null($mentions_page)) {\r
- $mentions = $mentions_page->getHref();\r
-}\r
-?>\r
-<footer>\r
- <div id="footer">\r
- <div class="footer-holder">\r
-\r
- <div class="footer-top">\r
-\r
- <div class="footer-top-content">\r
-\r
- <div class="bloc">\r
-\r
- <h2><?php echo __("Nous contacter"); ?></h2>\r
-\r
- <?php echo $this->footerContact($this->option('contact')); ?>\r
- </div>\r
-\r
- <div class="bloc">\r
-\r
- <h2><?php echo __("Actualités"); ?></h2>\r
-\r
- <?php echo $this->footerActualites($this->option('actus')); ?>\r
-\r
- <h2><?php echo __("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
-\r
- if (!is_null($mentions)) {\r
- echo ' | <a href="' . $mentions . '">' . ucfirst($mentions_page->title) . '</a>';\r
- }\r
- ?>\r
- </div>\r
- </div>\r
- </div>\r
+<?php
+$this->headLink()->appendStylesheet('/less/footer.less');
+
+$mentions_page = $this->navigation()->getContainer()->findOneById($this->localeDefault() . '/7');
+$mentions = '/';
+if (!is_null($mentions_page)) {
+ $mentions = $mentions_page->getHref();
+}
+?>
+<footer>
+ <div id="footer">
+ <div class="footer-holder">
+
+ <div class="footer-top">
+
+ <div class="footer-top-content">
+
+ <div class="bloc">
+
+ <h2><?php echo __("Nous contacter"); ?></h2>
+
+ <?php echo $this->footerContact($this->option('contact')); ?>
+ </div>
+
+ <div class="bloc">
+
+ <h2><?php echo __("Actualités"); ?></h2>
+
+ <?php echo $this->footerActualites($this->option('actus')); ?>
+
+ <div class="social">
+ <h2><?php echo __("Suivez-nous"); ?></h2>
+ <?php echo $this->footerSocials($this->option('followus')); ?>
+ </div>
+ </div>
+
+ </div>
+
+ </div>
+
+ <div class="footer-bottom">
+ <?php
+ echo $this->option('copyright');
+
+ if (!is_null($mentions)) {
+ echo ' | <a href="' . $mentions . '">' . ucfirst($mentions_page->title) . '</a>';
+ }
+ ?>
+ </div>
+ </div>
+ </div>
</footer>
\ No newline at end of file
-<?php\r
-$this->headLink()->appendStylesheet('/less/header.less');\r
-\r
-$homepage = $this->navigation()->getContainer()->findOneById($this->localeDefault() . '/1');\r
-$home = '/';\r
-if (!is_null($homepage)) {\r
- $home = $homepage->getHref();\r
-}\r
-?>\r
-<header>\r
- <div id="header">\r
-\r
- <?php\r
- /* LOGO */\r
- if (!is_null($home)) {\r
- echo '<a href="' . $home . '" class="logo"><div class="logo">' . $this->image('images/logo.svg', '', 318, 132) . '</div></a>';\r
- echo '<span class="sublogo"><h1>Cubedesigners</h1><h2>Agence de création sur mesure</h2></span>';\r
- }\r
-\r
- /* NAVIGATION */\r
- $mainMenu = $this->navigation()->findOneById($this->localeDefault() . '/' . CubeIT_Navigation::MAIN);\r
-\r
- echo $this->navigation()->menu()->renderMenu($mainMenu, array('maxDepth' => 0)) . "\n";\r
- ?>\r
-\r
- </div>\r
+<?php
+$this->headLink()->appendStylesheet('/less/header.less');
+
+$homepage = $this->navigation()->getContainer()->findOneById($this->localeDefault() . '/1');
+$home = '/';
+if (!is_null($homepage)) {
+ $home = $homepage->getHref();
+}
+?>
+<header>
+ <div id="header" class="content">
+
+ <?php
+ /* LOGO */
+ if (!is_null($home)) {
+ echo $this->link($this->image('images/logo.svg', '', 318, 132), $home, array('class' => 'logo'));
+ echo '<span class="sublogo"><h1>Cubedesigners</h1><h2>Agence de création sur mesure</h2></span>';
+ }
+
+ /* NAVIGATION */
+ $mainMenu = $this->navigation()->findOneById($this->localeDefault() . '/' . CubeIT_Navigation::MAIN);
+
+ echo $this->navigation()->menu()->renderMenu($mainMenu, array('maxDepth' => 0)) . "\n";
+ ?>
+
+ </div>
</header>
\ No newline at end of file
-.cubeit-content,
-#adminlogin {
- min-width: 980px;
- max-width: 980px;
- margin: 0 auto;
- padding: 50px 0 50px 0;
-}
-
#adminBar{
- background:rgb(56,133,224);
- background:rgba(56,133,224,0.7);
- height:12px;
- color:#fff;
- padding:4px 0;
- font-size:12px;
- line-height: 12px;
- text-transform: uppercase;
- position:absolute;
- z-index:101;
- width:100%;
-}
+ background:#84AE1E;
+ padding:3px 0 3px;
-#adminBar a{
- color:#fff;
- margin:0 5px;
-}
-#adminBar .bar {
- width: 1200px;
- margin:auto;
- text-align: center;
+ .bar{
+ color:#fff;
+ font-size:11px;
+ line-height: 8px;
+ font-weight: 400;
+ height:auto;
+ #adminBar a{
+ color:#fff;
+ margin:0 5px;
+ }
+ &.right{
+ .right{
+ float:right;
+ }
+ }
+ }
}
-#adminBar .content{
- padding:0 15px;
-}
-
-#adminBar a.right{
- float:right;
-}
#tags_secondaires-element select,
#technologies-element select {
- height: 200px;
+ height: 200px;
}
-\r
-@roboto: 'Roboto Condensed', sans-serif;\r
-\r
-* {\r
- font-weight: 300; \r
-}\r
-\r
-body {\r
- font-family: @roboto;\r
- font-size:16px;\r
- font-weight:300;\r
- color:#1b1b1b;\r
-}\r
-\r
-h1, h2 {\r
- font-weight: 300;\r
-}\r
-\r
-a {\r
- text-decoration: none;\r
- color:#3885e0;\r
-}\r
-\r
-a:hover,\r
-a:active {\r
- color:#3885e0;\r
-}\r
-\r
-#main {\r
- margin: 0 auto;\r
- //min-width: 1024px;\r
- //max-width: 1200px;\r
- width:100%;\r
- overflow:hidden;\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
-}\r
-\r
-.title {\r
- min-width: 980px;\r
- max-width: 980px;\r
- margin: 0 auto;\r
- padding: 50px 0 50px 0;\r
-}\r
-\r
-.title h1 {\r
- text-align: left;\r
- font-weight: 300;\r
- font-size: 56px;\r
-}\r
-\r
-.title h2 {\r
- text-align: left;\r
- font-weight: 300;\r
- font-size: 22px;\r
+@roboto: 'Roboto Condensed', sans-serif;
+
+* {
+ font-weight: 300;
+}
+
+.content,.cubeit-content{
+ width:980px;
+ margin:0 auto;
+ position:relative;
+}
+
+body {
+ font-family: @roboto;
+ font-size:16px;
+ font-weight:300;
+ color:#1b1b1b;
+}
+
+h1, h2 {
+ font-weight: 300;
+}
+
+a {
+ text-decoration: none;
+ color:#3885e0;
+}
+
+a:hover,
+a:active {
+ color:#3885e0;
+}
+
+#main {
+ margin: 0 auto;
+ //min-width: 1024px;
+ //max-width: 1200px;
+ width:100%;
+ overflow:hidden;
+}
+
+#main .main-holder {
+ min-width: 950px;
+ max-width: 1140px;
+ width:100%;
+ margin: 0 auto;
+ padding: 0px 20px 50px 20px;
+}
+
+#wrapper {
+
+}
+
+.title {
+ min-width: 980px;
+ max-width: 980px;
+ margin: 0 auto;
+ padding: 50px 0 50px 0;
+}
+
+.title h1 {
+ text-align: left;
+ font-weight: 300;
+ font-size: 56px;
+}
+
+.title h2 {
+ text-align: left;
+ font-weight: 300;
+ font-size: 22px;
}
\ No newline at end of file
#footer {
- width:100%;
- height:550px;
-}
-
-#footer .footer-top {
- background-color: #282828;
-}
-
-#footer .footer-top .footer-top-content {
- min-width: 980px;
- max-width: 980px;
- width:100%;
- margin: 0 auto;
- overflow: hidden;
- padding-bottom:50px;
-}
-
-#footer .footer-top .footer-top-content .bloc {
- float: left;
- //max-width: 490px;
- width: 50%;
-}
-
-#footer .footer-top .footer-top-content .bloc h1 {
- color:#fff;
- font-size:56px;
- padding-top: 50px;
- padding-bottom: 50px;
-}
-#footer .footer-top .footer-top-content .bloc h2 {
- color:#fff;
- font-size:56px;
- padding-top: 50px;
- padding-bottom: 20px;
-}
-
-/* Footer Nous Contacter */
-#footer .contact-texte {
- background-image: url('../images/picto_footer_mail.svg');
- background-repeat: no-repeat;
- background-position:0px 10px;
- color:#fff;
- padding-left:70px;
- padding-bottom: 50px;
-}
+ .footer-top {
+ padding:50px 0 0 0;
+ background-color: #282828;
+ .footer-top-content {
+ min-width: 980px;
+ max-width: 980px;
+ width:100%;
+ margin: 0 auto;
+ overflow: hidden;
+ padding-bottom:50px;
+ .bloc {
+ float: left;
+ //max-width: 490px;
+ width: 50%;
+ h2 {
+ color:#fff;
+ font-size:56px;
+ line-height: 45px;
+ padding:0 0 50px 0;
+ }
+
+ .social{
+ h2{
+ padding:0 0 25px 0;
+ }
+ }
+
+ .actus{
+ height: 255px;
+ .actu {
+ color:#6c6c6c;
+ padding-bottom: 20px;
+ .dotclear {
+ width:90%;
+ }
+
+ &:last-child {
+ padding-bottom: 0;
+ }
+ .date {
+ font-size:12px;
+ }
+ .texte {
+ font-size:16px;
+ }
+ }
+ }
+ }
+ }
+ }
+
+ .contact-texte {
+ background-image: url('../images/picto_footer_mail.svg');
+ background-repeat: no-repeat;
+ background-position:0px 10px;
+ color:#fff;
+ padding-left:70px;
+ padding-bottom: 50px;
+ }
+ .bureau {
+ float:left;
+ width:50%;
+ color:#6c6c6c;
+ .titre,.numeros {
+ padding-bottom: 20px;
+ }
+
+ .numeros a {
+ color:#6c6c6c;
+ }
+ .geoloc {
+ padding-top : 30px;
+ a {
+ background-color: #191919;
+ border-radius: 2px;
+ padding: 5px 20px;
+ color:#6c6c6c;
+ &:hover,&.active{
+ background-color: #84ae1e;
+ color:#fff;
+ }
+ }
+ }
+
+
+ }
+
+
+ .reseaux {
+ .social {
+ float: left;
+ width: 42px;
+ height: 42px;
+ text-align: center;
+ margin-right: 20px;
+ background-color: #191919;
+ border-radius: 25px;
+ img {
+ margin-top: 8px;
+ }
+ }
+
+ .Facebook:hover {
+ background-color: #39599f;
+ }
+
+ .Twitter:hover {
+ background-color: #45b0e3;
+ }
+ .Google:hover {
+ background-color: #e64405;
+ }
+
+ .Pinterest:hover {
+ background-color: #ca111a;
+ }
+ }
+ .footer-bottom {
+ background-color: #191919;
+ height: 30px;
+ color: #6c6c6c;
+ text-align: center;
+ font-size: 12px;
+ line-height: 30px;
+ }
-#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 .geoloc a {
- background-color: #191919;
- border-radius: 2px;
- padding: 5px 20px;
- color:#6c6c6c;
-}
-
-#footer .bureau .numeros a {
- color:#6c6c6c;
-}
-
-#footer .bureau .geoloc a:hover,
-#footer .bureau .geoloc a:active {
- background-color: #84ae1e;
- color:#fff;
-}
-
-/* Footer Actualites */
-#footer .actu {
- color:#6c6c6c;
- padding-bottom: 20px;
-}
-
-#footer .actu .dotclear {
- width:90%;
-}
-
-#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;
- width: 42px;
- height: 42px;
- text-align: center;
- margin-right: 20px;
- background-color: #191919;
- border-radius: 25px;
-}
-
-#footer .reseaux .social img {
- margin-top: 8px;
-}
-
-#footer .reseaux .Facebook:hover {
- background-color: #39599f;
-}
-
-#footer .reseaux .Twitter:hover {
- background-color: #45b0e3;
-}
-
-#footer .reseaux .Google:hover {
- background-color: #e64405;
-}
-
-#footer .reseaux .Pinterest:hover {
- background-color: #ca111a;
-}
-
-/* Footer Copyright */
-#footer .footer-bottom {
- background-color: #191919;
- height: 30px;
- color: #6c6c6c;
- text-align: center;
- font-size: 12px;
- line-height: 30px;
-}
\ No newline at end of file
#header {
- margin: 0 auto;
- //min-width: 1024px;
- max-width: 1200px;
- width:100%;
height:130px;
-
+
ul{
- text-transform: uppercase;
- font-size:15px;
- color:#3885e0;
- list-style: none;
+ text-transform: uppercase;
+ font-size:15px;
+ color:#3885e0;
+ list-style: none;
}
ul a{
- //text-decoration: none;
- color:#282828;
+ //text-decoration: none;
+ color:#282828;
- padding: 10px;
+ padding: 10px;
}
ul a:hover, ul .active a{
- border-radius: 2px;
- background-color: #84ae1e;
- color:#fff;
+ border-radius: 2px;
+ background-color: #84ae1e;
+ color:#fff;
}
ul li{
- float:left;
+ float:left;
}
- .logo {
- //background: url('../images/logo.svg') no-repeat;
- width:318px;
- height:132px;
- float:left;
+ .logo {
+ //background: url('../images/logo.svg') no-repeat;
+ width:318px;
+ height:132px;
+ position:absolute;
+ top:-1px;
+ left:-34px;
}
-
+
.sublogo {
display:none;
}
.navigation{
- margin: 50px 0;
- float:right;
+ margin: 50px 0;
+ float:right;
}
.navigation li{
- margin:0 20px 0 0;
+ margin:0 20px 0 0;
+ &:last-child{
+ margin-right: 0;
+ }
}
}
/* max-width pour faibles résolutions */
@media screen and (max-width: 1009px) {
-
+
#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;
+ 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;
}
-
+
}
-/* Home Title */\r
-.home-title {\r
- padding: 50px 0px 50px 0;\r
-}\r
-\r
-.home-title h1 {\r
- font-weight: 300;\r
- text-align: center;\r
- font-size: 56px;\r
-}\r
-\r
-.home-title h2 {\r
- font-weight: 300;\r
- text-align: center;\r
- font-size: 32px;\r
-}\r
-\r
-/* Home Slideshow */\r
-#home-slideshow {\r
- padding-bottom:50px;\r
- \r
- .slides-holder {\r
- min-width: 980px;\r
- max-width: 980px;\r
- width:100%;\r
- margin: 0 auto;\r
- overflow:hidden;\r
- }\r
-\r
- .slides-holder .slides {\r
- width:980px;\r
- height:400px;\r
- }\r
-\r
- .slides-holder .slides .slide {\r
- position:absolute;\r
- display:none;\r
- }\r
-\r
- .slides-holder .slides .slide a {\r
- margin:0;\r
- padding: 0;\r
- }\r
-\r
- .slides-holder a {\r
- margin: 20px 0 0 0;\r
- width: 37px;\r
- height: 38px;\r
- float: right;\r
- //padding: 0 0 25px;\r
- }\r
- \r
- .slides-holder a:hover {\r
- // background-color: #84ae1e;\r
- }\r
-\r
- .slides-holder .prev {\r
- background: url('../images/prev.png') no-repeat;\r
- background-position: center top;\r
- margin-right: 10px;\r
- }\r
- \r
- .slides-holder .prev:hover {\r
- background: url('../images/prev_over.png') no-repeat;\r
- }\r
-\r
- .slides-holder .next {\r
- background: url('../images/next.png') no-repeat;\r
- background-position: center top;\r
- }\r
- \r
- .slides-holder .next:hover {\r
- background: url('../images/next_over.png') no-repeat;\r
- }\r
-}\r
-\r
-\r
-\r
-#slide-legend {\r
- padding: 25px 0 0 0;\r
- margin-right: 30px;\r
- font-size: 18px;\r
- float:right;\r
-}\r
-\r
-/* Home Agency and Expertises */\r
-#home-agency {\r
- background-color:#3885e0;\r
- color:#fff;\r
-}\r
-\r
-#home-expertise {\r
- background-color:#fff;\r
- color:#1b1b1b;\r
-}\r
-\r
-#home-agency .bloc-holder,\r
-#home-expertise .bloc-holder {\r
- min-width: 980px;\r
- max-width: 980px;\r
- width:100%;\r
- margin: 0 auto;\r
- padding: 50px 0;\r
- overflow:hidden;\r
-}\r
-\r
-#home-agency .bloc-holder h2,\r
-#home-expertise .bloc-holder h2 {\r
- font-size:56px;\r
-}\r
-\r
-#home-agency .bloc-holder h3,\r
-#home-expertise .bloc-holder h3 {\r
- font-size:32px;\r
- padding: 0 0 20px 0;\r
-}\r
-\r
-#home-agency .bloc-holder a,\r
-#home-expertise .bloc-holder a {\r
- color:white;\r
- clear:both;\r
- background-color: #2874ce;\r
- border-radius: 2px;\r
- padding: 5px 20px;\r
-}\r
-\r
-#home-agency .bloc-holder a:hover,\r
-#home-expertise .bloc-holder a:hover {\r
- background-color: #84ae1e;\r
-}\r
-\r
-#home-agency .bloc-holder .blocs,\r
-#home-expertise .bloc-holder .blocs {\r
- padding: 40px 0;\r
- overflow:hidden;\r
-}\r
-\r
-#home-agency .bloc-holder .blocs .spacer,\r
-#home-expertise .bloc-holder .blocs .spacer {\r
- clear:left;\r
- padding:25px 0;\r
-}\r
-\r
-#home-agency .bloc-holder .sousbloc,\r
-#home-expertise .bloc-holder .sousbloc {\r
- float:left;\r
- width:50%;\r
-}\r
-\r
-#home-agency .bloc-holder .sousbloc .texte,\r
-#home-expertise .bloc-holder .sousbloc .texte {\r
- width: 60%;\r
- float:left;\r
-}\r
-\r
-#home-agency .bloc-holder .sousbloc img,\r
-#home-expertise .bloc-holder .sousbloc img {\r
- float:left;\r
- padding: 0 25px 0 0;\r
-}\r
-\r
-/* max-width pour faibles résolutions */\r
-@media screen and (max-width: 1009px) {\r
- \r
- \r
+/* Home Title */
+.home-title {
+ padding: 50px 0px 50px 0;
+ h1 {
+ font-weight: 300;
+ text-align: center;
+ font-size: 56px;
+ }
+ h2 {
+ font-weight: 300;
+ text-align: center;
+ font-size: 32px;
+ }
+}
+
+
+/* Home Slideshow */
+#home-slideshow {
+ padding-bottom:50px;
+
+ .slides-holder {
+ min-width: 980px;
+ max-width: 980px;
+ width:100%;
+ margin: 0 auto;
+ overflow:hidden;
+ }
+
+ .slides-holder .slides {
+ width:980px;
+ height:400px;
+ }
+
+ .slides-holder .slides .slide {
+ position:absolute;
+ display:none;
+ }
+
+ .slides-holder .slides .slide a {
+ margin:0;
+ padding: 0;
+ }
+
+ .slides-holder a {
+ margin: 20px 0 0 0;
+ width: 37px;
+ height: 38px;
+ float: right;
+ //padding: 0 0 25px;
+ }
+
+ .slides-holder a:hover {
+ // background-color: #84ae1e;
+ }
+
+ .slides-holder .prev {
+ background: url('../images/prev.png') no-repeat;
+ background-position: center top;
+ margin-right: 10px;
+ }
+
+ .slides-holder .prev:hover {
+ background: url('../images/prev_over.png') no-repeat;
+ }
+
+ .slides-holder .next {
+ background: url('../images/next.png') no-repeat;
+ background-position: center top;
+ }
+
+ .slides-holder .next:hover {
+ background: url('../images/next_over.png') no-repeat;
+ }
+}
+
+
+
+#slide-legend {
+ padding: 25px 0 0 0;
+ margin-right: 30px;
+ font-size: 18px;
+ float:right;
+}
+
+/* Home Agency and Expertises */
+#home-agency {
+ background-color:#3885e0;
+ color:#fff;
+}
+
+#home-expertise {
+ background-color:#fff;
+ color:#1b1b1b;
+}
+
+#home-agency .bloc-holder,
+#home-expertise .bloc-holder {
+ min-width: 980px;
+ max-width: 980px;
+ width:100%;
+ margin: 0 auto;
+ padding: 50px 0;
+ overflow:hidden;
+}
+
+#home-agency .bloc-holder h2,
+#home-expertise .bloc-holder h2 {
+ font-size:56px;
+}
+
+#home-agency .bloc-holder h3,
+#home-expertise .bloc-holder h3 {
+ font-size:32px;
+ padding: 0 0 20px 0;
+}
+
+#home-agency .bloc-holder a,
+#home-expertise .bloc-holder a {
+ color:white;
+ clear:both;
+ background-color: #2874ce;
+ border-radius: 2px;
+ padding: 5px 20px;
+}
+
+#home-agency .bloc-holder a:hover,
+#home-expertise .bloc-holder a:hover {
+ background-color: #84ae1e;
+}
+
+#home-agency .bloc-holder .blocs,
+#home-expertise .bloc-holder .blocs {
+ padding: 40px 0;
+ overflow:hidden;
+}
+
+#home-agency .bloc-holder .blocs .spacer,
+#home-expertise .bloc-holder .blocs .spacer {
+ clear:left;
+ padding:25px 0;
+}
+
+#home-agency .bloc-holder .sousbloc,
+#home-expertise .bloc-holder .sousbloc {
+ float:left;
+ width:50%;
+}
+
+#home-agency .bloc-holder .sousbloc .texte,
+#home-expertise .bloc-holder .sousbloc .texte {
+ width: 60%;
+ float:left;
+}
+
+#home-agency .bloc-holder .sousbloc img,
+#home-expertise .bloc-holder .sousbloc img {
+ float:left;
+ padding: 0 25px 0 0;
+}
+
+/* max-width pour faibles résolutions */
+@media screen and (max-width: 1009px) {
+
+
}
\ No newline at end of file