37 Commits

Author SHA1 Message Date
eb0b690542 live-youtub home block 2025-03-01 23:38:17 +01:00
3a68d5a2c8 home map label 2025-03-01 23:11:49 +01:00
601a784163 poids fichier 2025-02-03 12:21:20 +01:00
5cbaa3e7e3 video site 2025-02-03 12:00:39 +01:00
7f0227bb06 taile fichier display none 2025-01-16 10:18:22 +01:00
b3acc28592 Merge branch 'master' of gitea-figureslibres.io:bachir/drupal-quartiersdedemain 2025-01-13 12:02:59 +01:00
d91e0aa86e taille docs 2025-01-13 12:02:29 +01:00
5a48eee4ef custom map language aware links url; patched core for image field link language aware 2024-12-02 11:03:07 +01:00
bfb94ef05b responsive header nav et taille carte, fix css 2024-11-21 10:42:14 +01:00
e50c8d95a2 patched image_field_caption THE PATCH previous commit wont work withour it git add patches/image_field_caption_3472997_12.patch -f! 2024-11-20 12:37:02 +01:00
b864319025 patched image_field_caption caption translation 2024-11-20 12:32:00 +01:00
e5a0323a8a patched image_field_caption WARNING pmu image_field_caption before applying this commit 2024-11-20 12:28:02 +01:00
471d16089b css infos sites et flèches actus caroussel 2024-11-20 11:48:08 +01:00
69d780a12f site info translation fix 2024-11-19 15:50:40 +01:00
1e10015d88 home actus language duplicate fix 2024-11-18 12:50:44 +01:00
f0d07f6de6 langswitcher mobile 2024-11-14 13:40:02 +01:00
fb294a22d6 Merge branch 'master' of gitea-figureslibres.io:bachir/drupal-quartiersdedemain 2024-11-14 12:44:08 +01:00
5e2cdd8d3e langswitcher mobile 2024-11-14 12:44:00 +01:00
c82fea24b7 actus translation 2024-11-14 12:23:50 +01:00
4d21ad7a92 actus view title translation 2024-11-14 12:21:48 +01:00
c688ee2b9e site info translation 2024-11-14 12:18:34 +01:00
788f00a603 map translation 2024-11-14 12:14:14 +01:00
d740d58c0b css colonne consultation 2024-11-14 11:17:04 +01:00
3f6c33992e retir border paragaph consultation 2024-11-14 11:11:34 +01:00
bc15f0549d css boutons popup map 2024-11-14 11:08:40 +01:00
89fede90e7 field_liens_site translation 2024-11-14 09:55:32 +01:00
660ba7597c lessites doublons fixe 2024-11-14 09:52:22 +01:00
39f21b2fcf css presentation 2024-11-13 23:43:29 +01:00
2da887ce20 timeline padding 2024-11-13 23:09:33 +01:00
a53801c7e4 timeline padding 2024-11-13 23:08:43 +01:00
4b159bf3fe instagram 2024-11-13 23:03:55 +01:00
57d908d243 css timetable 2024-11-13 22:52:13 +01:00
fb8d6f645e css timetable 2024-11-13 22:22:11 +01:00
d41fb95061 site translation 2024-11-13 21:31:32 +01:00
0677d8acda calendrier -> timetable 2024-11-13 21:08:03 +01:00
e893fc1360 instagram 2024-11-13 20:57:58 +01:00
fdd41d5747 menu translatable 2024-11-13 20:53:52 +01:00
82 changed files with 2411 additions and 171 deletions

View File

@@ -24,7 +24,7 @@
"drupal/editor_advanced_link": "^2.2",
"drupal/geofield": "^1.60",
"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_more_maps": "^2.2",
"drupal/linked_field": "^1.5",
@@ -126,9 +126,20 @@
"merge-extra": true
},
"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":{
"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"
},
"drupal/video_embed_field":{
"Support Youtube Live urls https://www.drupal.org/project/video_embed_field/issues/3417567":"https://www.drupal.org/files/issues/2024-01-27/video_embed_field--support-live--3417567--2.patch"
}
},
"oldpatches": {
}
}
}

24
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "3f682451141745b61e2f384d1c28ce84",
"content-hash": "21ca923d67e614146f8e96c3190d1cde",
"packages": [
{
"name": "asm89/stack-cors",
@@ -4550,29 +4550,26 @@
},
{
"name": "drupal/image_field_caption",
"version": "2.0.1",
"version": "dev-2.0.x",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/image_field_caption.git",
"reference": "2.0.1"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/image_field_caption-2.0.1.zip",
"reference": "2.0.1",
"shasum": "053e1ccfc638b3b2cd5c59c3c6a053e4e5041183"
"reference": "b0c155d5aac125666f01c0aa102a8a1f88b1f955"
},
"require": {
"drupal/core": "^9 || ^10"
},
"type": "drupal-module",
"extra": {
"branch-alias": {
"dev-2.0.x": "2.0.x-dev"
},
"drupal": {
"version": "2.0.1",
"datestamp": "1705443097",
"version": "2.0.x-dev",
"datestamp": "1711647363",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
"status": "not-covered",
"message": "Dev releases are not covered by Drupal security advisories."
}
}
},
@@ -12961,6 +12958,7 @@
"drupal/entity_clone": 20,
"drupal/field_group": 20,
"drupal/filter_perms": 20,
"drupal/image_field_caption": 20,
"drupal/inline_entity_form": 5,
"drupal/linkit": 10,
"drupal/login_destination": 20,

View File

@@ -23,15 +23,15 @@ settings:
value: showcase/quartiers-demain/
description: 'Retrouvez-nous sur les réseaux sociaux'
weight: '-43'
instagram:
value: quartiersdedemain.archi/
description: ''
weight: '-42'
twitter:
value: ''
description: ''
weight: '-42'
youtube:
value: ''
description: ''
weight: '-41'
instagram:
youtube:
value: ''
description: ''
weight: '-40'

View File

@@ -0,0 +1,8 @@
uuid: dc650ace-a4b8-479c-bb14-fa42e7534214
langcode: fr
status: true
dependencies: { }
id: live_youtube
label: live-youtube
revision: 0
description: ''

View File

@@ -11,7 +11,7 @@ bundle: menu_link_content
label: Description
description: "S'affiche au survol du lien du menu."
required: false
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }

View File

@@ -12,7 +12,7 @@ bundle: menu_link_content
label: 'Metatags (Hidden field for JSON support)'
description: 'The computed meta tags for the entity.'
required: false
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }

View File

@@ -11,7 +11,7 @@ bundle: menu_link_content
label: 'Titre du lien dans le menu'
description: 'Le texte à utiliser pour ce lien dans le menu.'
required: true
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }

View File

@@ -11,7 +11,7 @@ bundle: actualite
label: 'Menu link'
description: 'Computed menu link for the node (only available during node saving).'
required: false
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings:

View File

@@ -13,7 +13,7 @@ bundle: actualite
label: 'Metatags (Hidden field for JSON support)'
description: 'The computed meta tags for the entity.'
required: false
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }

View File

@@ -11,7 +11,7 @@ bundle: actualite
label: Title
description: ''
required: true
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }

View File

@@ -11,7 +11,7 @@ bundle: site
label: 'Menu link'
description: 'Computed menu link for the node (only available during node saving).'
required: false
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings:

View File

@@ -13,7 +13,7 @@ bundle: site
label: 'Metatags (Hidden field for JSON support)'
description: 'The computed meta tags for the entity.'
required: false
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }

View File

@@ -11,7 +11,7 @@ bundle: site
label: Title
description: ''
required: true
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }

View File

@@ -0,0 +1,49 @@
uuid: 9d4c0c8b-d55b-4f5d-a1b8-f1df7af95607
langcode: fr
status: true
dependencies:
config:
- block_content.type.live_youtube
- field.field.block_content.live_youtube.field_descritpion
- field.field.block_content.live_youtube.field_titre
- field.field.block_content.live_youtube.field_youtube
module:
- text
- video_embed_field
id: block_content.live_youtube.default
targetEntityType: block_content
bundle: live_youtube
mode: default
content:
field_descritpion:
type: text_textarea
weight: 2
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_titre:
type: string_textfield
weight: 1
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_youtube:
type: video_embed_field_textfield
weight: 3
region: content
settings: { }
third_party_settings: { }
info:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden:
langcode: true

View File

@@ -6,6 +6,7 @@ dependencies:
- config_pages.type.deroulement
- field.field.config_pages.deroulement.field_calendrier
- field.field.config_pages.deroulement.field_phase
- field.field.config_pages.deroulement.field_title
module:
- file
- paragraphs
@@ -16,14 +17,14 @@ mode: default
content:
field_calendrier:
type: file_generic
weight: 0
weight: 1
region: content
settings:
progress_indicator: throbber
third_party_settings: { }
field_phase:
type: paragraphs
weight: 1
weight: 2
region: content
settings:
title: Paragraphe
@@ -39,5 +40,13 @@ content:
collapse_edit_all: collapse_edit_all
duplicate: duplicate
third_party_settings: { }
field_title:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden:
label: true

View File

@@ -0,0 +1,48 @@
uuid: a96096d1-f93c-48f3-9b6c-f9940f4ee2fc
langcode: fr
status: true
dependencies:
config:
- block_content.type.live_youtube
- field.field.block_content.live_youtube.field_descritpion
- field.field.block_content.live_youtube.field_titre
- field.field.block_content.live_youtube.field_youtube
module:
- manage_display
- text
- video_embed_field
id: block_content.live_youtube.default
targetEntityType: block_content
bundle: live_youtube
mode: default
content:
field_descritpion:
type: text_default
label: visually_hidden
settings: { }
third_party_settings: { }
weight: 1
region: content
field_titre:
type: title
label: visually_hidden
settings:
link_to_entity: false
tag: h2
third_party_settings: { }
weight: 0
region: content
field_youtube:
type: video_embed_field_video
label: visually_hidden
settings:
autoplay: true
responsive: true
width: 854
height: 480
third_party_settings: { }
weight: 2
region: content
hidden:
langcode: true
search_api_excerpt: true

View File

@@ -6,6 +6,7 @@ dependencies:
- config_pages.type.deroulement
- field.field.config_pages.deroulement.field_calendrier
- field.field.config_pages.deroulement.field_phase
- field.field.config_pages.deroulement.field_title
module:
- entity_reference_revisions
- file
@@ -20,7 +21,7 @@ content:
settings:
use_description_as_link_text: true
third_party_settings: { }
weight: 1
weight: 2
region: content
field_phase:
type: entity_reference_revisions_entity_view
@@ -29,6 +30,14 @@ content:
view_mode: default
link: ''
third_party_settings: { }
weight: 1
region: content
field_title:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
hidden:

View File

@@ -4,7 +4,7 @@ status: true
dependencies:
config:
- field.field.paragraph.site_diapo.field_images
- image.style.wide
- image.style.very_large
- paragraphs.paragraphs_type.site_diapo
module:
- image_field_caption
@@ -17,12 +17,12 @@ content:
type: image_caption
label: visually_hidden
settings:
image_style: wide
image_style: very_large
image_link: ''
image_loading:
attribute: lazy
third_party_settings: { }
weight: 0
weight: 2
region: content
hidden:
search_api_excerpt: true

View File

@@ -0,0 +1,24 @@
uuid: e3139bc9-11e2-49a5-a296-5d6f08499a78
langcode: fr
status: true
dependencies:
config:
- block_content.type.live_youtube
- field.storage.block_content.field_descritpion
- filter.format.wysiwyg
module:
- text
id: block_content.live_youtube.field_descritpion
field_name: field_descritpion
entity_type: block_content
bundle: live_youtube
label: Description
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
allowed_formats:
- wysiwyg
field_type: text_long

View File

@@ -0,0 +1,19 @@
uuid: f32e837b-2b65-438e-9b1a-681267ed114d
langcode: fr
status: true
dependencies:
config:
- block_content.type.live_youtube
- field.storage.block_content.field_titre
id: block_content.live_youtube.field_titre
field_name: field_titre
entity_type: block_content
bundle: live_youtube
label: Titre
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string

View File

@@ -0,0 +1,25 @@
uuid: 0557bdb1-03b5-4b9f-8941-63d7880a2e88
langcode: fr
status: true
dependencies:
config:
- block_content.type.live_youtube
- field.storage.block_content.field_youtube
module:
- video_embed_field
id: block_content.live_youtube.field_youtube
field_name: field_youtube
entity_type: block_content
bundle: live_youtube
label: youtube
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
allowed_providers:
youtube: youtube
youtube_playlist: '0'
vimeo: '0'
field_type: video_embed_field

View File

@@ -0,0 +1,19 @@
uuid: cfc84eb1-5066-40f5-8e83-e8cfc718cf1d
langcode: en
status: true
dependencies:
config:
- config_pages.type.deroulement
- field.storage.config_pages.field_title
id: config_pages.deroulement.field_title
field_name: field_title
entity_type: config_pages
bundle: deroulement
label: Title
description: ''
required: true
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string

View File

@@ -14,7 +14,7 @@ bundle: actualite
label: Body
description: ''
required: false
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings:

View File

@@ -14,7 +14,7 @@ bundle: actualite
label: Fichiers
description: ''
required: false
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings:

View File

@@ -6,7 +6,15 @@ dependencies:
- field.storage.node.field_images
- node.type.actualite
module:
- content_translation
- image
third_party_settings:
content_translation:
translation_sync:
alt: alt
title: title
caption: caption
file: '0'
id: node.actualite.field_images
field_name: field_images
entity_type: node
@@ -14,7 +22,7 @@ bundle: actualite
label: Images
description: ''
required: false
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
@@ -36,6 +44,6 @@ settings:
width: null
height: null
caption: ''
caption_field: 1
caption_field_required: 0
caption_field: true
caption_field_required: false
field_type: image

View File

@@ -14,7 +14,7 @@ bundle: actualite
label: Liens
description: ''
required: false
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings:

View File

@@ -12,7 +12,7 @@ bundle: site
label: Département(s)
description: ''
required: false
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }

View File

@@ -14,7 +14,7 @@ bundle: site
label: Documents
description: ''
required: false
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings:

View File

@@ -14,7 +14,7 @@ bundle: site
label: Liens
description: ''
required: false
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings:

View File

@@ -12,7 +12,7 @@ bundle: site
label: "Nom de la commune (nb d'hab.)"
description: ''
required: false
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }

View File

@@ -12,7 +12,7 @@ bundle: site
label: "Nom du QPV (nb d'hab.)"
description: ''
required: false
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }

View File

@@ -12,7 +12,7 @@ bundle: site
label: "Maîtrise d'ouvrage"
description: ''
required: false
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }

View File

@@ -12,7 +12,7 @@ bundle: site
label: "Programmes de l'état"
description: ''
required: false
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }

View File

@@ -12,7 +12,7 @@ bundle: site
label: Région
description: ''
required: false
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }

View File

@@ -12,7 +12,7 @@ bundle: site
label: Sous-titre
description: ''
required: false
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }

View File

@@ -13,6 +13,7 @@ third_party_settings:
translation_sync:
alt: alt
title: title
caption: caption
file: '0'
id: paragraph.site_diapo.field_images
field_name: field_images
@@ -43,6 +44,6 @@ settings:
width: null
height: null
caption: ''
caption_field: 1
caption_field_required: 0
caption_field: true
caption_field_required: false
field_type: image

View File

@@ -0,0 +1,19 @@
uuid: 833e03f3-0e59-4537-b1eb-3d5b3eba9e0f
langcode: fr
status: true
dependencies:
module:
- block_content
- text
id: block_content.field_descritpion
field_name: field_descritpion
entity_type: block_content
type: text_long
settings: { }
module: text
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@@ -0,0 +1,21 @@
uuid: c8b30bc0-f7cb-49a0-8bb1-2a83fef02fb2
langcode: fr
status: true
dependencies:
module:
- block_content
id: block_content.field_titre
field_name: field_titre
entity_type: block_content
type: string
settings:
max_length: 255
case_sensitive: false
is_ascii: false
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@@ -0,0 +1,19 @@
uuid: cc74fdc1-0972-4669-a610-c3ec2df20732
langcode: fr
status: true
dependencies:
module:
- block_content
- video_embed_field
id: block_content.field_youtube
field_name: field_youtube
entity_type: block_content
type: video_embed_field
settings: { }
module: video_embed_field
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@@ -0,0 +1,21 @@
uuid: 89c0fabb-8b58-4aee-a3d5-cc9ca050d074
langcode: en
status: true
dependencies:
module:
- config_pages
id: config_pages.field_title
field_name: field_title
entity_type: config_pages
type: string
settings:
max_length: 255
case_sensitive: false
is_ascii: false
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@@ -21,6 +21,7 @@ settings:
title: ''
width: null
height: null
caption: ''
module: image
locked: false
cardinality: -1

View File

@@ -21,6 +21,7 @@ settings:
title: ''
width: null
height: null
caption: ''
module: image
locked: false
cardinality: -1

View File

@@ -7,11 +7,11 @@ dependencies:
- menu_link_content
third_party_settings:
content_translation:
enabled: false
enabled: true
bundle_settings:
untranslatable_fields_hide: '0'
untranslatable_fields_hide: '1'
id: menu_link_content.menu_link_content
target_entity_type_id: menu_link_content
target_bundle: menu_link_content
default_langcode: site_default
language_alterable: false
language_alterable: true

View File

@@ -8,11 +8,11 @@ dependencies:
- content_translation
third_party_settings:
content_translation:
enabled: false
enabled: true
bundle_settings:
untranslatable_fields_hide: '0'
id: node.actualite
target_entity_type_id: node
target_bundle: actualite
default_langcode: site_default
language_alterable: false
language_alterable: true

View File

@@ -8,11 +8,11 @@ dependencies:
- content_translation
third_party_settings:
content_translation:
enabled: false
enabled: true
bundle_settings:
untranslatable_fields_hide: '0'
untranslatable_fields_hide: '1'
id: node.site
target_entity_type_id: node
target_bundle: site
default_langcode: site_default
language_alterable: false
language_alterable: true

View File

@@ -15,4 +15,4 @@ id: paragraph.site_parts
target_entity_type_id: paragraph
target_bundle: site_parts
default_langcode: current_interface
language_alterable: false
language_alterable: true

View File

@@ -10,7 +10,7 @@ third_party_settings:
content_translation:
enabled: true
bundle_settings:
untranslatable_fields_hide: '0'
untranslatable_fields_hide: '1'
id: paragraph.site_video
target_entity_type_id: paragraph
target_bundle: site_video

View File

@@ -0,0 +1 @@
description: Department(s)

View File

@@ -0,0 +1 @@
label: 'Name of the municipality (population)'

View File

@@ -0,0 +1 @@
label: 'Name of the priority urban neighborhood (population)'

View File

@@ -0,0 +1 @@
label: 'Contracting authority'

View File

@@ -0,0 +1 @@
description: 'State programmes'

View File

@@ -0,0 +1 @@
label: Region(s)

View File

@@ -0,0 +1,4 @@
display:
default:
display_options:
title: Actualities

View File

@@ -6,7 +6,10 @@ dependencies:
- page_manager.page.home
- views.view.actus
- views.view.presentation
content:
- 'block_content:live_youtube:1d330f27-3197-43ed-8f7f-a1b05826c25b'
module:
- block_content
- config_pages
- panels
- views
@@ -30,7 +33,7 @@ variant_settings:
items_per_page: none
exposed: { }
region: content
weight: 0
weight: 1
uuid: f1486b62-7ff8-475b-b6a1-e153b6b6fb89
css_classes:
- ''
@@ -54,13 +57,13 @@ variant_settings:
346ce88d-2925-4bf8-884d-dfbca1e8d5b6:
id: config_pages_block
label: Calendrier
label_display: visible
label_display: '0'
provider: config_pages
context_mapping: { }
config_page_type: deroulement
config_page_view_mode: full
region: content
weight: 1
weight: 2
uuid: 346ce88d-2925-4bf8-884d-dfbca1e8d5b6
css_classes:
- ''
@@ -76,12 +79,28 @@ variant_settings:
items_per_page: none
exposed: { }
region: content
weight: 2
weight: 0
uuid: d4d27033-dc91-45d7-adc0-8690fd0ab27a
css_classes:
- ''
html_id: ''
css_styles: ''
e68622dd-ffb9-463b-af33-0955e75f8019:
id: 'block_content:1d330f27-3197-43ed-8f7f-a1b05826c25b'
label: 'Live 03-03-2025'
label_display: visible
provider: block_content
status: true
info: ''
view_mode: full
context_mapping: { }
region: content
weight: -1
uuid: e68622dd-ffb9-463b-af33-0955e75f8019
css_classes:
- ''
html_id: ''
css_styles: ''
page_title: ''
layout: layout_onecol
layout_settings:

View File

@@ -69,11 +69,20 @@ variant_settings:
context_mapping:
entity: node
formatter:
type: file_default
type: formatter_suite_general_file_link
weight: 0
label: visually_hidden
settings:
use_description_as_link_text: true
titleStyle: text_from_link
titleCustomText: ''
showSize: 0
showIcon: 0
classes: ''
showLink: 1
openLinkIn: _blank
linkTopic: any
listStyle: span
listSeparator: ', '
third_party_settings: { }
region: third
weight: -5
@@ -157,14 +166,14 @@ variant_settings:
2f4a8a1a-2071-44f7-b725-bbe79798df48:
id: 'entity_field:node:field_porteur_s_de_site'
label: "Maîtrise d'ouvrage"
label_display: visible
label_display: '0'
provider: ctools_block
context_mapping:
entity: node
formatter:
type: basic_string
weight: 0
label: visually_hidden
label: above
settings: { }
third_party_settings: { }
region: second
@@ -177,14 +186,14 @@ variant_settings:
3e40ac9a-e27e-4faf-b129-451d5ae0e742:
id: 'entity_field:node:field_region'
label: Région
label_display: visible
label_display: '0'
provider: ctools_block
context_mapping:
entity: node
formatter:
type: string
weight: 0
label: visually_hidden
label: above
settings:
link_to_entity: false
third_party_settings: { }
@@ -198,14 +207,14 @@ variant_settings:
68368738-0e9b-43f5-a553-cd19390bfbbc:
id: 'entity_field:node:field_nom_du_qpv_nb_d_hab'
label: "Nom du QPV (nb d'hab.)"
label_display: visible
label_display: '0'
provider: ctools_block
context_mapping:
entity: node
formatter:
type: string
weight: 0
label: visually_hidden
label: above
settings:
link_to_entity: false
third_party_settings: { }
@@ -219,14 +228,14 @@ variant_settings:
63a45085-391f-403b-934e-bc47a2fc76ed:
id: 'entity_field:node:field_departement_s'
label: Département(s)
label_display: visible
label_display: '0'
provider: ctools_block
context_mapping:
entity: node
formatter:
type: string
weight: 0
label: visually_hidden
label: above
settings:
link_to_entity: false
third_party_settings: { }
@@ -240,14 +249,14 @@ variant_settings:
e048da61-ac83-4a80-9112-f06a22b5cc34:
id: 'entity_field:node:field_programme_de_l_etat'
label: "Programmes de l'état"
label_display: visible
label_display: '0'
provider: ctools_block
context_mapping:
entity: node
formatter:
type: string
weight: 0
label: visually_hidden
label: above
settings:
link_to_entity: false
third_party_settings: { }
@@ -261,14 +270,14 @@ variant_settings:
bdf10817-0225-4bba-9fea-0c779f18c9af:
id: 'entity_field:node:field_nom_de_la_commune_nb_d_hab'
label: "Nom de la commune (nb d'hab.)"
label_display: visible
label_display: '0'
provider: ctools_block
context_mapping:
entity: node
formatter:
type: string
weight: 0
label: visually_hidden
label: above
settings:
link_to_entity: false
third_party_settings: { }

View File

@@ -0,0 +1 @@
index_now: false

View File

@@ -133,6 +133,48 @@ display:
plugin_id: bundle
value:
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:
type: default
row:
@@ -144,7 +186,7 @@ display:
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
distinct: true
replica: false
query_tags: { }
relationships: { }

View File

@@ -346,7 +346,7 @@ display:
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
distinct: true
replica: false
query_tags: { }
relationships: { }
@@ -739,6 +739,7 @@ display:
plugin_id: views_block_area
block_id: sitesmap_block
empty: false
rendering_language: '***LANGUAGE_language_interface***'
display_extenders:
matomo:
enabled: false
@@ -757,7 +758,6 @@ display:
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- 'user.node_grants:view'
- user.permissions

File diff suppressed because it is too large Load Diff

View File

@@ -7,7 +7,7 @@
text-align: center;
position: relative;
width: 155%;
max-width: 800px;
max-width: 600px;
margin: 0 auto;
height: auto;
}
@@ -63,25 +63,30 @@
color: white;
background: black;
text-transform: uppercase;
font-size: 0.8rem;
font-size: 0.5rem;
padding-left: 0.5rem;
text-decoration: none;
margin-top: 0.7rem;
height: 1.3rem;
padding-top: 0.2rem;
padding-bottom: 0.2rem;
font-family: 'gilroy-medium';
display: inline-flex;
}
#sites-map-container a:after {
display: inline-flex;
content: url("../img/noun-arrow-to-right.svg");
padding-right: 0.2rem;
padding-left: 0.2rem;
padding-top: 0.5rem;
padding-right: 0.5rem;
padding-left: 0.5rem;
}
#popup-content {
width: 300px;
padding-right: 30px;
font-size: 0.6rem !important;
}
#popup-content p {
font-size: 0.7rem;
font-size: 0.6rem !important;
}
@media (max-width: 810px) {
#popup-content {

View File

@@ -11,7 +11,7 @@
function q2d_mod_theme() {
return array(
'svg_mapsites' => array(
'variables' => array('vpw' => null, 'vph' => null, 'sites' => []),
'variables' => array('vpw' => null, 'vph' => null, 'sites' => [], 'label' => null),
),
);
}

View File

@@ -21,6 +21,8 @@ class SitesMap extends BlockBase {
* {@inheritdoc}
*/
public function build() {
$language = \Drupal::languageManager()->getCurrentLanguage()->getId();
$return = null;
$allSites = \Drupal::entityTypeManager()->getStorage('node')
@@ -39,12 +41,16 @@ class SitesMap extends BlockBase {
foreach($allSites as $index => $site){
$title = $site->get('title')->getString();
$subtitle = $site->get('field_sous_titre')->getString();
$langcode = \Drupal::languageManager()->getCurrentLanguage()->getId();
$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_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();
$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);
$y = round(($latTop - $lat) / ($latTop - $latBottom) * $vp_h);
$r = 15;
$r = 12;
$m = -$r/1.5+3;
$l = $r/1.5 +4;
$l = $r/1.5 +2.5;
$sites_paths .= <<<SVGSITEPATH
<g
id="site-$index"
@@ -95,6 +101,7 @@ class SitesMap extends BlockBase {
],
'svg_mapsites' => [
'#theme' => 'svg_mapsites',
'#label' => "Les 10 sites de projet",
'#sites' => $sites_paths,
'#vpw' => $vp_w,
'#vph' => $vp_h,
@@ -111,6 +118,7 @@ class SitesMap extends BlockBase {
// '#markup' => $this->t('Hello, Sites Map!'),
// ];
}
public function getCacheMaxAge() {
return 0;
}

View File

@@ -1,4 +1,7 @@
<div id="sites-map-container">
<h2>{{label}}</h2>
{# <svg {{ svg_attributes }}>
<path {{ path_attributes }}></path>
</svg> #}

File diff suppressed because one or more lines are too long

View File

@@ -202,7 +202,12 @@ h2, h3 {
}
@media (max-width: 810px) {
.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;
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) {
header {
height: 100vh;
@@ -401,6 +433,11 @@ header .header_nav_container {
transition: transform 0.3s ease-in-out;
z-index: -1;
}
@media (max-width: 1090px) {
header .header_nav_container {
height: fit-content;
}
}
@media (max-width: 500px) {
header .header_nav_container {
flex: 0 0 40%;
@@ -442,7 +479,7 @@ header .header_nav_container #block-quartiers-de-demain-entete ul li a {
font-size: 0.6rem;
}
}
@media (max-width: 500px) {
@media (max-width: 810px) {
header .header_nav_container #block-quartiers-de-demain-entete ul li a {
display: flex;
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;
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 {
transform: translateX(30%);
}
@@ -521,6 +562,7 @@ header .header:hover + .header_nav_container {
flex: 1 0 100%;
position: relative;
left: -100%;
top: -45px;
}
}
@@ -563,6 +605,7 @@ header .header:hover + .header_nav_container {
flex: 1 0 100%;
position: relative;
left: -100%;
top: -45px;
}
}
@@ -725,6 +768,18 @@ footer {
padding-top: 0.5rem;
}
}
.footer #footer-right #block-quartiers-de-demain-socialmedialinks .fa-instagram::before {
display: none;
}
.footer #footer-right #block-quartiers-de-demain-socialmedialinks .fa-instagram::after {
content: url("../img/instagram.svg") !important;
display: block;
}
@media (max-width: 700px) {
.footer #footer-right #block-quartiers-de-demain-socialmedialinks .fa-instagram::after {
padding-top: 0.5rem;
}
}
.footer #footer-right #block-quartiers-de-demain-socialmedialinks .fa-youtube::before {
display: none;
}
@@ -896,7 +951,7 @@ footer {
cursor: pointer;
background: transparent;
color: transparent;
top: -2rem;
top: 1rem;
-webkit-transform: translate(0, -1rem);
-ms-transform: translate(0, -1rem);
transform: translate(0, -1rem);
@@ -1204,18 +1259,20 @@ footer {
cursor: grab;
}
}
#home .__container-deroulement h2 {
width: fit-content;
margin: auto;
padding-top: 4rem;
font-size: 1.7rem;
padding-left: 0.5rem;
}
#home .__container-deroulement .config_pages--type--deroulement {
height: fit-content;
margin-top: 3.5rem;
padding-top: 4rem;
padding-bottom: 3rem;
}
#home .__container-deroulement .config_pages--type--deroulement .field_field_title {
width: fit-content;
margin: auto;
font-size: 1.7rem;
padding-left: 0.5rem;
width: fit-content;
font-family: "gilroy-semibold";
padding-bottom: 0.5rem;
}
#home .__container-deroulement .config_pages--type--deroulement .field_field_phase {
height: 100%;
}
@@ -1223,7 +1280,7 @@ footer {
height: 100%;
}
#home .__container-deroulement .config_pages--type--deroulement .field_field_phase .timeline .__timeline-content {
padding-top: 2rem;
padding-top: 4rem;
}
#home .__container-deroulement .config_pages--type--deroulement .field_field_phase .timeline .__timeline-content .slick-track {
height: fit-content;
@@ -1450,6 +1507,9 @@ footer {
font-family: "gilroy-semibold";
padding-left: 0.5rem;
}
#actus-caroussel button {
top: -2.5rem;
}
#actus-caroussel .content-actus .view {
display: flex;
flex-direction: row;
@@ -1917,6 +1977,7 @@ body {
#home article.node-type-static .field_body h6 {
display: flex;
justify-content: center;
flex: 0 0 40%;
margin-top: 1rem;
margin-bottom: 2rem !important;
width: fit-content;
@@ -2525,7 +2586,7 @@ body {
}
@media (max-width: 810px) {
#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 {
@@ -2657,6 +2718,12 @@ body {
grid-column: 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 {
font-size: 3.5rem;
font-family: "gilroy-semibold";
@@ -2704,13 +2771,6 @@ body {
#consultation .layout-content .content_container .node-type-static #paragraph-id--12 .field_field_texte {
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 {
display: flex;
flex-direction: row;
@@ -2747,7 +2807,7 @@ body {
}
@media (max-width: 810px) {
.partenaires .layout-content .content_container #block-quartiers-de-demain-titredepage {
margin-top: 10rem;
margin-top: 14rem;
grid-column: 2/span 9;
}
}
@@ -2953,6 +3013,12 @@ body {
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 {
text-transform: none;
color: black;
@@ -3011,7 +3077,7 @@ body {
}
@media (max-width: 810px) {
#page-node .content_container {
margin-top: 10rem;
margin-top: 14rem;
width: 80%;
}
}
@@ -3296,17 +3362,18 @@ body {
padding-bottom: 0.5rem;
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);
text-transform: uppercase;
font-family: "gilroy-regular" !important;
font-size: 0.5rem !important;
margin-bottom: 0;
}
.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;
margin-top: 0.5rem;
}
.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second .infos div {
flex: 1 1 auto;
@@ -3316,9 +3383,6 @@ body {
border-bottom: none;
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) {
margin-top: 2rem;
width: 100%;
@@ -3348,6 +3412,12 @@ body {
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 {
display: flex !important;
flex-direction: row !important;
@@ -3501,6 +3571,10 @@ body {
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 {
background-color: #f6f7f3;
}
@@ -3519,7 +3593,7 @@ main {
}
@media (max-width: 810px) {
#lessites .content_container #block-quartiers-de-demain-titredepage {
margin-top: 10rem;
margin-top: 14rem;
grid-column: 2/span 9;
margin-left: 0;
padding-left: 0%;

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="24"
height="24"
viewBox="0 0 24 24"
version="1.1"
id="svg1"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<path
d="M 14.829,6.302 C 14.091,6.268 13.869,6.262 12,6.262 10.131,6.262 9.91,6.269 9.172,6.302 7.273,6.389 6.389,7.288 6.302,9.172 6.269,9.91 6.261,10.131 6.261,12 c 0,1.869 0.008,2.09 0.041,2.829 0.087,1.879 0.967,2.783 2.87,2.87 0.737,0.033 0.959,0.041 2.828,0.041 1.87,0 2.091,-0.007 2.829,-0.041 1.899,-0.086 2.782,-0.988 2.87,-2.87 0.033,-0.738 0.04,-0.96 0.04,-2.829 0,-1.869 -0.007,-2.09 -0.04,-2.828 -0.088,-1.883 -0.973,-2.783 -2.87,-2.87 z M 12,15.595 c -1.985,0 -3.595,-1.609 -3.595,-3.595 0,-1.985 1.61,-3.594 3.595,-3.594 1.985,0 3.595,1.609 3.595,3.594 0,1.985 -1.61,3.595 -3.595,3.595 z m 3.737,-6.491 c -0.464,0 -0.84,-0.376 -0.84,-0.84 0,-0.464 0.376,-0.84 0.84,-0.84 0.464,0 0.84,0.376 0.84,0.84 0,0.463 -0.376,0.84 -0.84,0.84 z M 14.333,12 c 0,1.289 -1.045,2.333 -2.333,2.333 -1.288,0 -2.333,-1.044 -2.333,-2.333 0,-1.289 1.045,-2.333 2.333,-2.333 1.288,0 2.333,1.044 2.333,2.333 z M 12,0 C 5.373,0 0,5.373 0,12 0,18.627 5.373,24 12,24 18.627,24 24,18.627 24,12 24,5.373 18.627,0 12,0 Z m 6.958,14.886 c -0.115,2.545 -1.532,3.955 -4.071,4.072 C 14.14,18.992 13.901,19 12,19 10.099,19 9.861,18.992 9.114,18.958 6.57,18.841 5.159,17.429 5.042,14.886 5.008,14.14 5,13.901 5,12 5,10.099 5.008,9.861 5.042,9.114 5.159,6.57 6.571,5.159 9.114,5.043 9.861,5.008 10.099,5 12,5 c 1.901,0 2.14,0.008 2.887,0.043 2.545,0.117 3.957,1.532 4.071,4.071 C 18.992,9.861 19,10.099 19,12 c 0,1.901 -0.008,2.14 -0.042,2.886 z"
id="path1" />
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="28.520447"
height="28.520447"
viewBox="0 0 28.520447 28.520447"
version="1.1"
id="svg1"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<path
d="m 17.62207,7.4889938 c -0.877004,-0.040404 -1.140817,-0.047534 -3.361847,-0.047534 -2.22103,0 -2.483656,0.00833 -3.360659,0.047534 -2.2566806,0.1033868 -3.3071838,1.1717151 -3.4105703,3.4105702 -0.039216,0.877003 -0.048723,1.139629 -0.048723,3.360659 0,2.22103 0.00951,2.483656 0.048723,3.361847 0.1033868,2.232913 1.1491363,3.307184 3.4105703,3.410571 0.875815,0.03922 1.139629,0.04872 3.360659,0.04872 2.222218,0 2.484843,-0.0084 3.361847,-0.04872 2.256681,-0.102201 3.305995,-1.174092 3.410571,-3.410571 0.03922,-0.877004 0.04753,-1.140817 0.04753,-3.361847 0,-2.22103 -0.0084,-2.483656 -0.04753,-3.360659 C 20.928065,8.6618972 19.876373,7.5923804 17.62207,7.4889938 Z M 14.260223,18.532348 c -2.358879,0 -4.2721253,-1.912058 -4.2721253,-4.272125 0,-2.358878 1.9132463,-4.2709367 4.2721253,-4.2709367 2.358879,0 4.272125,1.9120587 4.272125,4.2709367 0,2.358879 -1.913246,4.272125 -4.272125,4.272125 z m 4.440871,-7.713592 c -0.551395,0 -0.998215,-0.44682 -0.998215,-0.9982158 0,-0.5513952 0.44682,-0.9982155 0.998215,-0.9982155 0.551395,0 0.998216,0.4468203 0.998216,0.9982155 0,0.5502068 -0.446821,0.9982158 -0.998216,0.9982158 z m -1.668446,3.441467 c 0,1.531785 -1.241828,2.772425 -2.772425,2.772425 -1.530597,0 -2.772425,-1.24064 -2.772425,-2.772425 0,-1.531786 1.241828,-2.772425 2.772425,-2.772425 1.530597,0 2.772425,1.240639 2.772425,2.772425 z M 14.260223,7.6120166e-8 C 6.3850147,7.6120166e-8 -1.0581062e-7,6.3850149 -1.0581062e-7,14.260223 -1.0581062e-7,22.135431 6.3850147,28.520446 14.260223,28.520446 c 7.875208,0 14.260223,-6.385015 14.260223,-14.260223 C 28.520446,6.3850149 22.135431,7.6120166e-8 14.260223,7.6120166e-8 Z M 22.528776,17.689807 c -0.136661,3.024355 -1.820556,4.699931 -4.837781,4.838969 -0.887698,0.04041 -1.171715,0.0499 -3.430772,0.0499 -2.259057,0 -2.541885,-0.0095 -3.429584,-0.0499 -3.0231671,-0.139038 -4.6999315,-1.81699 -4.8389687,-4.838969 -0.040404,-0.88651 -0.04991,-1.170527 -0.04991,-3.429584 0,-2.259057 0.00951,-2.541885 0.04991,-3.429584 0.1390372,-3.0231669 1.81699,-4.6999313 4.8389687,-4.8377802 0.887699,-0.041592 1.170527,-0.051099 3.429584,-0.051099 2.259057,0 2.543074,0.00951 3.430772,0.051099 3.024356,0.1390372 4.702308,1.8205552 4.837781,4.8377802 0.04041,0.887699 0.0499,1.170527 0.0499,3.429584 0,2.259057 -0.0095,2.543074 -0.0499,3.429584 z"
id="path1"
style="stroke-width:1.18835" />
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@@ -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);

View File

@@ -45,10 +45,15 @@ $width-menu-slidedown : 550px;
@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{

View File

@@ -7,7 +7,7 @@
margin: auto;
align-items: center;
@media(max-width: 810px){
margin-top: 10rem;
margin-top: 14rem;
width: 80%;
}
#block-quartiers-de-demain-prevnextblock{

View File

@@ -13,7 +13,7 @@
margin-top: 1rem;
width: fit-content;
@media(max-width: 810px){
margin-top: 10rem;
margin-top: 14rem;
}
h1{
text-transform: none;
@@ -136,6 +136,14 @@
grid-column: 2;
grid-row: 2;
}
&:nth-of-type(3){
grid-column: 1 /span 2;
grid-row: 3;
font-size: 0.6rem;
padding-top: 1rem;
}
}
h5{
@@ -184,13 +192,13 @@
width: 80%;
}
}
#paragraph-id--12::after{
content:"";
display: block;
border-bottom: solid 1px $blue_QDD;
width: 100% ;
padding-bottom: 2rem;
}
// #paragraph-id--12::after{
// content:"";
// display: block;
// border-bottom: solid 1px $blue_QDD;
// width: 100% ;
// padding-bottom: 2rem;
// }
#paragraph-id--13{
.field_field_texte{
.colone-picto{

View File

@@ -119,6 +119,7 @@
// flex: 1 100%;
display: flex;
justify-content: center;
flex: 0 0 40%;
// padding-right: 2rem;
margin-top: 1rem;
margin-bottom: 2rem !important;

View File

@@ -15,7 +15,7 @@ main{
padding-left: 20%;
@media(max-width: 810px){
margin-top: 10rem;
margin-top: 14rem;
grid-column: 2 /span 9;
margin-left: 0;
padding-left: 0%;

View File

@@ -201,33 +201,29 @@
.infos{
margin-top: 1rem;
font-size: 0.5rem;
// border-bottom: solid 1px $red_QDD;
display: flex;
flex-direction: row;
flex-wrap: wrap;
// display: grid;
// grid-template-columns: 1fr 1fr;
// grid-template-rows: 1fr 1fr 1fr;
padding-bottom: 0.5rem;
font-family: 'gilroy-light';
h2{
div{
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 ;
text-transform: uppercase;
font-family: 'gilroy-regular' !important;
font-size: 0.5rem !important;
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{
flex: 1 1 auto;
min-width: 50%;
@@ -248,7 +244,7 @@
}
.field_field_parties{
div{width: fit-content;}
// div{width: fit-content;}
// width: 70%;
}
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{
.field_field_images {
.diaporama{
@@ -442,6 +447,8 @@
padding-bottom: 0.2rem;
}
}
}
}
@@ -452,4 +459,7 @@
.field_field_liens_site > div:nth-child(2) > div:nth-child(1){
display: flex;
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;
}

View File

@@ -9,7 +9,7 @@
margin-top: 1rem;
width: fit-content;
@media(max-width: 810px){
margin-top: 10rem;
margin-top: 14rem;
grid-column: 2 /span 9;
}

View File

@@ -15,6 +15,10 @@
margin-top: 10rem;
grid-column: 2 /span 9;
}
@media(max-width: 510px){
margin-top: 13rem;
grid-column: 2 /span 9;
}
h1{
text-transform: none;

View File

@@ -3,6 +3,7 @@
flex-direction: column;
align-items: center;
padding-bottom: 6rem;
h2{
width: fit-content;
padding-bottom: 0.5rem;
@@ -13,6 +14,9 @@
padding-left: 0.5rem;
}
button{
top: -2.5rem;
}
.content-actus{
.view{
display: flex;

View File

@@ -157,8 +157,7 @@ footer{
// }
.fa-linkedin::before{
display: none;
display: none;
}
.fa-3x{
font-size: 2.3em;
@@ -171,6 +170,17 @@ footer{
padding-top: 0.5rem;
}
}
.fa-instagram::before{
display: none;
}
.fa-instagram::after{
content: url('../img/instagram.svg') !important;
display: block;
// width: 55px;
@media(max-width: 700px){
padding-top: 0.5rem;
}
}
.fa-youtube::before{
display: none;

View File

@@ -11,6 +11,46 @@ header{
// 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 */
.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){
height: 100vh;
}
@@ -146,6 +186,7 @@ header{
z-index: -1 ;
@media(max-width: 1090px){
// text-align:left;
height: fit-content;
}
@media(max-width: 500px){
flex: 0 0 40%;
@@ -180,7 +221,7 @@ header{
@media(max-width:1090px){
font-size: 0.6rem;
}
@media(max-width: 500px){
@media(max-width: 810px){
display: flex;
flex-direction: column;
align-items: center;
@@ -205,6 +246,11 @@ header{
}
}
#block-quartiers-de-demain-selecteurdelangue{
width: fit-content;
margin: auto;
}
}
.header_nav_container.hidden {
@@ -259,6 +305,8 @@ header{
flex: 1 0 100%;
position: relative;
left: -100%;
top: -45px;
}
}
@@ -293,6 +341,7 @@ header{
flex: 1 0 100%;
position: relative;
left: -100%;
top: -45px;
}
}

View File

@@ -76,7 +76,7 @@ $slick-opacity-not-active: 0.25 !default;
cursor: pointer;
background: transparent;
color: transparent;
top: -2rem;
top: 1rem;
-webkit-transform: translate(0, -1rem);
-ms-transform: translate(0, -1rem);
transform: translate(0, -1rem);

View File

@@ -14,24 +14,30 @@
cursor:grab;
}
position: relative;
h2{
width: fit-content;
margin: auto;
padding-top: 4rem;
font-size: 1.7rem;
padding-left: 0.5rem;
}
.config_pages--type--deroulement{
height: fit-content;
margin-top: 3.5rem;
padding-top: 4rem;
padding-bottom: 3rem;
// padding-top: 3rem;
.field_field_title{
width: fit-content;
margin: auto;
// margin-top: 3.5rem;
// padding-top: 4rem;
font-size: 1.7rem;
padding-left: 0.5rem;
width: fit-content;
font-family: "gilroy-semibold";
padding-bottom: 0.5rem;
}
.field_field_phase{
height: 100%;
.timeline{
height: 100%;
.__timeline-content{
padding-top: 2rem;
padding-top: 4rem;
.slick-track{
height: fit-content;