This commit is contained in:
2024-06-20 09:08:36 +02:00
100 changed files with 5034 additions and 200 deletions
-3
View File
@@ -254,7 +254,6 @@ header {
padding-left: 30px;
padding-top: 20px; } }
header .region-header #block-reha-logoreha {
display: none;
grid-column: 2;
max-height: 90%;
height: 150px; }
@@ -729,8 +728,6 @@ input {
display: flex;
flex-direction: column; } }
.home-page-layout-content .layout--onecol .block-region-content .block-views-blockhome-block-1 {
grid-column: 1 /span 2;
grid-row: 1;
margin-bottom: 2rem; }
@media (max-width: 500px) {
.home-page-layout-content .layout--onecol .block-region-content .block-views-blockhome-block-1 img {
+2 -2
View File
@@ -46,9 +46,9 @@ function reha_preprocess_html(&$variables) {
foreach ($variables['content'] as $field_name => $field_content) {
if ($field_name == 'body') {
$body_field_content = $field_content;
} elseif ($field_name == 'field-fichiers') {
} elseif ($field_name == 'field_fichiers') {
$files_field_content = $field_content;
} elseif ($field_name == 'field-liens') {
} elseif ($field_name == 'field_liens') {
$liens_field_content = $field_content;
} elseif (!in_array($field_name, $fields_to_exclude)) {
$filtered_content[$field_name] = $field_content;
+198 -138
View File
@@ -13,14 +13,7 @@
font-size: 5rem;
font-weight: normal;
margin: 0;
@media(max-width: 891px){
font-size: 4rem;
}
@media(max-width: 520px){
font-size: 3rem;
}
}
h5{
font-size: 5rem;
font-weight: 900;
@@ -44,19 +37,15 @@
.block-region-content{
display: grid;
// grid-column: repeat(2, 1fr);
grid-template-rows: repeat(8, 1fr);
grid-column: repeat(2, 1fr);
@media(max-width: 891px){
display: flex;
flex-direction: column;
}
.block-block-content3d4d153c-9da8-49e2-be7a-d2245f5716ee{
grid-row: 1 /span 3;
}
.block-views-blockhome-block-1{
// grid-column: 1 /span 2;
grid-row: 2 /span 6;
// grid-row: 1;
margin-bottom: 2rem;
@media(max-width: 500px){
img{
@@ -68,144 +57,215 @@
// block Appel à candidature
// .block-block-content5ae07b35-3c0b-48f5-b51b-f0f0e4c1765f{
.block-block-content5ae07b35-3c0b-48f5-b51b-f0f0e4c1765f{
// /////////////// arrêt canndidatures phase 1
// // display: none !important;
// ///////////////
/////////////// arrêt canndidatures phase 1
display: none !important;
///////////////
// grid-column: 1;
// grid-row: 2 /span 2;
// width: 80%;
// border: solid $yellow-puca 1px;
// background-color: $white-button;
// font-weight: 800;
// padding: 2rem;
// margin-right: 1rem;
// @media(max-width: 891px){
// margin-bottom: 1rem;
// // margin: auto;
// }
// h2{
// margin-top: 0;
// margin-bottom: 0;
// text-transform: lowercase;
// font-weight: 900;
// line-height: 1rem;
// font-size:1.8rem ;
// }
// .field--name-field-description{
// margin-top: 0;
// font-size: 2.3rem !important;
// line-height: 2.2rem;
// p{
// margin-top: 0.8rem;
// }
// }
// .field--type-link{
// padding: 0;
// margin: 0;
// border: none;
// font-weight: 400;
// background-color: inherit;
// .field__item {
// ::after{
// justify-self: unset;
// padding-left: 1rem;
// content: url(../images/noun-arrow-1569918.svg);
// }
// }
// }
grid-column: 1;
grid-row: 2 /span 2;
width: 80%;
border: solid $yellow-puca 1px;
background-color: $white-button;
font-weight: 800;
padding: 2rem;
margin-right: 1rem;
@media(max-width: 891px){
font-size: 4rem;
}
@media(max-width: 520px){
font-size: 3rem;
}
}
h5{
font-size: 5rem;
font-weight: 900;
margin: 0;
line-height: 0.6;
@media(max-width: 891px){
font-size: 4rem;
line-height: 0.9;
}
@media(max-width: 520px){
font-size: 3rem;
}
// }
// .block-block-content5ae07b35-3c0b-48f5-b51b-f0f0e4c1765f:hover{
// background-color: $yellow-puca;
}
img{
height: auto;
padding-top: 2rem ;
padding-bottom: 2rem ;
// .field--type-link{
// .field__item {
// ::after{
// justify-self: unset;
// padding-left: 1rem;
// content: url(../images/noun-arrow-1569918_hover.svg);
// }
// }
// }
// }
}
.block-region-content{
display: grid;
// grid-column: repeat(2, 1fr);
grid-template-rows: repeat(8, 1fr);
@media(max-width: 891px){
display: flex;
flex-direction: column;
}
.block-block-content3d4d153c-9da8-49e2-be7a-d2245f5716ee{
grid-row: 1 /span 3;
}
.block-views-blockhome-block-1{
// grid-column: 1 /span 2;
grid-row: 2 /span 6;
margin-bottom: 2rem;
@media(max-width: 500px){
img{
width: -moz-available;
}
}
}
/// block télécharger le cahier des charges
// .block-block-content08189a6a-2ca1-42c3-a780-d7ad0c65619d{
// block Appel à candidature
// .block-block-content5ae07b35-3c0b-48f5-b51b-f0f0e4c1765f{
// /////////////// arrêt canndidatures phase 1
// // display: none !important;
// ///////////////
// /////////////// arrêt canndidatures phase 1
// // display: none !important;
// ///////////////
// grid-column: 1;
// grid-row: 2 /span 2;
// width: 80%;
// border: solid $yellow-puca 1px;
// background-color: $white-button;
// font-weight: 800;
// padding: 2rem;
// margin-right: 1rem;
// @media(max-width: 891px){
// margin-bottom: 1rem;
// // margin: auto;
// }
// margin-bottom: 1rem;
// grid-column: 2;
// grid-row: 2;
// width: 90%;
// // height: fit-content;
// display: flex;
// justify-content: flex-end;
// align-items: center;
// @media(max-width: 891px){
// width: 90%;
// }
// @media(max-width: 520px){
// width: 100%;
// }
// .field--type-file{
// width: 100%;
// margin: 0;
// @media(max-width: 891px){
// width: 100%;
// }
// }
// :hover{
// background-color: $yellow-puca;
// }
// }
// h2{
// margin-top: 0;
// margin-bottom: 0;
// text-transform: lowercase;
// font-weight: 900;
// line-height: 1rem;
// font-size:1.8rem ;
// }
// .field--name-field-description{
// margin-top: 0;
// font-size: 2.3rem !important;
// line-height: 2.2rem;
// p{
// margin-top: 0.8rem;
// }
// }
// .field--type-link{
// padding: 0;
// margin: 0;
// border: none;
// font-weight: 400;
// background-color: inherit;
// .field__item {
// ::after{
// justify-self: unset;
// padding-left: 1rem;
// content: url(../images/noun-arrow-1569918.svg);
// }
// }
// }
// }
// .block-block-content5ae07b35-3c0b-48f5-b51b-f0f0e4c1765f:hover{
// background-color: $yellow-puca;
// /// block télécharger la fiche candidature
// .block-block-content259faa3e-f66e-4776-9f4e-9a3aa26e8252{
// .field--type-link{
// .field__item {
// ::after{
// justify-self: unset;
// padding-left: 1rem;
// content: url(../images/noun-arrow-1569918_hover.svg);
// }
// }
// }
// }
// /////////////// arrêt canndidatures phase 1
// // display: none !important;
// ///////////////
// grid-column: 2;
// grid-row: 3;
// width: 90%;
// display: flex;
// justify-content: flex-end;
// align-items: center;
// @media(max-width: 891px){
// width: 90%;
// }
// @media(max-width: 520px){
// width: 100%;
// }
// .field--type-file{
// width: 100%;
// margin: 0;
// @media(max-width: 891px){
// width: 100%;
// }
// }
// :hover{
// background-color: $yellow-puca;
// }
// }
// .block-views-blockhome-block-2{
// grid-column: 1 /span 2;
// grid-row: 4;
// margin-top: 2rem;
// }
/// block télécharger le cahier des charges
// .block-block-content08189a6a-2ca1-42c3-a780-d7ad0c65619d{
// /////////////// arrêt canndidatures phase 1
// // display: none !important;
// ///////////////
// margin-bottom: 1rem;
// grid-column: 2;
// grid-row: 2;
// width: 90%;
// // height: fit-content;
// display: flex;
// justify-content: flex-end;
// align-items: center;
// @media(max-width: 891px){
// width: 90%;
// }
// @media(max-width: 520px){
// width: 100%;
// }
// .field--type-file{
// width: 100%;
// margin: 0;
// @media(max-width: 891px){
// width: 100%;
// }
// }
// :hover{
// background-color: $yellow-puca;
// }
// }
// /// block télécharger la fiche candidature
// .block-block-content259faa3e-f66e-4776-9f4e-9a3aa26e8252{
// /////////////// arrêt canndidatures phase 1
// // display: none !important;
// ///////////////
// grid-column: 2;
// grid-row: 3;
// width: 90%;
// display: flex;
// justify-content: flex-end;
// align-items: center;
// @media(max-width: 891px){
// width: 90%;
// }
// @media(max-width: 520px){
// width: 100%;
// }
// .field--type-file{
// width: 100%;
// margin: 0;
// @media(max-width: 891px){
// width: 100%;
// }
// }
// :hover{
// background-color: $yellow-puca;
// }
// }
// .block-views-blockhome-block-2{
// grid-column: 1 /span 2;
// grid-row: 4;
// margin-top: 2rem;
// }
}
}
}
}
}
}
@@ -94,15 +94,16 @@
{# Ajouter une nouvelle div pour le champ body et fichiers #}
{% if body_field_content is defined or files_field_content is defined %}
<div class="body-files-content">
<div class="body-content">
{% if body_field_content is defined %}
<div class="body-content">
<div class="summary-content">
{{ body_field_content }}
</div>
{% endif %}
{% if files_field_content is defined %}
<div class="files-content">
<div class="links-content">
{{ files_field_content }}
{{ liens_field_content }}
</div>
{% endif %}
</div>