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

View File

@@ -337,14 +337,20 @@
// background-clip: content-box;
width: 100% !important;
padding: .3rem;
.views-field:empty {
background: lime;
}
.views-field:not(:first-child){
padding: 0 0 0 .4rem;
}
.views-field-field-image{
grid-row: 3 / span 2;
grid-row: 4 / span 2;
margin-top: -1.5rem;
}
.views-field-field-edition{
grid-column: 2;
grid-row: 6;
}
.views-field-field-auteurs{
font-weight: 600;
grid-column: 2;
@@ -364,11 +370,7 @@
}
}
.views-field-field-theme{
.field-content{
color:black;
}
}
.views-field-field-type-de-ressource{
text-transform: uppercase;
font-weight: 600;
@@ -391,9 +393,12 @@
align-self: baseline;
}
.views-field-field-theme{
grid-row: 6 / span 1;
grid-row: 7 / span 1;
grid-column: 1 / span 2;
font-size: $font-small;
.field-content{
color:black;
}
}
}
@@ -470,9 +475,20 @@
}
nav{
display: grid;
align-items: center;
justify-items: center;
}
.js-pager__items{
text-align: center;
li{
display: inline-block;
float: left;
margin: 0 .2rem;
}
}
}

View File

@@ -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{