123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456 |
- //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;
- }
- }
- }
- .programme-878{
- .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-883{
- .views-field-field-programme{
- .field-content{
- background: $col-transition;
- }
- }
- .views-field{
- color: $col-transition;
- }
- .views-field-title > span{
- color: $col-transition;
- &:hover{
- background: $col-transition;
- 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/logoPOPSU.png);
- }
- @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: 2rem;
- min-height: 2rem;
- margin-right: 0.5rem;
- }
- a[href*='twitter']{
- height: 100%;
- display: block;
- font-size: 0;
- color: transparent;
- background: left / contain no-repeat url(../../images/logo_x.svg);
- }
- a[href*='linkedin']{
- height: 100%;
- display: block;
- font-size: 0;
- color: transparent;
- background: left / contain no-repeat url(../../images/linkedin.svg);
- }
- a[href*='youtube']{
- height: 100%;
- display: block;
- font-size: 0;
- color: transparent;
- background: left / contain no-repeat url(../../images/youtube.svg);
- }
- }
- }
- @include breakpoint(small down) {
- text-align:center;
- margin-top: 1rem;
- }
- }
- }
|