.page-node-type-programme{ //hide logo in header #programme_toc-block_7{ display: none; } //galerie de la page popsu - top (copy de home) #programme_toc-block_5{ background-color: white; .slick-slide{ margin: 0 1rem; } .slick-arrow{ position: absolute; height: 100%; cursor: pointer; z-index: 100; // background-color: white; opacity: 0.2; transition: opacity 250ms; width: 10%; &:hover{ opacity: .5; } } .slick-next{ right: 0; top: 0; } .views-row{ display: grid !important; grid-template-columns: 1fr; // flex-direction: column; // flex-direction: column-reverse; position: relative; height: auto; a{ text-decoration: none; } } .programme-1{ .views-field{ background: $col-2 !important; } } .programme-2{ .views-field{ background: $col-2 !important; } } .programme-3{ .views-field{ background: $col-eur !important; } } .programme-4{ .views-field{ background: $col-1; } } .programme-5{ .views-field{ background: $col-mond !important; } } .programme-6{ .views-field{ background: $col-ter !important; } } .programme-7{ .views-field{ background: $col-met !important; } } .views-row{ // margin-top: 2rem; .views-field-field-image{ background: transparent !important; height: 20rem; img{ width: 100%; } } .views-field-field-image{ grid-column: 1; grid-row: auto; z-index: -1; margin-top: -15%; } .views-field-view-node{ visibility: hidden; } .views-field:not(.views-field-field-image){ padding-right: .5rem; padding-left: .5rem; // padding-bottom: 1rem; background-color: black; width: 60%; margin-left: 30%; color: white; align-self: flex-start; grid-column: 1; grid-auto-rows: min-content; font-size: $font-normal; text-transform: uppercase; } // .views-field-field-type-evenement{ // grid-row: 4; // } .views-field-title{ // grid-row: 5; font-size: $font-big !important; font-weight: 500; line-height: 1.2; padding-top: .3rem; } .views-field-field-sous-titre{ padding: .5rem 0 1rem 0; } .views-field-field-programme{ text-transform: uppercase; grid-row: 1; font-weight: 500; padding: .5rem 0 .5rem 0; } } } #projets-block_2{ position: relative; .main_logo{ z-index: 10; height: 7.2rem; width: 100%; position: absolute; // background: red; // margin: -5rem 0 3rem 0; top:0; left: 0; } } &.programme-1{ article{ h2,h3,h4,h5,h6,.field_titre{ color: $col-2; } } .main_logo{ background: center / contain no-repeat url(../../images/POPSU_1.svg); } } &.programme-2{ article{ h2,h3,h4,h5,h6,.field_titre{ color: $col-2; } } .main_logo{ background: center / contain no-repeat url(../../images/POPSU_1.svg); } } &.programme-3{ article{ h2,h3,h4,h5,h6,.field_titre{ color: $col-eur; } } .main_logo{ background: center / contain no-repeat url(../../images/POPSU_Europe.svg); } } &.programme-4{ article{ h2,h3,h4,h5,h6,.field_titre{ color: $col-1; } } .main_logo{ background: center / contain no-repeat url(../../images/POPSU_2.svg); } } &.programme-5{ article{ h2,h3,h4,h5,h6,.field_titre{ color: $col-mond; } } .main_logo{ background: center / contain no-repeat url(../../images/POPSU_monde.svg); } } &.programme-6{ article{ h2,h3,h4,h5,h6,.field_titre{ color: $col-ter; } } .main_logo{ background: center / contain no-repeat url(../../images/POPSU_territoires.svg); } } &.programme-7{ article{ h2,h3,h4,h5,h6,.field_titre{ color: $col-met; } } .main_logo{ background: center / contain no-repeat url(../../images/POPSU_metropoles.svg); } } .layout-content{ position: relative; } .layout__region--top{ max-height: 30%; grid-column: 1 / span 3; } .block-region-first{ @include breakpoint(small down) { text-align: center; } position: absolute; top: 0; left: 0; width: 25%; padding: 1rem 1.5rem ; .prog-ressources-link{ font-family: "duke"; font-size: $font-large; cursor: pointer; transition: all 250ms; text-decoration: none; &:hover{ padding: 0 0 0 .3rem; } } div[id=""] { @include breakpoint(small down) { display: none; } } .views-element-container{ @include breakpoint(small down) { display: block; // &:not(:first-child){ // margin-left: 1rem; // } } header{ font-family: "duke"; font-size: $font-large; text-transform: uppercase; cursor: pointer; transition: all 250ms; &:hover{ padding: 0 0 0 .3rem; } } .views-row{ display: none; padding: 0 0 0 1.2rem; margin-bottom: .5rem; a{ text-decoration: none; &:hover{ text-decoration: underline; } } } } } .block-region-third{ z-index: 20; position: sticky; top: 1rem; @include breakpoint(small down) { margin-top: 1rem; } #evenements-block_1{ background-color: black; margin-bottom: 3rem; h2{ color: white; } } .programme-1{ background: $col-1; } .programme-2{ background: $col-2; } .programme-3{ background: $col-eur; } .programme-4{ background: $col-1; } .programme-5{ background: $col-mond; } .programme-6{ background: $col-ter; } .programme-7{ background: $col-met; } .views-row{ padding: 1rem 0; &:last-of-type{ margin-bottom: 1rem; } } .views-field{ color: white; padding: 0 1rem; font-weight: 500; // &:last-of-type{ // margin-bottom: 1rem; // } .views-field-field-type-de-ressource{ text-transform: uppercase; margin-bottom: .2rem; } .views-field-title{ font-style: italic; } .views-field-field-sous-titre{ font-weight: 400; } a{ text-decoration: none; &:hover{ text-decoration: underline; } } } } article{ // font-size: $font-small; //temp hidden .computed_projets_references, .computed_themes_references, .field_logo{ display: none; } // temp ?? h2:first-child{ display: none; } .body{ font-size: $font-medium; height: 20rem; overflow: hidden; position: relative; -webkit-transition: all 250ms ease; -moz-transition: all 250ms ease; -o-transition: all 250ms ease; transition: all 250ms ease; footer{ position:absolute; bottom:0; left:0; z-index: 1; width: 100%; text-align: center; a{ display: inline-block; margin: 0 auto; background: black; color: white; cursor:pointer; font-family: "trueno"; font-weight: 500; padding: .3rem .5rem; font-size: $font-small; text-decoration: none; text-transform: uppercase; &:hover{ color:black; background: white; } } } } .body:after{ content: ""; opacity: 1; position: absolute; top: 0; bottom: 0; left: -15px; right: -15px; box-shadow: inset $bck-col 0 -4rem 2rem; } .body_open{ height: auto; padding: 0 0 3rem 0; &:after{ opacity: 0; -webkit-transition: all 250ms ease; -moz-transition: all 250ms ease; -o-transition: all 250ms ease; transition: all 250ms ease; } -webkit-transition: all 250ms ease; -moz-transition: all 250ms ease; -o-transition: all 250ms ease; transition: all 250ms ease; } .field_textes{ .paragraph{ // border-top: 1px solid black; border-bottom: 3px dotted gray; padding: 1rem 0; .field_titre{ font-size: $font-big; font-weight: 600; text-transform: initial; cursor: pointer; display: grid; grid-template-columns: 95% 5%; align-content: center; // margin-top: 1rem; } p{ margin-top: .5rem; } .field_titre:after{ content: '▼'; -webkit-transition: all 250ms ease; -moz-transition: all 250ms ease; -o-transition: all 250ms ease; transition: all 250ms ease; align-self: center; justify-self: center; } .rotate:after{ transform: rotate(180deg); -webkit-transition: all 250ms ease; -moz-transition: all 250ms ease; -o-transition: all 250ms ease; transition: all 250ms ease; } .field_texte{ height: auto; position: relative; h2{ text-transform: inherit; } -webkit-transition: all 250ms ease; -moz-transition: all 250ms ease; -o-transition: all 250ms ease; transition: all 250ms ease; } .crop{ height: 0; overflow: hidden; display: none; -webkit-transition: all 250ms ease; -moz-transition: all 250ms ease; -o-transition: all 250ms ease; transition: all 250ms ease; } } } } .block-region-bottom{ background: $trame; >div:last-of-type{ background-color: transparent; text-align: center; padding: 1rem; } h2{ text-align: center; } #centre_de_ressources-block_2{ .slick-slide{ margin: 0 0; } .slick-arrow{ position: absolute; height: 100%; cursor: pointer; z-index: 100; // background-color: white; opacity: 0.2; transition: opacity 250ms; width: 10%; &:hover{ opacity: .5; } } .slick-next{ right: 0; top: 0; } // .views-field:not(.views-field-field-image){ // width: 80%; // } .views-row{ display: grid !important; grid-template-columns: 1fr 1fr; align-items: center; background: white; position: relative; height: auto; padding: 1rem; background-clip: content-box; } .views-field-field-image{ grid-row: 2 / span 6; z-index: 0; padding: .5rem; grid-column: 1; } .views-field:not(.views-field-field-image){ background: transparent; width: auto; margin-left: 0; padding-left: 0; } .views-field-field-sous-titre{ grid-column: 2 / span 1; } .views-field-field-auteurs { grid-row: 3 / span 1; grid-column: 2 / span 1; font-weight: 600; } .views-field-field-type-de-ressource{ grid-column: 2 / span 1; } .views-field-field-edition{ grid-column: 2 / span 1; } .views-field-title{ font-weight: 400; font-style: italic; grid-row: 4 / span 1; grid-column: 2 / span 1; a{ text-decoration: none; &:hover{ text-decoration: underline; } } } .views-field-view-node{ // padding-top: 1rem; // grid-column: 1; // grid-row: 1; // grid-row: 2 / span 1; // grid-column: 2 / span 1; display: none; } .views-field-field-programme,.views-field-title-1{ .field-content{ display: inline-block; width: auto; background-color: black; padding: .3rem .5rem; } padding-left: .5rem !important; grid-row: 1 / span 1; grid-column: 1 / span 2; text-transform: uppercase; margin-top: -.5rem; .field-content{ font-weight: 600; display: inline-block; width: auto; color: white; padding: .02rem .3rem; // margin-bottom: 1rem; } } .programme-1{ .views-field{ color: $col-1 !important; } .views-field-field-programme, .views-field-title-1{ .field-content{ background: $col-1 ; } } } .programme-2{ .views-field{ color: $col-2 !important; } .views-field-field-programme, .views-field-title-1{ .field-content{ background: $col-2 ; } } } .programme-3{ .views-field{ color: $col-eur !important; } .views-field-field-programme, .views-field-title-1{ .field-content{ background: $col-eur ; } } } .programme-4{ .views-field{ color: $col-1; } .views-field-field-programme, .views-field-title-1{ .field-content{ background:$col-1 ; } } } .programme-5{ .views-field{ color: $col-mond !important; } .views-field-field-programme, .views-field-title-1{ .field-content{ background: $col-mond ; } } } .programme-6{ .views-field{ color: $col-ter !important; } .views-field-field-programme, .views-field-title-1{ .field-content{ background: $col-ter ; } } } .programme-7{ .views-field{ color: $col-met !important; } .views-field-field-programme, .views-field-title-1{ .field-content{ background: $col-met ; } } } } } }