page ressource
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
.page-node-site{
|
||||
.node-type-ressource{
|
||||
width: 80%;
|
||||
margin: auto;
|
||||
display: flex;
|
||||
|
||||
|
||||
.image-site{
|
||||
width: 40%;
|
||||
height: fit-content;
|
||||
margin-right: 2rem;
|
||||
img{
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
.filtered-content{
|
||||
width: 40%;
|
||||
.field--name-field-type-de-ressource,
|
||||
.field--name-field-sous-titre,
|
||||
.field--name-field-auteur,
|
||||
.field--name-field-site{
|
||||
|
||||
}
|
||||
.field--name-body{
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
.body-content {
|
||||
width: 100%;
|
||||
margin-top: 2rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
|
||||
.page-ressources{
|
||||
.view-ressources{
|
||||
flex-direction: column;
|
||||
padding: 5rem;
|
||||
|
||||
#views-exposed-form-ressources-page-1{
|
||||
width: 100%;
|
||||
margin: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 1rem;
|
||||
&::before{
|
||||
content: 'FILTRER :';
|
||||
}
|
||||
|
||||
.form-item-field-type-de-ressource-target-id{
|
||||
order: 1;
|
||||
}
|
||||
.js-form-item-field-site-target-id{
|
||||
order: 2;
|
||||
}
|
||||
#edit-actions{
|
||||
order: 3;
|
||||
}
|
||||
}
|
||||
.views-row{
|
||||
.node-type-ressource{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.field--name-field-image{
|
||||
order: 1;
|
||||
max-width: 100%;
|
||||
img{
|
||||
height: 200px;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
.filtered-content{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
h2{
|
||||
order: 2;
|
||||
margin: 0;
|
||||
font-size: 1.5rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
.field--name-field-sous-titre {
|
||||
order: 3;
|
||||
font-size: 1.3rem;
|
||||
// line-height: 0.3rem;
|
||||
}
|
||||
.field--name-field-auteur{
|
||||
order: 4;
|
||||
font-weight: 900;
|
||||
padding-top: 1rem;
|
||||
}
|
||||
|
||||
.field--name-field-type-de-ressource{
|
||||
order: 1;
|
||||
text-transform: uppercase;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
.field--name-field-site{
|
||||
order: 5;
|
||||
}
|
||||
ul.links{
|
||||
order: 6;
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -71,10 +71,12 @@ header{
|
||||
#block-reha-navigationprincipale {
|
||||
grid-column: 3 / span 5 ;
|
||||
ul{
|
||||
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-evenly;
|
||||
@media (max-width:1400px) {
|
||||
flex-direction: column;
|
||||
}
|
||||
a{
|
||||
font-weight: 800;
|
||||
&.is-active{
|
||||
|
||||
@@ -38,3 +38,6 @@
|
||||
@import "pages/home/home-view-presentation";
|
||||
@import "pages/le-programme";
|
||||
@import "pages/node-site";
|
||||
@import "pages/ressources";
|
||||
@import "pages/node-ressource";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user