slide ressources
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
.block-config-pages-block{
|
||||
width: 60%;
|
||||
margin: auto;
|
||||
margin-left: 30%;
|
||||
|
||||
@media (max-width:479px) {
|
||||
order: 1;
|
||||
margin-left: 0;
|
||||
@@ -110,17 +112,23 @@
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
.view-filters{
|
||||
position: fixed;
|
||||
top: 13rem;
|
||||
left: 0;
|
||||
width: 20%;
|
||||
background-color: $white;
|
||||
margin-top: 2rem;
|
||||
margin-left: 1rem;
|
||||
margin-bottom: 5rem;
|
||||
padding: 0.5rem;
|
||||
padding-right: 3rem;
|
||||
@media (max-width: 479px) {
|
||||
margin-left: 0;
|
||||
}
|
||||
&::before{
|
||||
content: "Filtrer par : ";
|
||||
padding-right: 1rem;
|
||||
font-weight: 800;
|
||||
@media (max-width: 479px){
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
@@ -188,25 +196,33 @@
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
.view-type-ressource-slide{
|
||||
|
||||
width: 100%;
|
||||
|
||||
h3{
|
||||
margin-left: 30%;
|
||||
text-transform: uppercase;
|
||||
a{color: rgb(9, 57, 139) !important;}
|
||||
}
|
||||
.views-row-wrapper{
|
||||
margin-left: 30%;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
.views-row{
|
||||
display: flex;
|
||||
width: 25%;
|
||||
flex: 0 0 25%;
|
||||
max-width: fit-content;
|
||||
|
||||
.node-type-ressource{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border: 2px solid $blue-light;
|
||||
margin-left: 1rem;
|
||||
// border: 2px solid $blue-light;
|
||||
// display: grid;
|
||||
// grid-template-columns: 1fr 1.2fr;
|
||||
margin-left: 3rem;
|
||||
margin-bottom: 1rem ;
|
||||
padding: 1rem;
|
||||
|
||||
.ext{
|
||||
color: black;
|
||||
}
|
||||
@@ -214,19 +230,20 @@
|
||||
display: none;
|
||||
}
|
||||
&.type-de-ressource-Publication-issue-du-programme-EQLD{
|
||||
background-color: $background-actus;
|
||||
// background-color: $background-actus;
|
||||
}
|
||||
&.type-de-ressource-Paroles-de-lauréats{
|
||||
background-color: $background-actus;
|
||||
// background-color: $background-actus;
|
||||
}
|
||||
@media (max-width: 479px) {
|
||||
margin-left: 0;
|
||||
}
|
||||
&:hover{
|
||||
background-color: $black15;
|
||||
}
|
||||
// &:hover{
|
||||
// background-color: $black15;
|
||||
// }
|
||||
|
||||
.field--name-field-type-de-ressource{
|
||||
grid-column: 1;
|
||||
text-transform: uppercase;
|
||||
line-height: 1.1rem;
|
||||
margin-top: 0.5rem;
|
||||
@@ -239,6 +256,7 @@
|
||||
}
|
||||
}
|
||||
.field--name-title{
|
||||
grid-column: 2;
|
||||
margin-top: 0.5rem;
|
||||
|
||||
h2{
|
||||
@@ -254,6 +272,7 @@
|
||||
}
|
||||
}
|
||||
.field--name-field-auteur-s-{
|
||||
grid-column: 2;
|
||||
margin-top: 0.5rem;
|
||||
font-weight: 800;
|
||||
line-height: 1.1rem;
|
||||
@@ -266,9 +285,11 @@
|
||||
}
|
||||
}
|
||||
.field--name-field-sous-titre{
|
||||
grid-column: 2;
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
.field--name-field-edition{
|
||||
grid-column: 2;
|
||||
margin-top: 0.5rem;
|
||||
p{
|
||||
margin: 0;
|
||||
@@ -278,6 +299,7 @@
|
||||
}
|
||||
}
|
||||
.field--name-field-images{
|
||||
grid-column: 1;
|
||||
// display: none;
|
||||
// width: 30%;
|
||||
width: fit-content;
|
||||
@@ -294,9 +316,11 @@
|
||||
}
|
||||
}
|
||||
.field--name-field-date-de-parution{
|
||||
grid-column: 2;
|
||||
margin-top: 0.3rem;
|
||||
}
|
||||
.field--name-field-mots-clefs{
|
||||
grid-column: 2;
|
||||
display: flex;
|
||||
margin-top: 1rem;
|
||||
flex-direction: row;
|
||||
@@ -333,7 +357,25 @@
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.slick-next::before{
|
||||
content:url("../images/pictos/fleche-droite-dans-rond.png");
|
||||
display: block;
|
||||
}
|
||||
|
||||
.slick-prev::before{
|
||||
content:url("../images/pictos/fleche-droite-dans-rond.png");
|
||||
display: block;
|
||||
transform: scaleX(-1);
|
||||
display: none;
|
||||
}
|
||||
|
||||
.slick-next {
|
||||
right: 10%;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.view-type-ressource-slide:has(.type-publication-issue-du-programme-eqld){
|
||||
|
||||
Reference in New Issue
Block a user