123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703 |
- .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 ;
- }
-
- }
- }
- }
- }
- }
|