604 lines
27 KiB
SCSS
604 lines
27 KiB
SCSS
// home juin 2023
|
|
// @import "../partials/_slick-slider.scss";
|
|
|
|
.path-frontpage{
|
|
// bandeau actus
|
|
.block-views-blockactus-blocks-pages-block-1{
|
|
width: 100vw;
|
|
height: auto;
|
|
padding-top: 5rem;
|
|
// border-bottom: 5px solid $blue-light;
|
|
background: $background-actus;
|
|
@media(max-width: 810px){
|
|
height: auto;
|
|
}
|
|
@media (max-width: 792px),
|
|
(max-width: 724px),
|
|
(max-width: 479px) {
|
|
max-height: fit-content;
|
|
padding-top: 2rem;
|
|
}
|
|
|
|
div{
|
|
.view-actus-blocks-pages{
|
|
.view-content{
|
|
height: auto;
|
|
.views-row-wrapper{
|
|
margin-bottom: 0;
|
|
}
|
|
.slick-list{
|
|
@media(max-width: 810px){
|
|
width: 100vw !important;
|
|
height: auto !important;
|
|
}
|
|
@media(max-width: 479px){
|
|
height: auto !important;
|
|
width: 100vw !important;
|
|
}
|
|
}
|
|
.slick-list.draggable{
|
|
padding-left: 0px !important;
|
|
}
|
|
.views-row{
|
|
.node-type-actualite{
|
|
color: $black;
|
|
line-height: 1.5rem;
|
|
width: 80%;
|
|
height: auto;
|
|
margin: auto;
|
|
margin-bottom: 2rem;
|
|
|
|
@media (max-width: 810px){
|
|
width: 90%;
|
|
height: auto;
|
|
|
|
}
|
|
.actus-teaser-home{ // block actu dans le bandeau
|
|
// display: grid;
|
|
// grid-template-columns: 1fr repeat(9, 1fr) 1fr;
|
|
// column-gap: 30px;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
margin-left: 2rem;
|
|
@media (max-width: 810px){
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: auto;
|
|
margin-left: 0;
|
|
}
|
|
.home_actu_photo{
|
|
width: 50%;
|
|
display: flex;
|
|
justify-content: end;
|
|
@media(max-width:810px){
|
|
width: 100%;
|
|
}
|
|
.field--name-field-images {
|
|
.field__item{
|
|
display: flex;
|
|
max-height: 420px;
|
|
}
|
|
.field__item img{
|
|
max-width: 100%;
|
|
max-height: 456px;
|
|
object-fit: cover;
|
|
object-position: center;
|
|
@media(max-width:810px){
|
|
max-height: 310px;
|
|
max-width: 100%;
|
|
object-fit: cover;
|
|
padding-left: 0;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
@media(max-width:724px){
|
|
max-height: 400px;
|
|
}
|
|
@media (max-width: 680px){
|
|
max-height: 200px;
|
|
object-fit: cover;
|
|
// max-width: 70vw;
|
|
margin: auto;
|
|
padding-left: 0;
|
|
padding-bottom: 1rem;
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.home_actu_infos{
|
|
width: 45%;
|
|
align-content: center;
|
|
color: $blue-dark !important;
|
|
@media(max-width:810px){
|
|
width: 100%;
|
|
}
|
|
.field--name-field-date,
|
|
.field--name-field-lieu,
|
|
.field--name-title,
|
|
.field--name-field-sous-titre,
|
|
.field--name-field-actu-type {
|
|
|
|
}
|
|
|
|
.field--name-field-date:empty,
|
|
.field--name-field-lieu:empty,
|
|
.field--name-title:empty,
|
|
.field--name-field-sous-titre:empty,
|
|
.field--name-field-actu-type:empty,
|
|
.ul:empty{
|
|
display: none;
|
|
}
|
|
.field--name-field-date{
|
|
font-size: 1.3rem;
|
|
@media (max-width: 811px) {
|
|
// margin-top: 5rem;
|
|
font-size: 1rem;
|
|
}
|
|
div{
|
|
display: flex !important;
|
|
flex-direction: row;
|
|
}
|
|
time{
|
|
display: flex;
|
|
flex-direction: row;
|
|
font-size: 1.3rem;
|
|
font-weight: 800;
|
|
padding-right: 1rem;
|
|
width: fit-content;
|
|
@media (min-width: 811px) {
|
|
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.field--name-field-lieu{
|
|
font-size: 1.3rem;
|
|
padding-top: 1rem;
|
|
.field__label{
|
|
display: none;
|
|
}
|
|
|
|
@media (max-width: 811px){
|
|
display: inline-flex;
|
|
font-size: 0.9rem;
|
|
padding-top: 0.5rem;
|
|
}
|
|
|
|
}
|
|
.field--name-title {
|
|
line-height: 1.1;
|
|
font-size: 1.5rem;
|
|
padding-top: 1rem;
|
|
h2 a {
|
|
color: $blue-dark !important;
|
|
}
|
|
@media(max-width:810px){
|
|
font-size: 0.9rem;
|
|
padding-top: 0.5rem;
|
|
}
|
|
}
|
|
|
|
.field--name-field-sous-titre {
|
|
display: none;
|
|
font-weight: 800;
|
|
@media (min-width: 811px) {
|
|
font-size: 1.5rem;
|
|
}
|
|
}
|
|
|
|
.field--name-field-actu-type {
|
|
padding-top: 2rem;
|
|
font-size: 1.3rem;
|
|
@media(max-width:810px){
|
|
font-size: 0.9rem;
|
|
padding-top: 1rem;
|
|
}
|
|
|
|
}
|
|
|
|
.field:not(.field--name-field-images) {
|
|
width: 100%;
|
|
}
|
|
|
|
h2 {
|
|
margin: 0;
|
|
}
|
|
|
|
a {
|
|
color: $black;
|
|
}
|
|
|
|
.inline.links {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
// bouton voir toutes actus du bandeau bleu
|
|
.block-block-content3ee1f633-aaa7-4b4c-a42a-02206e26d3a2{
|
|
visibility: visible;
|
|
display: flex;
|
|
flex-flow: row;
|
|
justify-content: center;
|
|
background: $background-actus;
|
|
// padding-right:10%;
|
|
padding-top: 3rem;
|
|
padding-bottom: 3rem;
|
|
border-bottom: 5px solid rgb(0, 158, 227);
|
|
@media(max-width:479px) {
|
|
padding-top: 2rem;
|
|
padding-bottom: 2rem;
|
|
|
|
}
|
|
.field--name-field-lien{
|
|
margin: auto;
|
|
height: fit-content;
|
|
padding: 0.4rem 1rem;
|
|
font-size: 0.8rem;
|
|
margin: 0;
|
|
background-color: $white;
|
|
border: 2px solid $blue-light;
|
|
list-style: none;
|
|
display: inline-flex;
|
|
p{margin: 0;}
|
|
a{
|
|
text-transform: uppercase;
|
|
font-weight: 700;
|
|
color: $blue-light;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
|
|
}
|
|
a::after{
|
|
content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>');
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
// présentation programme
|
|
.block-views-blockhome-nodes-block-2{
|
|
// grid-area: programme;
|
|
|
|
.view-display-id-block_2:is(.view-id-home_nodes){
|
|
padding-top: 2rem;
|
|
padding-bottom: 4rem;
|
|
|
|
.node-type-static{
|
|
width: 80%;
|
|
margin: auto;
|
|
@media (max-width: 479px) {
|
|
width: 80%;
|
|
}
|
|
div:first-child:not(.field__item):not(.field){
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
:nth-child(4) { order: 3; }
|
|
}
|
|
|
|
.inline.links{
|
|
z-index: 95;
|
|
// align-self: flex-end;
|
|
// width: fit-content;
|
|
flex: 0 0 100%;
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
height: fit-content;
|
|
// padding: 0.4rem 1rem;
|
|
padding: 0;
|
|
font-size: 0.8rem;
|
|
margin: 0;
|
|
// background-color: $white;
|
|
// border: 2px solid $blue-light;
|
|
list-style: none;
|
|
|
|
a{
|
|
text-transform: uppercase;
|
|
font-weight: 700;
|
|
color: $blue-light;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 0.4rem 1rem;
|
|
font-size: 0.8rem;
|
|
margin: 0;
|
|
background-color: $white;
|
|
border: 2px solid $blue-light;
|
|
&:after{
|
|
// display: block;
|
|
content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>');
|
|
}
|
|
}
|
|
}
|
|
.field--name-field-images{
|
|
// grid-column: 2 / 4;
|
|
@media (max-width: 810px) {
|
|
width: 100%;
|
|
}
|
|
.field__item{
|
|
@media (max-width: 810px) {
|
|
justify-content: center;
|
|
display: flex;
|
|
}
|
|
|
|
img{
|
|
width: 15rem;
|
|
height: auto;
|
|
@media (max-width: 810px) {
|
|
width: 12rem;
|
|
padding-bottom: 1rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.field--name-title{
|
|
display: none;
|
|
}
|
|
.field--name-field-accroche{
|
|
flex: 1 1 50px;
|
|
// grid-column: 4 / 9;
|
|
padding-left: 1rem;
|
|
@media (max-width: 810px){
|
|
padding-left: 0em;
|
|
flex: 1 1 100%;
|
|
// padding-right: 1rem;
|
|
|
|
}
|
|
@media (max-width: 479px){
|
|
padding-left: 0em;
|
|
}
|
|
p{
|
|
background-color: $white;
|
|
font-size: 1.5rem;
|
|
width: 110%;
|
|
padding-bottom: 2rem;
|
|
margin-block-start: 0;
|
|
text-align: start !important;
|
|
@media (max-width: 810px){
|
|
font-size: 1.2rem;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
}
|
|
.field--name-field-videos{
|
|
flex: 0 0 80%;
|
|
padding-top: 4rem;
|
|
margin: auto;
|
|
@media (max-width: 479px){
|
|
flex: 0 0 100%;
|
|
}
|
|
|
|
.field__items {
|
|
.field__item:nth-of-type(1){
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
|
|
// Zoom sur les projets
|
|
.block-views-blockprojets-block-4{
|
|
border-top: 5px solid $blue-light;
|
|
background: $background-actus;
|
|
padding-top: 2rem;
|
|
padding-bottom: 4rem;
|
|
@media (max-width: 810px){
|
|
padding-bottom: 0rem;
|
|
}
|
|
span h2{
|
|
width: 80%;
|
|
margin: auto;
|
|
padding-top: 1rem;
|
|
padding-bottom: 5rem;
|
|
text-transform: uppercase;
|
|
color: $red;
|
|
font-family: 'Source Code Pro';
|
|
font-weight: 1000;
|
|
@media (max-width: 479px){
|
|
padding-bottom: 1rem;
|
|
}
|
|
}
|
|
.view-projets{
|
|
width: 80%;
|
|
margin: auto;
|
|
.view-content .view-type-slide .views-row-wrapper{
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
@media(max-width: 810px){
|
|
flex-direction: column;
|
|
}
|
|
|
|
.views-row{
|
|
width: 49%;
|
|
@media(max-width: 810px){
|
|
width: 100%;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.node-type-projet{
|
|
color: $blue-dark;
|
|
line-height: 1.5rem;
|
|
@media (max-width: 810px){
|
|
padding-left: 0rem;
|
|
padding-right: 0rem;
|
|
padding-top: 2rem;
|
|
}
|
|
div:first-child{
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-height: fit-content;
|
|
a{
|
|
color: $blue-dark;
|
|
}
|
|
.field--name-field-photo {
|
|
order:1;
|
|
.field__item{
|
|
display:none;
|
|
}
|
|
.field__item:first-child{
|
|
display:block;
|
|
}
|
|
img{
|
|
width: 100%;
|
|
// object-fit: cover;
|
|
// height: fit-content;
|
|
height: auto;
|
|
max-height: 400px;
|
|
object-fit: cover;
|
|
}
|
|
// &::after{
|
|
// display: block;
|
|
// content:url('data:image/svg+xml,<svg width="160" height="25" xmlns="http://www.w3.org/2000/svg" version="1.1"> <line x1="0" x2="80" y1="20" y2="20" stroke-linecap="cube" stroke="rgb(9,57,139)" stroke-width="2.5"/></svg>');
|
|
// }
|
|
}
|
|
.field--name-field-adresse{
|
|
order:2;
|
|
display: flex;
|
|
text-transform: uppercase;
|
|
font-size: 0.9rem;
|
|
font-weight: 800;
|
|
margin-top: 0.8rem;
|
|
line-height: 0.6rem;
|
|
.address{
|
|
display: flex;
|
|
flex-direction: row;
|
|
margin: 0;
|
|
.locality{
|
|
padding-top: 0 !important;
|
|
padding-bottom: 0 !important;
|
|
&::after{
|
|
content:",";
|
|
margin-right: 0.3rem;
|
|
}
|
|
}
|
|
.country{
|
|
padding-top: 0 !important;
|
|
padding-bottom: 0 !important;
|
|
} }
|
|
}
|
|
.field--name-field-sous-titre{
|
|
margin-top: 0.8rem;
|
|
font-size: 0.9rem;
|
|
font-weight: 800;
|
|
order: 4;
|
|
}
|
|
.field--name-title{
|
|
order: 3;
|
|
margin-top: 0.8rem;
|
|
font-size: 0.9rem;
|
|
font-weight: 800;
|
|
h2{margin: 0;}
|
|
}
|
|
|
|
.field--name-field-incube{
|
|
order:4;
|
|
color: $red;
|
|
margin-top: 0.8rem;
|
|
font-size: 0.7rem;
|
|
}
|
|
.field--name-field-region{
|
|
display: none;
|
|
order: 5;
|
|
color: $black;
|
|
font-size: 0.7rem;
|
|
}
|
|
.field--name-field-type-de-moa{
|
|
display: none;
|
|
order:6;
|
|
a{
|
|
color: $black;
|
|
font-size: 0.7rem;
|
|
}
|
|
}
|
|
.field--name-field-type-de-projet{
|
|
display: none;
|
|
order:7;
|
|
a {
|
|
color: $black;
|
|
font-size: 0.7rem;
|
|
}
|
|
}
|
|
.field--name-field-etape-du-projet{
|
|
display: none;
|
|
order: 8;
|
|
color: $black;
|
|
font-size: 0.7rem;
|
|
}
|
|
}
|
|
.ville-region{
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
// bouton voir tous les projets du bandeau bleu
|
|
.block-block-contentbfb4368c-4f85-4329-88f1-8769161aa66f{
|
|
display: flex;
|
|
// flex-flow: row-reverse;
|
|
background: $background-actus;
|
|
// padding-right:10%;
|
|
padding-top: 2rem;
|
|
padding-bottom: 4rem;
|
|
@media(max-width:479px) {
|
|
padding-top: 2rem;
|
|
padding-bottom: 2rem;
|
|
|
|
}
|
|
.field--type-text-with-summary{
|
|
height: fit-content;
|
|
padding: 0.4rem 1rem;
|
|
font-size: 0.8rem;
|
|
margin: auto;
|
|
// margin: 0;
|
|
background-color: $white;
|
|
border: 2px solid $blue-light;
|
|
list-style: none;
|
|
display: inline-flex;
|
|
p{margin: 0;}
|
|
a{
|
|
text-transform: uppercase;
|
|
font-weight: 700;
|
|
color: $blue-light;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
|
|
}
|
|
a::after{
|
|
content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>');
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
//carte
|
|
.block-views-blockprojets-block-2{
|
|
#leaflet-map-view-projets-block-2{
|
|
height: 500px !important;
|
|
}
|
|
}
|
|
|
|
|
|
} |