Compare commits
23 Commits
bc15f0549d
...
avantLive
Author | SHA1 | Date | |
---|---|---|---|
3a68d5a2c8 | |||
601a784163 | |||
5cbaa3e7e3 | |||
7f0227bb06 | |||
b3acc28592 | |||
d91e0aa86e | |||
5a48eee4ef | |||
bfb94ef05b | |||
e50c8d95a2 | |||
b864319025 | |||
e5a0323a8a | |||
471d16089b | |||
69d780a12f | |||
1e10015d88 | |||
f0d07f6de6 | |||
fb294a22d6 | |||
5e2cdd8d3e | |||
c82fea24b7 | |||
4d21ad7a92 | |||
c688ee2b9e | |||
788f00a603 | |||
d740d58c0b | |||
3f6c33992e |
@ -24,7 +24,7 @@
|
|||||||
"drupal/editor_advanced_link": "^2.2",
|
"drupal/editor_advanced_link": "^2.2",
|
||||||
"drupal/geofield": "^1.60",
|
"drupal/geofield": "^1.60",
|
||||||
"drupal/image_delta_formatter": "^1.2",
|
"drupal/image_delta_formatter": "^1.2",
|
||||||
"drupal/image_field_caption": "^2.0",
|
"drupal/image_field_caption": "2.0.x-dev@dev",
|
||||||
"drupal/leaflet": "^10.2",
|
"drupal/leaflet": "^10.2",
|
||||||
"drupal/leaflet_more_maps": "^2.2",
|
"drupal/leaflet_more_maps": "^2.2",
|
||||||
"drupal/linked_field": "^1.5",
|
"drupal/linked_field": "^1.5",
|
||||||
@ -126,9 +126,17 @@
|
|||||||
"merge-extra": true
|
"merge-extra": true
|
||||||
},
|
},
|
||||||
"patches": {
|
"patches": {
|
||||||
|
"drupal/core": {
|
||||||
|
"Image field generates only default language URL when linking to corresponding entity. https://www.drupal.org/node/2645922?no_cache=1733132298":"https://www.drupal.org/files/issues/2021-03-15/2645922-45.patch"
|
||||||
|
},
|
||||||
"drupal/social_media_links":{
|
"drupal/social_media_links":{
|
||||||
"Replace Twitter with X https://www.drupal.org/project/social_media_links/issues/3384469": "https://www.drupal.org/files/issues/2023-09-12/social_media_links-change_twitter_to_x-3384469-7.patch"
|
"Replace Twitter with X https://www.drupal.org/project/social_media_links/issues/3384469": "https://www.drupal.org/files/issues/2023-09-12/social_media_links-change_twitter_to_x-3384469-7.patch"
|
||||||
|
},
|
||||||
|
"drupal/image_field_caption":{
|
||||||
|
"Rewrite module to use default field storage https://www.drupal.org/project/image_field_caption/issues/3472997": "./patches/image_field_caption_3472997_12.patch"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"oldpatches": {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
24
composer.lock
generated
24
composer.lock
generated
@ -4,7 +4,7 @@
|
|||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "3f682451141745b61e2f384d1c28ce84",
|
"content-hash": "21ca923d67e614146f8e96c3190d1cde",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "asm89/stack-cors",
|
"name": "asm89/stack-cors",
|
||||||
@ -4550,29 +4550,26 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "drupal/image_field_caption",
|
"name": "drupal/image_field_caption",
|
||||||
"version": "2.0.1",
|
"version": "dev-2.0.x",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.drupalcode.org/project/image_field_caption.git",
|
"url": "https://git.drupalcode.org/project/image_field_caption.git",
|
||||||
"reference": "2.0.1"
|
"reference": "b0c155d5aac125666f01c0aa102a8a1f88b1f955"
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://ftp.drupal.org/files/projects/image_field_caption-2.0.1.zip",
|
|
||||||
"reference": "2.0.1",
|
|
||||||
"shasum": "053e1ccfc638b3b2cd5c59c3c6a053e4e5041183"
|
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"drupal/core": "^9 || ^10"
|
"drupal/core": "^9 || ^10"
|
||||||
},
|
},
|
||||||
"type": "drupal-module",
|
"type": "drupal-module",
|
||||||
"extra": {
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-2.0.x": "2.0.x-dev"
|
||||||
|
},
|
||||||
"drupal": {
|
"drupal": {
|
||||||
"version": "2.0.1",
|
"version": "2.0.x-dev",
|
||||||
"datestamp": "1705443097",
|
"datestamp": "1711647363",
|
||||||
"security-coverage": {
|
"security-coverage": {
|
||||||
"status": "covered",
|
"status": "not-covered",
|
||||||
"message": "Covered by Drupal's security advisory policy"
|
"message": "Dev releases are not covered by Drupal security advisories."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -12961,6 +12958,7 @@
|
|||||||
"drupal/entity_clone": 20,
|
"drupal/entity_clone": 20,
|
||||||
"drupal/field_group": 20,
|
"drupal/field_group": 20,
|
||||||
"drupal/filter_perms": 20,
|
"drupal/filter_perms": 20,
|
||||||
|
"drupal/image_field_caption": 20,
|
||||||
"drupal/inline_entity_form": 5,
|
"drupal/inline_entity_form": 5,
|
||||||
"drupal/linkit": 10,
|
"drupal/linkit": 10,
|
||||||
"drupal/login_destination": 20,
|
"drupal/login_destination": 20,
|
||||||
|
@ -11,7 +11,7 @@ bundle: actualite
|
|||||||
label: 'Menu link'
|
label: 'Menu link'
|
||||||
description: 'Computed menu link for the node (only available during node saving).'
|
description: 'Computed menu link for the node (only available during node saving).'
|
||||||
required: false
|
required: false
|
||||||
translatable: false
|
translatable: true
|
||||||
default_value: { }
|
default_value: { }
|
||||||
default_value_callback: ''
|
default_value_callback: ''
|
||||||
settings:
|
settings:
|
||||||
|
@ -13,7 +13,7 @@ bundle: actualite
|
|||||||
label: 'Metatags (Hidden field for JSON support)'
|
label: 'Metatags (Hidden field for JSON support)'
|
||||||
description: 'The computed meta tags for the entity.'
|
description: 'The computed meta tags for the entity.'
|
||||||
required: false
|
required: false
|
||||||
translatable: false
|
translatable: true
|
||||||
default_value: { }
|
default_value: { }
|
||||||
default_value_callback: ''
|
default_value_callback: ''
|
||||||
settings: { }
|
settings: { }
|
||||||
|
@ -11,7 +11,7 @@ bundle: actualite
|
|||||||
label: Title
|
label: Title
|
||||||
description: ''
|
description: ''
|
||||||
required: true
|
required: true
|
||||||
translatable: false
|
translatable: true
|
||||||
default_value: { }
|
default_value: { }
|
||||||
default_value_callback: ''
|
default_value_callback: ''
|
||||||
settings: { }
|
settings: { }
|
||||||
|
@ -4,7 +4,7 @@ status: true
|
|||||||
dependencies:
|
dependencies:
|
||||||
config:
|
config:
|
||||||
- field.field.paragraph.site_diapo.field_images
|
- field.field.paragraph.site_diapo.field_images
|
||||||
- image.style.wide
|
- image.style.very_large
|
||||||
- paragraphs.paragraphs_type.site_diapo
|
- paragraphs.paragraphs_type.site_diapo
|
||||||
module:
|
module:
|
||||||
- image_field_caption
|
- image_field_caption
|
||||||
@ -17,12 +17,12 @@ content:
|
|||||||
type: image_caption
|
type: image_caption
|
||||||
label: visually_hidden
|
label: visually_hidden
|
||||||
settings:
|
settings:
|
||||||
image_style: wide
|
image_style: very_large
|
||||||
image_link: ''
|
image_link: ''
|
||||||
image_loading:
|
image_loading:
|
||||||
attribute: lazy
|
attribute: lazy
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 0
|
weight: 2
|
||||||
region: content
|
region: content
|
||||||
hidden:
|
hidden:
|
||||||
search_api_excerpt: true
|
search_api_excerpt: true
|
||||||
|
@ -14,7 +14,7 @@ bundle: actualite
|
|||||||
label: Body
|
label: Body
|
||||||
description: ''
|
description: ''
|
||||||
required: false
|
required: false
|
||||||
translatable: false
|
translatable: true
|
||||||
default_value: { }
|
default_value: { }
|
||||||
default_value_callback: ''
|
default_value_callback: ''
|
||||||
settings:
|
settings:
|
||||||
|
@ -14,7 +14,7 @@ bundle: actualite
|
|||||||
label: Fichiers
|
label: Fichiers
|
||||||
description: ''
|
description: ''
|
||||||
required: false
|
required: false
|
||||||
translatable: false
|
translatable: true
|
||||||
default_value: { }
|
default_value: { }
|
||||||
default_value_callback: ''
|
default_value_callback: ''
|
||||||
settings:
|
settings:
|
||||||
|
@ -6,7 +6,15 @@ dependencies:
|
|||||||
- field.storage.node.field_images
|
- field.storage.node.field_images
|
||||||
- node.type.actualite
|
- node.type.actualite
|
||||||
module:
|
module:
|
||||||
|
- content_translation
|
||||||
- image
|
- image
|
||||||
|
third_party_settings:
|
||||||
|
content_translation:
|
||||||
|
translation_sync:
|
||||||
|
alt: alt
|
||||||
|
title: title
|
||||||
|
caption: caption
|
||||||
|
file: '0'
|
||||||
id: node.actualite.field_images
|
id: node.actualite.field_images
|
||||||
field_name: field_images
|
field_name: field_images
|
||||||
entity_type: node
|
entity_type: node
|
||||||
@ -14,7 +22,7 @@ bundle: actualite
|
|||||||
label: Images
|
label: Images
|
||||||
description: ''
|
description: ''
|
||||||
required: false
|
required: false
|
||||||
translatable: false
|
translatable: true
|
||||||
default_value: { }
|
default_value: { }
|
||||||
default_value_callback: ''
|
default_value_callback: ''
|
||||||
settings:
|
settings:
|
||||||
@ -36,6 +44,6 @@ settings:
|
|||||||
width: null
|
width: null
|
||||||
height: null
|
height: null
|
||||||
caption: ''
|
caption: ''
|
||||||
caption_field: 1
|
caption_field: true
|
||||||
caption_field_required: 0
|
caption_field_required: false
|
||||||
field_type: image
|
field_type: image
|
||||||
|
@ -14,7 +14,7 @@ bundle: actualite
|
|||||||
label: Liens
|
label: Liens
|
||||||
description: ''
|
description: ''
|
||||||
required: false
|
required: false
|
||||||
translatable: false
|
translatable: true
|
||||||
default_value: { }
|
default_value: { }
|
||||||
default_value_callback: ''
|
default_value_callback: ''
|
||||||
settings:
|
settings:
|
||||||
|
@ -13,6 +13,7 @@ third_party_settings:
|
|||||||
translation_sync:
|
translation_sync:
|
||||||
alt: alt
|
alt: alt
|
||||||
title: title
|
title: title
|
||||||
|
caption: caption
|
||||||
file: '0'
|
file: '0'
|
||||||
id: paragraph.site_diapo.field_images
|
id: paragraph.site_diapo.field_images
|
||||||
field_name: field_images
|
field_name: field_images
|
||||||
@ -43,6 +44,6 @@ settings:
|
|||||||
width: null
|
width: null
|
||||||
height: null
|
height: null
|
||||||
caption: ''
|
caption: ''
|
||||||
caption_field: 1
|
caption_field: true
|
||||||
caption_field_required: 0
|
caption_field_required: false
|
||||||
field_type: image
|
field_type: image
|
||||||
|
@ -21,6 +21,7 @@ settings:
|
|||||||
title: ''
|
title: ''
|
||||||
width: null
|
width: null
|
||||||
height: null
|
height: null
|
||||||
|
caption: ''
|
||||||
module: image
|
module: image
|
||||||
locked: false
|
locked: false
|
||||||
cardinality: -1
|
cardinality: -1
|
||||||
|
@ -21,6 +21,7 @@ settings:
|
|||||||
title: ''
|
title: ''
|
||||||
width: null
|
width: null
|
||||||
height: null
|
height: null
|
||||||
|
caption: ''
|
||||||
module: image
|
module: image
|
||||||
locked: false
|
locked: false
|
||||||
cardinality: -1
|
cardinality: -1
|
||||||
|
@ -8,7 +8,7 @@ dependencies:
|
|||||||
- content_translation
|
- content_translation
|
||||||
third_party_settings:
|
third_party_settings:
|
||||||
content_translation:
|
content_translation:
|
||||||
enabled: false
|
enabled: true
|
||||||
bundle_settings:
|
bundle_settings:
|
||||||
untranslatable_fields_hide: '0'
|
untranslatable_fields_hide: '0'
|
||||||
id: node.actualite
|
id: node.actualite
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
description: Department(s)
|
@ -0,0 +1 @@
|
|||||||
|
label: 'Name of the municipality (population)'
|
@ -0,0 +1 @@
|
|||||||
|
label: 'Name of the priority urban neighborhood (population)'
|
@ -0,0 +1 @@
|
|||||||
|
label: 'Contracting authority'
|
@ -0,0 +1 @@
|
|||||||
|
description: 'State programmes'
|
@ -0,0 +1 @@
|
|||||||
|
label: Region(s)
|
4
config/sync/language/en/views.view.actus.yml
Normal file
4
config/sync/language/en/views.view.actus.yml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
display:
|
||||||
|
default:
|
||||||
|
display_options:
|
||||||
|
title: Actualities
|
@ -157,14 +157,14 @@ variant_settings:
|
|||||||
2f4a8a1a-2071-44f7-b725-bbe79798df48:
|
2f4a8a1a-2071-44f7-b725-bbe79798df48:
|
||||||
id: 'entity_field:node:field_porteur_s_de_site'
|
id: 'entity_field:node:field_porteur_s_de_site'
|
||||||
label: "Maîtrise d'ouvrage"
|
label: "Maîtrise d'ouvrage"
|
||||||
label_display: visible
|
label_display: '0'
|
||||||
provider: ctools_block
|
provider: ctools_block
|
||||||
context_mapping:
|
context_mapping:
|
||||||
entity: node
|
entity: node
|
||||||
formatter:
|
formatter:
|
||||||
type: basic_string
|
type: basic_string
|
||||||
weight: 0
|
weight: 0
|
||||||
label: visually_hidden
|
label: above
|
||||||
settings: { }
|
settings: { }
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
region: second
|
region: second
|
||||||
@ -177,14 +177,14 @@ variant_settings:
|
|||||||
3e40ac9a-e27e-4faf-b129-451d5ae0e742:
|
3e40ac9a-e27e-4faf-b129-451d5ae0e742:
|
||||||
id: 'entity_field:node:field_region'
|
id: 'entity_field:node:field_region'
|
||||||
label: Région
|
label: Région
|
||||||
label_display: visible
|
label_display: '0'
|
||||||
provider: ctools_block
|
provider: ctools_block
|
||||||
context_mapping:
|
context_mapping:
|
||||||
entity: node
|
entity: node
|
||||||
formatter:
|
formatter:
|
||||||
type: string
|
type: string
|
||||||
weight: 0
|
weight: 0
|
||||||
label: visually_hidden
|
label: above
|
||||||
settings:
|
settings:
|
||||||
link_to_entity: false
|
link_to_entity: false
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
@ -198,14 +198,14 @@ variant_settings:
|
|||||||
68368738-0e9b-43f5-a553-cd19390bfbbc:
|
68368738-0e9b-43f5-a553-cd19390bfbbc:
|
||||||
id: 'entity_field:node:field_nom_du_qpv_nb_d_hab'
|
id: 'entity_field:node:field_nom_du_qpv_nb_d_hab'
|
||||||
label: "Nom du QPV (nb d'hab.)"
|
label: "Nom du QPV (nb d'hab.)"
|
||||||
label_display: visible
|
label_display: '0'
|
||||||
provider: ctools_block
|
provider: ctools_block
|
||||||
context_mapping:
|
context_mapping:
|
||||||
entity: node
|
entity: node
|
||||||
formatter:
|
formatter:
|
||||||
type: string
|
type: string
|
||||||
weight: 0
|
weight: 0
|
||||||
label: visually_hidden
|
label: above
|
||||||
settings:
|
settings:
|
||||||
link_to_entity: false
|
link_to_entity: false
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
@ -219,14 +219,14 @@ variant_settings:
|
|||||||
63a45085-391f-403b-934e-bc47a2fc76ed:
|
63a45085-391f-403b-934e-bc47a2fc76ed:
|
||||||
id: 'entity_field:node:field_departement_s'
|
id: 'entity_field:node:field_departement_s'
|
||||||
label: Département(s)
|
label: Département(s)
|
||||||
label_display: visible
|
label_display: '0'
|
||||||
provider: ctools_block
|
provider: ctools_block
|
||||||
context_mapping:
|
context_mapping:
|
||||||
entity: node
|
entity: node
|
||||||
formatter:
|
formatter:
|
||||||
type: string
|
type: string
|
||||||
weight: 0
|
weight: 0
|
||||||
label: visually_hidden
|
label: above
|
||||||
settings:
|
settings:
|
||||||
link_to_entity: false
|
link_to_entity: false
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
@ -240,14 +240,14 @@ variant_settings:
|
|||||||
e048da61-ac83-4a80-9112-f06a22b5cc34:
|
e048da61-ac83-4a80-9112-f06a22b5cc34:
|
||||||
id: 'entity_field:node:field_programme_de_l_etat'
|
id: 'entity_field:node:field_programme_de_l_etat'
|
||||||
label: "Programmes de l'état"
|
label: "Programmes de l'état"
|
||||||
label_display: visible
|
label_display: '0'
|
||||||
provider: ctools_block
|
provider: ctools_block
|
||||||
context_mapping:
|
context_mapping:
|
||||||
entity: node
|
entity: node
|
||||||
formatter:
|
formatter:
|
||||||
type: string
|
type: string
|
||||||
weight: 0
|
weight: 0
|
||||||
label: visually_hidden
|
label: above
|
||||||
settings:
|
settings:
|
||||||
link_to_entity: false
|
link_to_entity: false
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
@ -261,14 +261,14 @@ variant_settings:
|
|||||||
bdf10817-0225-4bba-9fea-0c779f18c9af:
|
bdf10817-0225-4bba-9fea-0c779f18c9af:
|
||||||
id: 'entity_field:node:field_nom_de_la_commune_nb_d_hab'
|
id: 'entity_field:node:field_nom_de_la_commune_nb_d_hab'
|
||||||
label: "Nom de la commune (nb d'hab.)"
|
label: "Nom de la commune (nb d'hab.)"
|
||||||
label_display: visible
|
label_display: '0'
|
||||||
provider: ctools_block
|
provider: ctools_block
|
||||||
context_mapping:
|
context_mapping:
|
||||||
entity: node
|
entity: node
|
||||||
formatter:
|
formatter:
|
||||||
type: string
|
type: string
|
||||||
weight: 0
|
weight: 0
|
||||||
label: visually_hidden
|
label: above
|
||||||
settings:
|
settings:
|
||||||
link_to_entity: false
|
link_to_entity: false
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
|
@ -133,6 +133,48 @@ display:
|
|||||||
plugin_id: bundle
|
plugin_id: bundle
|
||||||
value:
|
value:
|
||||||
actualite: actualite
|
actualite: actualite
|
||||||
|
langcode:
|
||||||
|
id: langcode
|
||||||
|
table: node_field_data
|
||||||
|
field: langcode
|
||||||
|
relationship: none
|
||||||
|
group_type: group
|
||||||
|
admin_label: ''
|
||||||
|
entity_type: node
|
||||||
|
entity_field: langcode
|
||||||
|
plugin_id: language
|
||||||
|
operator: in
|
||||||
|
value:
|
||||||
|
'***LANGUAGE_language_interface***': '***LANGUAGE_language_interface***'
|
||||||
|
group: 1
|
||||||
|
exposed: false
|
||||||
|
expose:
|
||||||
|
operator_id: ''
|
||||||
|
label: ''
|
||||||
|
description: ''
|
||||||
|
use_operator: false
|
||||||
|
operator: ''
|
||||||
|
operator_limit_selection: false
|
||||||
|
operator_list: { }
|
||||||
|
identifier: ''
|
||||||
|
required: false
|
||||||
|
remember: false
|
||||||
|
multiple: false
|
||||||
|
remember_roles:
|
||||||
|
authenticated: authenticated
|
||||||
|
reduce: false
|
||||||
|
is_grouped: false
|
||||||
|
group_info:
|
||||||
|
label: ''
|
||||||
|
description: ''
|
||||||
|
identifier: ''
|
||||||
|
optional: true
|
||||||
|
widget: select
|
||||||
|
multiple: false
|
||||||
|
remember: false
|
||||||
|
default_group: All
|
||||||
|
default_group_multiple: { }
|
||||||
|
group_items: { }
|
||||||
style:
|
style:
|
||||||
type: default
|
type: default
|
||||||
row:
|
row:
|
||||||
@ -144,7 +186,7 @@ display:
|
|||||||
options:
|
options:
|
||||||
query_comment: ''
|
query_comment: ''
|
||||||
disable_sql_rewrite: false
|
disable_sql_rewrite: false
|
||||||
distinct: false
|
distinct: true
|
||||||
replica: false
|
replica: false
|
||||||
query_tags: { }
|
query_tags: { }
|
||||||
relationships: { }
|
relationships: { }
|
||||||
|
1607
patches/image_field_caption_3472997_12.patch
Normal file
1607
patches/image_field_caption_3472997_12.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -7,7 +7,7 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 155%;
|
width: 155%;
|
||||||
max-width: 800px;
|
max-width: 600px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
@ -63,7 +63,7 @@
|
|||||||
color: white;
|
color: white;
|
||||||
background: black;
|
background: black;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-size: 0.6rem;
|
font-size: 0.5rem;
|
||||||
padding-left: 0.5rem;
|
padding-left: 0.5rem;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
margin-top: 0.7rem;
|
margin-top: 0.7rem;
|
||||||
@ -83,9 +83,10 @@
|
|||||||
#popup-content {
|
#popup-content {
|
||||||
width: 300px;
|
width: 300px;
|
||||||
padding-right: 30px;
|
padding-right: 30px;
|
||||||
|
font-size: 0.6rem !important;
|
||||||
}
|
}
|
||||||
#popup-content p {
|
#popup-content p {
|
||||||
font-size: 0.7rem;
|
font-size: 0.6rem !important;
|
||||||
}
|
}
|
||||||
@media (max-width: 810px) {
|
@media (max-width: 810px) {
|
||||||
#popup-content {
|
#popup-content {
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
function q2d_mod_theme() {
|
function q2d_mod_theme() {
|
||||||
return array(
|
return array(
|
||||||
'svg_mapsites' => array(
|
'svg_mapsites' => array(
|
||||||
'variables' => array('vpw' => null, 'vph' => null, 'sites' => []),
|
'variables' => array('vpw' => null, 'vph' => null, 'sites' => [], 'label' => null),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
@ -21,6 +21,8 @@ class SitesMap extends BlockBase {
|
|||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function build() {
|
public function build() {
|
||||||
|
$language = \Drupal::languageManager()->getCurrentLanguage()->getId();
|
||||||
|
|
||||||
$return = null;
|
$return = null;
|
||||||
|
|
||||||
$allSites = \Drupal::entityTypeManager()->getStorage('node')
|
$allSites = \Drupal::entityTypeManager()->getStorage('node')
|
||||||
@ -39,12 +41,16 @@ class SitesMap extends BlockBase {
|
|||||||
|
|
||||||
|
|
||||||
foreach($allSites as $index => $site){
|
foreach($allSites as $index => $site){
|
||||||
$title = $site->get('title')->getString();
|
$langcode = \Drupal::languageManager()->getCurrentLanguage()->getId();
|
||||||
$subtitle = $site->get('field_sous_titre')->getString();
|
|
||||||
|
|
||||||
$link_options = ['absolute' => TRUE, 'attributes' => ['class' => 'site-link']]; // Passer 'absolute' à TRUE
|
// $title = $site->get('title')->getString();
|
||||||
|
$title = $site->hasTranslation($language) ? $site->getTranslation($language)->get('title')->getString() : $site->get('title')->getString();
|
||||||
|
// $subtitle = $site->get('field_sous_titre')->getString();
|
||||||
|
$subtitle = $site->hasTranslation($language) ? $site->getTranslation($language)->get('field_sous_titre')->getString() : $site->get('field_sous_titre')->getString();
|
||||||
|
|
||||||
|
$link_options = ['absolute' => TRUE, 'attributes' => ['class' => 'site-link'], 'language' => \Drupal::languageManager()->getLanguage($langcode)]; // Passer 'absolute' à TRUE
|
||||||
$site_url = $site->toUrl('canonical', $link_options)->toString(); // URL absolue pour le data-url
|
$site_url = $site->toUrl('canonical', $link_options)->toString(); // URL absolue pour le data-url
|
||||||
$site_link_object = Link::createFromRoute("voir le site", 'entity.node.canonical', ['node' => $site->id()], $link_options);
|
$site_link_object = Link::createFromRoute(t("got to site"), 'entity.node.canonical', ['node' => $site->id()], $link_options);
|
||||||
$link = $site_link_object->toString()->getGeneratedLink();
|
$link = $site_link_object->toString()->getGeneratedLink();
|
||||||
|
|
||||||
$datacontent = htmlspecialchars("<strong>$title</strong><br>$subtitle<br>$link");
|
$datacontent = htmlspecialchars("<strong>$title</strong><br>$subtitle<br>$link");
|
||||||
@ -57,9 +63,9 @@ class SitesMap extends BlockBase {
|
|||||||
$x = round(($lon - $lonLeft) / ($lonRight - $lonLeft) * $vp_w);
|
$x = round(($lon - $lonLeft) / ($lonRight - $lonLeft) * $vp_w);
|
||||||
$y = round(($latTop - $lat) / ($latTop - $latBottom) * $vp_h);
|
$y = round(($latTop - $lat) / ($latTop - $latBottom) * $vp_h);
|
||||||
|
|
||||||
$r = 15;
|
$r = 12;
|
||||||
$m = -$r/1.5+3;
|
$m = -$r/1.5+3;
|
||||||
$l = $r/1.5 +4;
|
$l = $r/1.5 +2.5;
|
||||||
$sites_paths .= <<<SVGSITEPATH
|
$sites_paths .= <<<SVGSITEPATH
|
||||||
<g
|
<g
|
||||||
id="site-$index"
|
id="site-$index"
|
||||||
@ -95,6 +101,7 @@ class SitesMap extends BlockBase {
|
|||||||
],
|
],
|
||||||
'svg_mapsites' => [
|
'svg_mapsites' => [
|
||||||
'#theme' => 'svg_mapsites',
|
'#theme' => 'svg_mapsites',
|
||||||
|
'#label' => "Les 10 sites de projet",
|
||||||
'#sites' => $sites_paths,
|
'#sites' => $sites_paths,
|
||||||
'#vpw' => $vp_w,
|
'#vpw' => $vp_w,
|
||||||
'#vph' => $vp_h,
|
'#vph' => $vp_h,
|
||||||
@ -111,6 +118,7 @@ class SitesMap extends BlockBase {
|
|||||||
// '#markup' => $this->t('Hello, Sites Map!'),
|
// '#markup' => $this->t('Hello, Sites Map!'),
|
||||||
// ];
|
// ];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCacheMaxAge() {
|
public function getCacheMaxAge() {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
<div id="sites-map-container">
|
<div id="sites-map-container">
|
||||||
|
|
||||||
|
<h2>{{label}}</h2>
|
||||||
|
|
||||||
{# <svg {{ svg_attributes }}>
|
{# <svg {{ svg_attributes }}>
|
||||||
<path {{ path_attributes }}></path>
|
<path {{ path_attributes }}></path>
|
||||||
</svg> #}
|
</svg> #}
|
||||||
|
File diff suppressed because one or more lines are too long
@ -202,7 +202,12 @@ h2, h3 {
|
|||||||
}
|
}
|
||||||
@media (max-width: 810px) {
|
@media (max-width: 810px) {
|
||||||
.layout-container main#home {
|
.layout-container main#home {
|
||||||
padding-top: 320px;
|
padding-top: 380px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (max-width: 810px) {
|
||||||
|
.layout-container .node-type-static .layout-content .content_container #block-quartiers-de-demain-titredepage {
|
||||||
|
margin-top: 14rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -255,6 +260,33 @@ header {
|
|||||||
top: 0;
|
top: 0;
|
||||||
transition: none;
|
transition: none;
|
||||||
}
|
}
|
||||||
|
header .language-switcher-language-url {
|
||||||
|
text-transform: uppercase;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
header .language-switcher-language-url ul {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
font-size: 0.6rem;
|
||||||
|
padding: 0;
|
||||||
|
width: fit-content;
|
||||||
|
}
|
||||||
|
@media (max-width: 810px) {
|
||||||
|
header .language-switcher-language-url ul {
|
||||||
|
font-size: 0.9rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
header .language-switcher-language-url ul li a {
|
||||||
|
color: white;
|
||||||
|
font-family: "gilroy-light";
|
||||||
|
}
|
||||||
|
header .language-switcher-language-url ul li:nth-child(1)::after {
|
||||||
|
content: " / ";
|
||||||
|
white-space: pre;
|
||||||
|
}
|
||||||
|
header .language-switcher-language-url ul .is-active {
|
||||||
|
font-family: "gilroy-bold";
|
||||||
|
}
|
||||||
@media (max-width: 810px) {
|
@media (max-width: 810px) {
|
||||||
header {
|
header {
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
@ -401,6 +433,11 @@ header .header_nav_container {
|
|||||||
transition: transform 0.3s ease-in-out;
|
transition: transform 0.3s ease-in-out;
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
}
|
}
|
||||||
|
@media (max-width: 1090px) {
|
||||||
|
header .header_nav_container {
|
||||||
|
height: fit-content;
|
||||||
|
}
|
||||||
|
}
|
||||||
@media (max-width: 500px) {
|
@media (max-width: 500px) {
|
||||||
header .header_nav_container {
|
header .header_nav_container {
|
||||||
flex: 0 0 40%;
|
flex: 0 0 40%;
|
||||||
@ -442,7 +479,7 @@ header .header_nav_container #block-quartiers-de-demain-entete ul li a {
|
|||||||
font-size: 0.6rem;
|
font-size: 0.6rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media (max-width: 500px) {
|
@media (max-width: 810px) {
|
||||||
header .header_nav_container #block-quartiers-de-demain-entete ul li a {
|
header .header_nav_container #block-quartiers-de-demain-entete ul li a {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@ -457,6 +494,10 @@ header .header_nav_container #block-quartiers-de-demain-entete ul li:not(:last-o
|
|||||||
padding-bottom: 0.3rem;
|
padding-bottom: 0.3rem;
|
||||||
width: 60%; /* Réduit la largeur du soulignement à 50% */
|
width: 60%; /* Réduit la largeur du soulignement à 50% */
|
||||||
}
|
}
|
||||||
|
header .header_nav_container #block-quartiers-de-demain-selecteurdelangue {
|
||||||
|
width: fit-content;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
header .header_nav_container.hidden {
|
header .header_nav_container.hidden {
|
||||||
transform: translateX(30%);
|
transform: translateX(30%);
|
||||||
}
|
}
|
||||||
@ -521,6 +562,7 @@ header .header:hover + .header_nav_container {
|
|||||||
flex: 1 0 100%;
|
flex: 1 0 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
left: -100%;
|
left: -100%;
|
||||||
|
top: -45px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -563,6 +605,7 @@ header .header:hover + .header_nav_container {
|
|||||||
flex: 1 0 100%;
|
flex: 1 0 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
left: -100%;
|
left: -100%;
|
||||||
|
top: -45px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1464,6 +1507,9 @@ footer {
|
|||||||
font-family: "gilroy-semibold";
|
font-family: "gilroy-semibold";
|
||||||
padding-left: 0.5rem;
|
padding-left: 0.5rem;
|
||||||
}
|
}
|
||||||
|
#actus-caroussel button {
|
||||||
|
top: -2.5rem;
|
||||||
|
}
|
||||||
#actus-caroussel .content-actus .view {
|
#actus-caroussel .content-actus .view {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
@ -2540,7 +2586,7 @@ body {
|
|||||||
}
|
}
|
||||||
@media (max-width: 810px) {
|
@media (max-width: 810px) {
|
||||||
#consultation .layout-content .content_container #block-quartiers-de-demain-titredepage {
|
#consultation .layout-content .content_container #block-quartiers-de-demain-titredepage {
|
||||||
margin-top: 10rem;
|
margin-top: 14rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#consultation .layout-content .content_container #block-quartiers-de-demain-titredepage h1 {
|
#consultation .layout-content .content_container #block-quartiers-de-demain-titredepage h1 {
|
||||||
@ -2672,6 +2718,12 @@ body {
|
|||||||
grid-column: 2;
|
grid-column: 2;
|
||||||
grid-row: 2;
|
grid-row: 2;
|
||||||
}
|
}
|
||||||
|
#consultation .layout-content .content_container .node-type-static #paragraph-id--11 .colone-picto p:nth-of-type(3) {
|
||||||
|
grid-column: 1/span 2;
|
||||||
|
grid-row: 3;
|
||||||
|
font-size: 0.6rem;
|
||||||
|
padding-top: 1rem;
|
||||||
|
}
|
||||||
#consultation .layout-content .content_container .node-type-static #paragraph-id--11 .colone-picto h5 {
|
#consultation .layout-content .content_container .node-type-static #paragraph-id--11 .colone-picto h5 {
|
||||||
font-size: 3.5rem;
|
font-size: 3.5rem;
|
||||||
font-family: "gilroy-semibold";
|
font-family: "gilroy-semibold";
|
||||||
@ -2719,13 +2771,6 @@ body {
|
|||||||
#consultation .layout-content .content_container .node-type-static #paragraph-id--12 .field_field_texte {
|
#consultation .layout-content .content_container .node-type-static #paragraph-id--12 .field_field_texte {
|
||||||
width: 80%;
|
width: 80%;
|
||||||
}
|
}
|
||||||
#consultation .layout-content .content_container .node-type-static #paragraph-id--12::after {
|
|
||||||
content: "";
|
|
||||||
display: block;
|
|
||||||
border-bottom: solid 1px rgb(7, 50, 194);
|
|
||||||
width: 100%;
|
|
||||||
padding-bottom: 2rem;
|
|
||||||
}
|
|
||||||
#consultation .layout-content .content_container .node-type-static #paragraph-id--13 .field_field_texte .colone-picto {
|
#consultation .layout-content .content_container .node-type-static #paragraph-id--13 .field_field_texte .colone-picto {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
@ -2762,7 +2807,7 @@ body {
|
|||||||
}
|
}
|
||||||
@media (max-width: 810px) {
|
@media (max-width: 810px) {
|
||||||
.partenaires .layout-content .content_container #block-quartiers-de-demain-titredepage {
|
.partenaires .layout-content .content_container #block-quartiers-de-demain-titredepage {
|
||||||
margin-top: 10rem;
|
margin-top: 14rem;
|
||||||
grid-column: 2/span 9;
|
grid-column: 2/span 9;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -2968,6 +3013,12 @@ body {
|
|||||||
grid-column: 2/span 9;
|
grid-column: 2/span 9;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@media (max-width: 510px) {
|
||||||
|
.node-type-static .layout-content .content_container #block-quartiers-de-demain-titredepage {
|
||||||
|
margin-top: 13rem;
|
||||||
|
grid-column: 2/span 9;
|
||||||
|
}
|
||||||
|
}
|
||||||
.node-type-static .layout-content .content_container #block-quartiers-de-demain-titredepage h1 {
|
.node-type-static .layout-content .content_container #block-quartiers-de-demain-titredepage h1 {
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
color: black;
|
color: black;
|
||||||
@ -3026,7 +3077,7 @@ body {
|
|||||||
}
|
}
|
||||||
@media (max-width: 810px) {
|
@media (max-width: 810px) {
|
||||||
#page-node .content_container {
|
#page-node .content_container {
|
||||||
margin-top: 10rem;
|
margin-top: 14rem;
|
||||||
width: 80%;
|
width: 80%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -3311,17 +3362,18 @@ body {
|
|||||||
padding-bottom: 0.5rem;
|
padding-bottom: 0.5rem;
|
||||||
font-family: "gilroy-light";
|
font-family: "gilroy-light";
|
||||||
}
|
}
|
||||||
.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second .infos h2 {
|
.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second .infos div div:nth-of-type(2) {
|
||||||
|
font-size: 0.7rem;
|
||||||
|
border-bottom: solid 0.1px rgb(247, 0, 43);
|
||||||
|
padding-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second .infos .field--label-above {
|
||||||
color: rgb(247, 0, 43);
|
color: rgb(247, 0, 43);
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-family: "gilroy-regular" !important;
|
font-family: "gilroy-regular" !important;
|
||||||
font-size: 0.5rem !important;
|
font-size: 0.5rem !important;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
margin-top: 0.5rem;
|
||||||
.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second .infos div:first-of-type {
|
|
||||||
font-size: 0.7rem;
|
|
||||||
border-bottom: solid 0.1px rgb(247, 0, 43);
|
|
||||||
padding-bottom: 0.5rem;
|
|
||||||
}
|
}
|
||||||
.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second .infos div {
|
.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second .infos div {
|
||||||
flex: 1 1 auto;
|
flex: 1 1 auto;
|
||||||
@ -3331,9 +3383,6 @@ body {
|
|||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
}
|
}
|
||||||
.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second .field_field_parties div {
|
|
||||||
width: fit-content;
|
|
||||||
}
|
|
||||||
.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second div:has(.field_field_parties) {
|
.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second div:has(.field_field_parties) {
|
||||||
margin-top: 2rem;
|
margin-top: 2rem;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -3363,6 +3412,12 @@ body {
|
|||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second .paragraph--type--site-video .field_field_titre_site {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second .paragraph--type--site-video .field_field_video {
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
}
|
||||||
.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second .paragraph--type--site-diapo .field_field_images .diaporama {
|
.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second .paragraph--type--site-diapo .field_field_images .diaporama {
|
||||||
display: flex !important;
|
display: flex !important;
|
||||||
flex-direction: row !important;
|
flex-direction: row !important;
|
||||||
@ -3516,6 +3571,10 @@ body {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.html.js.sr body.node-type-site.node-id-40 div.dialog-off-canvas-main-canvas div#page-node.layout-container main div.layout-content div.content_container div.layout.layout--threecol-25-50-25 div.layout__region.layout__region--third div.block-region-third div div.field_field_documents div div span {
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
main {
|
main {
|
||||||
background-color: #f6f7f3;
|
background-color: #f6f7f3;
|
||||||
}
|
}
|
||||||
@ -3534,7 +3593,7 @@ main {
|
|||||||
}
|
}
|
||||||
@media (max-width: 810px) {
|
@media (max-width: 810px) {
|
||||||
#lessites .content_container #block-quartiers-de-demain-titredepage {
|
#lessites .content_container #block-quartiers-de-demain-titredepage {
|
||||||
margin-top: 10rem;
|
margin-top: 14rem;
|
||||||
grid-column: 2/span 9;
|
grid-column: 2/span 9;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
padding-left: 0%;
|
padding-left: 0%;
|
||||||
|
@ -661,6 +661,30 @@ document.addEventListener("DOMContentLoaded", function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
document.addEventListener("DOMContentLoaded", function () {
|
||||||
|
// Fonction pour déplacer le bloc en fonction de la taille de l'écran
|
||||||
|
function moveLanguageSwitcher() {
|
||||||
|
const languageSwitcher = document.getElementById("block-quartiers-de-demain-selecteurdelangue");
|
||||||
|
const navContainer = document.querySelector(".header_nav_container");
|
||||||
|
|
||||||
|
if (window.innerWidth <= 810) { // Si écran téléphone
|
||||||
|
if (languageSwitcher && navContainer && !navContainer.contains(languageSwitcher)) {
|
||||||
|
navContainer.appendChild(languageSwitcher); // Déplace le bloc dans header_nav_container
|
||||||
|
}
|
||||||
|
} else { // Si écran non téléphone
|
||||||
|
const headerRightContainer = document.querySelector(".header_right_container");
|
||||||
|
if (languageSwitcher && headerRightContainer && !headerRightContainer.contains(languageSwitcher)) {
|
||||||
|
headerRightContainer.appendChild(languageSwitcher); // Remet le bloc dans sa position initiale
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Déclencher au chargement et au redimensionnement
|
||||||
|
moveLanguageSwitcher();
|
||||||
|
window.addEventListener("resize", moveLanguageSwitcher);
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
})(jQuery, window);
|
})(jQuery, window);
|
||||||
|
|
||||||
|
|
||||||
|
@ -45,10 +45,15 @@ $width-menu-slidedown : 550px;
|
|||||||
|
|
||||||
|
|
||||||
@media(max-width: 810px){
|
@media(max-width: 810px){
|
||||||
padding-top: 320px;
|
padding-top: 380px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.node-type-static .layout-content .content_container #block-quartiers-de-demain-titredepage{
|
||||||
|
@media(max-width: 810px){
|
||||||
|
margin-top: 14rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.layout--threecol-25-50-25{
|
.layout--threecol-25-50-25{
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
margin: auto;
|
margin: auto;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@media(max-width: 810px){
|
@media(max-width: 810px){
|
||||||
margin-top: 10rem;
|
margin-top: 14rem;
|
||||||
width: 80%;
|
width: 80%;
|
||||||
}
|
}
|
||||||
#block-quartiers-de-demain-prevnextblock{
|
#block-quartiers-de-demain-prevnextblock{
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
@media(max-width: 810px){
|
@media(max-width: 810px){
|
||||||
margin-top: 10rem;
|
margin-top: 14rem;
|
||||||
}
|
}
|
||||||
h1{
|
h1{
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
@ -136,6 +136,14 @@
|
|||||||
grid-column: 2;
|
grid-column: 2;
|
||||||
grid-row: 2;
|
grid-row: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:nth-of-type(3){
|
||||||
|
grid-column: 1 /span 2;
|
||||||
|
grid-row: 3;
|
||||||
|
font-size: 0.6rem;
|
||||||
|
padding-top: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
h5{
|
h5{
|
||||||
|
|
||||||
@ -184,13 +192,13 @@
|
|||||||
width: 80%;
|
width: 80%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#paragraph-id--12::after{
|
// #paragraph-id--12::after{
|
||||||
content:"";
|
// content:"";
|
||||||
display: block;
|
// display: block;
|
||||||
border-bottom: solid 1px $blue_QDD;
|
// border-bottom: solid 1px $blue_QDD;
|
||||||
width: 100% ;
|
// width: 100% ;
|
||||||
padding-bottom: 2rem;
|
// padding-bottom: 2rem;
|
||||||
}
|
// }
|
||||||
#paragraph-id--13{
|
#paragraph-id--13{
|
||||||
.field_field_texte{
|
.field_field_texte{
|
||||||
.colone-picto{
|
.colone-picto{
|
||||||
|
@ -15,7 +15,7 @@ main{
|
|||||||
padding-left: 20%;
|
padding-left: 20%;
|
||||||
|
|
||||||
@media(max-width: 810px){
|
@media(max-width: 810px){
|
||||||
margin-top: 10rem;
|
margin-top: 14rem;
|
||||||
grid-column: 2 /span 9;
|
grid-column: 2 /span 9;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
padding-left: 0%;
|
padding-left: 0%;
|
||||||
|
@ -201,33 +201,29 @@
|
|||||||
.infos{
|
.infos{
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
font-size: 0.5rem;
|
font-size: 0.5rem;
|
||||||
// border-bottom: solid 1px $red_QDD;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
// display: grid;
|
|
||||||
// grid-template-columns: 1fr 1fr;
|
|
||||||
// grid-template-rows: 1fr 1fr 1fr;
|
|
||||||
padding-bottom: 0.5rem;
|
padding-bottom: 0.5rem;
|
||||||
font-family: 'gilroy-light';
|
font-family: 'gilroy-light';
|
||||||
|
div{
|
||||||
h2{
|
div:nth-of-type(2){
|
||||||
|
font-size: 0.7rem;
|
||||||
|
border-bottom: solid 0.1px $red_QDD;
|
||||||
|
padding-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.field--label-above{
|
||||||
color: $red_QDD ;
|
color: $red_QDD ;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-family: 'gilroy-regular' !important;
|
font-family: 'gilroy-regular' !important;
|
||||||
font-size: 0.5rem !important;
|
font-size: 0.5rem !important;
|
||||||
margin-bottom: 0 ;
|
margin-bottom: 0 ;
|
||||||
|
margin-top: 0.5rem;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
div:first-of-type{
|
|
||||||
|
|
||||||
font-size: 0.7rem;
|
|
||||||
border-bottom: solid 0.1px $red_QDD;
|
|
||||||
padding-bottom: 0.5rem;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
div{
|
div{
|
||||||
flex: 1 1 auto;
|
flex: 1 1 auto;
|
||||||
min-width: 50%;
|
min-width: 50%;
|
||||||
@ -248,7 +244,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
.field_field_parties{
|
.field_field_parties{
|
||||||
div{width: fit-content;}
|
// div{width: fit-content;}
|
||||||
// width: 70%;
|
// width: 70%;
|
||||||
}
|
}
|
||||||
div:has(.field_field_parties){
|
div:has(.field_field_parties){
|
||||||
@ -283,6 +279,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
.paragraph--type--site-video{
|
||||||
|
.field_field_titre_site{
|
||||||
|
// margin-bottom: 1rem;
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.field_field_video{
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
.paragraph--type--site-diapo{
|
.paragraph--type--site-diapo{
|
||||||
.field_field_images {
|
.field_field_images {
|
||||||
.diaporama{
|
.diaporama{
|
||||||
@ -442,6 +447,8 @@
|
|||||||
padding-bottom: 0.2rem;
|
padding-bottom: 0.2rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -452,4 +459,7 @@
|
|||||||
.field_field_liens_site > div:nth-child(2) > div:nth-child(1){
|
.field_field_liens_site > div:nth-child(2) > div:nth-child(1){
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
.html.js.sr body.node-type-site.node-id-40 div.dialog-off-canvas-main-canvas div#page-node.layout-container main div.layout-content div.content_container div.layout.layout--threecol-25-50-25 div.layout__region.layout__region--third div.block-region-third div div.field_field_documents div div span{
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
@media(max-width: 810px){
|
@media(max-width: 810px){
|
||||||
margin-top: 10rem;
|
margin-top: 14rem;
|
||||||
grid-column: 2 /span 9;
|
grid-column: 2 /span 9;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,6 +15,10 @@
|
|||||||
margin-top: 10rem;
|
margin-top: 10rem;
|
||||||
grid-column: 2 /span 9;
|
grid-column: 2 /span 9;
|
||||||
}
|
}
|
||||||
|
@media(max-width: 510px){
|
||||||
|
margin-top: 13rem;
|
||||||
|
grid-column: 2 /span 9;
|
||||||
|
}
|
||||||
|
|
||||||
h1{
|
h1{
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding-bottom: 6rem;
|
padding-bottom: 6rem;
|
||||||
|
|
||||||
h2{
|
h2{
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
padding-bottom: 0.5rem;
|
padding-bottom: 0.5rem;
|
||||||
@ -13,6 +14,9 @@
|
|||||||
padding-left: 0.5rem;
|
padding-left: 0.5rem;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
button{
|
||||||
|
top: -2.5rem;
|
||||||
|
}
|
||||||
.content-actus{
|
.content-actus{
|
||||||
.view{
|
.view{
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -11,6 +11,46 @@ header{
|
|||||||
|
|
||||||
// transition: height 2s ease-in-out, width 2s ease-in-out; /* Transition pour le changement de taille */
|
// transition: height 2s ease-in-out, width 2s ease-in-out; /* Transition pour le changement de taille */
|
||||||
// transition: height 0.3s, padding 0.3s; /* Add transition for smooth resizing */
|
// transition: height 0.3s, padding 0.3s; /* Add transition for smooth resizing */
|
||||||
|
|
||||||
|
.language-switcher-language-url{
|
||||||
|
text-transform: uppercase;
|
||||||
|
color: white;
|
||||||
|
|
||||||
|
ul{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
font-size:0.6rem;
|
||||||
|
padding: 0;
|
||||||
|
width: fit-content;
|
||||||
|
|
||||||
|
@media(max-width: 810px){
|
||||||
|
font-size: 00.9rem;
|
||||||
|
}
|
||||||
|
// @media(max-width: 500px){
|
||||||
|
// flex-direction: column;
|
||||||
|
// // margin-bottom: 0;
|
||||||
|
// margin: auto;
|
||||||
|
// }
|
||||||
|
li a {
|
||||||
|
color: white;
|
||||||
|
font-family: 'gilroy-light';
|
||||||
|
|
||||||
|
}
|
||||||
|
li:nth-child(1){
|
||||||
|
&::after{
|
||||||
|
content: " / ";
|
||||||
|
white-space: pre;
|
||||||
|
@media(max-width: 660px){
|
||||||
|
// content:none ;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.is-active{
|
||||||
|
font-family: 'gilroy-bold';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media(max-width: 810px){
|
@media(max-width: 810px){
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
}
|
}
|
||||||
@ -146,6 +186,7 @@ header{
|
|||||||
z-index: -1 ;
|
z-index: -1 ;
|
||||||
@media(max-width: 1090px){
|
@media(max-width: 1090px){
|
||||||
// text-align:left;
|
// text-align:left;
|
||||||
|
height: fit-content;
|
||||||
}
|
}
|
||||||
@media(max-width: 500px){
|
@media(max-width: 500px){
|
||||||
flex: 0 0 40%;
|
flex: 0 0 40%;
|
||||||
@ -180,7 +221,7 @@ header{
|
|||||||
@media(max-width:1090px){
|
@media(max-width:1090px){
|
||||||
font-size: 0.6rem;
|
font-size: 0.6rem;
|
||||||
}
|
}
|
||||||
@media(max-width: 500px){
|
@media(max-width: 810px){
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -205,6 +246,11 @@ header{
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#block-quartiers-de-demain-selecteurdelangue{
|
||||||
|
width: fit-content;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.header_nav_container.hidden {
|
.header_nav_container.hidden {
|
||||||
@ -259,6 +305,8 @@ header{
|
|||||||
flex: 1 0 100%;
|
flex: 1 0 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
left: -100%;
|
left: -100%;
|
||||||
|
top: -45px;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -293,6 +341,7 @@ header{
|
|||||||
flex: 1 0 100%;
|
flex: 1 0 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
left: -100%;
|
left: -100%;
|
||||||
|
top: -45px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user