123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794 |
- .path-frontpage{
- .home{
- background-color: white;
- }
- .header_top_left_container{
-
- div:nth-child(2){
- img{
- width: 77%;
- }
- }
- }
- .block-region-content{
- display: grid;
- grid-template-columns: repeat(3, minmax(0,1fr));
- align-items: center;
- .views-element-container{
- grid-column: 1 / span 3;
- // overflow: hidden;
- }
- >div:last-of-type{
- grid-column: 1 / span 3;
- background-color: transparent;
- text-align: center;
- padding: 1rem;
- }
- }
- .header_top_left_container{
- // a[rel~="home"]{
- // // display: none;
- // }
- }
- }
- .last-news, .last-ressources{
- .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;
- }
- }
- }
- .last-news .programme-1{
- .views-field:not(.views-field-field-image){
- background: $col-1 !important;
- }
- }
- .last-news .programme-2{
- .views-field:not(.views-field-field-image){
- background: $col-2 !important;
- }
- }
- .last-news .programme-3{
- .views-field:not(.views-field-field-image){
- background: $col-eur !important;
- }
- }
- .last-news .programme-4{
- .views-field:not(.views-field-field-image){
- background: $col-1;
- }
- }
- .last-news .programme-5{
- .views-field:not(.views-field-field-image){
- background: $col-mond !important;
- }
- }
- .last-news .programme-6{
- .views-field:not(.views-field-field-image){
- background: $col-ter !important;
- }
- }
- .last-news .programme-7{
- .views-field:not(.views-field-field-image){
- background: $col-met !important;
- }
- }
- .last-news{
- margin-top: 2rem;
- height: auto;
- .slick-list{
- // display: flex;
- // align-items: start;
- }
- .views-field-field-image{
- margin-top: 1rem;
- // position: absolute;
- grid-column: 1;
- grid-row: 1;
- grid-row: 1 / span 6;
- z-index: -1;
- .field-content{
- width: 100%;
- height: 100%;
- }
- img{
- width: 100%;
- height: 100%;
- object-fit: cover;
- }
- }
- .views-field:not(.views-field-field-image){
- grid-column: 1;
-
- padding-right: .5rem;
- padding-left: .5rem;
- background-color: black;
- width: 90%;
- margin-left: 1rem;
- 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: 2;
- font-size: $font-big !important;
- font-weight: 500;
- line-height: 1.2;
- padding-top: .3rem;
- }
- .views-field-field-sous-titre{
-
- grid-row: 4;
- }
- .views-field-field-type-evenement{
- grid-row: 5;
- padding: .5rem 0 1rem 0;
- }
- .views-field-field-date,.views-field-field-dates-actu{
- grid-row: 3;
- }
-
- .views-field-field-programme{
- text-transform: uppercase;
- grid-row: 1;
- font-weight: 500;
- padding: .5rem 0 .5rem 0;
- }
- }
- // general à deplacer
- .last-ressources{
- .views-field{
- color: black;
- }
- .views-field-field-image{
- grid-column: 1;
- grid-row: 1 / span 4;
- z-index: -1;
- // padding-top: 1rem;
- }
- .views-field:not(.views-field-field-image){
- background: black;
- width: 50%;
- margin-left: 1rem;
- padding-left: 1rem;
- color: white;
-
- }
- .views-field-title-1, .views-field-title{
- padding-bottom: 1rem;
- grid-column: 2;
- grid-row: 3;
- font-weight: 600;
- }
- .views-field-view-node{
- // padding-top: 1rem;
- // grid-column: 1;
- // grid-row: 1;
- grid-row: 4 / span 1;
- grid-column: 2 / span 1;
- margin-bottom: 1rem;
- display: none;
- }
- .views-field-field-programme{
- text-transform: uppercase;
- grid-column: 1;
- grid-row: 1;
- font-weight: 500;
- margin-bottom: 1rem;
- }
- .programme-1{
- .views-field{
- color: $col-1 !important;
- }
- .views-field-field-programme{
- .field-content{
- background: $col-1 ;
- }
- }
- }
- .programme-2{
- .views-field{
- color: $col-2 !important;
- }
- .views-field-field-programme{
- .field-content{
- background: $col-2 ;
- }
- }
- }
- .programme-3{
- .views-field{
- color: $col-eur !important;
- }
- .views-field-field-programme{
- .field-content{
- background: $col-eur ;
- }
- }
- }
- .programme-4{
- .views-field{
- color: $col-1;
- }
- .views-field-field-programme{
- .field-content{
- background:$col-1 ;
- }
- }
- }
-
- .programme-5{
- .views-field{
- color: $col-mond !important;
- }
- .views-field-field-programme{
- .field-content{
- background: $col-mond ;
- }
- }
- }
- .programme-6{
- .views-field{
- color: $col-ter !important;
- }
- .views-field-field-programme{
- .field-content{
- background: $col-ter ;
- }
- }
- }
- .programme-7{
- .views-field{
- color: $col-met !important;
- }
- .views-field-field-programme{
- .field-content{
- background: $col-met ;
- }
-
- }
- }
- }
- .main_logo{
- z-index: 10;
- height: 7rem;
- position: relative;
- // background: red;
- background: center / contain no-repeat url(../../images/popsu-home-logo.png);
- margin: -9% 0 3rem 0 !important;
- @include breakpoint(small down) {
- margin: -20% 0 3rem 0 !important;
- }
- }
- .about{
- box-shadow: inset 0 5rem 4rem white;
- background: $trame_white;
- font-size: $font-medium;
- text-align: center;
- padding: 1rem 0 3rem 0;
- // margin-top: -16rem;
- .views-row{
- .views-field-title{
- font-family: "duke" !important;
- font-size: $font-large;
- color:black;
- font-weight: 400;
- a{
- text-decoration: none;
- }
- }
- h3{
- color: black;
- }
- div{
- margin: 0 5%;
- @include breakpoint(small down) {
- margin: 0 3%;
- }
- }
- .views-field-view-node{
- display: inline-block;
- margin: 0 auto;
- background: black;
- color: white;
- font-family: "trueno";
- font-weight: 500;
- padding: .3rem .7rem;
- font-size: $font-normal;
- text-decoration: none;
- text-transform: uppercase;
- a{
- text-decoration: none;
- &:hover{
- text-decoration: underline;
- }
- }
- margin-top: 1rem;
- &:hover{
- color: black;
- background: white;
- }
- }
- }
-
- }
- #projets-block_1, #home_themes-block_1, #programmes-block_4{
- header{
- display: none;
- }
- }
- .header_container{
- background: $bck-col;
- display: grid;
- grid-template-columns: repeat(3, 1fr);
- grid-column: 1 / span 3;
- header{
- text-align: center;
- font-family: 'duke';
- font-size: 3.1rem;
-
- line-height: 1;
- opacity: .3;
- cursor: pointer;
- padding: .8rem;
- align-self: center;
- .arrow{
- font-size: $font-large;
- display: block;
- margin-top: -1rem;
- }
- &.active{
- opacity: 1;
- font-size: 4rem;
- }
- @include breakpoint(small down) {
- font-size: 2rem;
- &.active{
- font-size: 2.8rem;
- }
- }
- }
- @include breakpoint(small down) {
- grid-template-columns: repeat(2, minmax(0, 1fr));
- header[data-dom="programmes-block_4"]{
- display:none;
- }
-
- }
- }
- #home_themes-block_1{
- display: none;
- .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{
- background-clip: content-box;
- background-color: grey;
- // height: 10rem;
- width: 100% !important;
- position: relative;
- }
-
- .views-row:after{
- content: "";
- display: block;
- padding-bottom: 100%;
- }
-
- .views-field-title{
- display: grid;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- z-index: 10;
- position: absolute;
- text-align: center;
- align-items: center;
- padding: .8rem 1rem;
- font-size: $font-medium;
- font-weight: 600;
- color: white;
- a{
- margin-top: -.5rem;
- text-decoration: none;
- }
- }
- .views-field-field-image:before{
- content: "";
- display: block;
- position: absolute;
- background: black;
- opacity: .4;
- width: 100%;
- height: 100%;
- }
- .views-field-field-image{
-
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- position: absolute;
- .field-content{
- display: grid;
- // justify-content: center;
- // align-items: center;
- padding: 0;
- overflow: hidden;
- width: 100%;
- height: 100%;
- // a{
- // // margin-left: -50%;
- img{
- height: 100% !important;
- width: inherit !important;
- max-width: none;
- }
- // }
- }
-
- }
- }
- #programmes-block_4{
- display: none;
- grid-column: 1 / span 3;
- }
- #programmes-block_4>div>div{
-
- display: flex;
- //grid-template-columns: repeat( 3, 1fr);
- align-items: center;
- justify-items: center;
- margin-top: 0;
- .views-row{
- background-clip: content-box;
- min-height: 11rem;
- width: 100%;
- display: flex;
- flex-wrap: wrap;
- align-items: flex-start;
- align-content: center;
- padding: 1rem;
- .views-field{
- flex-basis: 100%;
- }
- .views-field:not(.views-field-field-logo){
- font-size: $font-medium;
- font-weight: 600;
- display: none;
-
- }
- .views-field-title{
- margin-bottom: .7rem;
- }
- &:hover{
- .views-field:not(.views-field-field-logo){
- font-weight: 600;
- display: block;
- color: white;
- text-align: center;
-
- a{
- text-decoration: none;
- }
-
- }
- }
- .views-field-field-logo{
- text-align: center;
- }
- }
- //temp
- .views-field-field-diaporama{
- display: none;
- }
- //
- .programme-1{
- // background: center / 60% no-repeat url(../images/POPSU_1.svg) white;
- img{
- width: 60%;
- }
- &:hover{
- background: $col-1;
- img{
- display: none;
- }
- }
-
- }
- .programme-2{
- // background: center / 60% no-repeat url(../images/POPSU_2.svg) white;
- img{
- width: 60%;
- }
-
- &:hover{
- background: $col-2;
- img{
- display: none;
- }
- }
- }
- .programme-3{
- // background: center / 50% no-repeat url(../images/POPSU_Europe.svg) white;
- img{
- width: 60%;
- }
- &:hover{
- background: $col-eur;
- img{
- display: none;
- }
- }
- }
- .programme-4{
- // background: center / 50% no-repeat url(../images/POPSU_Europe.svg) white;
- img{
- width: 60%;
- }
- &:hover{
- background: $col-1;
- img{
- display: none;
- }
- }
- }
- .programme-5{
- // background: center / 45% no-repeat url(../images/POPSU_monde.svg) white;
- img{
- width: 46%;
- }
- &:hover{
- background: $col-mond;
- img{
- display: none;
- }
- }
- }
- .programme-6{
- // background: center / 60% no-repeat url(../images/POPSU_territoires.svg) white;
- img{
- width: 60%;
- }
- &:hover{
- background: $col-ter;
- img{
- display: none;
- }
- }
- }
- .programme-7{
- // background: center / 60% no-repeat url(../images/POPSU_metropoles.svg) white;
- img{
- width: 60%;
- }
- &:hover{
- background: $col-met;
- img{
- display: none;
- }
- }
- }
- }
- #home_blocks-block_3{
- background: $trame;
- padding: 2rem;
- h2{
- text-align: center;
- margin: 0 0 1rem 0;
- }
- .last-ressources{
- .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: 3 / span 3;
- // margin-top: -1.5rem;
- z-index: 0;
- padding: .5rem;
- margin-top: -1.3rem;
- }
- .views-field:not(.views-field-field-image){
- background: transparent;
- width: auto;
- margin-left: 0;
- padding-left: 0;
- color: black;
-
- }
- .views-field-title-1,.views-field-title{
- font-weight: 400;
- grid-row: 3 / span 1;
- grid-column: 2;
- font-style: italic;
-
- }
- .views-field-field-auteurs{
- grid-row: 2 / span 1;
- font-weight: 600;
- grid-column: 2;
-
- }
- .views-field-field-edition{
- grid-row: 4;
- grid-column: 2;
-
- }
-
- .views-field-field-programme{
- .field-content{
- display: inline-block;
- width: auto;
- padding: .3rem .5rem;
-
- }
- .empty {
- background-color: black;
- height: 1rem;
- // &::before{
- // content: "POPSU";
- // }
-
- }
- 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;
- }
- }
-
- }
- }
- // #villes-block_1{
- // grid-column: 1;
- // }
- // #home_themes-block_1{
- // grid-column: 2;
- // }
- // #programmes-block_4{
- // grid-column: 3;
- // }
- // .home_info_container{
- // height: auto;
- // min-height: 5rem;
- // display: none;
- // grid-column: 1 / span 3;
- // }
- // #villes-block_1, #home_themes-block_1, #programmes-block_4{
- // background: $bck-col;
- // height: 100%;
- // display: grid;
- // align-items: center;
- // header{
- // text-align: center;
- // font-family: 'duke';
- // font-size: 3.1rem;
- // line-height: 1;
- // opacity: .3;
- // cursor:pointer;
- // padding: .8rem;
- // .arrow{
- // font-size: $font-large;
- // display: block;
- // margin-top: -1rem;
- // }
- // &.active{
- // opacity: 1;
- // font-size: 4rem;
- // }
- // }
- // .views-row{
- // display: none;
- // }
- // .leaflet-container{
- // display: none;
- // }
-
- // }
|