//header .header_top_middle_container{ .programme-1{ .views-field-field-programme{ .field-content{ background: $col-1; } } .views-field{ color: $col-1; } .views-field-title > span{ color: $col-1; &:hover{ background: $col-1; color:white; } } } .programme-2{ .views-field-field-programme{ .field-content{ background: $col-2; } } .views-field{ color: $col-2; } .views-field-title > span{ color: $col-2; &:hover{ background: $col-2; color:white; } } } .programme-3{ .views-field-field-programme{ .field-content{ background: $col-eur; } } .views-field{ color: $col-eur; } .views-field-title > span{ color: $col-eur; &:hover{ background: $col-eur; color:white; } } } .programme-4{ .views-field-field-programme{ .field-content{ background: $col-1; } } .views-field{ color: $col-1; } .views-field-title > span{ color: $col-1; &:hover{ background: $col-1; color:white; } } } .programme-5{ .views-field-field-programme{ .field-content{ background: $col-mond; } } .views-field{ color: $col-mond; } .views-field-title > span{ color: $col-mond; &:hover{ background: $col-mond; color:white; } } } .programme-6{ .views-field-field-programme{ .field-content{ background: $col-ter; } } .views-field{ color: $col-ter; } .views-field-title > span{ color: $col-ter; &:hover{ background: $col-ter; color:white; } } } .programme-7{ .views-field-field-programme{ .field-content{ background: $col-met; } } .views-field{ color: $col-met; } .views-field-title > span{ color: $col-met; &:hover{ background: $col-met; color:white; } } } } ////////////////////////////////////////@at-root #header-top{ height: 5rem; background: white; padding-bottom: 1rem; padding-top: 1rem; } .header_top_left_container{ height: 100%; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; text-align: center; column-gap: 10px; &>div[id='']{ height: 100%; font-size: 0; } a[rel~='home']{ //display: none; height: 100%; display: block; font-size: 0; color: transparent; background: left / contain no-repeat url(../../images/POPSU_logo.svg); } @include breakpoint(small down) { grid-template-columns: 1fr 1fr; } } .header_top_middle_container{ height: 100%; // solution to access views container .views-element-container{ height: 100%; &>div:first-child{ height: 100%; &>div:first-child{ height: 100%; // display: grid; // grid-template-columns: repeat(4, 1fr); display: flex; justify-content: end; align-items: center; &>div:first-child{ grid-column-start: 2; } @include breakpoint(small down) { grid-template-columns: repeat(3, 1fr); &>div:first-child{ grid-column-start: 1; } } } } } .views-row{ // text-align: center; display: inline-block; width: auto; // a, span{ // } .views-field-title>span{ display: inline-block; width: auto; padding: .2rem .5rem; text-transform: uppercase; text-decoration: none; font-weight: 600; a{ text-decoration: none; } @include breakpoint(1222px down) { font-size: $font-small; } } } } .close-block, .open-block{ // background: red; cursor:pointer; span{ display: block; width: 33px; height: 2px; position: relative; background: black; border-radius: 3px; z-index: 1; } } .close-block{ padding-top: 1.2rem; padding-left: 2rem; span{ transform-origin: center; } &>div>span:first-child{ transform: translateY(57%)rotate(45deg); } &>div>span:nth-child(2){ transform: rotate(-45deg); } @include breakpoint(small down) { position: absolute; top: 1rem; right: 1rem; } } .open-block{ height: 100%; display: grid; align-items: center; span{ margin-bottom: 5px; transform-origin: 4px 0px; } } #header-top-right{ .header_top_right_container{ position: absolute; top: 0; left: 0; width: 100%; background: white; display: none; grid-template-columns: 10% 25% 25% 30% 10%; padding: 1rem 0; z-index: 140; line-height: 2; @include breakpoint(small down) { grid-template-columns: 1fr; align-content: center; text-align: center; height: 100vh; font-size: $font-medium; } nav{ grid-column-start: 2; @include breakpoint(small down) { grid-column-start: 1; } } // padding: 1rem .5rem 1rem .5rem; a{ text-decoration: none; font-weight: 400; &:hover{ text-decoration: underline; } } h2{ font-weight: 100; margin-bottom: .3rem; } .views-field-title{ color: black !important; &:hover{ background: transparent; } } .is-active{ font-weight: 800; } #block-views-block-programmes-block-2{ .views-row{ width: 100%; } } } } footer[role="contentinfo"]{ background: white; // margin-top: 3rem; } #footer-bottom{ padding: 2rem 0; height: 10rem; .more{ display: none; } *{ word-wrap: break-word; } h2{ font-weight: 500; } .footer_bottom_left_container{ height: 100%; div{ height: 100%; } p{ height: 100%; display: grid; } } .logo-gouv{ height: 100%; margin-bottom: 1rem; display: block; color: transparent; font-size: 0; background: left / contain no-repeat url(../../images/gouv.svg); } .logo-puca{ display: none; height: 100%; color: transparent; font-size: 0; background: left / contain no-repeat url(../../images/puca.svg); margin-top: .5rem; } #block-pieddepage{ ul{ line-height: 2; li{ a{ text-transform: uppercase; text-decoration: none; font-weight: 400; &:hover{ text-decoration: underline; } } } } } .footer_bottom_right_container{ &>div>div{ // display: grid; // grid-template-columns: repeat(3,1fr); p{ display: inline-block; a{ min-width: 3rem; min-height: 3rem; } a[href*='twitter']{ height: 100%; display: block; font-size: 0; color: transparent; background: left / contain no-repeat url(../../images/tw.svg); } a[href*='linkedin']{ height: 100%; display: block; font-size: 0; color: transparent; background: left / contain no-repeat url(../../images/ln.svg); } a[href*='youtube']{ height: 100%; display: block; font-size: 0; color: transparent; background: left / contain no-repeat url(../../images/yt.svg); } } } @include breakpoint(small down) { text-align:center; margin-top: 1rem; } } }