Compare commits

..

2 Commits

Author SHA1 Message Date
ouidade 471d16089b css infos sites et flèches actus caroussel 2024-11-20 11:48:08 +01:00
Bachir Soussi Chiadmi 69d780a12f site info translation fix 2024-11-19 15:50:40 +01:00
4 changed files with 37 additions and 33 deletions

View File

@ -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: { }

View File

@ -1507,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;
@ -3353,17 +3356,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;

View File

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

View File

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