564 lines
34 KiB
SCSS
564 lines
34 KiB
SCSS
|
|
.path-ressources{
|
|
|
|
.layout-container {
|
|
overflow: visible;
|
|
}
|
|
.layout-content{
|
|
width: 100vw;
|
|
.region-content{
|
|
width: 100%;
|
|
margin: auto;
|
|
#block-contenudelapageprincipale{
|
|
|
|
.layout--onecol{
|
|
.layout__region--content{
|
|
.block-region-content{
|
|
// display: grid;
|
|
// grid-template-columns: 1fr repeat(4, 1fr) 1fr;
|
|
display: flex;
|
|
flex-direction: column;
|
|
@media (max-width: 479px){
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
// texte présentation
|
|
.block-config-pages-block{
|
|
width: 60%;
|
|
margin: auto;
|
|
margin-left: 30%;
|
|
|
|
@media (max-width:479px) {
|
|
order: 1;
|
|
margin-left: 0;
|
|
}
|
|
.config_pages--base-de-donnees--full{
|
|
grid-column: 1 / span 5;
|
|
@media (max-width: 810px){
|
|
padding: 2rem;
|
|
margin-top:1rem;
|
|
}
|
|
@media (max-width: 479px){
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
}
|
|
.field--name-field-introduction{
|
|
margin: auto;
|
|
background: $white;
|
|
margin-top:5rem;
|
|
@media (max-width: 479px){
|
|
margin-top:1rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
//button proposer une ressource
|
|
.block-block-content82917d0c-5004-4bfb-af66-ce334782d82d{
|
|
// visibility: hidden;
|
|
grid-column: 6 / span 5;
|
|
grid-row: 1;
|
|
margin-top: 4rem;
|
|
background-color: $blue-light;
|
|
height: fit-content;
|
|
width: 100%;
|
|
@media (max-width: 810px){
|
|
grid-column: 5 / span 5;
|
|
}
|
|
@media (max-width: 479px){
|
|
grid-column: 5 / span 5;
|
|
order: 2;
|
|
}
|
|
.display{
|
|
display: block;
|
|
}
|
|
|
|
|
|
.field--name-field-lien{
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-top: 2rem;
|
|
margin-bottom: 2rem;
|
|
margin-left: 1.5rem;
|
|
margin-right: 1.5rem;
|
|
text-align: center;
|
|
a{
|
|
font-weight: 800;
|
|
color: $white;
|
|
font-size: 1.3rem;
|
|
}
|
|
&:after{
|
|
margin-left: auto;
|
|
padding-top: 1rem;
|
|
display: block;
|
|
content:url("../images/pictos/noun_Arrow_3771902.svg")
|
|
|
|
}
|
|
|
|
}
|
|
@media (max-width: 810px){
|
|
margin: auto;
|
|
}
|
|
|
|
}
|
|
|
|
// grille des ressources
|
|
.block-views-blockbase-de-donnees-block-1{
|
|
margin-top: 2rem;
|
|
width: 100%;
|
|
|
|
@media (max-width:479px) {
|
|
order: 3;
|
|
}
|
|
.view-base-de-donnees{
|
|
display: grid;
|
|
grid-template-columns: 20% 75%;
|
|
gap: 2rem;
|
|
.view-filters{
|
|
position: sticky;
|
|
align-self: start;
|
|
top: 9rem;
|
|
left: 0;
|
|
background-color: $white;
|
|
margin-top: 2rem;
|
|
margin-bottom: 5rem;
|
|
padding: 1rem;
|
|
padding-left: 2rem;
|
|
padding-right: 3rem;
|
|
z-index: 1;
|
|
|
|
@media (max-width: 810px) {
|
|
position: static;
|
|
margin-bottom: 2rem;
|
|
}
|
|
@media (max-width: 479px) {
|
|
margin-left: 0;
|
|
}
|
|
&::before{
|
|
content: "Filtrer par : ";
|
|
padding-right: 1rem;
|
|
font-weight: 800;
|
|
@media (max-width: 479px){
|
|
padding-bottom: 1rem;
|
|
}
|
|
}
|
|
#views-exposed-form-base-de-donnees-block-1{
|
|
|
|
// max-width: 20%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-wrap: wrap;
|
|
margin-top: 1rem;
|
|
@media (max-width: 479px){
|
|
justify-content: center;
|
|
}
|
|
|
|
.js-form-item{
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-width: 100%;
|
|
margin-bottom: 1rem;
|
|
padding: 0.5rem;
|
|
align-items: baseline;
|
|
border: solid black 0.5px ;
|
|
|
|
|
|
@media(max-width: 810px){
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
}
|
|
label{
|
|
flex: 2 1 auto;
|
|
}
|
|
input{
|
|
flex: 2 1 auto;
|
|
max-width: 55%;
|
|
@media(max-width: 810px){
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
}
|
|
.js-form-type-select{
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-evenly;
|
|
padding-top: 0.5rem;
|
|
label{
|
|
width: 60%;
|
|
text-transform: lowercase;
|
|
}
|
|
select{
|
|
background-color: white;
|
|
border: none;
|
|
width: 50%;
|
|
padding-bottom: 0.2rem;
|
|
@media(max-width: 810px){
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
}
|
|
.js-form-type-textfield{
|
|
flex-direction: column;
|
|
padding-top: 0.8rem;
|
|
|
|
label{
|
|
text-transform: lowercase;
|
|
padding-bottom: 0.2rem;
|
|
flex: 2 1 auto;
|
|
}
|
|
|
|
input{
|
|
flex: 2 1 auto;
|
|
max-width: 55%;
|
|
}
|
|
}
|
|
|
|
&.js-form-item{
|
|
@media(max-width: 810px){
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
#edit-actions{
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
align-self: center;
|
|
margin-left: auto;
|
|
@media (max-width: 479px){
|
|
justify-content: center;
|
|
margin: auto;
|
|
}
|
|
#edit-submit-base-de-donnees{
|
|
background-color: $blue-light;
|
|
color: white;
|
|
text-transform: uppercase;
|
|
border: none;
|
|
padding: 0.3rem 0.7rem;
|
|
margin-left: 2rem;
|
|
|
|
@media (max-width: 479px){
|
|
margin: auto;
|
|
margin-top: 1rem;
|
|
}
|
|
}
|
|
#edit-reset{
|
|
background-color: $blue-light;
|
|
color: white;
|
|
text-transform: uppercase;
|
|
border: none;
|
|
padding: 0.3rem 0.7rem;
|
|
margin-top: 1rem;
|
|
margin-left: 1rem;
|
|
@media (max-width: 479px){
|
|
margin: auto;
|
|
margin-top: 1rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
|
|
}
|
|
.view-content{
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
width: 100%;
|
|
.view-type-ressource-slide:not(footer){
|
|
width: 100%;
|
|
position: relative;
|
|
z-index: 0;
|
|
padding-bottom: 4rem;
|
|
&::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: -30%;
|
|
height: 100%;
|
|
width: 110vw;
|
|
z-index: 0;
|
|
}
|
|
> * {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
h3{
|
|
margin-top: 3rem;
|
|
text-transform: uppercase;
|
|
a{color: rgb(9, 57, 139) !important;}
|
|
}
|
|
h3 a{
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
}
|
|
h3.type-productions-du-programme-engages-pour-la-qualite-du-logement-de-demain a{
|
|
&:before{
|
|
content:url("../images/pictos/picto-ressource-eqld.svg");
|
|
padding-right: 1rem;
|
|
}
|
|
}
|
|
h3.type-paroles-de-laureats a{
|
|
&:before{
|
|
content:url("../images/pictos/picto-ressource-paroleslaureats.svg");
|
|
padding-right: 1rem;
|
|
}
|
|
}
|
|
h3.type-paroles-de-laureats a{
|
|
&:before{
|
|
content:url("../images/pictos/picto-ressource-projetsimages.svg");
|
|
padding-right: 1rem;
|
|
}
|
|
}
|
|
h3.type-paroles-de-laureats a{
|
|
&:before{
|
|
content:url("../images/pictos/picto-ressource-presse.svg");
|
|
padding-right: 1rem;
|
|
}
|
|
}
|
|
.views-row-wrapper{
|
|
display: flex;
|
|
flex-direction: row;
|
|
|
|
.views-row{
|
|
display: flex;
|
|
width: 25%;
|
|
max-width: fit-content;
|
|
|
|
.node-type-ressource{
|
|
margin-bottom: 1rem ;
|
|
padding-right: 1rem;
|
|
.ext{
|
|
color: black;
|
|
}
|
|
svg.ext{
|
|
display: none;
|
|
}
|
|
&.type-de-ressource-Productions-du-programme-Engagés-pour-la-qualité-du-logement-de-demain{
|
|
// background-color: $background-actus;
|
|
.wrapper-ressource{
|
|
display: grid;
|
|
grid-template-columns: 1fr 1.5fr;
|
|
grid-template-rows: repeat(5 1fr);
|
|
.field--name-field-type-de-ressource{
|
|
order: 1;
|
|
grid-row: 1;
|
|
margin-bottom: 1rem;
|
|
}
|
|
.field--name-field-type-de-media{
|
|
order: 2;
|
|
grid-row: 2;
|
|
}
|
|
.field--name-field-images{
|
|
order: 3;
|
|
grid-row: 3 /span 5;
|
|
height: auto;
|
|
width: 90%;
|
|
img{
|
|
height: auto;
|
|
width: 90%;
|
|
border: 1px solid #a3a3a3;
|
|
}
|
|
}
|
|
.field--name-title{
|
|
grid-row: 3;
|
|
margin-top: 0;
|
|
a{
|
|
color: $blue-light;
|
|
font-size: 1.2rem;
|
|
font-style: normal;
|
|
}
|
|
}
|
|
.field--name-field-sous-titre{
|
|
grid-row: 4;
|
|
color: $blue-light;
|
|
font-size: 0.8rem;
|
|
font-weight: 800;
|
|
}
|
|
.field--name-field-auteur-s-{
|
|
grid-row: 5;
|
|
}
|
|
.field--name-field-edition{
|
|
grid-row: 6;
|
|
}
|
|
.field--name-field-date-de-parution{
|
|
grid-row: 7;
|
|
}
|
|
.field--name-field-mots-clefs{
|
|
grid-row: 8;
|
|
}
|
|
}
|
|
}
|
|
&.type-de-ressource-Paroles-de-lauréats{
|
|
// background-color: $background-actus;
|
|
}
|
|
@media (max-width: 479px) {
|
|
margin-left: 0;
|
|
}
|
|
.wrapper-ressource{
|
|
|
|
.field--name-field-type-de-ressource,
|
|
.field--name-field-type-de-media{
|
|
grid-column: 1;
|
|
text-transform: uppercase;
|
|
line-height: 1.1rem;
|
|
margin-top: 0.5rem;
|
|
a{
|
|
color: $blue-light;
|
|
font-weight: 900;
|
|
font-size: 0.8rem;
|
|
pointer-events: none;
|
|
cursor: default;
|
|
}
|
|
}
|
|
.field--name-title{
|
|
grid-column: 2;
|
|
margin-top: 0.5rem;
|
|
|
|
h2{
|
|
margin: 0;
|
|
line-height: 1rem;
|
|
a{
|
|
color: $black;
|
|
font-size: 1rem;
|
|
font-weight: 900;
|
|
font-style: italic;
|
|
}
|
|
|
|
}
|
|
}
|
|
.field--name-field-auteur-s-{
|
|
grid-column: 2;
|
|
margin-top: 0.5rem;
|
|
font-weight: 800;
|
|
line-height: 1.1rem;
|
|
p{
|
|
margin: 0;
|
|
|
|
}
|
|
.field__label{
|
|
display:none;
|
|
}
|
|
}
|
|
.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;
|
|
}
|
|
.field__label{
|
|
display:none;
|
|
}
|
|
}
|
|
.field--name-field-images{
|
|
grid-column: 1;
|
|
// display: none;
|
|
// width: 30%;
|
|
// width: fit-content;
|
|
|
|
// height: 100px;
|
|
.field__item{
|
|
height: 100px;
|
|
}
|
|
img{
|
|
height: 100%;
|
|
width: auto;
|
|
// width: 100%;
|
|
// height: auto;
|
|
}
|
|
}
|
|
.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;
|
|
flex-wrap: wrap;
|
|
|
|
.field__item{
|
|
margin-right: 0.5rem;
|
|
padding-left: 0.3rem;
|
|
padding-right: 0.3rem;
|
|
font-size: 0.7rem;
|
|
|
|
a{
|
|
background: $blue-dark;
|
|
color: $white;
|
|
font-weight: 800;
|
|
vertical-align: super;
|
|
padding-left: 0.1rem;
|
|
padding-right: 0.1rem;
|
|
display: inline-flex;
|
|
pointer-events: none;
|
|
cursor: default;
|
|
}
|
|
}
|
|
}
|
|
ul.links.inline{
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
@media (max-width: 810px){
|
|
flex-direction: column;
|
|
.views-row{
|
|
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-productions-du-programme-engages-pour-la-qualite-du-logement-de-demain){
|
|
&::before{
|
|
background-color: $background-actus;}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
|
|
}
|