change order infos site

This commit is contained in:
2024-06-27 11:42:49 +02:00
parent c94a960aef
commit 0e600e768b
8 changed files with 314 additions and 179 deletions
@@ -3,10 +3,10 @@
.block-block-content3bb825b3-ab84-4861-a4f2-2a5e5eed74de{
border: solid $yellow-puca 1px;
background-color: $white-button;
font-weight: 800;
font-weight: 1000;
padding: 2rem;
margin-right: 1rem;
width: 20vw;
width: 16vw;
margin-left: 15%;
padding-top: 0.5rem;
padding-left: 0.8rem;
@@ -52,9 +52,9 @@
grid-column: 2/span 10;
width: 100%;
img {
max-height: 500px;
max-height: 600px;
width: 100%;
object-fit: cover;
object-fit: contain;
}
}
.infos-content-site{
@@ -72,7 +72,7 @@
}
h1{display: none;}
h2{
order: 2;
order: 3;
margin: 0;
font-size: 1.8rem;
font-weight: 1000;
@@ -81,41 +81,52 @@
line-height: 1.3rem;
}
}
.field--name-field-numero-site {
.first-row{
order: 1;
text-transform: uppercase;
font-size: 1.5rem;
@media(max-width: 891px){
font-size: 1.5rem;
}
}
.field--name-field-adresse-site{
order: 3;
font-size: 1.4rem;
@media(max-width: 891px){
display:flex;
flex-direction: row;
align-items: end;
padding-bottom: 0.5rem;
.field--name-field-numero-site {
order: 1;
text-transform: uppercase;
font-size: 1rem;
line-height: 0.6rem;
padding-bottom: 0.3rem;
}
.field__item{
display: flex;
}
.address{
margin: 0;
display: inline-flex;
.postal-code{
order: 2;
&::after{
content: '|';
padding-left: 1rem;
padding-right: 1rem;
}
.locality{
order: 1;
text-transform: capitalize;
margin-right: 0.5rem;
}
.field--name-field-adresse-site{
order: 3;
font-size: 1.2rem;
.field__item{
display: flex;
}
.country{
display: none;
.field__item{
display: flex;
}
.address{
margin: 0;
display: inline-flex;
.postal-code{
order: 2;
}
.locality{
order: 1;
text-transform: capitalize;
margin-right: 0.5rem;
}
.country{
display: none;
}
}
}
}
.field--name-field-architecte{
order: 4;
font-size: 1.4rem;
@@ -148,7 +159,8 @@
width: fit-content;
margin: auto;
z-index: 99;
position: relative;
top: -20px;
// position: relative;
// top: -10px;
margin-top: 2rem;
}
}
@@ -52,36 +52,49 @@
font-size: 1.6rem;
font-weight: 900;
line-height: 1;
padding-bottom: 0.8rem;
}
.field--name-field-numero-site {
.first-row{
order: 1;
text-transform: uppercase;
font-size: 1rem;
}
.field--name-field-adresse-site{
order: 3;
font-size: 1.2rem;
.field__item{
display: flex;
}
.address{
margin: 0;
display:flex;
flex-direction: row;
align-items: end;
padding-bottom: 0.5rem;
.field--name-field-numero-site {
order: 1;
text-transform: uppercase;
font-size: 1rem;
display: inline-flex;
.postal-code{
order: 2;
&::after{
content: '|';
padding-left: 1rem;
padding-right: 1rem;
}
.locality{
order: 1;
text-transform: capitalize;
margin-right: 0.5rem;
}
.field--name-field-adresse-site{
order: 3;
font-size: 1.2rem;
.field__item{
display: flex;
}
.country{
display: none;
.address{
margin: 0;
display: inline-flex;
.postal-code{
order: 2;
}
.locality{
order: 1;
text-transform: capitalize;
margin-right: 0.5rem;
}
.country{
display: none;
}
}
}
}
.field--name-field-architecte{
order: 4;
font-size: 1.2rem;
@@ -125,31 +138,37 @@
footer{
background-color: transparent;
p:first-of-type{
p{
font-size: 2rem;
padding-left: 1rem;
// font-weight: 1000;
font-weight: 1000;
}
.view-display-id-block_2{
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: baseline;
justify-content: space-between;
.views-row{
width: 30%;
// padding: 1rem;
width: 28%;
padding: 1rem;
&:hover{
transform: none;
}
.node-type-site{
margin: auto;
display: flex;
flex-direction: column;
width: 100%;
background-color: transparent;
.infos-content-site{
background-color: transparent;
order: 2;
display: flex;
flex-direction: column;
padding-top: 0.5rem;
padding-left: 0rem;
padding-left: 1rem;
padding-right: 1rem;;
padding-right: 1rem;
h2{
order: 2;
@@ -158,36 +177,50 @@
font-weight: 900;
line-height: 1;
}
.field--name-field-lettre-de-site {
.first-row{
order: 1;
text-transform: uppercase;
font-size: 1rem;
font-weight: 400;
&::before{
content:'SITE';
padding-right: 0.5rem;
display:flex;
flex-direction: row;
align-items: center;
padding-bottom: 0.5rem;
.field--name-field-lettre-de-site {
order: 1;
text-transform: uppercase;
font-size: 1rem;
font-weight: 400;
display: flex;
align-items: center;
&::before{
content:'SITE';
padding-right: 0.5rem;
}
&::after{
content: '|';
padding-left: 1rem;
padding-right: 1rem;
}
}
}
.field--name-field-adresse-site{
order: 3;
// line-height: 1.3rem;
font-weight: 400 !important;
.field--name-field-adresse-site{
order: 3;
p.address{
padding-left: 0;
margin: 0;
display: inline-flex;
font-size: 1.3rem;
.postal-code{
order: 2;
}
.locality{
order: 1;
text-transform: capitalize;
margin-right: 0.5rem;
}
.country{
display: none;
p.address{
padding-left: 0;
margin: 0;
display: inline-flex;
font-size: 1.3rem;
font-weight: 500!important;
.postal-code{
order: 2;
}
.locality{
order: 1;
text-transform: capitalize;
margin-right: 0.5rem;
}
.country{
display: none;
}
}
}
}
@@ -94,44 +94,61 @@
padding-bottom: 4rem;
padding-top: 1rem;
h1{
order: 2;
order: 3;
margin: 0;
font-size: 1.8rem;
font-weight: 900;
}
h2{
order: 2;
order: 3;
margin: 0;
font-size: 1.3rem;
font-weight: 900;
}
.field--name-field-numero-site {
.first-row{
order: 1;
text-transform: uppercase;
font-size: 1.5rem;
}
.field--name-field-adresse-site{
order: 3;
font-size: 1.2rem;
line-height: 1.3rem;
.address{
margin: 0;
display:flex;
flex-direction: row;
align-items: end;
padding-bottom: 0.5rem;
.field--name-field-numero-site {
order: 1;
text-transform: uppercase;
font-size: 1rem;
display: inline-flex;
.postal-code{
order: 2;
&::after{
content: '|';
padding-left: 1rem;
padding-right: 1rem;
}
.locality{
order: 1;
text-transform: capitalize;
margin-right: 0.5rem;
}
.field--name-field-adresse-site{
order: 3;
font-size: 1.2rem;
.field__item{
display: flex;
}
.country{
display: none;
.address{
margin: 0;
display: inline-flex;
.postal-code{
order: 2;
}
.locality{
order: 1;
text-transform: capitalize;
margin-right: 0.5rem;
}
.country{
display: none;
}
}
}
}
.field--name-field-date-de-construction{
order: 5;
font-size: 1.2rem;