|
@@ -1,116 +1,142 @@
|
|
// home juin 2023
|
|
// home juin 2023
|
|
-@import "../partials/_slick-slider.scss";
|
|
|
|
|
|
+// @import "../partials/_slick-slider.scss";
|
|
|
|
|
|
.path-frontpage{
|
|
.path-frontpage{
|
|
// bandeau actus
|
|
// bandeau actus
|
|
.block-views-blockactus-blocks-pages-block-1{
|
|
.block-views-blockactus-blocks-pages-block-1{
|
|
// grid-area: actus;
|
|
// grid-area: actus;
|
|
width: 100vw;
|
|
width: 100vw;
|
|
|
|
+ height: 600px;
|
|
border-bottom: 5px solid $blue-light;
|
|
border-bottom: 5px solid $blue-light;
|
|
- // border-top: 5px solid $blue-light;
|
|
|
|
background: $background-actus;
|
|
background: $background-actus;
|
|
- .view-actus-blocks-pages{
|
|
|
|
- padding-top: 5rem;
|
|
|
|
- .view-content{
|
|
|
|
- display: flex;
|
|
|
|
- flex-basis: auto;
|
|
|
|
- // display: grid;
|
|
|
|
- // grid-template-columns: 1fr repeat(4, 2fr) 1fr;
|
|
|
|
- // margin: auto;
|
|
|
|
- // padding-top: 2rem;
|
|
|
|
- // padding-bottom: 4rem;
|
|
|
|
- @media (max-width: 479px){
|
|
|
|
- display: flex;
|
|
|
|
- flex-direction: column;
|
|
|
|
- // padding-left: 1rem;
|
|
|
|
- width: 80%;
|
|
|
|
- }
|
|
|
|
- .views-row{
|
|
|
|
- flex-basis: auto;
|
|
|
|
|
|
+ div{
|
|
|
|
+ height: 100%;
|
|
|
|
+ .view-actus-blocks-pages{
|
|
|
|
+ height: 100%;
|
|
|
|
+ .view-content{
|
|
|
|
+ // display: flex;
|
|
|
|
+ // flex-basis: auto;
|
|
|
|
+ height: 90%;
|
|
|
|
|
|
- }
|
|
|
|
- // .w3-button{
|
|
|
|
-
|
|
|
|
- // }
|
|
|
|
- // .views-row:nth-of-type(1) { grid-column: 2; }
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- .node-type-actualite{
|
|
|
|
- color: $black;
|
|
|
|
- line-height: 1.5rem;
|
|
|
|
- padding: 0.5rem;
|
|
|
|
- div:first-child{ // block actu dans le bandeau
|
|
|
|
|
|
+ @media (max-width: 479px){
|
|
display: flex;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
- // :nth-child(1) { order: 1; }
|
|
|
|
- // :nth-child(4) { order: 2; }
|
|
|
|
- // :nth-child(5) { order: 3; }
|
|
|
|
|
|
+ width: 80%;
|
|
}
|
|
}
|
|
- .field--name-field-images {
|
|
|
|
- order: 1;
|
|
|
|
- .field__item img{
|
|
|
|
- max-width: 95%;
|
|
|
|
- max-height: 150px;
|
|
|
|
- object-fit: cover;
|
|
|
|
- width: 100%;
|
|
|
|
- padding-bottom: 1rem;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .field--name-field-date{
|
|
|
|
- order: 2;
|
|
|
|
- display: flex;
|
|
|
|
- flex-direction: row;
|
|
|
|
- justify-content: flex-start;
|
|
|
|
- &:not(:last-child):after{
|
|
|
|
- padding-right: 1rem;
|
|
|
|
- content: "|";
|
|
|
|
- }
|
|
|
|
- time{
|
|
|
|
- font-size: 0.9rem;
|
|
|
|
- font-weight: 800;
|
|
|
|
- padding-right: 1rem;
|
|
|
|
- width: fit-content;
|
|
|
|
- // :not(:last-child):after{
|
|
|
|
- // padding-left: 0.5rem;
|
|
|
|
- // content: "|";
|
|
|
|
- // }
|
|
|
|
-
|
|
|
|
|
|
+ .views-row{
|
|
|
|
+ // width: 80%;
|
|
|
|
+ // margin: auto;
|
|
|
|
+ .node-type-actualite{
|
|
|
|
+ color: $black;
|
|
|
|
+ line-height: 1.5rem;
|
|
|
|
+ width: 80%;
|
|
|
|
+ height: 600px;
|
|
|
|
+ margin: auto;
|
|
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- .field--name-title{
|
|
|
|
- order:3;
|
|
|
|
- }
|
|
|
|
- .field--name-field-sous-titre{
|
|
|
|
- order:4;
|
|
|
|
- margin-top: 0.3rem;
|
|
|
|
- font-weight: 800;
|
|
|
|
- }
|
|
|
|
|
|
+ // background-color: burlywood;
|
|
|
|
+
|
|
|
|
+ div:first-child{ // block actu dans le bandeau
|
|
|
|
+ // display: flex;
|
|
|
|
+ // flex-direction: column;
|
|
|
|
+ // flex-wrap: wrap;
|
|
|
|
+ display: grid;
|
|
|
|
+ grid-template-columns: 1fr repeat(8, 1fr) 1fr;
|
|
|
|
+ .field--name-field-images {
|
|
|
|
+ order: 1;
|
|
|
|
+ grid-column: 1 /span 5;
|
|
|
|
+ grid-row: 1 / span 6;
|
|
|
|
+ .field__item img{
|
|
|
|
+ max-height: 450px;
|
|
|
|
+ object-fit: contain;
|
|
|
|
+ // padding-bottom: 1rem;
|
|
|
|
+ max-width: 700px;
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .field--name-field-date{
|
|
|
|
+ display: inline;
|
|
|
|
+
|
|
|
|
+ grid-column: 9 / span 7;
|
|
|
|
+ grid-row: 2;
|
|
|
|
+ order: 2;
|
|
|
|
+ // display: flex;
|
|
|
|
+ flex-direction: row;
|
|
|
|
+ // justify-content: flex-start;
|
|
|
|
+ // &:not(:last-child):after{
|
|
|
|
+ // padding-right: 1rem;
|
|
|
|
+ // content: "|";
|
|
|
|
+ // }
|
|
|
|
+ time{
|
|
|
|
+ font-size: 0.9rem;
|
|
|
|
+ font-weight: 800;
|
|
|
|
+ padding-right: 1rem;
|
|
|
|
+ width: fit-content;
|
|
|
|
+ // :not(:last-child):after{
|
|
|
|
+ // padding-left: 0.5rem;
|
|
|
|
+ // content: "|";
|
|
|
|
+ // }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .field--name-field-lieu{
|
|
|
|
+ .field__label{
|
|
|
|
+ display: none;
|
|
|
|
+ }
|
|
|
|
+ grid-column: 9 / span 9;
|
|
|
|
+ grid-row: 2;
|
|
|
|
+ }
|
|
|
|
+ .field--name-title{
|
|
|
|
+ display: inline-flex;
|
|
|
|
+ grid-column: 9 / span 9;
|
|
|
|
+ grid-row: 3;
|
|
|
|
+ order:3;
|
|
|
|
+ }
|
|
|
|
+ .field--name-field-sous-titre{
|
|
|
|
+ display: inline-block;
|
|
|
|
+ grid-column: 9 / span 9;
|
|
|
|
+ grid-row: 4;
|
|
|
|
+ order:4;
|
|
|
|
+ margin-top: 0.3rem;
|
|
|
|
+ font-weight: 800;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .field:not(.field--name-field-images){
|
|
|
|
+ width: 100%;
|
|
|
|
+ }
|
|
|
|
+ h2{ margin:0; }
|
|
|
|
+ a{ color: $black; }
|
|
|
|
|
|
- .field:not(.field--name-field-images){
|
|
|
|
- width: 100%;
|
|
|
|
- }
|
|
|
|
- h2{ margin:0; }
|
|
|
|
- a{ color: $black; }
|
|
|
|
-
|
|
|
|
- .inline.links{
|
|
|
|
- padding-top: none !important;
|
|
|
|
- list-style: none;
|
|
|
|
- width: fit-content;
|
|
|
|
- align-self: flex-end;
|
|
|
|
- padding-right: 1rem;
|
|
|
|
- a{
|
|
|
|
- display: none;
|
|
|
|
|
|
+ .inline.links{
|
|
|
|
+ // grid-column: 5;
|
|
|
|
+ // grid-row: 4;
|
|
|
|
+ padding-top: none !important;
|
|
|
|
+ list-style: none;
|
|
|
|
+ width: fit-content;
|
|
|
|
+ align-self: flex-end;
|
|
|
|
+ padding-right: 1rem;
|
|
|
|
+ a{
|
|
|
|
+ display: none;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .field--name-field-actu-type{
|
|
|
|
+ display: inline-block;
|
|
|
|
+
|
|
|
|
+ grid-column: 9 / span 7;
|
|
|
|
+ grid-row: 5;
|
|
|
|
+ order:5;
|
|
|
|
+ padding-top: 1rem;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- .field--name-field-actu-type{
|
|
|
|
- order:5;
|
|
|
|
- padding-top: 1rem;
|
|
|
|
- }
|
|
|
|
|
|
+
|
|
|
|
+
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|
|
// bouton voir toutes actus du bandeau bleu
|
|
// bouton voir toutes actus du bandeau bleu
|
|
@@ -381,4 +407,14 @@
|
|
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-}
|
|
|
|
|
|
+
|
|
|
|
+ //carte
|
|
|
|
+
|
|
|
|
+ .block-views-blockprojets-block-2{
|
|
|
|
+ #leaflet-map-view-projets-block-2{
|
|
|
|
+ height: 500px !important;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ }
|