Explorar o código

added links to home v2

Bachir Soussi Chiadmi %!s(int64=9) %!d(string=hai) anos
pai
achega
32f26b4bf5

+ 34 - 0
sites/all/modules/features/materio_content_types/materio_content_types.features.field_base.inc

@@ -402,6 +402,40 @@ $entity_field[0][\'value\'] = format_date($entity->created, \'breves\');',
     'type' => 'text_long',
   );
 
+  // Exported field_base: 'field_liens'
+  $field_bases['field_liens'] = array(
+    'active' => 1,
+    'cardinality' => -1,
+    'deleted' => 0,
+    'entity_types' => array(),
+    'field_name' => 'field_liens',
+    'field_permissions' => array(
+      'type' => 0,
+    ),
+    'indexes' => array(),
+    'locked' => 0,
+    'module' => 'link',
+    'settings' => array(
+      'attributes' => array(
+        'class' => '',
+        'rel' => '',
+        'target' => 'default',
+      ),
+      'display' => array(
+        'url_cutoff' => 80,
+      ),
+      'enable_tokens' => 1,
+      'entity_translation_sync' => FALSE,
+      'profile2_private' => FALSE,
+      'title' => 'optional',
+      'title_maxlength' => 128,
+      'title_value' => '',
+      'url' => 0,
+    ),
+    'translatable' => 0,
+    'type' => 'link_field',
+  );
+
   // Exported field_base: 'field_localisation'
   $field_bases['field_localisation'] = array(
     'active' => 1,

+ 99 - 4
sites/all/modules/features/materio_content_types/materio_content_types.features.field_instance.inc

@@ -3926,7 +3926,7 @@ function materio_content_types_field_default_field_instances() {
         'module' => 'text',
         'settings' => array(),
         'type' => 'text_default',
-        'weight' => 3,
+        'weight' => 2,
       ),
       'homeblock' => array(
         'label' => 'hidden',
@@ -4018,7 +4018,7 @@ function materio_content_types_field_default_field_instances() {
           'image_style' => '',
         ),
         'type' => 'image',
-        'weight' => 1,
+        'weight' => 0,
       ),
       'homeblock' => array(
         'label' => 'hidden',
@@ -4115,7 +4115,7 @@ function materio_content_types_field_default_field_instances() {
           'video_style' => 'normal',
         ),
         'type' => 'video_embed_field',
-        'weight' => 2,
+        'weight' => 1,
       ),
       'homeblock' => array(
         'label' => 'hidden',
@@ -4163,6 +4163,100 @@ function materio_content_types_field_default_field_instances() {
     ),
   );
 
+  // Exported field_instance: 'node-page-field_liens'
+  $field_instances['node-page-field_liens'] = array(
+    'bundle' => 'page',
+    'default_value' => NULL,
+    'deleted' => 0,
+    'description' => '',
+    'display' => array(
+      'bookmark' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardbig' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardfull' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardmedium' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'cardsmall' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+      'default' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 3,
+      ),
+      'homeblock' => array(
+        'label' => 'hidden',
+        'module' => 'link',
+        'settings' => array(),
+        'type' => 'link_default',
+        'weight' => 4,
+      ),
+      'teaser' => array(
+        'label' => 'above',
+        'settings' => array(),
+        'type' => 'hidden',
+        'weight' => 0,
+      ),
+    ),
+    'entity_type' => 'node',
+    'field_name' => 'field_liens',
+    'label' => 'liens',
+    'required' => 0,
+    'settings' => array(
+      'absolute_url' => 1,
+      'attributes' => array(
+        'class' => '',
+        'configurable_class' => 0,
+        'configurable_title' => 0,
+        'rel' => '',
+        'target' => 'default',
+        'title' => '',
+      ),
+      'display' => array(
+        'url_cutoff' => 80,
+      ),
+      'enable_tokens' => 1,
+      'entity_translation_sync' => FALSE,
+      'rel_remove' => 'default',
+      'title' => 'required',
+      'title_label_use_field_label' => 0,
+      'title_maxlength' => 128,
+      'title_value' => '',
+      'url' => 0,
+      'user_register_form' => FALSE,
+      'validate_url' => 1,
+    ),
+    'widget' => array(
+      'active' => 0,
+      'module' => 'link',
+      'settings' => array(),
+      'type' => 'link_field',
+      'weight' => 9,
+    ),
+  );
+
   // Exported field_instance: 'node-page-title_field'
   $field_instances['node-page-title_field'] = array(
     'bundle' => 'page',
@@ -4204,7 +4298,7 @@ function materio_content_types_field_default_field_instances() {
         'label' => 'hidden',
         'settings' => array(),
         'type' => 'hidden',
-        'weight' => 0,
+        'weight' => 5,
       ),
       'homeblock' => array(
         'label' => 'hidden',
@@ -4732,6 +4826,7 @@ function materio_content_types_field_default_field_instances() {
   t('Titre');
   t('Video');
   t('Workflow State');
+  t('liens');
   t('source');
   t('video');
   t('website');

+ 35 - 2
sites/all/modules/features/materio_content_types/materio_content_types.field_group.inc

@@ -132,6 +132,39 @@ function materio_content_types_field_group_info() {
   );
   $export['group_contact_ope|node|materiau|form'] = $field_group;
 
+  $field_group = new stdClass();
+  $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
+  $field_group->api_version = 1;
+  $field_group->identifier = 'group_content_wrapper|node|page|homeblock';
+  $field_group->group_name = 'group_content_wrapper';
+  $field_group->entity_type = 'node';
+  $field_group->bundle = 'page';
+  $field_group->mode = 'homeblock';
+  $field_group->parent_name = '';
+  $field_group->data = array(
+    'label' => 'content-wrapper',
+    'weight' => '2',
+    'children' => array(
+      0 => 'field_liens',
+      1 => 'group_content',
+    ),
+    'format_type' => 'div',
+    'format_settings' => array(
+      'label' => 'content-wrapper',
+      'instance_settings' => array(
+        'id' => '',
+        'classes' => 'group-content-wrapper field-group-div',
+        'description' => '',
+        'show_label' => '0',
+        'label_element' => 'h3',
+        'effect' => 'none',
+        'speed' => 'fast',
+      ),
+      'formatter' => 'open',
+    ),
+  );
+  $export['group_content_wrapper|node|page|homeblock'] = $field_group;
+
   $field_group = new stdClass();
   $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
   $field_group->api_version = 1;
@@ -140,10 +173,10 @@ function materio_content_types_field_group_info() {
   $field_group->entity_type = 'node';
   $field_group->bundle = 'page';
   $field_group->mode = 'homeblock';
-  $field_group->parent_name = '';
+  $field_group->parent_name = 'group_content_wrapper';
   $field_group->data = array(
     'label' => 'content',
-    'weight' => '2',
+    'weight' => '3',
     'children' => array(
       0 => 'body',
       1 => 'title_field',

+ 3 - 0
sites/all/modules/features/materio_content_types/materio_content_types.info

@@ -51,6 +51,7 @@ features[field_base][] = field_emvideo
 features[field_base][] = field_famille
 features[field_base][] = field_identifiant
 features[field_base][] = field_infos_from_company
+features[field_base][] = field_liens
 features[field_base][] = field_localisation
 features[field_base][] = field_materiau_image
 features[field_base][] = field_materiau_ref
@@ -75,6 +76,7 @@ features[field_group][] = group_4|node|materiau|cardbig
 features[field_group][] = group_base|node|breve|form
 features[field_group][] = group_base|node|materiau|form
 features[field_group][] = group_contact_ope|node|materiau|form
+features[field_group][] = group_content_wrapper|node|page|homeblock
 features[field_group][] = group_content|node|page|homeblock
 features[field_group][] = group_fichiers|node|materiau|form
 features[field_group][] = group_head_right|node|materiau|print
@@ -170,6 +172,7 @@ features[field_instance][] = node-materiau-title_field
 features[field_instance][] = node-page-body
 features[field_instance][] = node-page-field_bandeau
 features[field_instance][] = node-page-field_emvideo
+features[field_instance][] = node-page-field_liens
 features[field_instance][] = node-page-title_field
 features[field_instance][] = node-webform-body
 features[field_instance][] = node-webform-title_field

+ 7 - 4
sites/all/modules/features/materio_content_types/materio_content_types.strongarm.inc

@@ -349,6 +349,9 @@ function materio_content_types_strongarm() {
       'token' => array(
         'custom_settings' => FALSE,
       ),
+      'homeblock' => array(
+        'custom_settings' => TRUE,
+      ),
     ),
     'extra_fields' => array(
       'form' => array(
@@ -371,7 +374,7 @@ function materio_content_types_strongarm() {
       'display' => array(
         'workflow_current_state' => array(
           'default' => array(
-            'weight' => '5',
+            'weight' => '6',
             'visible' => FALSE,
           ),
           'teaser' => array(
@@ -379,21 +382,21 @@ function materio_content_types_strongarm() {
             'visible' => FALSE,
           ),
           'homeblock' => array(
-            'weight' => '5',
+            'weight' => '3',
             'visible' => FALSE,
           ),
         ),
         'workflow' => array(
           'default' => array(
             'weight' => '4',
-            'visible' => TRUE,
+            'visible' => FALSE,
           ),
           'teaser' => array(
             'weight' => '5',
             'visible' => FALSE,
           ),
           'homeblock' => array(
-            'weight' => '6',
+            'weight' => '4',
             'visible' => FALSE,
           ),
         ),

+ 2 - 3
sites/all/modules/features/materio_home_v2/materio_home_v2.pages_default.inc

@@ -22,9 +22,8 @@ function materio_home_v2_default_page_manager_pages() {
         'name' => 'role',
         'settings' => array(
           'rids' => array(
-            0 => 11,
-            1 => 3,
-            2 => 4,
+            0 => 1,
+            1 => 2,
           ),
         ),
         'context' => 'logged-in-user',

+ 120 - 93
sites/all/themes/gui/materiobasetheme/css/styles.css

@@ -10730,35 +10730,47 @@ body.home-v2 #center {
 #home-v2 a {
   color: #000;
 }
-/* line 2796, ../scss/styles.scss */
+/* line 2797, ../scss/styles.scss */
+#home-v2 .field-name-field-liens {
+  margin-top: 1em;
+}
+/* line 2799, ../scss/styles.scss */
+#home-v2 .field-name-field-liens a {
+  font-weight: 700;
+  padding: 0.5em 1em 0.7em;
+  border-radius: 5px;
+  background-clip: padding-box;
+  background-color: rgba(255, 255, 255, 0.8);
+}
+/* line 2807, ../scss/styles.scss */
 #home-v2 .panel-separator {
   clear: both;
 }
-/* line 2797, ../scss/styles.scss */
+/* line 2808, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane {
   overflow: hidden;
 }
-/* line 2800, ../scss/styles.scss */
+/* line 2811, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.pane-node {
   border-radius: 5px;
   background-clip: padding-box;
   overflow: hidden;
 }
-/* line 2803, ../scss/styles.scss */
+/* line 2814, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.pane-node .pane-content, #home-v2 > .panel-panel > div > .panel-pane.pane-node .node {
   position: relative;
   width: 100%;
   height: 100%;
   overflow: hidden;
 }
-/* line 2807, ../scss/styles.scss */
+/* line 2818, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.pane-node .links a {
   background-color: rgba(255, 255, 255, 0.7);
   border-radius: 5px;
   background-clip: padding-box;
   padding: 15px;
 }
-/* line 2813, ../scss/styles.scss */
+/* line 2824, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.intro-video {
   height: auto;
   background-color: #f7f8f2;
@@ -10766,54 +10778,54 @@ body.home-v2 #center {
   margin-bottom: 2em;
   padding-top: 0;
 }
-/* line 2818, ../scss/styles.scss */
+/* line 2829, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.intro-video .field-name-field-emvideo .embedded-video {
   margin: 0 auto;
 }
 @media only screen and (max-width: 40em) {
-  /* line 2818, ../scss/styles.scss */
+  /* line 2829, ../scss/styles.scss */
   #home-v2 > .panel-panel > div > .panel-pane.intro-video .field-name-field-emvideo .embedded-video {
     width: 320px;
     height: 180px;
   }
 }
 @media only screen and (min-width: 40.063em) and (max-width: 64em) {
-  /* line 2818, ../scss/styles.scss */
+  /* line 2829, ../scss/styles.scss */
   #home-v2 > .panel-panel > div > .panel-pane.intro-video .field-name-field-emvideo .embedded-video {
     width: 640px;
     height: 360px;
   }
 }
 @media only screen and (min-width: 64.063em) and (max-width: 90em) {
-  /* line 2818, ../scss/styles.scss */
+  /* line 2829, ../scss/styles.scss */
   #home-v2 > .panel-panel > div > .panel-pane.intro-video .field-name-field-emvideo .embedded-video {
     width: 800px;
     height: 450px;
   }
 }
 @media only screen and (min-width: 90.063em) {
-  /* line 2818, ../scss/styles.scss */
+  /* line 2829, ../scss/styles.scss */
   #home-v2 > .panel-panel > div > .panel-pane.intro-video .field-name-field-emvideo .embedded-video {
     width: 1024px;
     height: 576px;
   }
 }
-/* line 2832, ../scss/styles.scss */
+/* line 2843, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.intro-video .field-name-field-emvideo .embedded-video .player, #home-v2 > .panel-panel > div > .panel-pane.intro-video .field-name-field-emvideo .embedded-video iframe {
   width: 100%;
   height: 100%;
 }
-/* line 2838, ../scss/styles.scss */
+/* line 2849, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.intro-video .field-name-title-field {
   display: none;
 }
-/* line 2842, ../scss/styles.scss */
+/* line 2853, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.intro-video .field-name-body {
   display: none;
   margin-top: 1em;
   text-align: center;
 }
-/* line 2846, ../scss/styles.scss */
+/* line 2857, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.intro-video .field-name-body p {
   text-align: left;
   display: moz-inline-stack;
@@ -10826,21 +10838,21 @@ body.home-v2 #center {
   font-size: 0.756em;
 }
 @media only screen and (max-width: 40em) {
-  /* line 2846, ../scss/styles.scss */
+  /* line 2857, ../scss/styles.scss */
   #home-v2 > .panel-panel > div > .panel-pane.intro-video .field-name-body p {
     width: 48%;
   }
 }
-/* line 2859, ../scss/styles.scss */
+/* line 2870, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.pane-menu-menu-home-v2 {
   margin: 2em 0;
 }
-/* line 2861, ../scss/styles.scss */
+/* line 2872, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.pane-menu-menu-home-v2 ul.menu {
   margin: 0px;
   text-align: center;
 }
-/* line 2864, ../scss/styles.scss */
+/* line 2875, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.pane-menu-menu-home-v2 li {
   margin: 0 1em 0 0;
   padding: 0px;
@@ -10852,7 +10864,7 @@ body.home-v2 #center {
   zoom: 1;
   *display: inline;
 }
-/* line 2867, ../scss/styles.scss */
+/* line 2878, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.pane-menu-menu-home-v2 li a {
   background-color: #4d4d4d;
   border-radius: 5px;
@@ -10864,48 +10876,48 @@ body.home-v2 #center {
   -webkit-transition: opacity,background-color 0.2s ease-out;
           transition: opacity,background-color 0.2s ease-out;
 }
-/* line 2879, ../scss/styles.scss */
+/* line 2890, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.pane-menu-menu-home-v2 li:nth-child(1):hover a {
   background-color: #ff7400;
   color: #4d4d4d;
 }
-/* line 2883, ../scss/styles.scss */
+/* line 2894, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.pane-menu-menu-home-v2 li:nth-child(2):hover a {
   background-color: #79e644;
   color: #4d4d4d;
 }
-/* line 2887, ../scss/styles.scss */
+/* line 2898, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.pane-menu-menu-home-v2 li:nth-child(3):hover a {
   background-color: #69cdcf;
   color: #4d4d4d;
 }
-/* line 2891, ../scss/styles.scss */
+/* line 2902, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.pane-menu-menu-home-v2 li:nth-child(4):hover a {
   background-color: #e6de1c;
   color: #4d4d4d;
 }
-/* line 2895, ../scss/styles.scss */
+/* line 2906, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.pane-menu-menu-home-v2 li:nth-child(5):hover a {
   background-color: #d476ae;
   color: #4d4d4d;
 }
-/* line 2899, ../scss/styles.scss */
+/* line 2910, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.pane-menu-menu-home-v2 li:nth-child(6):hover a {
   background-color: #772e88;
   color: #4d4d4d;
 }
-/* line 2903, ../scss/styles.scss */
+/* line 2914, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.pane-menu-menu-home-v2 li:nth-child(7):hover a {
   background-color: #e62326;
   color: #4d4d4d;
 }
 @media only screen and (max-width: 40em) {
-  /* line 2859, ../scss/styles.scss */
+  /* line 2870, ../scss/styles.scss */
   #home-v2 > .panel-panel > div > .panel-pane.pane-menu-menu-home-v2 {
     display: none;
   }
 }
-/* line 2911, ../scss/styles.scss */
+/* line 2922, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.showroom {
   box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
   -webkit-transition: box-shadow 0.3s ease-out;
@@ -10919,80 +10931,83 @@ body.home-v2 #center {
 #home-v2 > .panel-panel > div > .panel-pane.showroom:hover {
   box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
 }
-/* line 2919, ../scss/styles.scss */
+/* line 2930, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.showroom .pane-content {
   width: 100%;
   height: 100%;
   position: relative;
 }
-/* line 2921, ../scss/styles.scss */
+/* line 2932, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.showroom .pane-content .node {
   position: absolute;
   height: 100%;
   width: 100%;
 }
-/* line 2922, ../scss/styles.scss */
+/* line 2933, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.showroom .pane-content .field-name-field-bandeau {
   position: absolute;
   width: 100%;
   height: 100%;
   overflow: hidden;
 }
-/* line 2924, ../scss/styles.scss */
+/* line 2935, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.showroom .pane-content .field-name-field-bandeau img {
   width: 100%;
   margin-top: -10%;
 }
-/* line 2926, ../scss/styles.scss */
-#home-v2 > .panel-panel > div > .panel-pane.showroom .pane-content .group-content {
+/* line 2937, ../scss/styles.scss */
+#home-v2 > .panel-panel > div > .panel-pane.showroom .pane-content .group-content-wrapper {
   position: relative;
   z-index: 2;
   width: 30%;
   margin: 3em 2em;
+}
+/* line 2943, ../scss/styles.scss */
+#home-v2 > .panel-panel > div > .panel-pane.showroom .pane-content .group-content-wrapper .group-content {
   background-color: rgba(255, 255, 255, 0.8);
   padding: 1em;
   border-radius: 5px;
   background-clip: padding-box;
 }
-/* line 2934, ../scss/styles.scss */
-#home-v2 > .panel-panel > div > .panel-pane.showroom .pane-content .group-content .field-name-title-field {
+/* line 2947, ../scss/styles.scss */
+#home-v2 > .panel-panel > div > .panel-pane.showroom .pane-content .group-content-wrapper .group-content .field-name-title-field {
   font-size: 2.1em;
   font-weight: 300;
 }
-/* line 2937, ../scss/styles.scss */
-#home-v2 > .panel-panel > div > .panel-pane.showroom .pane-content .group-content .field-name-body {
+/* line 2950, ../scss/styles.scss */
+#home-v2 > .panel-panel > div > .panel-pane.showroom .pane-content .group-content-wrapper .group-content .field-name-body {
   margin-top: 0.5em;
 }
 @media only screen and (max-width: 40em) {
-  /* line 2911, ../scss/styles.scss */
+  /* line 2922, ../scss/styles.scss */
   #home-v2 > .panel-panel > div > .panel-pane.showroom {
     height: 210px;
     margin-top: 10px;
   }
-  /* line 2946, ../scss/styles.scss */
+  /* line 2960, ../scss/styles.scss */
   #home-v2 > .panel-panel > div > .panel-pane.showroom .pane-content .field-name-field-bandeau {
     position: absolute;
     width: 100%;
     height: 100%;
     overflow: hidden;
   }
-  /* line 2948, ../scss/styles.scss */
+  /* line 2962, ../scss/styles.scss */
   #home-v2 > .panel-panel > div > .panel-pane.showroom .pane-content .field-name-field-bandeau img {
     margin-top: 0;
   }
-  /* line 2950, ../scss/styles.scss */
-  #home-v2 > .panel-panel > div > .panel-pane.showroom .pane-content .group-content {
+  /* line 2964, ../scss/styles.scss */
+  #home-v2 > .panel-panel > div > .panel-pane.showroom .pane-content .group-content-wrapper {
     width: auto;
     padding: 2%;
     margin: 2%;
   }
-  /* line 2954, ../scss/styles.scss */
-  #home-v2 > .panel-panel > div > .panel-pane.showroom .pane-content .group-content .field-name-body {
+  /* line 2968, ../scss/styles.scss */
+  #home-v2 > .panel-panel > div > .panel-pane.showroom .pane-content .group-content-wrapper .field-name-body {
     font-size: 0.756em;
     margin-top: 0.5em;
   }
 }
-/* line 2963, ../scss/styles.scss */
+/* line 2977, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.showroom:after {
   content: url("../img/bulle.png");
   -webkit-transform: scale(0.8);
@@ -11003,7 +11018,7 @@ body.home-v2 #center {
   right: -80px;
   z-index: 10;
 }
-/* line 2972, ../scss/styles.scss */
+/* line 2986, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.bdd {
   box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
   -webkit-transition: box-shadow 0.3s ease-out;
@@ -11017,11 +11032,11 @@ body.home-v2 #center {
 #home-v2 > .panel-panel > div > .panel-pane.bdd:hover {
   box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
 }
-/* line 2978, ../scss/styles.scss */
+/* line 2992, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.bdd .links a {
   background-color: #e6e6e6;
 }
-/* line 2980, ../scss/styles.scss */
+/* line 2994, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.bdd .field-name-field-bandeau {
   display: moz-inline-stack;
   display: inline-block;
@@ -11032,12 +11047,12 @@ body.home-v2 #center {
   height: 100%;
   overflow: hidden;
 }
-/* line 2982, ../scss/styles.scss */
+/* line 2996, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.bdd .field-name-field-bandeau img {
   max-width: 2000px;
 }
-/* line 2985, ../scss/styles.scss */
-#home-v2 > .panel-panel > div > .panel-pane.bdd .group-content {
+/* line 2999, ../scss/styles.scss */
+#home-v2 > .panel-panel > div > .panel-pane.bdd .group-content-wrapper {
   display: moz-inline-stack;
   display: inline-block;
   vertical-align: top;
@@ -11049,16 +11064,28 @@ body.home-v2 #center {
   border-radius: 5px;
   background-clip: padding-box;
 }
-/* line 2990, ../scss/styles.scss */
-#home-v2 > .panel-panel > div > .panel-pane.bdd .group-content .field-name-title-field {
+/* line 3004, ../scss/styles.scss */
+#home-v2 > .panel-panel > div > .panel-pane.bdd .group-content-wrapper .field-name-title-field {
   font-size: 2.1em;
   font-weight: 300;
 }
-/* line 2993, ../scss/styles.scss */
-#home-v2 > .panel-panel > div > .panel-pane.bdd .group-content .field-name-body {
+/* line 3007, ../scss/styles.scss */
+#home-v2 > .panel-panel > div > .panel-pane.bdd .group-content-wrapper .field-name-body {
   margin-top: 1em;
 }
-/* line 2998, ../scss/styles.scss */
+/* line 3011, ../scss/styles.scss */
+#home-v2 > .panel-panel > div > .panel-pane.bdd .group-content-wrapper .field-name-field-liens .field-item {
+  display: moz-inline-stack;
+  display: inline-block;
+  vertical-align: top;
+  zoom: 1;
+  *display: inline;
+}
+/* line 3012, ../scss/styles.scss */
+#home-v2 > .panel-panel > div > .panel-pane.bdd .group-content-wrapper .field-name-field-liens a {
+  background-color: rgba(230, 230, 230, 0.8);
+}
+/* line 3019, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.bdd:after {
   content: url("../img/boule.png");
   -webkit-transform: scale(0.8);
@@ -11068,7 +11095,7 @@ body.home-v2 #center {
   bottom: -50px;
   left: -50px;
 }
-/* line 3007, ../scss/styles.scss */
+/* line 3028, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.formations {
   box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
   -webkit-transition: box-shadow 0.3s ease-out;
@@ -11083,16 +11110,16 @@ body.home-v2 #center {
 #home-v2 > .panel-panel > div > .panel-pane.formations:hover {
   box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
 }
-/* line 3014, ../scss/styles.scss */
+/* line 3035, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.formations a {
   color: #FFF;
 }
-/* line 3016, ../scss/styles.scss */
+/* line 3037, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.formations .node {
   padding: 0 0 0 30%;
   width: 70%;
 }
-/* line 3019, ../scss/styles.scss */
+/* line 3040, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.formations .node:before {
   content: " ";
   background: transparent url("../img/formations.png") no-repeat center center;
@@ -11104,21 +11131,21 @@ body.home-v2 #center {
   width: 30%;
   height: 100%;
 }
-/* line 3032, ../scss/styles.scss */
-#home-v2 > .panel-panel > div > .panel-pane.formations .group-content {
+/* line 3053, ../scss/styles.scss */
+#home-v2 > .panel-panel > div > .panel-pane.formations .group-content-wrapper {
   padding: 1em;
   position: relative;
 }
-/* line 3034, ../scss/styles.scss */
-#home-v2 > .panel-panel > div > .panel-pane.formations .group-content .field-name-title-field {
+/* line 3055, ../scss/styles.scss */
+#home-v2 > .panel-panel > div > .panel-pane.formations .group-content-wrapper .field-name-title-field {
   font-size: 2.1em;
   font-weight: 300;
 }
-/* line 3037, ../scss/styles.scss */
-#home-v2 > .panel-panel > div > .panel-pane.formations .group-content .field-name-body {
+/* line 3058, ../scss/styles.scss */
+#home-v2 > .panel-panel > div > .panel-pane.formations .group-content-wrapper .field-name-body {
   margin-top: 1em;
 }
-/* line 3042, ../scss/styles.scss */
+/* line 3063, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.services {
   box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
   -webkit-transition: box-shadow 0.3s ease-out;
@@ -11131,12 +11158,12 @@ body.home-v2 #center {
 #home-v2 > .panel-panel > div > .panel-pane.services:hover {
   box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
 }
-/* line 3048, ../scss/styles.scss */
+/* line 3069, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.services .node {
   padding: 0 30% 0 0;
   width: 70%;
 }
-/* line 3051, ../scss/styles.scss */
+/* line 3072, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.services .node:before {
   content: " ";
   background: transparent url("../img/services.png") no-repeat center center;
@@ -11148,21 +11175,21 @@ body.home-v2 #center {
   width: 30%;
   height: 100%;
 }
-/* line 3064, ../scss/styles.scss */
-#home-v2 > .panel-panel > div > .panel-pane.services .group-content {
+/* line 3085, ../scss/styles.scss */
+#home-v2 > .panel-panel > div > .panel-pane.services .group-content-wrapper {
   padding: 1em;
   position: relative;
 }
-/* line 3066, ../scss/styles.scss */
-#home-v2 > .panel-panel > div > .panel-pane.services .group-content .field-name-title-field {
+/* line 3087, ../scss/styles.scss */
+#home-v2 > .panel-panel > div > .panel-pane.services .group-content-wrapper .field-name-title-field {
   font-size: 2.1em;
   font-weight: 300;
 }
-/* line 3069, ../scss/styles.scss */
-#home-v2 > .panel-panel > div > .panel-pane.services .group-content .field-name-body {
+/* line 3090, ../scss/styles.scss */
+#home-v2 > .panel-panel > div > .panel-pane.services .group-content-wrapper .field-name-body {
   margin-top: 1em;
 }
-/* line 3075, ../scss/styles.scss */
+/* line 3096, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.publication {
   box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
   -webkit-transition: box-shadow 0.3s ease-out;
@@ -11178,11 +11205,11 @@ body.home-v2 #center {
 #home-v2 > .panel-panel > div > .panel-pane.publication:hover {
   box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
 }
-/* line 3082, ../scss/styles.scss */
+/* line 3103, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.publication, #home-v2 > .panel-panel > div > .panel-pane.publication a, #home-v2 > .panel-panel > div > .panel-pane.publication h1, #home-v2 > .panel-panel > div > .panel-pane.publication h2 {
   color: #fff;
 }
-/* line 3086, ../scss/styles.scss */
+/* line 3107, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.publication .view-publication-home-v2 .views-row {
   display: moz-inline-stack;
   display: inline-block;
@@ -11191,11 +11218,11 @@ body.home-v2 #center {
   *display: inline;
   width: 30%;
 }
-/* line 3089, ../scss/styles.scss */
+/* line 3110, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .panel-pane.publication .view-publication-home-v2 .views-row h1 {
   display: none;
 }
-/* line 3095, ../scss/styles.scss */
+/* line 3116, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .pane-news-home-v2 {
   background-color: #e6e6e6;
   border-radius: 10px;
@@ -11205,11 +11232,11 @@ body.home-v2 #center {
   padding-bottom: 1em;
   position: relative;
 }
-/* line 3102, ../scss/styles.scss */
+/* line 3123, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .pane-news-home-v2 h2 {
   font-size: 30px;
 }
-/* line 3104, ../scss/styles.scss */
+/* line 3125, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .pane-news-home-v2 #mini-panel-news_home_v2 .center-wrapper {
   width: 100%;
   margin-left: auto;
@@ -11227,7 +11254,7 @@ body.home-v2 #center {
 #home-v2 > .panel-panel > div > .pane-news-home-v2 #mini-panel-news_home_v2 .center-wrapper:after {
   clear: both;
 }
-/* line 3106, ../scss/styles.scss */
+/* line 3127, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .pane-news-home-v2 #mini-panel-news_home_v2 .center-wrapper .panel-panel {
   overflow: hidden;
   padding-left: 0.9375rem;
@@ -11237,17 +11264,17 @@ body.home-v2 #center {
   width: 30.5%;
   padding-left: 1em;
 }
-/* line 3111, ../scss/styles.scss */
+/* line 3132, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .pane-news-home-v2 #mini-panel-news_home_v2 .center-wrapper .panel-panel .inside {
   margin: 0;
 }
-/* line 3112, ../scss/styles.scss */
+/* line 3133, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .pane-news-home-v2 #mini-panel-news_home_v2 .center-wrapper .panel-panel article.node, #home-v2 > .panel-panel > div > .pane-news-home-v2 #mini-panel-news_home_v2 .center-wrapper .panel-panel article.node-breve.vm-cardbig {
   max-width: 95%;
   margin: 0;
   height: 610px;
 }
-/* line 3115, ../scss/styles.scss */
+/* line 3136, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .pane-news-home-v2 #mini-panel-news_home_v2 .panel-col-bottom {
   width: 100%;
   margin-left: auto;
@@ -11267,14 +11294,14 @@ body.home-v2 #center {
 #home-v2 > .panel-panel > div > .pane-news-home-v2 #mini-panel-news_home_v2 .panel-col-bottom:after {
   clear: both;
 }
-/* line 3117, ../scss/styles.scss */
+/* line 3138, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .pane-news-home-v2 #mini-panel-news_home_v2 .panel-col-bottom > .inside {
   padding-left: 0.9375rem;
   padding-right: 0.9375rem;
   width: 100%;
   float: left;
 }
-/* line 3123, ../scss/styles.scss */
+/* line 3144, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .pane-news-home-v2 .view-news-home-v2 .views-row {
   display: moz-inline-stack;
   display: inline-block;
@@ -11282,7 +11309,7 @@ body.home-v2 #center {
   zoom: 1;
   *display: inline;
 }
-/* line 3125, ../scss/styles.scss */
+/* line 3146, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .pane-news-home-v2 .node-simplenews {
   border-radius: 5px;
   background-clip: padding-box;
@@ -11294,7 +11321,7 @@ body.home-v2 #center {
   position: relative;
   margin: 7px;
 }
-/* line 3132, ../scss/styles.scss */
+/* line 3153, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .pane-news-home-v2 .node-simplenews > a {
   position: absolute;
   bottom: 0;
@@ -11302,7 +11329,7 @@ body.home-v2 #center {
   background-color: #FFF;
   text-align: center;
 }
-/* line 3137, ../scss/styles.scss */
+/* line 3158, ../scss/styles.scss */
 #home-v2 > .panel-panel > div > .pane-news-home-v2 .node-simplenews > a h1 {
   padding: 10px;
   margin: 0;

+ 4 - 4
sites/all/themes/gui/materiobasetheme/js/script.js

@@ -319,7 +319,7 @@
 
         // SKROLLR effects
         // showroom TXT
-        $('.panel-pane.showroom .group-content', '#home-v2')
+        $('.panel-pane.showroom .group-content-wrapper', '#home-v2')
           .attr('data-400-center-top', 'transform:translateX(-43em);opacity:0;')
           .attr('data-100-center-center', 'transform[quadratic]:translateX(0em);opacity[quadratic]:1;')
           .attr('data-top-bottom', 'transform[quadratic]:translateX(10em);');
@@ -328,7 +328,7 @@
           .attr('data-400-bottom-top', 'transform:translateY(-20em);')
           .attr('data-100-top-bottom', 'transform:translateY(5em);');
         // database TXT
-        $('.panel-pane.bdd .group-content', '#home-v2')
+        $('.panel-pane.bdd .group-content-wrapper', '#home-v2')
           .attr('data-400-center-top', 'transform:translateX(40em);opacity:0;')
           .attr('data-100-center-center', 'transform[quadratic]:translateX(0em);opacity[quadratic]:1;');
         // database IMG
@@ -344,11 +344,11 @@
         });
 
         // Formations
-        $('.panel-pane.formations .group-content', '#home-v2')
+        $('.panel-pane.formations .group-content-wrapper', '#home-v2')
           .attr('data-50-bottom-top', 'transform:translateX(20em);opacity:0;')
           .attr('data-center-top', 'transform[quadratic]:translateX(0em);opacity:1;');
         // Formations
-        $('.panel-pane.services .group-content', '#home-v2')
+        $('.panel-pane.services .group-content-wrapper', '#home-v2')
           .attr('data-50-bottom-top', 'transform:translateX(20em);opacity:0;')
           .attr('data-center-top', 'transform[quadratic]:translateX(0em);opacity:1;');
         //Publication node news

+ 34 - 13
sites/all/themes/gui/materiobasetheme/scss/styles.scss

@@ -2793,6 +2793,17 @@ body.home-v2{
   h2{font-size: 2.1em; font-weight: 300;}
   a{color: #000};
 
+
+  .field-name-field-liens{
+    margin-top:1em;
+    a{
+      font-weight: 700;
+      padding:0.5em 1em 0.7em;
+      @include rounded(5px);
+      background-color: rgba(255,255,255, 0.8);
+    }
+  }
+
   .panel-separator{clear:both;}
   >.panel-panel>div>.panel-pane {
     // padding: 10px 15px;
@@ -2923,19 +2934,22 @@ body.home-v2{
           position:absolute; width:100%; height:100%; overflow:hidden;
           img{width:100%; margin-top:-10%;}
         }
-        .group-content{
+        .group-content-wrapper{
           position:relative;
           z-index:2;
           width:30%;
           margin:3em 2em;
-          background-color: rgba(255,255,255, 0.8);
-          padding:1em;
-          @include rounded(5px);
-          .field-name-title-field{
-            font-size: 2.1em; font-weight: 300;
-          }
-          .field-name-body{
-            margin-top: 0.5em;
+
+          .group-content{
+            background-color: rgba(255,255,255, 0.8);
+            padding:1em;
+            @include rounded(5px);
+            .field-name-title-field{
+              font-size: 2.1em; font-weight: 300;
+            }
+            .field-name-body{
+              margin-top: 0.5em;
+            }
           }
         }
       }
@@ -2947,7 +2961,7 @@ body.home-v2{
             position:absolute; width:100%; height:100%; overflow:hidden;
             img{margin-top:0;}
           }
-          .group-content{
+          .group-content-wrapper{
             width:auto;
             padding:2%;
             margin:2%;
@@ -2982,7 +2996,7 @@ body.home-v2{
         img{max-width:2000px;}
       }
 
-      .group-content{
+      .group-content-wrapper{
         @include inlineblock(); width:35%;
         background-color: rgba(255,255,255, 0.7);
         padding:1em;
@@ -2993,6 +3007,13 @@ body.home-v2{
         .field-name-body{
           margin-top: 1em;
         }
+        .field-name-field-liens{
+          .field-item{@include inlineblock();}
+          a{
+            background-color: rgba(230,230,230, 0.8);
+          }
+        }
+
       }
 
       &:after{
@@ -3029,7 +3050,7 @@ body.home-v2{
         }
       }
 
-      .group-content{
+      .group-content-wrapper{
         padding:1em; position:relative;
         .field-name-title-field{
           font-size: 2.1em; font-weight: 300;
@@ -3061,7 +3082,7 @@ body.home-v2{
         }
       }
 
-      .group-content{
+      .group-content-wrapper{
         padding:1em; position:relative;
         .field-name-title-field{
           font-size: 2.1em; font-weight: 300;