home showrooms OK

This commit is contained in:
2020-12-27 17:46:04 +01:00
parent 9941eed64a
commit b7f9d99790
8 changed files with 259 additions and 47 deletions

View File

@ -644,6 +644,7 @@ article.node--type-frontpage{
}
}
.field--name-computed-showrooms-reference{
overflow: hidden;
position:relative;
// height:550px;
display: grid;
@ -673,17 +674,23 @@ article.node--type-frontpage{
// top:0; left:0;
// width:100%; height:100%;
// overflow: hidden;
opacity: 0;
transition: opacity 0.3s ease-in-out;
// transform: translateX(100%);
transition: all 0.7s ease-out;
&.active{
opacity: 1;
// transform: translateX(0);
// transition: all 0.3s ease-in-out;
}
.taxonomy-term{
position: relative;
width:100%; height:100%;
div.visuel{
width:100%;
padding-bottom: 10em;
padding-bottom: 5em;
img{
max-width: 100%;
height: auto;
@ -694,17 +701,42 @@ article.node--type-frontpage{
bottom:0; left:0;
width:100%;
box-sizing:border-box;
padding:1em 0;
padding:1em 0 0;
background-color:$color-showrooms;
color: #fff;
>*{
// display: inline-block;
font-size: 0.9em;
}
// >*{
// // display: inline-block;
// font-size: 0.9em;
// }
h2,p{
margin:0;
}
h2{
font-size: 2em;
}
.field--name-field-public-address{
br{
display:none;
}
span:not(:nth-last-of-type(1)) {
margin-right: 0.4em;
&:after{
padding-left: 0.5em;
content:""
}
}
}
.field--name-field-public-phone {
display: inline-block;
margin-right: 0.4em;
&:after{
padding-left: 0.5em;
content:""
}
}
.field--name-field-public-email {
display: inline-block;
}
}
}
}