123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201 |
- header{
- max-height: 100px;
- .row{
- background: white;
- max-height: inherit;
- justify-content: space-between;
- #block-popsu-colloque-branding{
- max-height: inherit;
- & > div{
- max-height: inherit;
- a{
- display: block;
- max-height: inherit;
- img{
- width: 100%;
- max-height: inherit;
- object-fit: contain;
- padding-bottom: 0.5rem;
- padding-top: 0.5rem;
- @media screen and (min-width: 450px) {
- width: auto;
- }
- }
- }
- }
- &.is-active{
- z-index: 10000;
- }
- }
- #block-renderedsitesettingsblock-2{
- width: 35%;
- border-left: 1px solid $color1;
- padding: 0;
- display: none;
- @media screen and (min-width: 1200px) {
- display: flex;
- }
- .site_setting_entity{
- display: flex;
- align-items: center;
- justify-content: flex-start;
- padding: 0 1rem 0 0rem;
- h1{
- width: 100%;
- color: $color2;
- padding-right: 1rem;
- text-transform: uppercase;
- text-align: right;
- align-self: stretch;
- margin: auto 0;
- }
- .__info_colloque{
- width: 50%;
- height: auto;
- display: flex;
- flex-direction: column;
- // justify-content: space-between;
- &>div{
- height: auto;
- &:first-child{
- color: $color1;
- white-space: nowrap;
- border-bottom: 2px solid $color1;
- padding-bottom: 0.4rem;
- margin-bottom: 0.6rem;
- }
- &:last-child{
- p{
- color: $color2;
- padding-right: 10px;
- // width: min-content;
- margin-bottom: 0;
- }
- }
- }
- }
- }
- }
- #block-mainnavigation{
- width: max-content;
- .burger{
- padding-top: 0.25rem;
- z-index: 9999;
- }
- .nav-main{
- display: none;
- @media screen and (min-width: 1200px) {
- display: block;
- ul{
- margin-bottom: 0;
- flex-wrap: wrap;
- li{
- margin: 0 0.5rem;
- &:not(:last-child){
- &:after{
- display: inline-block;
- content: "|";
- margin-left: 0.5rem;
- }
- }
- }
- }
- }
- &.is-active{
- display: block;
- position: fixed;
- width: 100vw;
- height: 100vh;
- left: 0;
- top: 0;
- background: white;
- z-index: 9999;
- @media screen and (min-width: 576px) {
- height: auto;
- ul{
- margin: 130px 0 50px 0;
- }
- li{
- font-size: 1.7rem;
- line-height: 3rem;
- padding: 0 15px;
- }
- }
- ul{
- display: flex;
- justify-content: center;
- flex-direction: column;
- height: 100%;
- align-items: center;
- li{
- font-size: 1.5rem;
- line-height: 3rem;
- padding: 0 15px;
- @media screen and (min-width: 360px) {
- width: 100%;
- &::before{
- display: inline-block;
- content: " ";
- width: 0%;
- transition: width 1s ease;
- height: 1px;
- background: $color1;
- }
- &:hover{
- &::before{
- width: 10%;
- transition: all 1s ease;
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- #block-mainnavigation{
- border-left: 1px solid $color1;
- display: flex;
- align-items: center;
- justify-content: flex-end;
- .burger{
- display: block;
- margin: auto;
- @media screen and (min-width: 1200px) {
- display: none;
- }
- &.is-active{
- z-index: 999;
- }
- }
- .nav-main{
- display: none;
- height: auto;
- @media screen and (min-width: 1200px) {
- display: flex;
- }
- }
- }
- header.front{
- #block-popsu-colloque-branding{
- width: 21rem;
- position: relative;
- z-index: 9999;
- a{
- max-height: 8rem!important;
- }
- &.is-active{
- overflow: inherit;
- &>div{
- max-height: 115px;
- }
- }
- }
- #block-renderedsitesettingsblock-2{
- display: none;
- }
- }
|