Compare commits
6
Commits
1.2
...
showroom-RC.2.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c56a523286 | ||
|
|
8b5d721bfd | ||
|
|
7ed9dc54bf | ||
|
|
adee2f54e3 | ||
|
|
41e3e6dfb2 | ||
|
|
5f6a9ac5d1 |
-1
@@ -1303,7 +1303,6 @@ function materio_administration_menu_default_menu_links() {
|
||||
t('Publication');
|
||||
t('Reports');
|
||||
t('Shopping cart');
|
||||
t('Showroom');
|
||||
t('Showrooms');
|
||||
t('Simplenews newsletter');
|
||||
t('Store');
|
||||
|
||||
+2
-1
@@ -933,10 +933,11 @@ function materio_administration_views_default_views() {
|
||||
$handler->display->display_options['fields']['field_localisation']['id'] = 'field_localisation';
|
||||
$handler->display->display_options['fields']['field_localisation']['table'] = 'field_data_field_localisation';
|
||||
$handler->display->display_options['fields']['field_localisation']['field'] = 'field_localisation';
|
||||
/* Field: Content: Location */
|
||||
/* Field: Content: Samples */
|
||||
$handler->display->display_options['fields']['field_location']['id'] = 'field_location';
|
||||
$handler->display->display_options['fields']['field_location']['table'] = 'field_data_field_location';
|
||||
$handler->display->display_options['fields']['field_location']['field'] = 'field_location';
|
||||
$handler->display->display_options['fields']['field_location']['label'] = 'Location';
|
||||
$handler->display->display_options['fields']['field_location']['click_sort_column'] = 'showroom_tid';
|
||||
$handler->display->display_options['fields']['field_location']['delta_offset'] = '0';
|
||||
$handler->display->display_options['fields']['field_location']['multi_type'] = 'ul';
|
||||
|
||||
+27
-32
@@ -2301,14 +2301,14 @@ function materio_content_types_field_default_field_instances() {
|
||||
'module' => 'file',
|
||||
'settings' => array(),
|
||||
'type' => 'file_default',
|
||||
'weight' => 17,
|
||||
'weight' => 18,
|
||||
),
|
||||
'cardmedium' => array(
|
||||
'label' => 'hidden',
|
||||
'module' => 'file',
|
||||
'settings' => array(),
|
||||
'type' => 'file_default',
|
||||
'weight' => 12,
|
||||
'weight' => 23,
|
||||
),
|
||||
'cardsmall' => array(
|
||||
'label' => 'above',
|
||||
@@ -2382,7 +2382,7 @@ function materio_content_types_field_default_field_instances() {
|
||||
'label' => 'hidden',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 9,
|
||||
'weight' => 12,
|
||||
),
|
||||
'cardfull' => array(
|
||||
'label' => 'above',
|
||||
@@ -2480,7 +2480,7 @@ function materio_content_types_field_default_field_instances() {
|
||||
'viewmode' => 'cardfull',
|
||||
),
|
||||
'type' => 'tode',
|
||||
'weight' => 19,
|
||||
'weight' => 20,
|
||||
),
|
||||
'cardmedium' => array(
|
||||
'label' => 'above',
|
||||
@@ -2489,7 +2489,7 @@ function materio_content_types_field_default_field_instances() {
|
||||
'viewmode' => 'cardmedium',
|
||||
),
|
||||
'type' => 'tode',
|
||||
'weight' => 10,
|
||||
'weight' => 23,
|
||||
),
|
||||
'cardsmall' => array(
|
||||
'label' => 'above',
|
||||
@@ -2517,7 +2517,7 @@ function materio_content_types_field_default_field_instances() {
|
||||
'viewmode' => 'print',
|
||||
),
|
||||
'type' => 'tode',
|
||||
'weight' => 8,
|
||||
'weight' => 9,
|
||||
),
|
||||
'teaser' => array(
|
||||
'label' => 'above',
|
||||
@@ -2577,7 +2577,7 @@ function materio_content_types_field_default_field_instances() {
|
||||
'viewmode' => 'cardfull',
|
||||
),
|
||||
'type' => 'tode',
|
||||
'weight' => 18,
|
||||
'weight' => 19,
|
||||
),
|
||||
'cardmedium' => array(
|
||||
'label' => 'above',
|
||||
@@ -2586,7 +2586,7 @@ function materio_content_types_field_default_field_instances() {
|
||||
'viewmode' => 'cardmedium',
|
||||
),
|
||||
'type' => 'tode',
|
||||
'weight' => 9,
|
||||
'weight' => 22,
|
||||
),
|
||||
'cardsmall' => array(
|
||||
'label' => 'above',
|
||||
@@ -2614,7 +2614,7 @@ function materio_content_types_field_default_field_instances() {
|
||||
'viewmode' => 'print',
|
||||
),
|
||||
'type' => 'tode',
|
||||
'weight' => 7,
|
||||
'weight' => 8,
|
||||
),
|
||||
'teaser' => array(
|
||||
'label' => 'above',
|
||||
@@ -2751,7 +2751,7 @@ function materio_content_types_field_default_field_instances() {
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 8,
|
||||
'weight' => 11,
|
||||
),
|
||||
'cardfull' => array(
|
||||
'label' => 'above',
|
||||
@@ -2832,7 +2832,7 @@ function materio_content_types_field_default_field_instances() {
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 7,
|
||||
'weight' => 10,
|
||||
),
|
||||
'cardfull' => array(
|
||||
'label' => 'above',
|
||||
@@ -2910,31 +2910,27 @@ function materio_content_types_field_default_field_instances() {
|
||||
),
|
||||
'cardbig' => array(
|
||||
'label' => 'hidden',
|
||||
'module' => 'text',
|
||||
'settings' => array(),
|
||||
'type' => 'text_default',
|
||||
'type' => 'hidden',
|
||||
'weight' => 8,
|
||||
),
|
||||
'cardfull' => array(
|
||||
'label' => 'hidden',
|
||||
'module' => 'text',
|
||||
'settings' => array(),
|
||||
'type' => 'text_default',
|
||||
'type' => 'hidden',
|
||||
'weight' => 19,
|
||||
),
|
||||
'cardmedium' => array(
|
||||
'label' => 'hidden',
|
||||
'module' => 'text',
|
||||
'settings' => array(),
|
||||
'type' => 'text_default',
|
||||
'weight' => 21,
|
||||
'type' => 'hidden',
|
||||
'weight' => 17,
|
||||
),
|
||||
'cardsmall' => array(
|
||||
'label' => 'hidden',
|
||||
'module' => 'text',
|
||||
'settings' => array(),
|
||||
'type' => 'text_plain',
|
||||
'weight' => 8,
|
||||
'type' => 'hidden',
|
||||
'weight' => 9,
|
||||
),
|
||||
'default' => array(
|
||||
'label' => 'hidden',
|
||||
@@ -2951,9 +2947,8 @@ function materio_content_types_field_default_field_instances() {
|
||||
),
|
||||
'print' => array(
|
||||
'label' => 'hidden',
|
||||
'module' => 'text',
|
||||
'settings' => array(),
|
||||
'type' => 'text_plain',
|
||||
'type' => 'hidden',
|
||||
'weight' => 5,
|
||||
),
|
||||
'teaser' => array(
|
||||
@@ -3129,7 +3124,7 @@ function materio_content_types_field_default_field_instances() {
|
||||
'link' => 1,
|
||||
),
|
||||
'type' => 'entityreference_label',
|
||||
'weight' => 20,
|
||||
'weight' => 21,
|
||||
),
|
||||
'cardmedium' => array(
|
||||
'label' => 'above',
|
||||
@@ -3138,7 +3133,7 @@ function materio_content_types_field_default_field_instances() {
|
||||
'link' => 1,
|
||||
),
|
||||
'type' => 'entityreference_label',
|
||||
'weight' => 13,
|
||||
'weight' => 24,
|
||||
),
|
||||
'cardsmall' => array(
|
||||
'label' => 'above',
|
||||
@@ -3212,7 +3207,7 @@ function materio_content_types_field_default_field_instances() {
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 11,
|
||||
'weight' => 14,
|
||||
),
|
||||
'cardfull' => array(
|
||||
'label' => 'above',
|
||||
@@ -3388,7 +3383,7 @@ function materio_content_types_field_default_field_instances() {
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 10,
|
||||
'weight' => 13,
|
||||
),
|
||||
'cardfull' => array(
|
||||
'label' => 'above',
|
||||
@@ -3567,7 +3562,7 @@ Vous devez avant d\'utiliser un nouveau tag le créer <a href="/admin/structure/
|
||||
'label' => 'hidden',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 5,
|
||||
'weight' => 9,
|
||||
),
|
||||
'cardfull' => array(
|
||||
'label' => 'above',
|
||||
@@ -3653,7 +3648,7 @@ Vous devez avant d\'utiliser un nouveau tag le créer <a href="/admin/structure/
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 3,
|
||||
'weight' => 8,
|
||||
),
|
||||
'cardfull' => array(
|
||||
'label' => 'above',
|
||||
@@ -3665,7 +3660,7 @@ Vous devez avant d\'utiliser un nouveau tag le créer <a href="/admin/structure/
|
||||
'label' => 'hidden',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 8,
|
||||
'weight' => 9,
|
||||
),
|
||||
'cardsmall' => array(
|
||||
'label' => 'above',
|
||||
@@ -3736,7 +3731,7 @@ Vous devez avant d\'utiliser un nouveau tag le créer <a href="/admin/structure/
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
'weight' => 6,
|
||||
),
|
||||
'cardfull' => array(
|
||||
'label' => 'above',
|
||||
@@ -3748,7 +3743,7 @@ Vous devez avant d\'utiliser un nouveau tag le créer <a href="/admin/structure/
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 8,
|
||||
'weight' => 10,
|
||||
),
|
||||
'cardsmall' => array(
|
||||
'label' => 'above',
|
||||
|
||||
-6
@@ -164,7 +164,6 @@ function materio_content_types_user_default_permissions() {
|
||||
$permissions['create field_localisation'] = array(
|
||||
'name' => 'create field_localisation',
|
||||
'roles' => array(
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'field_permissions',
|
||||
@@ -452,7 +451,6 @@ function materio_content_types_user_default_permissions() {
|
||||
$permissions['edit field_localisation'] = array(
|
||||
'name' => 'edit field_localisation',
|
||||
'roles' => array(
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'field_permissions',
|
||||
@@ -728,7 +726,6 @@ function materio_content_types_user_default_permissions() {
|
||||
$permissions['edit own field_localisation'] = array(
|
||||
'name' => 'edit own field_localisation',
|
||||
'roles' => array(
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'field_permissions',
|
||||
@@ -1145,8 +1142,6 @@ function materio_content_types_user_default_permissions() {
|
||||
$permissions['view field_localisation'] = array(
|
||||
'name' => 'view field_localisation',
|
||||
'roles' => array(
|
||||
'Admin showroom' => 'Admin showroom',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'field_permissions',
|
||||
@@ -1444,7 +1439,6 @@ function materio_content_types_user_default_permissions() {
|
||||
$permissions['view own field_localisation'] = array(
|
||||
'name' => 'view own field_localisation',
|
||||
'roles' => array(
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'field_permissions',
|
||||
|
||||
+25
-25
@@ -21,7 +21,7 @@ function materio_content_types_field_group_info() {
|
||||
$field_group->parent_name = '';
|
||||
$field_group->data = array(
|
||||
'label' => 'side 4',
|
||||
'weight' => '3',
|
||||
'weight' => '4',
|
||||
'children' => array(
|
||||
0 => 'field_company_fab',
|
||||
1 => 'field_company_distrib',
|
||||
@@ -238,8 +238,7 @@ function materio_content_types_field_group_info() {
|
||||
'label' => 'head right',
|
||||
'weight' => '3',
|
||||
'children' => array(
|
||||
0 => 'field_localisation',
|
||||
1 => 'field_reference_materio',
|
||||
0 => 'field_reference_materio',
|
||||
),
|
||||
'format_type' => 'div',
|
||||
'format_settings' => array(
|
||||
@@ -471,8 +470,7 @@ function materio_content_types_field_group_info() {
|
||||
'children' => array(
|
||||
0 => 'field_nature_titre',
|
||||
1 => 'title_field',
|
||||
2 => 'field_localisation',
|
||||
3 => 'field_reference_materio',
|
||||
2 => 'field_reference_materio',
|
||||
),
|
||||
'format_type' => 'div',
|
||||
'format_settings' => array(
|
||||
@@ -506,8 +504,7 @@ function materio_content_types_field_group_info() {
|
||||
'children' => array(
|
||||
0 => 'field_nature_titre',
|
||||
1 => 'title_field',
|
||||
2 => 'field_localisation',
|
||||
3 => 'field_reference_materio',
|
||||
2 => 'field_reference_materio',
|
||||
),
|
||||
'format_type' => 'div',
|
||||
'format_settings' => array(
|
||||
@@ -541,8 +538,7 @@ function materio_content_types_field_group_info() {
|
||||
'children' => array(
|
||||
0 => 'field_nature_titre',
|
||||
1 => 'title_field',
|
||||
2 => 'field_localisation',
|
||||
3 => 'field_reference_materio',
|
||||
2 => 'field_reference_materio',
|
||||
),
|
||||
'format_type' => 'div',
|
||||
'format_settings' => array(
|
||||
@@ -576,8 +572,8 @@ function materio_content_types_field_group_info() {
|
||||
'children' => array(
|
||||
0 => 'field_nature_titre',
|
||||
1 => 'title_field',
|
||||
2 => 'field_localisation',
|
||||
3 => 'field_reference_materio',
|
||||
2 => 'field_reference_materio',
|
||||
3 => 'field_location',
|
||||
),
|
||||
'format_type' => 'div',
|
||||
'format_settings' => array(
|
||||
@@ -1163,7 +1159,7 @@ function materio_content_types_field_group_info() {
|
||||
$field_group->parent_name = '';
|
||||
$field_group->data = array(
|
||||
'label' => 'side 1',
|
||||
'weight' => '0',
|
||||
'weight' => '1',
|
||||
'children' => array(
|
||||
0 => 'group_header',
|
||||
1 => 'group_images',
|
||||
@@ -1292,7 +1288,7 @@ function materio_content_types_field_group_info() {
|
||||
$field_group->parent_name = '';
|
||||
$field_group->data = array(
|
||||
'label' => 'side 2',
|
||||
'weight' => '1',
|
||||
'weight' => '2',
|
||||
'children' => array(
|
||||
0 => 'field_description',
|
||||
),
|
||||
@@ -1418,15 +1414,16 @@ function materio_content_types_field_group_info() {
|
||||
$field_group->parent_name = '';
|
||||
$field_group->data = array(
|
||||
'label' => 'side 3',
|
||||
'weight' => '2',
|
||||
'weight' => '3',
|
||||
'children' => array(
|
||||
0 => 'field_video_filter',
|
||||
0 => 'field_location',
|
||||
),
|
||||
'format_type' => 'hidden',
|
||||
'format_type' => 'div',
|
||||
'format_settings' => array(
|
||||
'label' => 'side 3',
|
||||
'instance_settings' => array(
|
||||
'classes' => 'side group-side3 field-group-hidden',
|
||||
'id' => 'node_materiau_cardbig_group_side2',
|
||||
'classes' => 'side group-side2 field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@@ -1449,15 +1446,16 @@ function materio_content_types_field_group_info() {
|
||||
$field_group->parent_name = '';
|
||||
$field_group->data = array(
|
||||
'label' => 'side 3',
|
||||
'weight' => '10',
|
||||
'weight' => '4',
|
||||
'children' => array(
|
||||
0 => 'field_video_filter',
|
||||
0 => 'field_location',
|
||||
),
|
||||
'format_type' => 'hidden',
|
||||
'format_type' => 'div',
|
||||
'format_settings' => array(
|
||||
'label' => 'side 3',
|
||||
'instance_settings' => array(
|
||||
'classes' => 'side group-side3 field-group-hidden',
|
||||
'id' => 'node_materiau_cardmedium_group_side_3',
|
||||
'classes' => 'side group-side2 field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@@ -1546,7 +1544,7 @@ function materio_content_types_field_group_info() {
|
||||
$field_group->parent_name = '';
|
||||
$field_group->data = array(
|
||||
'label' => 'side 4',
|
||||
'weight' => '4',
|
||||
'weight' => '5',
|
||||
'children' => array(
|
||||
0 => 'field_company_fab',
|
||||
1 => 'field_company_distrib',
|
||||
@@ -1579,7 +1577,7 @@ function materio_content_types_field_group_info() {
|
||||
$field_group->parent_name = '';
|
||||
$field_group->data = array(
|
||||
'label' => 'side 5',
|
||||
'weight' => '4',
|
||||
'weight' => '5',
|
||||
'children' => array(
|
||||
0 => 'field_attachments',
|
||||
1 => 'field_materiau_ref',
|
||||
@@ -1612,7 +1610,7 @@ function materio_content_types_field_group_info() {
|
||||
$field_group->parent_name = '';
|
||||
$field_group->data = array(
|
||||
'label' => 'side 5',
|
||||
'weight' => '5',
|
||||
'weight' => '6',
|
||||
'children' => array(
|
||||
0 => 'field_attachments',
|
||||
1 => 'field_materiau_ref',
|
||||
@@ -1714,6 +1712,7 @@ function materio_content_types_field_group_info() {
|
||||
0 => 'field_description',
|
||||
1 => 'field_company_fab',
|
||||
2 => 'field_company_distrib',
|
||||
3 => 'field_location',
|
||||
),
|
||||
'format_type' => 'div',
|
||||
'format_settings' => array(
|
||||
@@ -1785,7 +1784,8 @@ function materio_content_types_field_group_info() {
|
||||
2 => 'field_company_fab',
|
||||
3 => 'field_company_distrib',
|
||||
4 => 'field_materiau_ref',
|
||||
5 => 'group_header',
|
||||
5 => 'field_location',
|
||||
6 => 'group_header',
|
||||
),
|
||||
'format_type' => 'div',
|
||||
'format_settings' => array(
|
||||
|
||||
@@ -23,6 +23,7 @@ dependencies[] = materio_user_profiles
|
||||
dependencies[] = options
|
||||
dependencies[] = print
|
||||
dependencies[] = print_ui
|
||||
dependencies[] = showroom
|
||||
dependencies[] = strongarm
|
||||
dependencies[] = synonyms
|
||||
dependencies[] = taxonomy
|
||||
|
||||
+12
-4
@@ -385,7 +385,7 @@ function materio_content_types_strongarm() {
|
||||
'visible' => TRUE,
|
||||
),
|
||||
'cardbig' => array(
|
||||
'weight' => '-99',
|
||||
'weight' => '0',
|
||||
'visible' => TRUE,
|
||||
),
|
||||
'cardfull' => array(
|
||||
@@ -404,14 +404,18 @@ function materio_content_types_strongarm() {
|
||||
'weight' => '0',
|
||||
'visible' => FALSE,
|
||||
),
|
||||
'cardsmall' => array(
|
||||
'weight' => '-99',
|
||||
'visible' => TRUE,
|
||||
),
|
||||
),
|
||||
'workflow' => array(
|
||||
'cardmedium' => array(
|
||||
'weight' => '7',
|
||||
'visible' => TRUE,
|
||||
'weight' => '8',
|
||||
'visible' => FALSE,
|
||||
),
|
||||
'cardbig' => array(
|
||||
'weight' => '99',
|
||||
'weight' => '15',
|
||||
'visible' => FALSE,
|
||||
),
|
||||
'cardfull' => array(
|
||||
@@ -430,6 +434,10 @@ function materio_content_types_strongarm() {
|
||||
'weight' => '8',
|
||||
'visible' => FALSE,
|
||||
),
|
||||
'cardsmall' => array(
|
||||
'weight' => '99',
|
||||
'visible' => TRUE,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
@@ -104,27 +104,31 @@ function showroom_field_default_field_instances() {
|
||||
),
|
||||
'cardbig' => array(
|
||||
'label' => 'above',
|
||||
'module' => 'materio_showroom',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
'type' => 'materio_showroom_location_simple_text',
|
||||
'weight' => 7,
|
||||
),
|
||||
'cardfull' => array(
|
||||
'label' => 'above',
|
||||
'module' => 'materio_showroom',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
'type' => 'materio_showroom_location_simple_text',
|
||||
'weight' => 17,
|
||||
),
|
||||
'cardmedium' => array(
|
||||
'label' => 'above',
|
||||
'module' => 'materio_showroom',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
'type' => 'materio_showroom_location_simple_text',
|
||||
'weight' => 22,
|
||||
),
|
||||
'cardsmall' => array(
|
||||
'label' => 'above',
|
||||
'module' => 'materio_showroom',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
'type' => 'materio_showroom_location_simple_text',
|
||||
'weight' => 8,
|
||||
),
|
||||
'default' => array(
|
||||
'label' => 'above',
|
||||
@@ -141,9 +145,10 @@ function showroom_field_default_field_instances() {
|
||||
),
|
||||
'print' => array(
|
||||
'label' => 'above',
|
||||
'module' => 'materio_showroom',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
'type' => 'materio_showroom_location_simple_text',
|
||||
'weight' => 7,
|
||||
),
|
||||
'teaser' => array(
|
||||
'label' => 'above',
|
||||
@@ -154,7 +159,7 @@ function showroom_field_default_field_instances() {
|
||||
),
|
||||
'entity_type' => 'node',
|
||||
'field_name' => 'field_location',
|
||||
'label' => 'Location',
|
||||
'label' => 'Samples',
|
||||
'required' => 0,
|
||||
'settings' => array(
|
||||
'entity_translation_sync' => FALSE,
|
||||
@@ -1261,10 +1266,10 @@ function showroom_field_default_field_instances() {
|
||||
t('Body');
|
||||
t('Description');
|
||||
t('Email');
|
||||
t('Location');
|
||||
t('Mémo');
|
||||
t('Nom');
|
||||
t('Phone');
|
||||
t('Samples');
|
||||
t('Showroom');
|
||||
|
||||
return $field_instances;
|
||||
|
||||
@@ -210,10 +210,22 @@ function showroom_user_default_permissions() {
|
||||
'module' => 'override_node_options',
|
||||
);
|
||||
|
||||
// Exported permission: 'materio showroom edit all samples fields'.
|
||||
$permissions['materio showroom edit all samples fields'] = array(
|
||||
'name' => 'materio showroom edit all samples fields',
|
||||
'roles' => array(
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'materio_showroom',
|
||||
);
|
||||
|
||||
// Exported permission: 'materio showroom migrate fields'.
|
||||
$permissions['materio showroom migrate fields'] = array(
|
||||
'name' => 'materio showroom migrate fields',
|
||||
'roles' => array(),
|
||||
'roles' => array(
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'materio_showroom',
|
||||
);
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ function showroom_field_group_info() {
|
||||
$field_group->mode = 'form';
|
||||
$field_group->parent_name = 'group_htabs';
|
||||
$field_group->data = array(
|
||||
'label' => 'Showroom',
|
||||
'label' => 'Showroom Samples',
|
||||
'weight' => '17',
|
||||
'children' => array(
|
||||
0 => 'field_localisation',
|
||||
@@ -28,19 +28,20 @@ function showroom_field_group_info() {
|
||||
),
|
||||
'format_type' => 'htab',
|
||||
'format_settings' => array(
|
||||
'formatter' => 'closed',
|
||||
'label' => 'Showroom Samples',
|
||||
'instance_settings' => array(
|
||||
'description' => '',
|
||||
'classes' => 'group-showroom field-group-htab',
|
||||
'required_fields' => 1,
|
||||
'classes' => 'group-showroom field-group-htab',
|
||||
'description' => '',
|
||||
),
|
||||
'formatter' => 'closed',
|
||||
),
|
||||
);
|
||||
$field_groups['group_showroom|node|materiau|form'] = $field_group;
|
||||
|
||||
// Translatables
|
||||
// Included for use with string extractors like potx.
|
||||
t('Showroom');
|
||||
t('Showroom Samples');
|
||||
|
||||
return $field_groups;
|
||||
}
|
||||
|
||||
@@ -16,6 +16,7 @@ dependencies[] = materio_content_types
|
||||
dependencies[] = materio_page_title
|
||||
dependencies[] = materio_showroom
|
||||
dependencies[] = materio_subscriptions
|
||||
dependencies[] = materio_user_profiles
|
||||
dependencies[] = menu
|
||||
dependencies[] = metatag
|
||||
dependencies[] = node
|
||||
@@ -70,6 +71,7 @@ features[user_permission][] = edit own showroom content
|
||||
features[user_permission][] = edit terms in showroom
|
||||
features[user_permission][] = edit users with role 13
|
||||
features[user_permission][] = enter showroom revision log entry
|
||||
features[user_permission][] = materio showroom edit all samples fields
|
||||
features[user_permission][] = materio showroom migrate fields
|
||||
features[user_permission][] = merge showroom terms
|
||||
features[user_permission][] = override showroom authored by option
|
||||
@@ -132,6 +134,7 @@ features_exclude[field_base][field_public_address] = field_public_address
|
||||
features_exclude[field_base][field_public_email] = field_public_email
|
||||
features_exclude[field_base][name_field] = name_field
|
||||
features_exclude[field_base][description_field] = description_field
|
||||
features_exclude[field_group][group_htabs|node|materiau|form] = group_htabs|node|materiau|form
|
||||
features_exclude[user_permission][create field_memo] = create field_memo
|
||||
features_exclude[user_permission][edit own field_memo] = edit own field_memo
|
||||
features_exclude[user_permission][edit field_memo] = edit field_memo
|
||||
@@ -152,5 +155,4 @@ features_exclude[user_permission][edit own field_public_email] = edit own field_
|
||||
features_exclude[user_permission][edit field_public_email] = edit field_public_email
|
||||
features_exclude[user_permission][view own field_public_email] = view own field_public_email
|
||||
features_exclude[user_permission][view field_public_email] = view field_public_email
|
||||
features_exclude[field_group][group_htabs|node|materiau|form] = group_htabs|node|materiau|form
|
||||
project path = sites/all/modules/features
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* @file
|
||||
* Javascript for Field Example.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Provides a farbtastic colorpicker for the fancier widget.
|
||||
*/
|
||||
(function ($) {
|
||||
Drupal.behaviors.field_materio_showroom_location = {
|
||||
attach: function(context) {
|
||||
// console.log('hello materio_showroom');
|
||||
$(".field-multiple-drag", ".field-type-field-materio-showroom-location").hide();
|
||||
}
|
||||
}
|
||||
})(jQuery);
|
||||
@@ -63,7 +63,7 @@ function materio_showroom_field_info() {
|
||||
function materio_showroom_field_is_empty($item, $field) {
|
||||
// dsm($item,'item');
|
||||
// dsm($field,'field');
|
||||
return empty($item['location']) && empty($item['showroom_tid']);
|
||||
return empty($item['location']); // && empty($item['showroom_tid'])
|
||||
}
|
||||
|
||||
// ______ __
|
||||
@@ -86,7 +86,7 @@ function materio_showroom_field_formatter_info() {
|
||||
// This formatter just displays the hex value in the color indicated.
|
||||
'materio_showroom_location_simple_text' => array(
|
||||
'label' => t('Simple text-based formatter'),
|
||||
'field types' => array('field_example_rgb'),
|
||||
'field types' => array('field_materio_showroom_location'),
|
||||
),
|
||||
// This formatter changes the background color of the content region.
|
||||
// 'field_example_color_background' => array(
|
||||
@@ -112,15 +112,17 @@ function materio_showroom_field_formatter_view($entity_type, $entity, $field, $i
|
||||
$element = array();
|
||||
|
||||
switch ($display['type']) {
|
||||
// This formatter simply outputs the field as text and with a color.
|
||||
// This formatter simply outputs the field as text.
|
||||
case 'materio_showroom_location_simple_text':
|
||||
foreach ($items as $delta => $item) {
|
||||
$term = taxonomy_term_load($item['showroom_tid']);
|
||||
$element[$delta] = array(
|
||||
'#type' => 'html_tag',
|
||||
'#tag' => 'p',
|
||||
'#value' => t('%showroom : @loc', array('%showroom' => $term->name, '@loc' => $item['location'])),
|
||||
);
|
||||
if(!empty($item['location'])){
|
||||
$term = taxonomy_term_load($item['showroom_tid']);
|
||||
$element[$delta] = array(
|
||||
'#type' => 'html_tag',
|
||||
'#tag' => 'p',
|
||||
'#value' => t('%showroom : @loc', array('%showroom' => $term->name, '@loc' => $item['location'])),
|
||||
);
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
@@ -180,23 +182,19 @@ function materio_showroom_field_widget_info() {
|
||||
* 'rgb' form element.
|
||||
*/
|
||||
function materio_showroom_field_widget_form(&$form, &$form_state, $field, $instance, $langcode, $items, $delta, $element) {
|
||||
$locval = isset($items[$delta]['location']) ? $items[$delta]['location'] : '';
|
||||
$showroom_tid = isset($items[$delta]['showroom_tid']) ? $items[$delta]['showroom_tid'] : 0;
|
||||
|
||||
$widget = $element;
|
||||
$widget['#delta'] = $delta;
|
||||
|
||||
switch ($instance['widget']['type']) {
|
||||
// TODO: loop through showrooms and don't allow more than one field by show room
|
||||
|
||||
case 'materio_showroom_location_text':
|
||||
case 'materio_showroom_location_text':
|
||||
$locval = isset($items[$delta]['location']) ? $items[$delta]['location'] : '';
|
||||
$showroom_tid = isset($items[$delta]['showroom_tid']) ? $items[$delta]['showroom_tid'] : 0;
|
||||
|
||||
$widget['showroom_tid'] = array(
|
||||
'#type' => 'hidden',
|
||||
'#default_value' => $showroom_tid,
|
||||
// Allow a slightly larger size that the field length to allow for some
|
||||
// configurations where all characters won't fit in input field.
|
||||
'#size' => 10,
|
||||
'#maxlength' => 255,
|
||||
);
|
||||
|
||||
@@ -206,10 +204,15 @@ function materio_showroom_field_widget_form(&$form, &$form_state, $field, $insta
|
||||
'#default_value' => $locval,
|
||||
// Allow a slightly larger size that the field length to allow for some
|
||||
// configurations where all characters won't fit in input field.
|
||||
'#size' => 10,
|
||||
'#size' => 20,
|
||||
'#maxlength' => 255,
|
||||
);
|
||||
|
||||
$widget['#attached'] = array(
|
||||
// Add javascript to remove the draggable behaviour.
|
||||
'js' => array(drupal_get_path('module', 'materio_showroom') . '/js/materio_showroom.js'),
|
||||
);
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -278,6 +281,8 @@ function _materio_showroom_alter_location_field_form(&$form, &$form_state, $form
|
||||
$node = $form['#node'];
|
||||
$nodetype = $form['type']['#value'];
|
||||
|
||||
// dsm($form_state, 'form_state');
|
||||
|
||||
global $user;
|
||||
$user = user_load($user->uid); // Make sure the user object is fully loaded
|
||||
// dsm($user, 'user');
|
||||
@@ -310,13 +315,14 @@ function _materio_showroom_alter_location_field_form(&$form, &$form_state, $form
|
||||
foreach ($showroomfieldinstances as $field_name) {
|
||||
// retrive various field infos
|
||||
$field_info = field_info_field($field_name);
|
||||
$field_instance = field_info_instance('node', $field_name, $nodetype);
|
||||
// dsm($field_info, 'field_info');
|
||||
$field_instance = field_info_instance('node', $field_name, $nodetype);
|
||||
|
||||
// get all terms from chosen vocabulary in field instance widget settings
|
||||
$vid = $field_instance['widget']['settings']['vocabulary'];
|
||||
$voc = taxonomy_vocabulary_load($vid);
|
||||
$tree = taxonomy_get_tree($vid);
|
||||
// dsm($tree, 'tree');
|
||||
foreach ($tree as $key => $term) {
|
||||
$terms[$term->tid] = $term->name;
|
||||
}
|
||||
@@ -333,54 +339,71 @@ function _materio_showroom_alter_location_field_form(&$form, &$form_state, $form
|
||||
|
||||
// get already recorded values
|
||||
$old_items = field_get_items('node', $node, $field_name);
|
||||
// dsm($old_items, 'old_items');
|
||||
foreach ($old_items as $i => $value) {
|
||||
$values[$value['showroom_tid']] = $value['location'];
|
||||
}
|
||||
// dsm($values, 'values');
|
||||
|
||||
// build new item list
|
||||
foreach ($terms as $tid => $name) {
|
||||
$items[] = array(
|
||||
'showroom_tid' => $tid,
|
||||
'location' => isset($values[$tid]) ? $values[$tid] : ''
|
||||
);
|
||||
}
|
||||
// for ($k=0; $k < 3; $k++) {
|
||||
foreach ($terms as $tid => $name) {
|
||||
$items[] = array(
|
||||
'showroom_tid' => "$tid",
|
||||
'location' => isset($values[$tid]) ? $values[$tid] : ''
|
||||
);
|
||||
}
|
||||
// }
|
||||
// dsm($items, 'items');
|
||||
|
||||
// change form_state items count
|
||||
// without this, form wont populated with all wanted items
|
||||
$form_state['field'][$field_name][LANGUAGE_NONE]['items_count'] = count($items);
|
||||
|
||||
// retrieve new field form with our custom items
|
||||
$new_field_form = field_default_form('node', $node, $field_info, $field_instance, LANGUAGE_NONE, $items, $form, $form_state);
|
||||
// dsm($new_field_form, 'default_form');
|
||||
$new_field_form = field_default_form('node', null, $field_info, $field_instance, LANGUAGE_NONE, $items, $form, $form_state)[$field_name];
|
||||
// dsm($new_field_form, 'new_field_form');
|
||||
|
||||
|
||||
// $elements = field_multiple_value_form($field_info, $field_instance, LANGUAGE_NONE, $items, $form, $form_state);
|
||||
// dsm($elements, 'elements');
|
||||
|
||||
|
||||
// change items location field title
|
||||
// and check access comparing term id with user taged with
|
||||
$i = 0;
|
||||
foreach ($terms as $tid => $name) {
|
||||
$item = $new_field_form[$field_name][LANGUAGE_NONE][$i];
|
||||
$new_field_form[$field_name][LANGUAGE_NONE][$i]['location']['#title'] = $terms[$item['showroom_tid']['#default_value']];
|
||||
$new_field_form[$field_name][LANGUAGE_NONE][$i]['location']['#disabled'] = !in_array($tid, $user_showrooms);
|
||||
$item = $new_field_form[LANGUAGE_NONE][$i];
|
||||
$new_field_form[LANGUAGE_NONE][$i]['location']['#title'] = $terms[$item['showroom_tid']['#default_value']];
|
||||
$disabled = !user_access('materio showroom edit all samples fields', $user) && !in_array($tid, $user_showrooms);
|
||||
$new_field_form[LANGUAGE_NONE][$i]['location']['#disabled'] = $disabled;
|
||||
$i++;
|
||||
}
|
||||
|
||||
// remove the last one more item added by default
|
||||
unset($new_field_form[$field_name][LANGUAGE_NONE][$i]);
|
||||
unset($new_field_form[LANGUAGE_NONE][$i]);
|
||||
|
||||
// remove "add more" button
|
||||
unset($new_field_form[LANGUAGE_NONE]['add_more']);
|
||||
|
||||
// dsm($new_field_form, 'new_field_form');
|
||||
|
||||
// delete normal field form and replace it with our new custom field form
|
||||
unset($form[$field_name]);
|
||||
$form[$field_name] = $new_field_form[$field_name];
|
||||
|
||||
// remove "add more" button
|
||||
unset($form[$field_name]['und']['add_more']);
|
||||
$form[$field_name] = $new_field_form;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: migrate old location field to new one
|
||||
|
||||
/**
|
||||
* Implements hook_permission().
|
||||
*/
|
||||
function materio_showroom_permission() {
|
||||
return array(
|
||||
'materio showroom edit all samples fields' => array(
|
||||
'title' => t('Edit all materiO showroom samples fields'),
|
||||
'description' => t('Edit all materiO showroom samples fields'),
|
||||
),
|
||||
'materio showroom migrate fields' => array(
|
||||
'title' => t('Migrate materio showroom location fields'),
|
||||
'description' => t('Migrate materio showroom location fields'),
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
/** COMMONS */
|
||||
.inline-block {
|
||||
display: inline-block;
|
||||
display: moz-inline-stack;
|
||||
*display: inline;
|
||||
*zoom: 1;
|
||||
vertical-align: top;
|
||||
}
|
||||
/** HTML5 */
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,39 @@
|
||||
'use strict';
|
||||
|
||||
var gulp = require('gulp');
|
||||
var less = require('gulp-less');
|
||||
var LessAutoprefix = require('less-plugin-autoprefix');
|
||||
var jsmin = require('gulp-jsmin');
|
||||
var rename = require('gulp-rename');
|
||||
var watch = require('gulp-watch');
|
||||
|
||||
var autoprefix = new LessAutoprefix({ browsers: ['last 2 versions'] });
|
||||
|
||||
function handleError(err) {
|
||||
console.log(err.toString());
|
||||
// this.emit('end');
|
||||
}
|
||||
|
||||
gulp.task('scripts', function () {
|
||||
gulp.src('./js/guibik.js')
|
||||
.pipe(jsmin())
|
||||
.pipe(rename({suffix: '.min'}))
|
||||
.pipe(gulp.dest('./js/'));
|
||||
});
|
||||
|
||||
gulp.task('styles', function () {
|
||||
gulp.src('./less/guibik.less')
|
||||
.pipe(less({
|
||||
plugins: [autoprefix]
|
||||
}))
|
||||
.pipe(gulp.dest('./css/'));
|
||||
});
|
||||
|
||||
gulp.task('default', function () {
|
||||
});
|
||||
|
||||
// default gulp task
|
||||
gulp.task('default', ['scripts', 'styles'], function() {
|
||||
gulp.watch('./less/*.less', ['styles']);
|
||||
gulp.watch('./js/*.js', ['scripts']);
|
||||
});
|
||||
@@ -0,0 +1,4 @@
|
||||
|
||||
(function($){Drupal.behaviors.guibik={};Drupal.behaviors.guibik.attach=function(context){$('form.form-edit','.views-edit-view').each(function(index){var $this=$(this),_alt=false,_submit=function(event){event.preventDefault();$('input[type=submit]#edit-actions-save',$this).focus();$this.submit();return false;};$(document).bind({keydown:function(event){switch(event.keyCode){case 18:_alt=true;break;case 83:if(_alt)
|
||||
return _submit(event);}},keyup:function(event){switch(event.keyCode){case 18:_alt=false;break;}}});});};Drupal.behaviors.init_theme={};Drupal.behaviors.init_theme.attach=function(context){$('#messages-and-help > div.messages:not(.processed)').addClass('processed').each(function(){if($('a',this).size()||$(this).is('.error')||$(this).is('.warning')||$(this).text().length>100){$(this).prepend("<span class='close'>X</span>");$('span.close',this).click(function(){$(this).parent().slideUp('fast');});}
|
||||
else{$(this).animate({opacity:1},5000,'linear',function(){$(this).slideUp('fast');});}});};})(jQuery);
|
||||
@@ -0,0 +1,592 @@
|
||||
/*
|
||||
* www.g-u-i.net
|
||||
*/
|
||||
|
||||
// =
|
||||
// =
|
||||
// =
|
||||
// =
|
||||
// =
|
||||
// ===== TYPOGRAHIE ======================================================================================================
|
||||
|
||||
.8(){font-size:8px;}
|
||||
.9(){font-size:9px;}
|
||||
.10(){font-size:10px;}
|
||||
.11(){font-size:10px;}
|
||||
.12(){font-size:12px;}
|
||||
.14(){font-size:14px;}
|
||||
.16(){font-size:16px;}
|
||||
.18(){font-size:18px;}
|
||||
.20(){font-size:20px;}
|
||||
.24(){font-size:24px;}
|
||||
.28(){font-size:24px;}
|
||||
.30(){font-size:30px;}
|
||||
.36(){font-size:36px;}
|
||||
.48(){font-size:48px;}
|
||||
.60(){font-size:60px;}
|
||||
.72(){font-size:72px;}
|
||||
|
||||
.regular(){font-weight:normal;}
|
||||
.bold(){font-weight:bold;}
|
||||
.100(){font-weight:100;}
|
||||
.200(){font-weight:200;}
|
||||
.300(){font-weight:300;}
|
||||
.400(){font-weight:400;}
|
||||
.500(){font-weight:500;}
|
||||
.600(){font-weight:600;}
|
||||
.700(){font-weight:700;}
|
||||
.800(){font-weight:800;}
|
||||
.900(){font-weight:900;}
|
||||
|
||||
.upper(){text-transform: uppercase;}
|
||||
.italic(){font-style:italic;}
|
||||
.normal(){font-style: normal;}
|
||||
|
||||
.hyphens(@value: auto)
|
||||
{
|
||||
-webkit-hyphens:@value;
|
||||
-moz-hyphens:@value;
|
||||
-ms-hyphens:@value;
|
||||
-o-hyphens:@value;
|
||||
hyphens:@value;
|
||||
}
|
||||
.font-size(@value: 1em,@lineheight:1.3em)
|
||||
{
|
||||
font-size:@value;
|
||||
line-height:@lineheight;
|
||||
}
|
||||
|
||||
@green:#17942A;
|
||||
@red:#E60000;
|
||||
|
||||
// =
|
||||
// =
|
||||
// =
|
||||
// =
|
||||
// =
|
||||
// ===== SHORTCUTS =======================================================================================================
|
||||
|
||||
// padding
|
||||
.p(@p){ padding:@arguments; }
|
||||
.p(@v, @h){ padding:@arguments; }
|
||||
.p(@t, @l, @b, @l){ padding:@arguments; }
|
||||
|
||||
.pt(@p){ padding-top:@p; }
|
||||
.pr(@p){ padding-right:@p; }
|
||||
.pb(@p){ padding-bottom:@p; }
|
||||
.pl(@p){ padding-left:@p; }
|
||||
|
||||
// margin
|
||||
.m(@p){ margin:@arguments; }
|
||||
.m(@v, @h){ margin:@arguments; }
|
||||
.m(@t, @l, @b, @l){ margin:@arguments; }
|
||||
|
||||
.mt(@m){ margin-top:@m; }
|
||||
.mr(@m){ margin-right:@m; }
|
||||
.mb(@m){ margin-bottom:@m; }
|
||||
.ml(@m){ margin-left:@m; }
|
||||
|
||||
.0(){ margin:0; padding:0; }
|
||||
|
||||
// border
|
||||
.b(@b){ border: @b; }
|
||||
.b(@size, @color){ border: @size solid @color; }
|
||||
|
||||
.bt(@b){ border-top: @b;}
|
||||
.bt(@size, @color){border-top: @size solid @color;}
|
||||
|
||||
.br(@b){ border-right: @b;}
|
||||
.br(@size, @color){border-right: @size solid @color;}
|
||||
|
||||
.bb(@b){ border-bottom: @b;}
|
||||
.bb(@size, @color){border-bottom: @size solid @color;}
|
||||
|
||||
.bl(@b){ border-left: @b;}
|
||||
.bl(@size, @color){border-left: @size solid @color;}
|
||||
|
||||
.bordered(@top-color: #EEE, @right-color: #EEE, @bottom-color: #EEE, @left-color: #EEE)
|
||||
{
|
||||
border-top : solid 1px @top-color;
|
||||
border-right : solid 1px @right-color;
|
||||
border-bottom: solid 1px @bottom-color;
|
||||
border-left : solid 1px @left-color;
|
||||
}
|
||||
|
||||
// Background
|
||||
.bg(@color, @url, @repeat, @scrollfixed, @pos){background: @arguments;}
|
||||
.bgc(@color){background-color: @arguments;}
|
||||
.bkgd(@params){background: @arguments;}
|
||||
.bkgdc(@color){.bgc(@arguments);}
|
||||
|
||||
.bgca(@r, @g, @b, @a){
|
||||
background-color: rgb(@r, @g, @b); // ie8
|
||||
background-color: rgba(@r, @g, @b, @a);
|
||||
*background-color: rgb(@r, @g, @b); // ie7
|
||||
};
|
||||
|
||||
// Selection
|
||||
.selection(@bgcolor,@color)
|
||||
{
|
||||
&::selection {
|
||||
background:@bgcolor;
|
||||
color:@color;
|
||||
}
|
||||
&::-moz-selection {
|
||||
background:@bgcolor;
|
||||
color:@color;
|
||||
}
|
||||
&::-webkit-selection {
|
||||
background:@bgcolor;
|
||||
color:@color;
|
||||
}
|
||||
}
|
||||
|
||||
// Colors
|
||||
.color(@value)
|
||||
{
|
||||
&,
|
||||
& *{color:@value;}
|
||||
}
|
||||
|
||||
// Opacity
|
||||
.opacity(@opacity: 0.5)
|
||||
{
|
||||
-webkit-opacity: @opacity;
|
||||
-khtml-opacity: @opacity;
|
||||
-moz-opacity: @opacity;
|
||||
opacity: @opacity;
|
||||
}
|
||||
|
||||
// size
|
||||
.size(@height, @width) {
|
||||
width: @width;
|
||||
height: @height;
|
||||
}
|
||||
.square(@size) {
|
||||
.size(@size, @size);
|
||||
}
|
||||
|
||||
// center
|
||||
.center-block() {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
// =
|
||||
// =
|
||||
// =
|
||||
// =
|
||||
// =
|
||||
// ===== DISPLAY UTILS ===================================================================================================
|
||||
|
||||
// Inline blocks
|
||||
.inlineblock(@align:top)
|
||||
{
|
||||
display:moz-inline-stack;
|
||||
display:inline-block;
|
||||
vertical-align:@align;
|
||||
zoom:1;
|
||||
*display:inline;
|
||||
// .ie7 &, .ie8 &{display:block;float:left;}
|
||||
}
|
||||
|
||||
.db(){display:block;}
|
||||
.dbn(){display:none;}
|
||||
.dib(){.inlineblock;}
|
||||
.dib(@align){.inlineblock(@align);}
|
||||
|
||||
.float(@align:left){
|
||||
.db; float:@align;
|
||||
}
|
||||
|
||||
.abs(@value) { position:absolute; top:@value; left:@value; bottom:@value; right:@value; }
|
||||
.abs(@top, @left) { position:absolute; top:@top; left:@left; }
|
||||
.abs(@top, @right, @bottom, @left) { position:absolute; top:@top; left:@left; bottom:@bottom; right:@right; };
|
||||
|
||||
.fix(@value) { position:fixed; top:@value; left:@value; bottom:@value; right:@value; }
|
||||
.fix(@top, @left) { position:fixed; top:@top; left:@left; }
|
||||
.fix(@top, @right, @bottom, @left) { position:fixed; top:@top; left:@left; bottom:@bottom; right:@right; };
|
||||
|
||||
// Columns system
|
||||
@g:0;
|
||||
.g() { width:@g; }
|
||||
.col(@col,@coltotal:@n,@gutter:@g) {
|
||||
width: @col * ( 100% - ((@coltotal - 1) * @gutter) ) / @coltotal + ((@col - 1) * @gutter);
|
||||
}
|
||||
.inside-left(@col,@coltotal:@n,@gutter:@g) {
|
||||
padding-left: @col * ( 100% - ((@coltotal - 1) * @gutter) ) / @coltotal + (@col * @gutter);
|
||||
}
|
||||
.inside-right(@col,@coltotal:@n,@gutter:@g) {
|
||||
padding-right: @col * ( 100% - ((@coltotal - 1) * @gutter) ) / @coltotal + (@col * @gutter);
|
||||
}
|
||||
|
||||
|
||||
// Vertical alignement
|
||||
//
|
||||
// ___ .align-child()
|
||||
// |
|
||||
// | Permet l’alignement vertical d’un objet par rapport à son premier parent (dans son conteneur direct).
|
||||
// |
|
||||
// | 1 param : @vertical-align
|
||||
//
|
||||
.align-child(@align:middle){
|
||||
&:before { content: ""; .dib(middle); overflow: hidden; visibility: hidden; width: 0; height: 100%; }
|
||||
& > * { .dib(@align); }
|
||||
}
|
||||
|
||||
.clear-after(){
|
||||
&:after{clear:both;content:'';display:block;height:0px;overflow:hidden;visibility:hidden;width:0px;}
|
||||
}
|
||||
|
||||
// For clearing floats like a boss h5bp.com/q
|
||||
.clearix() {
|
||||
*zoom: 1;
|
||||
&:before,
|
||||
&:after {
|
||||
display: table;
|
||||
content: "";
|
||||
// Fixes Opera/contenteditable bug:
|
||||
// http://nicolasgallagher.com/micro-clearfix-hack/#comment-36952
|
||||
line-height: 0;
|
||||
}
|
||||
&:after {
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
|
||||
// =
|
||||
// =
|
||||
// =
|
||||
// =
|
||||
// =
|
||||
// ===== CSS3 ============================================================================================================
|
||||
|
||||
// Gradients
|
||||
.gradient(@color: #F5F5F5, @start: #EEE, @stop: #FFF)
|
||||
{
|
||||
background: @color;
|
||||
background: -webkit-gradient(linear,
|
||||
left bottom,
|
||||
left top,
|
||||
color-stop(0, @start),
|
||||
color-stop(1, @stop));
|
||||
background: -ms-linear-gradient(bottom,
|
||||
@start,
|
||||
@stop);
|
||||
background: -moz-linear-gradient(center bottom,
|
||||
@start 0%,
|
||||
@stop 100%);
|
||||
}
|
||||
.bw-gradient(@color: #F5F5F5, @start: 0, @stop: 255)
|
||||
{
|
||||
background: @color;
|
||||
background: -webkit-gradient(linear,
|
||||
left bottom,
|
||||
left top,
|
||||
color-stop(0, rgb(@start,@start,@start)),
|
||||
color-stop(1, rgb(@stop,@stop,@stop)));
|
||||
background: -ms-linear-gradient(bottom,
|
||||
rgb(@start,@start,@start) 0%,
|
||||
rgb(@start,@start,@start) 100%);
|
||||
background: -moz-linear-gradient(center bottom,
|
||||
rgb(@start,@start,@start) 0%,
|
||||
rgb(@stop,@stop,@stop) 100%);
|
||||
}
|
||||
|
||||
// Shadows
|
||||
//
|
||||
// ___ .box-shadow()
|
||||
// |
|
||||
// | Ombré extérieur.
|
||||
// |
|
||||
// | 1 param : @blur
|
||||
// | 2+ params : @horizontal / @vertical / @blur / @color: #000 / @spread: 0px
|
||||
//
|
||||
// ___ .inset-shadow()
|
||||
// |
|
||||
// | Ombré intérieur.
|
||||
// |
|
||||
// | 1 param : @blur
|
||||
// | 2+ params : @horizontal / @vertical / @blur / @color: #000 / @spread: 0px
|
||||
//
|
||||
.box-shadow(@blur: 9px)
|
||||
{
|
||||
filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=0, Color='#000');
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=0, Color='#000')";
|
||||
-webkit-box-shadow: 0 0 @blur #000;
|
||||
-moz-box-shadow: 0 0 @blur #000;
|
||||
-ms-box-shadow: 0 0 @blur #000;
|
||||
box-shadow: 0 0 @blur #000;
|
||||
}
|
||||
.box-shadow(@x, @y, @blur: 9px, @color: #000, @spread: 0px)
|
||||
{
|
||||
filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=@x, OffY=@y, Color=~'@{color}');
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX=@{x}, OffY=@{y}, Color='@{color}')";
|
||||
-webkit-box-shadow: @x @y @blur @spread @color;
|
||||
-moz-box-shadow: @x @y @blur @spread @color;
|
||||
-ms-box-shadow: @x @y @blur @spread @color;
|
||||
box-shadow: @x @y @blur @spread @color;
|
||||
}
|
||||
.inset-shadow(@blur: 9px)
|
||||
{
|
||||
filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=0, Color='#000');
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=0, Color='#000')";
|
||||
-webkit-box-shadow: 0 0 @blur #000 inset;
|
||||
-moz-box-shadow: 0 0 @blur #000 inset;
|
||||
-ms-box-shadow: 0 0 @blur #000 inset;
|
||||
box-shadow: 0 0 @blur #000 inset;
|
||||
}
|
||||
.inset-shadow(@x, @y, @blur: 9px, @color: #000, @spread: 0px)
|
||||
{
|
||||
filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=@x, OffY=@y, Color=~'@{color}');
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX=0, OffY=0, Color='@{color}')";
|
||||
-webkit-box-shadow: @x @y @blur @spread @color inset;
|
||||
-moz-box-shadow: @x @y @blur @spread @color inset;
|
||||
-ms-box-shadow: @x @y @blur @spread @color inset;
|
||||
box-shadow: @x @y @blur @spread @color inset;
|
||||
}
|
||||
|
||||
.drop-shadow(@x-axis: 0, @y-axis: 1px, @blur: 2px, @alpha: 0.1)
|
||||
{
|
||||
-webkit-box-shadow: @x-axis @y-axis @blur rgba(0, 0, 0, @alpha);
|
||||
-moz-box-shadow: @x-axis @y-axis @blur rgba(0, 0, 0, @alpha);
|
||||
box-shadow: @x-axis @y-axis @blur rgba(0, 0, 0, @alpha);
|
||||
}
|
||||
|
||||
// Border radius
|
||||
.rounded(@radius: 2px)
|
||||
{
|
||||
-webkit-border-radius: @radius;
|
||||
-moz-border-radius: @radius;
|
||||
border-radius: @radius;
|
||||
-webkit-background-clip: padding-box;
|
||||
-moz-background-clip: padding;
|
||||
background-clip: padding-box;
|
||||
}
|
||||
.border-radius(@topleft: 0, @topright: 0, @bottomright: 0, @bottomleft: 0)
|
||||
{
|
||||
-webkit-border-radius:@arguments;
|
||||
-moz-border-radius:@arguments;
|
||||
border-radius:@arguments;
|
||||
-webkit-background-clip: padding-box;
|
||||
-moz-background-clip: padding;
|
||||
background-clip: padding-box;
|
||||
}
|
||||
|
||||
// transitions
|
||||
.transition-simply-prefix(@string) {
|
||||
-webkit-transition: @string;
|
||||
-moz-transition: @string;
|
||||
-o-transition: @string;
|
||||
transition: @string;
|
||||
}
|
||||
|
||||
//
|
||||
// ___ .transition()
|
||||
// |
|
||||
// | 1 param : @property
|
||||
// | 2 params : @property / @duration
|
||||
// | 3+ params : @property / @duration / @transitiondelay:0s , @timingfunction:ease-out
|
||||
//
|
||||
// ___ .transitions()
|
||||
// |
|
||||
// | Permet de fixer des paramètres spécifique par propriétés, exemple:
|
||||
// |
|
||||
// | .transitions(
|
||||
// | 'height , padding , margin , box-shadow',
|
||||
// | '.5s , .2s , .2s , .2s',
|
||||
// | '0s , 0s , 0s , .3s',
|
||||
// | 'linear , ease-out , linear , ease-out'
|
||||
// | );
|
||||
//
|
||||
.transition(@property: all)
|
||||
{
|
||||
-webkit-transition: @property;
|
||||
-moz-transition: @property;
|
||||
-o-transition: @property;
|
||||
transition: @property;
|
||||
}
|
||||
.transition(@property, @duration)
|
||||
{
|
||||
-webkit-transition: @arguments;
|
||||
-moz-transition: @arguments;
|
||||
-o-transition: @arguments;
|
||||
transition: @arguments;
|
||||
}
|
||||
.transition(@property, @duration, @transitiondelay, @timingfunction:ease-out)
|
||||
{
|
||||
-webkit-transition: @arguments;
|
||||
-moz-transition: @arguments;
|
||||
-o-transition: @arguments;
|
||||
transition: @arguments;
|
||||
}
|
||||
.transitions(@property: all, @duration:0s, @transitiondelay:0s, @timingfunction:ease-out)
|
||||
{
|
||||
-webkit-transition-property :~'@{property}';
|
||||
-webkit-transition-duration :~'@{duration}';
|
||||
-webkit-transition-delay :~'@{transitiondelay}';
|
||||
-webkit-transition-timing-function:~'@{timingfunction}';
|
||||
-moz-transition-property :~'@{property}';
|
||||
-moz-transition-duration :~'@{duration}';
|
||||
-moz-transition-delay :~'@{transitiondelay}';
|
||||
-moz-transition-timing-function:~'@{timingfunction}';
|
||||
-o-transition-property :~'@{property}';
|
||||
-o-transition-duration :~'@{duration}';
|
||||
-o-transition-delay :~'@{transitiondelay}';
|
||||
-o-transition-timing-function:~'@{timingfunction}';
|
||||
transition-property :~'@{property}';
|
||||
transition-duration :~'@{duration}';
|
||||
transition-delay :~'@{transitiondelay}';
|
||||
transition-timing-function:~'@{timingfunction}';
|
||||
}
|
||||
|
||||
.transitions-duration(@duration: 0s)
|
||||
{
|
||||
-webkit-transition-duration: ~'@{duration}';
|
||||
-moz-transition-duration: ~'@{duration}';
|
||||
-o-transition-duration: ~'@{duration}';
|
||||
transition-duration: ~'@{duration}';
|
||||
}
|
||||
|
||||
.transition-duration(@duration: 0.2s)
|
||||
{
|
||||
-webkit-transition-duration: @duration;
|
||||
-moz-transition-duration: @duration;
|
||||
-o-transition-duration: @duration;
|
||||
transition-duration: @duration;
|
||||
}
|
||||
|
||||
.transitions-delay(@delay: 0s)
|
||||
{
|
||||
-webkit-transition-delay: ~'@{delay}';
|
||||
-moz-transition-delay: ~'@{delay}';
|
||||
-o-transition-delay: ~'@{delay}';
|
||||
transition-delay: ~'@{delay}';
|
||||
}
|
||||
|
||||
// Rotate
|
||||
//
|
||||
// ___ .rotation()
|
||||
// |
|
||||
// | 1 param : @degree
|
||||
//
|
||||
// ___ .rotate()
|
||||
// |
|
||||
// | Tentative de compatibilté étendue (fonctionne uniquement pour 0, 90, 180 ou 270 degrés).
|
||||
// |
|
||||
// | 1 param : @degree
|
||||
// | 3 params : @degree / @originX / @originY
|
||||
//
|
||||
.rotation(@deg:5deg)
|
||||
{
|
||||
-webkit-transform: rotate(@deg);
|
||||
-moz-transform: rotate(@deg);
|
||||
transform: rotate(@deg);
|
||||
}
|
||||
.rotate(@value, @originX:0%, @originY:0%, @unit:'deg')
|
||||
{
|
||||
// filter: progid:DXImageTransform.Microsoft.BasicImage(rotation = (360 / @value) + 1); //0, 1, 2, or 3 rotate 0, 90, 180 or 270
|
||||
-webkit-transform: rotate(~"@{value}@{unit}"); // ~"@{value}@{unit}" rather than @value@unit remove the spaces between value and unit.
|
||||
-moz-transform: rotate(~"@{value}@{unit}");
|
||||
-ms-transform: rotate(~"@{value}@{unit}");
|
||||
-o-transform: rotate(~"@{value}@{unit}");
|
||||
transform: rotate(~"@{value}@{unit}");
|
||||
-webkit-transform-origin:@originX @originY;
|
||||
-moz-transform-origin:@originX @originY;
|
||||
-ms-transform-origin:@originX @originY;
|
||||
-o-transform-origin:@originX @originY;
|
||||
transform-origin:@originX @originY;
|
||||
}
|
||||
|
||||
// Scale
|
||||
.scale(@ratio:1.5)
|
||||
{
|
||||
-webkit-transform:scale(@ratio);
|
||||
-moz-transform:scale(@ratio);
|
||||
transform:scale(@ratio);
|
||||
}
|
||||
|
||||
// Translate
|
||||
.translate(@x:0, @y:0)
|
||||
{
|
||||
-webkit-transform: translate(@x, @y);
|
||||
-moz-transform: translate(@x, @y);
|
||||
-ms-transform: translate(@x, @y);
|
||||
-o-transform: translate(@x, @y);
|
||||
transform: translate(@x, @y);
|
||||
}
|
||||
|
||||
// Columns
|
||||
.columns(@colwidth: 250px, @colcount: 0, @colgap: 50px, @columnRuleColor: #EEE, @columnRuleStyle: solid, @columnRuleWidth: 1px)
|
||||
{
|
||||
-webkit-column-width : @colwidth;
|
||||
-webkit-column-count : @colcount;
|
||||
-webkit-column-gap : @colgap;
|
||||
-webkit-column-rule-color: @columnRuleColor;
|
||||
-webkit-column-rule-style: @columnRuleStyle;
|
||||
-webkit-column-rule-width: @columnRuleWidth;
|
||||
-moz-column-width : @colwidth;
|
||||
-moz-column-count : @colcount;
|
||||
-moz-column-gap : @colgap;
|
||||
-moz-column-rule-color: @columnRuleColor;
|
||||
-moz-column-rule-style: @columnRuleStyle;
|
||||
-moz-column-rule-width: @columnRuleWidth;
|
||||
column-width : @colwidth;
|
||||
column-count : @colcount;
|
||||
column-gap : @colgap;
|
||||
column-rule-color: @columnRuleColor;
|
||||
column-rule-style: @columnRuleStyle;
|
||||
column-rule-width: @columnRuleWidth;
|
||||
}
|
||||
|
||||
.edit-link(@bc:#CCFF2F,@c:#333)
|
||||
{
|
||||
.dib;
|
||||
background-color:@bc;
|
||||
border:1px solid;
|
||||
border-color:darken(desaturate(@bc, 35%),15%) darken(desaturate(@bc, 35%),15%) darken(desaturate(@bc, 35%),20%);
|
||||
.rounded;
|
||||
color: @c;
|
||||
cursor: pointer;
|
||||
.font-size(.8em,1em);
|
||||
font-weight: normal;
|
||||
padding: 0.25em 0.75em;
|
||||
margin-top:.5em;
|
||||
|
||||
&:hover{background-color:darken(@bc, 20%);}
|
||||
&:active{
|
||||
text-shadow: 0 1px 0 lighten(@bc,5%);
|
||||
background-color:darken(@bc, 20%);
|
||||
//.inset-shadow(0,0,2px,darken(@bc,60));
|
||||
}
|
||||
}
|
||||
|
||||
.loader(@fc:#000,@bc:#ccc,@h:8px,@radius:0px)
|
||||
{
|
||||
// Safari/chrome
|
||||
&::-webkit-progress-bar{background-color:@bc;.rounded(@radius);}
|
||||
&::-webkit-progress-value{background-color:@fc;.rounded(@radius);}
|
||||
// Firefox
|
||||
&{background-color:@bc;.rounded(@radius);height:@h;}
|
||||
&::-moz-progress-bar{background-color:@fc;.rounded(@radius);}
|
||||
}
|
||||
|
||||
// =
|
||||
// =
|
||||
// =
|
||||
// =
|
||||
// =
|
||||
// ===== RETINA ==========================================================================================================
|
||||
|
||||
// retina.less
|
||||
// A helper mixin for applying high-resolution background images (http://www.retinajs.com)
|
||||
.at2x(@path, @w: auto, @h: auto) {
|
||||
background-image: url(@path);
|
||||
@at2x_path: ~`"@{path}".split('.').slice(0, "@{path}".split('.').length - 1).join(".") + "@2x" + "." + "@{path}".split('.')["@{path}".split('.').length - 1]`;
|
||||
|
||||
@media all and (-webkit-min-device-pixel-ratio : 1.5) {
|
||||
background-image: url(@at2x_path);
|
||||
background-size: @w @h;
|
||||
}
|
||||
}
|
||||
@@ -56,6 +56,38 @@ select.form-select {
|
||||
max-width:100%;
|
||||
}
|
||||
|
||||
input.form-autocomplete:disabled,
|
||||
input.form-text:disabled,
|
||||
textarea.form-textarea:disabled,
|
||||
select.form-select:disabled{
|
||||
padding:3px;
|
||||
border-width:0px;
|
||||
border-style:solid;
|
||||
border-color:none;
|
||||
background:#fff;
|
||||
color:#1A1A1A;
|
||||
max-width:100%;
|
||||
}
|
||||
|
||||
|
||||
input.form-autocomplete:hover:disabled,
|
||||
input.form-text:hover:disabled,
|
||||
input.form-file:hover:disabled,
|
||||
textarea.form-textarea:hover:disabled,
|
||||
select.form-select:hover:disabled,
|
||||
input.form-autocomplete:focus:disabled,
|
||||
input.form-text:focus:disabled,
|
||||
input.form-file:focus:disabled,
|
||||
input.form-checkbox:focus:disabled,
|
||||
input.form-radio:focus:disabled,
|
||||
textarea.form-textarea:focus:disabled,
|
||||
select.form-select:focus:disabled{
|
||||
color: inherit;;
|
||||
border-color: #fff;
|
||||
-webkit-box-shadow: #fff 0 0 0px;
|
||||
-moz-box-shadow: #fff 0 0 0px;
|
||||
box-shadow: #fff 0 0 0px;
|
||||
}
|
||||
|
||||
span.autocomplete-deluxe-button{top:0.25em;}
|
||||
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "guibik",
|
||||
"version": "1.0.0",
|
||||
"description": "An Admin theme for drupal 7 based on rubik.",
|
||||
"main": "gulpfile.js",
|
||||
"author": "Bachir Soussi Chiadmi",
|
||||
"license": "GPLv3",
|
||||
"homepage": "https://materio.com",
|
||||
"devDependencies": {
|
||||
"gulp": "latest",
|
||||
"gulp-autoprefixer": "latest",
|
||||
"gulp-jsmin": "latest",
|
||||
"gulp-less": "latest",
|
||||
"gulp-rename": "latest",
|
||||
"gulp-strip-debug": "latest",
|
||||
"gulp-watch": "latest",
|
||||
"less-plugin-autoprefix": "^1.5.1"
|
||||
}
|
||||
}
|
||||
@@ -4037,12 +4037,11 @@ article.search-performance.view-mode-cardfull {
|
||||
padding: 1em 212px; }
|
||||
|
||||
/*
|
||||
|
||||
_____ _____ _____ ____ _____ _____ _____ _____ _____ _____ _____ _____ _____
|
||||
| | _ | __ | \ | __ | | | | | | _ | __ | | | __|
|
||||
| --| | -| | | | __ -| | | | | -| | | | | -| -|__ |
|
||||
|_____|__|__|__|__|____/ |_____|_____|_____|__|__|_|_|_|__|__|__|__|__|__|_____|
|
||||
|
||||
______ __ ____ __ __
|
||||
/ ____/___ __________/ / / __ )____ ____ / /______ ___ ____ ______/ /_______
|
||||
/ / / __ `/ ___/ __ / / __ / __ \/ __ \/ //_/ __ `__ \/ __ `/ ___/ //_/ ___/
|
||||
/ /___/ /_/ / / / /_/ / / /_/ / /_/ / /_/ / ,< / / / / / / /_/ / / / ,< (__ )
|
||||
\____/\__,_/_/ \__,_/ /_____/\____/\____/_/|_/_/ /_/ /_/\__,_/_/ /_/|_/____/
|
||||
*/
|
||||
article.node-materiau.vm-bookmark, article.node-breve.vm-bookmark {
|
||||
width: 50px;
|
||||
@@ -4177,16 +4176,16 @@ article.node-materiau.vm-bookmark, article.node-breve.vm-bookmark {
|
||||
height: 17px; }
|
||||
article.node-materiau.vm-bookmark div.workflow, article.node-breve.vm-bookmark div.workflow {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
z-index: 11;
|
||||
padding: 5px;
|
||||
border-radius: 5px 0 3px 0;
|
||||
border-radius: 3px 0 5px 0;
|
||||
background-clip: padding-box;
|
||||
font-size: 10px;
|
||||
vertical-align: top;
|
||||
background-color: rgba(255, 255, 255, 0.9);
|
||||
color: #000; }
|
||||
background-color: rgba(20, 20, 20, 0.9);
|
||||
color: #fff; }
|
||||
article.node-materiau.vm-bookmark div.workflow span, article.node-breve.vm-bookmark div.workflow span {
|
||||
padding: 3px 0 0 4px;
|
||||
display: moz-inline-stack;
|
||||
@@ -4241,12 +4240,11 @@ article.node-materiau.vm-bookmark, article.node-breve.vm-bookmark {
|
||||
display: none; }
|
||||
|
||||
/*
|
||||
|
||||
_____ _____ _____ ____ _____ _____ _____ __ __
|
||||
| | _ | __ | \ | __| | _ | | | |
|
||||
| --| | -| | | |__ | | | | | |__| |__
|
||||
|_____|__|__|__|__|____/ |_____|_|_|_|__|__|_____|_____|
|
||||
|
||||
______ __ _____ ____
|
||||
/ ____/___ __________/ / / ___/____ ___ ____ _/ / /
|
||||
/ / / __ `/ ___/ __ / \__ \/ __ `__ \/ __ `/ / /
|
||||
/ /___/ /_/ / / / /_/ / ___/ / / / / / / /_/ / / /
|
||||
\____/\__,_/_/ \__,_/ /____/_/ /_/ /_/\__,_/_/_/
|
||||
*/
|
||||
article.node-materiau.vm-cardsmall, article.node-breve.vm-cardsmall {
|
||||
width: 100px;
|
||||
@@ -4380,16 +4378,16 @@ article.node-materiau.vm-cardsmall, article.node-breve.vm-cardsmall {
|
||||
height: 17px; }
|
||||
article.node-materiau.vm-cardsmall div.workflow, article.node-breve.vm-cardsmall div.workflow {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
z-index: 11;
|
||||
padding: 5px;
|
||||
border-radius: 5px 0 3px 0;
|
||||
border-radius: 3px 0 5px 0;
|
||||
background-clip: padding-box;
|
||||
font-size: 10px;
|
||||
vertical-align: top;
|
||||
background-color: rgba(255, 255, 255, 0.9);
|
||||
color: #000; }
|
||||
background-color: rgba(20, 20, 20, 0.9);
|
||||
color: #fff; }
|
||||
article.node-materiau.vm-cardsmall div.workflow span, article.node-breve.vm-cardsmall div.workflow span {
|
||||
padding: 3px 0 0 4px;
|
||||
display: moz-inline-stack;
|
||||
@@ -4484,11 +4482,12 @@ article.node-materiau.vm-cardsmall, article.node-breve.vm-cardsmall {
|
||||
transition: margin-top 0s 0.3s; }
|
||||
|
||||
/*
|
||||
|
||||
_____ _____ _____ __ _____ _____ _____ _____ _____ _____ __ __ _____ _____ _____ ____
|
||||
|_ _| | | ||_ _| | _ | | __| | _ | | | | | | _ | __ | | | | | | | | |__| | |- -| __| |__ | | | | | |__| |__ | --| | -| | |
|
||||
|_| |_____|_____|_____|_| |_____|__| |_____|_|_|_|__|__|_____|_____| |_____|__|__|__|__|____/
|
||||
|
||||
______ ____ _ ____ __
|
||||
/_ __/___ ____ / / /_(_)___ _________ ___ ____ _/ / / _________ __________/ /
|
||||
/ / / __ \/ __ \/ / __/ / __ \ / ___/ __ `__ \/ __ `/ / / / ___/ __ `/ ___/ __ /
|
||||
/ / / /_/ / /_/ / / /_/ / /_/ / (__ ) / / / / / /_/ / / / / /__/ /_/ / / / /_/ /
|
||||
/_/ \____/\____/_/\__/_/ .___/ /____/_/ /_/ /_/\__,_/_/_/ \___/\__,_/_/ \__,_/
|
||||
/_/
|
||||
*/
|
||||
#tooltip .group-header.smallcard {
|
||||
font-size: 14px;
|
||||
@@ -4506,12 +4505,10 @@ article.node-materiau.vm-cardsmall, article.node-breve.vm-cardsmall {
|
||||
float: right; }
|
||||
|
||||
/*
|
||||
|
||||
_____ _____ _____ ____ _____ _____ ____ _____ _____ _____
|
||||
| | _ | __ | \ | | __| \| | | | |
|
||||
| --| | -| | | | | | | __| | |- -| | | | | |
|
||||
|_____|__|__|__|__|____/ |_|_|_|_____|____/|_____|_____|_|_|_|
|
||||
|
||||
______ __ __ ___ ___
|
||||
/ ____/___ __________/ / / |/ /__ ____/ (_)_ ______ ___
|
||||
/ / / __ `/ ___/ __ / / /|_/ / _ \/ __ / / / / / __ `__ / /___/ /_/ / / / /_/ / / / / / __/ /_/ / / /_/ / / / / / /
|
||||
\____/\__,_/_/ \__,_/ /_/ /_/\___/\__,_/_/\__,_/_/ /_/ /_/
|
||||
*/
|
||||
article.node-materiau.vm-cardmedium, article.node-breve.vm-cardmedium {
|
||||
width: 210px;
|
||||
@@ -4645,16 +4642,16 @@ article.node-materiau.vm-cardmedium, article.node-breve.vm-cardmedium {
|
||||
height: 17px; }
|
||||
article.node-materiau.vm-cardmedium div.workflow, article.node-breve.vm-cardmedium div.workflow {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
z-index: 11;
|
||||
padding: 5px;
|
||||
border-radius: 5px 0 3px 0;
|
||||
border-radius: 3px 0 5px 0;
|
||||
background-clip: padding-box;
|
||||
font-size: 10px;
|
||||
vertical-align: top;
|
||||
background-color: rgba(255, 255, 255, 0.9);
|
||||
color: #000; }
|
||||
background-color: rgba(20, 20, 20, 0.9);
|
||||
color: #fff; }
|
||||
article.node-materiau.vm-cardmedium div.workflow span, article.node-breve.vm-cardmedium div.workflow span {
|
||||
padding: 3px 0 0 4px;
|
||||
display: moz-inline-stack;
|
||||
@@ -4790,6 +4787,14 @@ article.node-materiau.vm-cardmedium, article.node-breve.vm-cardmedium {
|
||||
cursor: e-resize; }
|
||||
article.node-materiau.vm-cardmedium .field-name-field-description .column > *, article.node-materiau.vm-cardmedium .field-name-body .column > *, article.node-breve.vm-cardmedium .field-name-field-description .column > *, article.node-breve.vm-cardmedium .field-name-body .column > * {
|
||||
padding-right: 25px; }
|
||||
article.node-materiau.vm-cardmedium .field-name-field-location, article.node-breve.vm-cardmedium .field-name-field-location {
|
||||
font-size: 12px;
|
||||
padding: 5px;
|
||||
font-weight: 300; }
|
||||
article.node-materiau.vm-cardmedium .field-name-field-location .field-label, article.node-breve.vm-cardmedium .field-name-field-location .field-label {
|
||||
font-size: 10px;
|
||||
text-transform: lowercase;
|
||||
margin: 0; }
|
||||
article.node-materiau.vm-cardmedium .column-wrapper, article.node-breve.vm-cardmedium .column-wrapper {
|
||||
padding: 5px; }
|
||||
article.node-materiau.vm-cardmedium .column-wrapper.columnized, article.node-breve.vm-cardmedium .column-wrapper.columnized {
|
||||
@@ -4854,11 +4859,12 @@ article.node-materiau.vm-cardmedium, article.node-breve.vm-cardmedium {
|
||||
background: #FFF; }
|
||||
|
||||
/*
|
||||
_____ _____ _____ ____ _____ _____ _____
|
||||
| | _ | __ | \ | __ | | __|
|
||||
| --| | -| | | | __ -|- -| | |
|
||||
|_____|__|__|__|__|____/ |_____|_____|_____|
|
||||
|
||||
______ __ ____ _
|
||||
/ ____/___ __________/ / / __ )(_)___ _
|
||||
/ / / __ `/ ___/ __ / / __ / / __ `/
|
||||
/ /___/ /_/ / / / /_/ / / /_/ / / /_/ /
|
||||
\____/\__,_/_/ \__,_/ /_____/_/\__, /
|
||||
/____/
|
||||
*/
|
||||
article.node-materiau.vm-cardbig, article.node-breve.vm-cardbig {
|
||||
width: 425px;
|
||||
@@ -4992,16 +4998,16 @@ article.node-materiau.vm-cardbig, article.node-breve.vm-cardbig {
|
||||
height: 17px; }
|
||||
article.node-materiau.vm-cardbig div.workflow, article.node-breve.vm-cardbig div.workflow {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
z-index: 11;
|
||||
padding: 5px;
|
||||
border-radius: 5px 0 3px 0;
|
||||
border-radius: 3px 0 5px 0;
|
||||
background-clip: padding-box;
|
||||
font-size: 10px;
|
||||
vertical-align: top;
|
||||
background-color: rgba(255, 255, 255, 0.9);
|
||||
color: #000; }
|
||||
background-color: rgba(20, 20, 20, 0.9);
|
||||
color: #fff; }
|
||||
article.node-materiau.vm-cardbig div.workflow span, article.node-breve.vm-cardbig div.workflow span {
|
||||
padding: 3px 0 0 4px;
|
||||
display: moz-inline-stack;
|
||||
@@ -5139,6 +5145,14 @@ article.node-materiau.vm-cardbig, article.node-breve.vm-cardbig {
|
||||
cursor: w-resize; }
|
||||
article.node-materiau.vm-cardbig .field-name-field-description.columnized .column-switcher.next-column, article.node-materiau.vm-cardbig .field-name-body.columnized .column-switcher.next-column, article.node-breve.vm-cardbig .field-name-field-description.columnized .column-switcher.next-column, article.node-breve.vm-cardbig .field-name-body.columnized .column-switcher.next-column {
|
||||
cursor: e-resize; }
|
||||
article.node-materiau.vm-cardbig .field-name-field-location, article.node-breve.vm-cardbig .field-name-field-location {
|
||||
font-size: 12px;
|
||||
padding: 10px;
|
||||
font-weight: 300; }
|
||||
article.node-materiau.vm-cardbig .field-name-field-location .field-label, article.node-breve.vm-cardbig .field-name-field-location .field-label {
|
||||
font-size: 10px;
|
||||
text-transform: lowercase;
|
||||
float: none; }
|
||||
article.node-materiau.vm-cardbig .column-wrapper, article.node-breve.vm-cardbig .column-wrapper {
|
||||
padding: 10px; }
|
||||
article.node-materiau.vm-cardbig .column-wrapper.columnized, article.node-breve.vm-cardbig .column-wrapper.columnized {
|
||||
@@ -5196,10 +5210,11 @@ article.node-materiau.vm-cardbig, article.node-breve.vm-cardbig {
|
||||
background-color: #69CDCF; }
|
||||
|
||||
/*
|
||||
_____ _____ _____ ____ _____ _____ __ __
|
||||
| | _ | __ | \ | __| | | | | |
|
||||
| --| | -| | | | __| | | |__| |__
|
||||
|_____|__|__|__|__|____/ |__| |_____|_____|_____|
|
||||
______ __ ______ ____
|
||||
/ ____/___ __________/ / / ____/_ __/ / /
|
||||
/ / / __ `/ ___/ __ / / /_ / / / / / /
|
||||
/ /___/ /_/ / / / /_/ / / __/ / /_/ / / /
|
||||
\____/\__,_/_/ \__,_/ /_/ \__,_/_/_/
|
||||
|
||||
*/
|
||||
article.node-materiau.vm-cardfull, article.node-breve.vm-cardfull {
|
||||
@@ -5335,16 +5350,16 @@ article.node-materiau.vm-cardfull, article.node-breve.vm-cardfull {
|
||||
height: 17px; }
|
||||
article.node-materiau.vm-cardfull div.workflow, article.node-breve.vm-cardfull div.workflow {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
z-index: 11;
|
||||
padding: 5px;
|
||||
border-radius: 5px 0 3px 0;
|
||||
border-radius: 3px 0 5px 0;
|
||||
background-clip: padding-box;
|
||||
font-size: 10px;
|
||||
vertical-align: top;
|
||||
background-color: rgba(255, 255, 255, 0.9);
|
||||
color: #000; }
|
||||
background-color: rgba(20, 20, 20, 0.9);
|
||||
color: #fff; }
|
||||
article.node-materiau.vm-cardfull div.workflow span, article.node-breve.vm-cardfull div.workflow span {
|
||||
padding: 3px 0 0 4px;
|
||||
display: moz-inline-stack;
|
||||
@@ -5438,6 +5453,14 @@ article.node-materiau.vm-cardfull, article.node-breve.vm-cardfull {
|
||||
article.node-materiau.vm-cardfull .field-name-field-attachments, article.node-breve.vm-cardfull .field-name-field-attachments {
|
||||
padding: 10px;
|
||||
font-size: 12px; }
|
||||
article.node-materiau.vm-cardfull .field-name-field-location, article.node-breve.vm-cardfull .field-name-field-location {
|
||||
font-size: 12px;
|
||||
padding: 10px;
|
||||
font-weight: 300; }
|
||||
article.node-materiau.vm-cardfull .field-name-field-location .field-label, article.node-breve.vm-cardfull .field-name-field-location .field-label {
|
||||
font-size: 10px;
|
||||
text-transform: lowercase;
|
||||
float: none; }
|
||||
article.node-materiau.vm-cardfull .field-name-field-company-fab, article.node-materiau.vm-cardfull .field-name-field-company-distrib, article.node-breve.vm-cardfull .field-name-field-company-fab, article.node-breve.vm-cardfull .field-name-field-company-distrib {
|
||||
font-size: 12px;
|
||||
padding: 10px;
|
||||
@@ -5482,11 +5505,11 @@ article.node-materiau.vm-cardfull, article.node-breve.vm-cardfull {
|
||||
background-color: #69CDCF; }
|
||||
|
||||
/*
|
||||
_ _ _
|
||||
___ ___ ___ _| | ___ ___|_|___| |_
|
||||
| _| .'| _| . | | . | _| | | _|
|
||||
|___|__,|_| |___| | _|_| |_|_|_|_|
|
||||
|_|
|
||||
__ ____ _ __
|
||||
_________ __________/ / / __ \_____(_)___ / /_
|
||||
/ ___/ __ `/ ___/ __ / / /_/ / ___/ / __ \/ __/
|
||||
/ /__/ /_/ / / / /_/ / / ____/ / / / / / / /_
|
||||
\___/\__,_/_/ \__,_/ /_/ /_/ /_/_/ /_/\__/
|
||||
*/
|
||||
.print-node-materiau {
|
||||
margin: 0 auto; }
|
||||
@@ -5625,16 +5648,16 @@ article.node-materiau.vm-cardfull, article.node-breve.vm-cardfull {
|
||||
height: 17px; }
|
||||
.print-node-materiau div.workflow {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
z-index: 11;
|
||||
padding: 5px;
|
||||
border-radius: 5px 0 3px 0;
|
||||
border-radius: 3px 0 5px 0;
|
||||
background-clip: padding-box;
|
||||
font-size: 10px;
|
||||
vertical-align: top;
|
||||
background-color: rgba(255, 255, 255, 0.9);
|
||||
color: #000; }
|
||||
background-color: rgba(20, 20, 20, 0.9);
|
||||
color: #fff; }
|
||||
.print-node-materiau div.workflow span {
|
||||
padding: 3px 0 0 4px;
|
||||
display: moz-inline-stack;
|
||||
@@ -5698,6 +5721,8 @@ article.node-materiau.vm-cardfull, article.node-breve.vm-cardfull {
|
||||
position: absolute; }
|
||||
.print-content .node-materiau.vm-print .side.group-side-left .field-name-field-description {
|
||||
font-size: 0.8em; }
|
||||
.print-content .node-materiau.vm-print .side.group-side-left .field-name-field-location {
|
||||
font-size: 0.7em; }
|
||||
.print-content .node-materiau.vm-print .side.group-side-left > .field-type-taxonomy-term-reference {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
@@ -7807,7 +7832,6 @@ body.home-v2 #center {
|
||||
margin-top: 0.5em; }
|
||||
#home-v2 > .panel-panel > div > .panel-pane.showroom:after {
|
||||
content: url("../img/bulle.png");
|
||||
-webkit-transform: scale(0.8);
|
||||
transform: scale(0.8);
|
||||
position: absolute;
|
||||
bottom: -120px;
|
||||
@@ -7871,7 +7895,6 @@ body.home-v2 #center {
|
||||
background-color: rgba(230, 230, 230, 0.8); }
|
||||
#home-v2 > .panel-panel > div > .panel-pane.bdd:after {
|
||||
content: url("../img/boule.png");
|
||||
-webkit-transform: scale(0.8);
|
||||
transform: scale(0.8);
|
||||
position: absolute;
|
||||
bottom: -50px;
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
// @koala-prepend "gui_ck_fw/gui.js"
|
||||
// @codekit-prepend "gui.js"
|
||||
|
||||
(function($) {
|
||||
|
||||
|
||||
@@ -48,13 +45,13 @@
|
||||
// touch scroll
|
||||
position = {x:null,y:null},
|
||||
translate3d_content = 0,
|
||||
_isLoggedIn = !$('body').is('.not-logged-in'),
|
||||
_isFrontNotLogged = $('body').is('.front.not-logged-in'),
|
||||
_isLoggedIn = !_$body.is('.not-logged-in'),
|
||||
_isFrontNotLogged = _$body.is('.front.not-logged-in'),
|
||||
_isFrontHomeV2 = _$body.is('.home-v2'),
|
||||
_skrollr,
|
||||
_isMembershipForm = $('body').is('.page-node-11186'), //$('body').is('.page-node-11187') || ,
|
||||
// _isBreveMateriauNodePage = $('body').is('.node-type-breve') || $('body').is('.node-type-materiau');
|
||||
_isBreveMateriauNodePage = _themeSettings.page_callback == 'node_page_view' && (_themeSettings.node_type == 'materiau' || _themeSettings.node_type == 'breve'),
|
||||
_isMembershipForm = _$body.is('.page-node-11186'), //$('body').is('.page-node-11187') || ,
|
||||
_isBreveMateriauNodePage = _$body.is('.node-type-breve') || _$body.is('.node-type-materiau'),
|
||||
// _isBreveMateriauNodePage = _themeSettings.page_callback == 'node_page_view' && (_themeSettings.node_type == 'materiau' || _themeSettings.node_type == 'breve'),
|
||||
_resizeTimer,
|
||||
_max_480 = function(){ return (viewport().width < 479); },
|
||||
_480_768 = function(){ return ( !_max_480() && _max_768() ); },
|
||||
@@ -531,7 +528,7 @@
|
||||
};
|
||||
|
||||
function onResultsChanged(event){
|
||||
// trace('MaterioBaseTheme :: onResultsChanged',event);
|
||||
trace('MaterioBaseTheme :: onResultsChanged',event);
|
||||
$(document).scrollTop(0);
|
||||
|
||||
focusCard($('#content .search-results, #content .actuality-items').children('.node:first-child'));
|
||||
|
||||
+2
-2
File diff suppressed because one or more lines are too long
@@ -71,8 +71,8 @@ foreach ($heads as $type=>$head)
|
||||
drupal_add_html_head($head, $type);
|
||||
|
||||
|
||||
// this is not working anymore, node object don't shows up on vars
|
||||
$node = isset($vars['node']) ? $vars['node'] : false;
|
||||
|
||||
# add body classes
|
||||
if($node){
|
||||
|
||||
@@ -142,5 +142,3 @@ foreach ($vars['head_title_array'] as $key => $value){
|
||||
}
|
||||
}
|
||||
$vars['head_title'] = $vars['head_array']['title'] = strip_tags(implode(' | ', $head_title_array));
|
||||
|
||||
|
||||
|
||||
@@ -1305,11 +1305,11 @@ $cardfull_h:610px;
|
||||
// &:hover{nav.nav{display:block;}}
|
||||
|
||||
div.workflow{
|
||||
position:absolute; top:0; left:0; z-index:11;
|
||||
position:absolute; bottom:0; right:0; z-index:11;
|
||||
padding: 5px;
|
||||
@include border-radius(5px, 0, 3px, 0);
|
||||
@include border-radius(3px, 0, 5px, 0);
|
||||
@include fs11; vertical-align: top;
|
||||
background-color: rgba(255, 255, 255, 0.9); color:#000;
|
||||
background-color: rgba(20, 20, 20, 0.9); color:#fff;
|
||||
span{padding: 3px 0 0 4px; @include inlineblock();}
|
||||
}
|
||||
|
||||
@@ -1379,12 +1379,11 @@ article.search-performance{
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
_____ _____ _____ ____ _____ _____ _____ _____ _____ _____ _____ _____ _____
|
||||
| | _ | __ | \ | __ | | | | | | _ | __ | | | __|
|
||||
| --| | -| | | | __ -| | | | | -| | | | | -| -|__ |
|
||||
|_____|__|__|__|__|____/ |_____|_____|_____|__|__|_|_|_|__|__|__|__|__|__|_____|
|
||||
|
||||
______ __ ____ __ __
|
||||
/ ____/___ __________/ / / __ )____ ____ / /______ ___ ____ ______/ /_______
|
||||
/ / / __ `/ ___/ __ / / __ / __ \/ __ \/ //_/ __ `__ \/ __ `/ ___/ //_/ ___/
|
||||
/ /___/ /_/ / / / /_/ / / /_/ / /_/ / /_/ / ,< / / / / / / /_/ / / / ,< (__ )
|
||||
\____/\__,_/_/ \__,_/ /_____/\____/\____/_/|_/_/ /_/ /_/\__,_/_/ /_/|_/____/
|
||||
*/
|
||||
article.node-materiau.vm-bookmark, article.node-breve.vm-bookmark{
|
||||
@include card($cardbookmark_w, $cardbookmark_h);
|
||||
@@ -1399,13 +1398,13 @@ article.node-materiau.vm-bookmark, article.node-breve.vm-bookmark{
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
_____ _____ _____ ____ _____ _____ _____ __ __
|
||||
| | _ | __ | \ | __| | _ | | | |
|
||||
| --| | -| | | |__ | | | | | |__| |__
|
||||
|_____|__|__|__|__|____/ |_____|_|_|_|__|__|_____|_____|
|
||||
|
||||
______ __ _____ ____
|
||||
/ ____/___ __________/ / / ___/____ ___ ____ _/ / /
|
||||
/ / / __ `/ ___/ __ / \__ \/ __ `__ \/ __ `/ / /
|
||||
/ /___/ /_/ / / / /_/ / ___/ / / / / / / /_/ / / /
|
||||
\____/\__,_/_/ \__,_/ /____/_/ /_/ /_/\__,_/_/_/
|
||||
*/
|
||||
|
||||
article.node-materiau.vm-cardsmall, article.node-breve.vm-cardsmall{
|
||||
@include card($cardsmall_w, $cardsmall_h); //width:100px; height:140px;
|
||||
.group-header{
|
||||
@@ -1430,12 +1429,12 @@ article.node-materiau.vm-cardsmall, article.node-breve.vm-cardsmall{
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
_____ _____ _____ __ _____ _____ _____ _____ _____ _____ __ __ _____ _____ _____ ____
|
||||
|_ _| | | ||_ _| | _ | | __| | _ | | | | | | _ | __ | \
|
||||
| | | | | | | |__| | |- -| __| |__ | | | | | |__| |__ | --| | -| | |
|
||||
|_| |_____|_____|_____|_| |_____|__| |_____|_|_|_|__|__|_____|_____| |_____|__|__|__|__|____/
|
||||
|
||||
______ ____ _ ____ __
|
||||
/_ __/___ ____ / / /_(_)___ _________ ___ ____ _/ / / _________ __________/ /
|
||||
/ / / __ \/ __ \/ / __/ / __ \ / ___/ __ `__ \/ __ `/ / / / ___/ __ `/ ___/ __ /
|
||||
/ / / /_/ / /_/ / / /_/ / /_/ / (__ ) / / / / / /_/ / / / / /__/ /_/ / / / /_/ /
|
||||
/_/ \____/\____/_/\__/_/ .___/ /____/_/ /_/ /_/\__,_/_/_/ \___/\__,_/_/ \__,_/
|
||||
/_/
|
||||
*/
|
||||
#tooltip{
|
||||
.group-header.smallcard{
|
||||
@@ -1447,13 +1446,13 @@ article.node-materiau.vm-cardsmall, article.node-breve.vm-cardsmall{
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
_____ _____ _____ ____ _____ _____ ____ _____ _____ _____
|
||||
| | _ | __ | \ | | __| \| | | | |
|
||||
| --| | -| | | | | | | __| | |- -| | | | | |
|
||||
|_____|__|__|__|__|____/ |_|_|_|_____|____/|_____|_____|_|_|_|
|
||||
|
||||
______ __ __ ___ ___
|
||||
/ ____/___ __________/ / / |/ /__ ____/ (_)_ ______ ___
|
||||
/ / / __ `/ ___/ __ / / /|_/ / _ \/ __ / / / / / __ `__ \
|
||||
/ /___/ /_/ / / / /_/ / / / / / __/ /_/ / / /_/ / / / / / /
|
||||
\____/\__,_/_/ \__,_/ /_/ /_/\___/\__,_/_/\__,_/_/ /_/ /_/
|
||||
*/
|
||||
|
||||
article.node-materiau.vm-cardmedium, article.node-breve.vm-cardmedium{
|
||||
@include card($cardmedium_w, $cardmedium_h); //width:210px; height:295px;
|
||||
|
||||
@@ -1491,13 +1490,19 @@ article.node-materiau.vm-cardmedium, article.node-breve.vm-cardmedium{
|
||||
|
||||
.group-images{ @include horihoverswitch(); }
|
||||
|
||||
// side 2
|
||||
// side 2 : description
|
||||
.field-name-field-description, .field-name-body{
|
||||
@include fs12; @include fs300; overflow: hidden; z-index:-1; @include columnized(5px);
|
||||
.column>*{padding-right:25px;}
|
||||
}
|
||||
|
||||
// side 3
|
||||
// side 3 : samples
|
||||
.field-name-field-location{
|
||||
@include fs12; padding:5px; @include fs300;
|
||||
.field-label{ @include fs10; text-transform: lowercase; margin:0;}
|
||||
}
|
||||
|
||||
// side 4 : companies
|
||||
.column-wrapper{
|
||||
@include columnized(5px);
|
||||
}
|
||||
@@ -1522,11 +1527,12 @@ article.node-materiau.vm-cardmedium, article.node-breve.vm-cardmedium{
|
||||
}
|
||||
|
||||
/*
|
||||
_____ _____ _____ ____ _____ _____ _____
|
||||
| | _ | __ | \ | __ | | __|
|
||||
| --| | -| | | | __ -|- -| | |
|
||||
|_____|__|__|__|__|____/ |_____|_____|_____|
|
||||
|
||||
______ __ ____ _
|
||||
/ ____/___ __________/ / / __ )(_)___ _
|
||||
/ / / __ `/ ___/ __ / / __ / / __ `/
|
||||
/ /___/ /_/ / / / /_/ / / /_/ / / /_/ /
|
||||
\____/\__,_/_/ \__,_/ /_____/_/\__, /
|
||||
/____/
|
||||
*/
|
||||
article.node-materiau.vm-cardbig, article.node-breve.vm-cardbig{
|
||||
@include card($cardbig_w, $cardbig_h); //width:425px; height:610px;
|
||||
@@ -1563,10 +1569,17 @@ article.node-materiau.vm-cardbig, article.node-breve.vm-cardbig{
|
||||
.field-name-field-description, .field-name-body{
|
||||
@include fs12; @include fs300; @include columnized(10px);
|
||||
}
|
||||
// side 3
|
||||
// side 3 : samples
|
||||
.field-name-field-location{
|
||||
@include fs12; padding:10px; @include fs300;
|
||||
.field-label{ @include fs10; text-transform: lowercase; float: none; }
|
||||
}
|
||||
|
||||
// ?????
|
||||
.column-wrapper{
|
||||
@include columnized(10px);
|
||||
}
|
||||
|
||||
// side 4
|
||||
.field-name-field-company-fab, .field-name-field-company-distrib{
|
||||
@include fs12; padding:10px; @include fs300;
|
||||
@@ -1601,12 +1614,14 @@ article.node-materiau.vm-cardbig, article.node-breve.vm-cardbig{
|
||||
}
|
||||
|
||||
/*
|
||||
_____ _____ _____ ____ _____ _____ __ __
|
||||
| | _ | __ | \ | __| | | | | |
|
||||
| --| | -| | | | __| | | |__| |__
|
||||
|_____|__|__|__|__|____/ |__| |_____|_____|_____|
|
||||
______ __ ______ ____
|
||||
/ ____/___ __________/ / / ____/_ __/ / /
|
||||
/ / / __ `/ ___/ __ / / /_ / / / / / /
|
||||
/ /___/ /_/ / / / /_/ / / __/ / /_/ / / /
|
||||
\____/\__,_/_/ \__,_/ /_/ \__,_/_/_/
|
||||
|
||||
*/
|
||||
|
||||
article.node-materiau.vm-cardfull, article.node-breve.vm-cardfull{
|
||||
@include card($cardfull_w, $cardfull_h); //width:875px; height:610px;
|
||||
nav.nav{top:0;}
|
||||
@@ -1649,7 +1664,13 @@ article.node-materiau.vm-cardfull, article.node-breve.vm-cardfull{
|
||||
@include fs12;
|
||||
}
|
||||
|
||||
// side 4
|
||||
// side 3 : Sample
|
||||
.field-name-field-location{
|
||||
@include fs12; padding:10px; @include fs300;
|
||||
.field-label{ @include fs10; text-transform: lowercase; float: none; }
|
||||
}
|
||||
|
||||
// side 4 : companies
|
||||
.field-name-field-company-fab, .field-name-field-company-distrib{
|
||||
@include fs12; padding:10px; @include fs300;
|
||||
@include inlineblock(); width:40%;
|
||||
@@ -1685,11 +1706,11 @@ article.node-materiau.vm-cardfull, article.node-breve.vm-cardfull{
|
||||
}
|
||||
|
||||
/*
|
||||
_ _ _
|
||||
___ ___ ___ _| | ___ ___|_|___| |_
|
||||
| _| .'| _| . | | . | _| | | _|
|
||||
|___|__,|_| |___| | _|_| |_|_|_|_|
|
||||
|_|
|
||||
__ ____ _ __
|
||||
_________ __________/ / / __ \_____(_)___ / /_
|
||||
/ ___/ __ `/ ___/ __ / / /_/ / ___/ / __ \/ __/
|
||||
/ /__/ /_/ / / / /_/ / / ____/ / / / / / / /_
|
||||
\___/\__,_/_/ \__,_/ /_/ /_/ /_/_/ /_/\__/
|
||||
*/
|
||||
body.print-body-materiau{
|
||||
// >*{font-size:0.8em;}
|
||||
@@ -1728,6 +1749,11 @@ body.print-body-materiau{
|
||||
width:45%;
|
||||
position:absolute;
|
||||
.field-name-field-description{font-size:0.8em;}
|
||||
// samples
|
||||
.field-name-field-location{
|
||||
font-size:0.7em;
|
||||
}
|
||||
// companies
|
||||
>.field-type-taxonomy-term-reference{
|
||||
display:inline-block; vertical-align: top; width: 45%;
|
||||
margin:0.5em 1em 0 0;
|
||||
|
||||
Reference in New Issue
Block a user