This commit is contained in:
armansansd
2021-08-31 11:01:17 +02:00
parent 8eab9d33b1
commit 3476a5fc7e
6 changed files with 212 additions and 69 deletions
@@ -141,16 +141,17 @@
}
}
}
.body:after{
content: "";
opacity: 1;
position: absolute;
top: 0; bottom: 0; left: -15px; right: -15px;
box-shadow: inset white 0 -4rem 2rem;
box-shadow: inset white 0 -2rem 2rem;
}
.body_open{
height: auto;
padding: 0 0 3rem 0;
height: auto !important;
padding: 0 0 .8rem 0;
&:after{
opacity: 0;
-webkit-transition: all 250ms ease;
@@ -163,6 +164,9 @@
-o-transition: all 250ms ease;
transition: all 250ms ease;
}
.body_open:after{
display: none;
}
.field_textes{
.paragraph{
@@ -245,15 +249,37 @@
}
//équipe tmp
#node\:field_equipes{
margin-top: 1rem;
h2{
cursor: pointer;
color: black;
text-align: center;
display: grid;
grid-template-columns: 95% 5%;
align-content: center;
// text-align: center;
}
h2:after{
content: '▼';
-webkit-transition: all 250ms ease;
-moz-transition: all 250ms ease;
-o-transition: all 250ms ease;
transition: all 250ms ease;
align-self: center;
justify-self: center;
font-size: $font-big;
}
.rotate:after{
transform: rotate(180deg);
-webkit-transition: all 250ms ease;
-moz-transition: all 250ms ease;
-o-transition: all 250ms ease;
transition: all 250ms ease;
}
.field_equipes{
display: none;
.paragraph{
display: grid;
.field_membres{
@@ -314,6 +340,33 @@
}
}
}
#node\:field_partenaires{
h2{
color: black;
}
.field_partenaires{
.paragraph{
display: grid;
align-items: center;
justify-items: center;
grid-template-columns: 40% 60%;
.field_logo_partenaire{
div:first-child{
display: none;
}
grid-column: 1;
grid-row: 1;
}
.field_nom_partenaire{
div:first-child{
display: none;
}
grid-column: 2;
grid-row: 1;
}
}
}
}
&.programme-1{
.block-region-second{
@@ -397,8 +450,12 @@
h2{
color: white !important;
text-align: left !important;
cursor: pointer;
}
h2:after{
}
}
.field_projets_lies{