Files
d9-eql/web/themes/custom/eql/scss/pages/_projet.scss
T

768 lines
38 KiB
SCSS

.path-node.page-node-type-projet{
.layout-container{
overflow: unset;
}
.layout-content{
.region-content{
#block-contenudelapageprincipale{
.layout--threecol-25-50-25{
.layout__region--top{
padding-top: 4rem;
margin-left: 10%;
margin-right: 10%;
width: 80vw;
.top_top{
display: flex;
flex-direction: row;
margin-bottom: 2rem;
// max-height: 600px;
@media (max-width: 568px){
flex-direction: column;
}
.block-entity-fieldnodefield-photo{
width: 60%;
padding-right: 2rem;
@media (max-width: 568px){
width: 100%;
}
img{
height: auto;
max-height: 600px;
object-fit: contain;
width: inherit;
@media (max-width: 810px) {
padding-top: 1rem;
object-fit: cover;
width: 100%;
}
@media (max-width: 568px){
width: 100%;
max-height: 300px;
}
}
// // position: relative;
// // bottom: -50%;
.slick-dots {
> li {
display: inline-block;
}
> li:only-child {
display: none;
}
}
.slick-prev::before, .slick-next::before{
opacity: 1 !important;
top: 0 !important;
}
.slick-prev, .slick-next{
top: 98% !important;
}
}
.top_right{
width: 40%;
@media (max-width: 568px){
width: 100%;
}
.block-entity-fieldnodetitle{
margin: 0;
.field--name-title{
font-family: "Marianne";
font-size: 2.3rem;
font-weight: 800;
color: $blue-light;
@media (max-width:1624px) {
font-size: 2.3rem;
}
@media (max-width:1384px) {
font-size: 2rem;
}
@media (max-width:1216px) {
font-size: rem;
}
@media (max-width: 810px){
font-size: 1.7rem;
}
}
}
.block-entity-fieldnodefield-equipe{
margin-top: 2rem;
// grid-column: 8 / span 8;
@media (max-width:1624px) {
margin-top: 1rem;
padding-top: 0.5rem;
}
@media (max-width:1384px) {
margin-top: 0.8rem;
padding-top: 0.5rem;
}
@media (max-width: 810px){
padding-top: 0.5rem;
}
.field--name-field-equipe{
color: $blue-dark;
font-size: 1.5rem;
font-weight: 900;
text-transform: uppercase ;
@media (max-width:1624px) {
font-size: 1.3rem;
}
@media (max-width:1216px) {
font-size: 1.1rem;
}
@media (max-width: 810px){
font-size: 1rem;
}
}
}
.block-entity-fieldnodefield-incube{
margin-top: 2rem ;
// padding-top: 2rem;
// grid-column: 8 ;
width: fit-content;
.field--name-field-incube{
background-color: $red;
color: white;
font-weight: 800;
padding-right: 0.3rem;
padding-left: 0.2rem;
}
@media (max-width:1624px) {
margin-top: 1rem;
// padding-top: 0.5rem;
}
@media (max-width: 810px) {
// grid-column: 2 / span 4;
}
}
}
}
.top_bottom{
display: flex;
flex-direction: row;
border: 0.1rem solid;
justify-content: space-evenly;
width: 90%;
margin-top: 3rem;
font-weight: 600;
@media(max-width:479px){
flex-direction: column;
width: 100%;
}
.top_bottom_left{
// display: flex;
// flex-direction: row;
padding-right: 1rem;
order: 1;
width: 30%;
position: relative;
height: 80px;
text-align: center;
@media(max-width:479px){
width: 100%;
}
&::before{
content: url("../images/pictos/picto_lieu.svg");
// display: inline-flex;
min-width:30px;
height: auto;
padding-right: 1rem;
position: absolute;
left: 0;
margin-top: .83em;
margin-left: 1rem;
}
.block-entity-fieldnodefield-region{
// display: inline-flex;
order: 1;
margin-left: 70px;
margin-bottom: 1rem;
height: fit-content;
}
.block-entity-fieldnodefield-adresse{
display: inline-flex;
order: 2;
margin-left: 70px;
height: fit-content;
.field--name-field-adresse{
display: flex;
flex-direction: row;
margin-top: .83em;
.address{
margin: auto;
display: flex;
flex-direction: column;
justify-content: start;
margin: 0;
.country{
display: none;
}
}
}
}
}
.block-entity-fieldnodefield-etape-du-projet{
order: 4;
padding-left: 1rem;
padding-right: 1rem;
padding-bottom: 1rem;
border-left: 0.1rem solid ;
width: 30%;
@media(max-width:479px){
width: 100%;
border-top: 0.1rem solid ;
border-left: 0;
padding-right: 0rem;
padding-left: 0rem;
}
h2{
color: $blue-dark;
font-size: 1.2rem;
font-weight: 900;
text-transform: uppercase ;
margin-bottom: 0rem !important;
&:after{
content: ' :';
}
@media(max-width:479px){
padding-right: 1rem;
padding-left: 1rem;
}
}
.field__item{
@media(max-width:479px){
padding-right: 1rem;
padding-left: 1rem;
}
}
.field__label{
display: none;
}
}
.block-entity-fieldnodefield-type-de-moa{
order: 2;
padding-left: 1rem;
border-left: 0.1rem solid ;
padding-bottom: 1rem;
width: 20%;
@media(max-width:479px){
border-left: 0;
border-top: 0.1rem solid ;
width: 100%;
padding-right: 0rem;
padding-left: 0rem;
}
h2{
color: $blue-dark;
font-size: 1.2rem;
font-weight: 900;
text-transform: uppercase ;
margin-bottom: 0rem !important;
&:after{
content: ' :';
}
@media(max-width:479px){
padding-right: 1rem;
padding-left: 1rem;
}
}
.field__item{
@media(max-width:479px){
padding-right: 1rem;
padding-left: 1rem;
}
}
.field__label{
display: none;
}
}
.block-entity-fieldnodefield-type-de-projet{
order: 3;
padding-left: 1rem;
padding-bottom: 1rem;
border-left: 0.1rem solid ;
width: 20%;
@media(max-width:479px){
border-left: 0;
border-top: 0.1rem solid ;
width: 100%;
padding-right: 0rem;
padding-left: 0rem;
}
h2{
color: $blue-dark;
font-size: 1.2rem;
font-weight: 900;
text-transform: uppercase ;
margin-bottom: 0rem !important;
&:after{
content: ' :';
}
@media(max-width:479px){
padding-right: 1rem;
padding-left: 1rem;
}
}
.field__item{
@media(max-width:479px){
padding-right: 1rem;
padding-left: 1rem;
}
}
.field__label{
display: none;
}
}
}
}
.layout__region--first{
// margin-top: 18rem;
margin-top: 5rem;
@media (max-width: 479px){
display: none;
}
.block-region-first{
display: flex;
justify-content: flex-end;
position: -webkit-sticky;
position: sticky;
top: 10rem;
.block-entity-fieldnodefield-textes{
display: flex;
justify-content: flex-end;
width: 50%;
background-color: $white;
padding-right: 2rem;
.field--name-field-titre{
display: flex;
font-size: 1rem;
font-weight: 1000;
color: $blue-dark;
border-bottom: 1px solid $blue-light;
padding-bottom: 0.5rem;
padding-right: 1rem;
// margin-top: 2rem;
margin-bottom: 0.8rem;
&:hover{
text-decoration: underline;
}
}
}
}
}
.layout__region--second{
// grid-row: 3;
margin-top: 5rem;
flex: 0 1 50%;
// margin-top: 18rem;
@media (max-width: 479px) {
flex: 0 1 100%;
margin-top: 1rem;
}
.block-region-second{
width: 90%;
@media (max-width: 479px) {
width: 80%;
margin: auto;
}
.block-entity-fieldnodebody{
p{
margin-top: 0;
}
.field--type-text-with-summary{
background-color: white;
}
}
.block-entity-fieldnodefield-textes{
background-color: $white;
.paragraph{
margin-top: 3rem;
}
.field--name-field-titre{
font-size: 1.5rem;
font-weight: 1000;
font-family: 'Source Code Pro';
color: $blue-dark;
text-transform: uppercase;
margin-bottom: 0.8rem;
}
h4{
text-transform: none !important;
img{
width: 100%;
height: auto;
}
}
.field--type-text-long{
padding-right: 2rem;
}
p{
margin-top: 0;
}
a{
color: $black;
text-decoration: underline;
svg{
display: none;
}
}
}
.block-entity-fieldnodebody{
.panel-body{
#outputtext{
overflow-y: visible !important;
}
}
}
.block-entity-fieldnodefield-partenaires{
.field__label{
font-size: 1.5rem;
font-weight: 1000;
font-family: 'Source Code Pro';
color: $blue-dark;
text-transform: uppercase;
margin-top: 2rem;
margin-bottom: 0.8rem;
}
.field__items{
display: flex;
flex-direction: row;
justify-content: space-between;
.paragraph--type--partenaire{
display: flex;
flex-direction: column;
align-items: center;
// width: 35%;
.field--name-field-lien{
// display: none;
padding-top: 1rem;
}
}
}
}
}
}
.layout__region--third{
// grid-row: 4;
margin-top: 5rem;
@media(max-width:479px){
margin-top: 2rem;
}
.block-region-third{
display: flex;
flex-direction: column;
width: 65%;
@media(max-width:479px){
width: 80%;
margin: auto;
}
.block-entity-fieldnodefield-fichiers{
h2{display: none;}
.field--name-field-fichiers{
.field__item{
height: fit-content;
border: 2px solid $blue-light;
background-color: $white;
margin-bottom: 1rem;
min-height: 4rem;
// background: $white;
color: $blue-light;
padding-left: 1rem;
padding-top: 1rem;
}
span:nth-of-type(2){
display: none;
}
.file--image{
height: inherit;
margin: auto;
::before{
content: url("../images/pictos/download.png");
min-width:30px;
height: auto;
padding-right: 2rem;
}
a{
hyphens: auto;
display: inline-flex;
// align-items: center;
color: $blue-light;
font-weight: 800;
// max-width: 80px ;
}
}
.file--mime-application-pdf{
height: inherit;
margin: auto;
::before{
content: url("../images/pictos/download.png");
min-width:30px;
height: auto;
padding-right: 2rem;
}
a{
hyphens: auto;
display: inline-flex;
// align-items: center;
color: $blue-light;
font-weight: 800;
// max-width: 80px ;
}
}
}
}
.block-entity-fieldnodefield-liens{
h2{display: none;}
.field--name-field-liens{
.field__item{
margin: auto;
height: fit-content;
border: 2px solid $blue-light;
min-height: 4rem;
background: $white;
color: $blue-light;
padding-left: 1rem;
padding-top: 1rem;
margin-bottom: 1rem;
}
a{
display: inline-flex;
align-items: center;
color: $blue-light;
font-weight: 800;
&::before{
content: url("../images/pictos/external_link.png");
min-width: 30px;
height: auto;
padding-right: 2rem;
}
svg.ext{
display: none;
}
}
}
}
.block-entity-fieldnodefield-ressource-s-liee-s-{
margin-top: 3rem;
@media(max-width:479px){
margin-top: 2rem;
}
h2{
font-size: 0.8rem;
color: $black;
font-weight: 900;
}
.field--name-field-ressource-s-liee-s-{
display: flex;
flex-direction: column;
.field__item:has(.type-les-projets-en-images){
display: flex;
order: -1;
}
}
.node-type-ressource{
display: flex;
flex-direction: column;
border: 2px solid $blue-light;
padding: 1rem;
height: fit-content;
margin-bottom: 1rem;
background-color: $white;
// &:first-of-type{
// border-top: 1px solid $blue-light;
// padding-top: 1rem;
// &::after{
// content: url("../images/pictos/noun_Arrow_3771902.svg");
// align-self: flex-end;
// }
// }
div{
display: flex;
flex-direction: column;
.field--name-title{
order: 3;
h2{
margin: 0;
a{
color: $black;
font-size: 1rem;
font-weight: 900;
font-style: italic;
}
}
}
.field--name-field-sous-titre{
display: none;
}
.field--name-field-type-de-ressource{
order: 2;
text-transform: uppercase;
color: $blue-light;
font-weight: 900;
font-size: 0.8rem;
}
.field--name-field-auteur-s-{
order: 5;
font-weight: 800;
p{
margin: 0;
}
.field__label{
display:none;
}
}
.field--name-field-edition{
p{
margin: 0;
}
.field__label{
display:none;
}
}
.field--name-field-images{
// display: none;
order: 1;
width: 25%;
img{
width: 100%;
height: auto;
}
}
.field--name-field-date-de-parution{
order: 6;
.field__label{
display: none;
}
}
.field--name-field-mots-clefs{
order: 7;
display: flex;
margin-top: 0.8rem;
flex-direction: row;
flex-wrap: wrap;
.field__label{
display: none;
}
.field__items{
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
.field__item{
margin-right: 0.5rem;
padding-right: 0.3rem;
font-size: 0.8rem;
margin-top: 0.2rem;
a{
background: $blue-dark;
color: $white;
font-weight: 800;
vertical-align: super;
padding-left: 0.1rem;
padding-right: 0.1rem;
display: inline-flex;
}
}
}
ul.links.inline{
display: none;
}
}
}
.node-type-ressource.type-publications-issues-du-programme{
min-width: 30px !important;
}
.node-type-ressource.type-les-projets-en-images{
.field--name-field-images{
// display: none;
order: 1;
width: 100%;
.field__item:not(:first-of-type){
display: none;
}
img{
width: 100%;
height: auto;
}
}
}
}
}
}
.layout__region--bottom{
.block-entity-fieldnodefield-partenaires{
width: 50%;
margin: auto;
display: flex;
flex-direction: row;
flex-wrap: wrap;
h2{display: none;}
.field--name-field-partenaires{
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
.field--name-field-titre{
display: none;
}
.paragraph--type--partenaire{
display: flex;
flex-direction: column;
}
}
}
}
}
}
}
}
}