.path-ressources{ .layout-content{ width: 100vw; .region-content{ width: 80%; margin: auto; #block-contenudelapageprincipale{ .layout--onecol{ .layout__region--content{ .block-region-content{ display: grid; grid-template-columns: 1fr repeat(4, 1fr) 1fr; // texte présentation .block-config-pages-block{ grid-column: 1 / span 4; margin-left: 1rem; .config_pages--base-de-donnees--full{ // .field--name-field-introduction{ grid-column: 1 / span 5; // margin: 2rem; .field--name-field-introduction{ // width: 65%; margin: auto; background: $white; margin-top:5rem; } @media (max-width: 810px){ padding: 2rem; 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; // margin-right: 1rem; // padding-right: 1rem; background-color: $blue-light; height: fit-content; width: 100%; // margin-left: 2rem; // grid-row: 1; .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%; grid-column: 1 / span 6; .view-filters{ display: flex; flex-direction: row; flex-wrap: wrap; background-color: $white; margin-top: 2rem; margin-left: 1rem; margin-bottom: 5rem; &::before{ content: "Filtrer par : "; padding-right: 1rem; @media (max-width: 479px){ padding-bottom: 1rem; } } #views-exposed-form-base-de-donnees-block-1{ width: fit-content; display: flex; flex-direction: row; // .js-form-item.form-item.js-form-type-select.form-item-field-type-de-ressource-target-id.js-form-item-field-type-de-ressource-target-id{ // width: fit-content; // padding-right: 1rem; // padding-left: 1rem; // } // .form-item{ // width: fit-content; // } // .form-item-field-type-de-ressource-target-id{ // width: fit-content; // } #edit-actions{ display: flex; flex-direction: column; justify-content: space-between; #edit-submit-base-de-donnees{ background-color: $blue-light; color: white; text-transform: uppercase; border: none; padding: 0.1rem 0.7rem; margin-left: 2rem; @media (max-width: 479px){ margin-left: 0rem; margin-right: 2rem; } } #edit-reset{ background-color: $blue-light; color: white; text-transform: uppercase; border: none; padding: 0.1rem 0.7rem; margin-top: 1rem; margin-left: 1rem; } } } } .view-content{ width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; // justify-content: space-between; .views-row{ width: 25%; flex: 0 0 25%; // padding: 0.5rem; // background-color: $white; // margin-bottom: 1rem; .node-type-ressource{ display: flex; flex-direction: column; border: 2px solid $blue-light; margin-left: 1rem; margin-bottom: 1rem ; padding: 1rem; &:hover{ background-color: $background-actus; } .field--name-field-type-de-ressource{ text-transform: uppercase; a{ color: $blue-light; font-weight: 900; font-size: 0.8rem; } } .field--name-title{ h2{ margin: 0; a{ color: $black; font-size: 1rem; font-weight: 900; font-style: italic; } } } .field--name-field-auteur-s-{ font-weight: 800; p{ margin: 0; } .field__label{ display:none; } } .field--name-field-edition{ p{ margin: 0; } .field__label{ display:none; } } .field--name-field-images{ // display: none; // width: 30%; height: 100px; .field__item{ height: 100px; } img{ height: 100%; width: auto; // width: 100%; // height: auto; } } .field--name-field-mots-clefs{ display: flex; margin-top: 2rem; flex-direction: row; flex-wrap: wrap; .field__item{ margin-right: 0.5rem; padding-left: 0.3rem; padding-right: 0.3rem; font-size: 0.8rem; a{ background: $blue-dark; color: $white; font-weight: 800; vertical-align: super; padding-left: 0.1rem; padding-right: 0.1rem; display: inline-flex; } } } ul.links.inline{ display: none; } } } @media (max-width: 810px){ flex-direction: column; .views-row{ width: 100%; } } } } } } } } } } }