123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349 |
- .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;
- @media (max-width: 479px){
- display: flex;
- flex-direction: column;
- }
- // texte présentation
- .block-config-pages-block{
- grid-column: 1 / span 4;
- margin-left: 1rem;
- @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%;
- grid-column: 1 / span 6;
- @media (max-width:479px) {
- order: 3;
- }
- .view-filters{
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- background-color: $white;
- margin-top: 2rem;
- margin-left: 1rem;
- margin-bottom: 5rem;
- @media (max-width: 479px) {
- margin-left: 0;
- }
- &::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;
- flex-wrap: wrap;
- margin-top: 1rem;
- @media (max-width: 479px){
- justify-content: center;
- }
- .form-item{
- padding: 0.5rem;
- align-self: center;
- }
- input, label{
- margin: 0.5rem;
- }
- select, input{
- padding: 0.3rem;
- margin:0.5rem;
- }
-
- #edit-field-mots-clefs-target-id{
- @media (max-width: 479px){
- width: 75vw;
- }
- }
- #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{
- width: 100%;
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- .views-row{
- width: 25%;
- flex: 0 0 25%;
-
- .node-type-ressource{
- display: flex;
- flex-direction: column;
- border: 2px solid $blue-light;
- margin-left: 1rem;
- margin-bottom: 1rem ;
- padding: 1rem;
- .ext{
- color: black;
- }
- svg.ext{
- display: none;
- }
- &.type-de-ressource-Publication-issue-du-programme-EQLD{
- background-color: $background-actus;
- }
- &.type-de-ressource-Paroles-de-lauréats{
- background-color: $background-actus;
- }
- @media (max-width: 479px) {
- margin-left: 0;
- }
- &:hover{
- background-color: $black15;
- }
-
- .field--name-field-type-de-ressource{
- 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{
- 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-{
- margin-top: 0.5rem;
- font-weight: 800;
- line-height: 1.1rem;
- p{
- margin: 0;
-
- }
- .field__label{
- display:none;
- }
- }
- .field--name-field-sous-titre{
- margin-top: 0.5rem;
- }
- .field--name-field-edition{
- margin-top: 0.5rem;
- p{
- margin: 0;
- }
- .field__label{
- display:none;
- }
- }
- .field--name-field-images{
- // display: none;
- // width: 30%;
- width: fit-content;
- border: 1px solid #a3a3a3;
- height: 100px;
- .field__item{
- height: 100px;
- }
- img{
- height: 100%;
- width: auto;
- // width: 100%;
- // height: auto;
- }
- }
- .field--name-field-date-de-parution{
- margin-top: 0.3rem;
- }
- .field--name-field-mots-clefs{
- 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%;
- }
- }
-
- }
- }
- }
- }
- }
- }
- }
-
- }
-
- }
|