123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272 |
- .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;
- }
- }
- }
- .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;
- font-family: 'Source Code Pro';
- 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-les-projets-en-images a{
- &:before{
- content:url("../images/pictos/picto-ressource-projetsimages.svg");
- padding-right: 1rem;
- }
- }
- h3.type-presse 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;
-
- }
- @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-prev.slick-disabled::before,
- .slick-next.slick-disabled::before{
- opacity: 0 !important;
- }
- .slick-next {
- right: 3%;
- }
- }
- }
- .view-type-ressource-slide:has(.type-productions-du-programme-engages-pour-la-qualite-du-logement-de-demain){
- &::before{
- background-color: $background-actus;}
- }
-
- .type-les-projets-en-images{
- .slick-track{
- width: 100% !important;
- .views-row{
- width: 100% !important;
- }
- }
- }
-
- }
- }
- }
- }
- }
- }
- }
- }
-
- }
-
- }
|