123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284 |
- .layout-container{
- position: relative;
- width: 100vw;
- header{
- // display: block;
- // width: 100%;
- position: fixed;
- z-index: 99;
- width: 100vw;
- // position: -webkit-sticky;
- // position: sticky;
- // top: 0;
- // .sticky{
- // position: fixed;
- // }
- }
- }
- #header-top {
- height: 7rem;
- background-color: $white;
- box-shadow: 1px 0px 8px $black;
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- color: $black;
- top:0%;
- scroll-margin: 8rem {};
-
-
- // logo + menu déroulant
- .region-header-top-left {
- width: 80vw;
- display:flex;
- flex-direction: row;
- padding: 1rem;
- padding-left: 4%;
- align-items:center;
- color: $black;
- font-weight: 800;
- flex: 1;
-
- #block-logogouv{
- display: flex;
- height: 100%;
- align-items: center;
- img{
- width: 80%;
- height: auto;
- }
- }
- #block-logoeql{
- display: flex;
- height: 100%;
- align-items: center;
- img{
- // min-width: 80px;
- width: 80%;
- height: auto;
- }
- }
- #block-headermenu{
- align-self: baseline;
- width: 70%;
- margin-left: 3rem;
- margin-right: 3rem;
- }
- ul{
- font-size: 1rem;
- list-style: none;
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- // padding-left: 3rem;
- // margin-right: 20px;
- width: 100%;
- padding-inline-start: 0px;
- padding: 1rem;
- .is-active{
- color:$blue-light;
- }
- ul{
- display: flex;
- flex-direction: column;
- display: none;
- min-width: 100px;
- width: 100%;
- justify-content: space-between;
- // background:$white;
- // padding-inline-start: 0;
- padding-inline-start: 0px;
-
- .is-active{
- color:$blue-light;
- }
- }
- li{
- display: flex;
- flex-direction: column;
- // justify-content: space-between;
- background-color: $white;
- padding-bottom: 0.8rem;
- max-width: inherit;
- width: 25%;
- align-items: center;
- // padding-left: 1rem;
- height: 20px;
- // text-align: none
-
- // .menuOpen{
- // display: flex;
- // }
- a {
- color: $black;
- }
- .is-active{
- color:$blue-light;
- }
- :hover{
- color: $blue-light;
- }
- }
- li:hover ul {
- display: block;
- }
-
- .ul1.sous-liste.ul2{
- padding-left: 1rem;
- // width: 200px;
- }
- }
- }
- // reseaux sociaux
- #block-socialnetwork-2{
- position: relative;
- top: -33px;
- align-self: flex-end;
- margin-left: auto;
- .field--name-body{
- min-height: 75px;
- // margin-right: 1rem;
- }
- p{
- display: flex;
- flex-direction: row-reverse;
- margin-bottom: 0;
- min-height: 65px;
- justify-content: space-around;
- width: 140px;
- a{
- color: $white;
- font-size: 0;
- }
- svg.ext{
- display: none;
- }
- .link-twitter{
- display: flex;
- background-color: black;
- width: 40px;
- justify-content: center;
- align-items: flex-end;
- &:before{
- content: url("../images/pictos/logo_x_blanc.svg");
- min-width: 30px;
- padding-bottom: 0.5rem;
- }
- }
- .link-youtube{
- display: flex;
- background-color: black;
- min-width: 40px;
- justify-content: center;
- align-items: flex-end;
- &:before{
- content: url("../images/pictos/youtube_white.svg");
- min-width: 25px;
- padding-bottom: 0.5rem;
- }
- }
- .link-linkedin{
- display: flex;
- background-color: black;
- min-width: 40px;
- justify-content: center;
- align-items: flex-end;
- // background-position-y: top;
-
- &:before{
- content: url("../images/pictos/linkedin_white.svg");
- min-width: 35px;
- padding-bottom: 0.2rem;
- }
- }
- }
-
- }
- // menu burger à droite
- #block-burger {
- z-index: 1;
- background-color: $blue-light;
- font-size: 0.7rem;
- color: $white;
- display: block;
- width: 7rem;
- height: 100%;
- margin-top: 0;
- :hover{
- cursor: pointer;
- }
- h2{
- padding-top: 1rem;
- }
- h2:after{
- display: block;
- margin:auto;
- height: 70px;
- content:url('data:image/svg+xml,<svg width="70" height="50" xmlns="http://www.w3.org/2000/svg" version="1.1"> <path id="path930" d="M 5,13 H 65" stroke-linecap="round" stroke="white" stroke-width="3"/><path id="path930-3" d="M 5,25 H 65" stroke-linecap="round" stroke="white" stroke-width="3"/><path id="path930-6" d="M 5,37 H 65" stroke-linecap="round" stroke="white" stroke-width="3"/></svg>');
- }
- #block-burger-menu{
- display: block;
- margin: 0;
- align-self: center;
- text-align: center;
- // height:7rem;
- }
- // block menu open fond bleu
- .ul1:not(.sous-liste){
- width: 300%;
- position: relative;
- right: 260px;
- margin: 0;
- padding-top: 2rem;
- padding-bottom: 2rem;
- z-index: 99;
- }
- ul {
- display: none;
- background-color: $blue-light;
- line-height: 2rem;
- list-style: none;
-
- .ul1 .sous-liste{
- a{
- opacity: 1;
- }
- }
- a{
- opacity: 0.6;
- color: $white;
- font-weight: 800;
- font-size: 1rem;
- }
- }
- &.opened ul {
- display: block;
- }
- }
- }
|