header{ display: block; height: 150px; background-color: $white-header; z-index: 99; width: 100vw; max-width: 100vw; position: -webkit-sticky; position: sticky; top: 0; box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px; @media (max-width:800px) { // height: 100px; width: 800px; } .region-header{ display: inline-grid; align-items: center; grid-template-columns: repeat(10, 1fr) ; @media (max-width:891px) { display: flex; flex-direction: row; justify-content: space-between; } #block-reha-logoministere{ grid-column: 1; width: 200px; min-width: 100px; padding-left: 80px; padding-top: 30px; height: 100%; img{ max-width: 100%; object-fit: contain; } @media (max-width:891px) { // width: 10%; padding-left: 80px; padding-top: 20px; } } #block-reha-logoreha{ display: none; grid-column: 2; max-height: 90%; height: $header-height; .field--name-field-logo{ height: $header-height; .field__item{ height: $header-height; img{ height: 150px; width: fit-content; } } } } #block-reha-connexionutilisateur{ grid-column: 9; display: flex; flex-direction: column; height: fit-content; @media (max-width:891px) { // width: 10%; padding-left: 1rem; } .bouton-connexion{ padding-right: 3rem; // @media (max-width:891px) { // font-size: 0.1rem; // color: white; // } :before{ content: url(../images/noun-contact-2495375.svg); padding-right: 1rem; } } .connexion{ height: 0; /* Hauteur initiale à 0 pour créer l'effet de glissement vers le bas */ width: 100%; position: relative; .connexion-full{ display: none; right:-235px; top: 36px; // Positionnez-les sous les boutons position: absolute; background-color: $white-header; // width: 30vw; width: $width-menu-slidedown; height: 200vh; box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px; clip-path: inset(0px -10px -10px -10px); padding: 5% 10% 5% 5%; @media (max-width:891px) { top: 50px; right: -250px; width: 500px; height: fit-content; } // @media(max-width: 891px){ // top: 100%; // width: 500px; // padding-left: 0; // padding-top: 1rem; // height: fit-content; // } @media (max-width:500px) { top: 15px; right: -150px; width: 100vw; height: fit-content; } .titre{ width: 100%; position: relative; ::after{ position: relative; left: 430px; @media (max-width:500px) { left: 325px; } } } #user-login-form{ width: 80%; display: flex; flex-direction: column; align-items: start; padding-left: 2.5rem; .form-item-persistent-login{ flex-direction: row-reverse; #edit-persistent-login{ width: fit-content; } label{ flex-grow: 0; } } } ul{ font-size: 1.2rem; width: 70%; display: flex; flex-direction: column; margin-top: 0; margin-bottom: 4rem; padding-bottom: 4rem; .create-account-link{ display: none; } .request-password-link{ margin-bottom: 4rem; font-size: 1rem; &:hover{ text-decoration: $yellow-puca underline; } } // .request-password-link:hover{ // text-decoration: $yellow-puca underline; // } li p{ font-style: italic; font-size: 0.9rem; padding-top: 1rem; } } ul:first-of-type{ border-bottom: 1px solid black; } ul:last-of-type{ a{ text-transform: uppercase; padding: 1rem; border: solid black 1px; margin-bottom: 1rem; background-color: $white-button; @media (max-width:891px) { font-size: 1rem; } p{ font-style: italic; } } } ul:last-of-type a:hover{ background-color: $yellow-puca; } } } } #block-reha-config-pages{ grid-column: 10; .bouton-contact{ padding-right: 4rem; ::before{ content: url(../images/noun-letter-1064628.svg); padding-right: 1rem; } } display: flex; flex-direction: column; height: fit-content; .contacts { height: 0; /* Hauteur initiale à 0 pour créer l'effet de glissement vers le bas */ width: 100%; .contacts-full { display: none; background-color: $white-header; position: absolute; right:0px; top: 100%; width: $width-menu-slidedown; padding-left: 3.5rem; padding-top: 1rem; // width: 30vw; height: 200vh; box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px; clip-path: inset(0px -10px -10px -10px); @media(max-width: 891px){ right: 0px; top: 100%; width: 500px; padding-left: 0; padding-top: 1rem; height: fit-content; } .titre{ padding-left:3rem ; @media (max-width:500px) { padding-left: 1.5rem; } ::after{ left: 290px; @media(max-width: 891px){ left: 242px; } @media (max-width:500px) { left: 150px; } } } } .field__item{ display: flex; flex-direction: column; padding-left: 3rem; @media (max-width:891px) { padding-bottom: 2rem; } @media (max-width:500px) { padding-left: 2rem; padding-bottom: 2rem; padding-right: 1.5rem; } } } } } #block-reha-views-block-current-user-block-block-1{ grid-column: 9; .bouton-connected{ padding-right: 3rem; :before{ content: url(../images/noun-contact-2495375.svg); padding-right: 1rem; } } display: flex; flex-direction: column; height: fit-content; .connected{ height: 0; /* Hauteur initiale à 0 pour créer l'effet de glissement vers le bas */ width: 100%; position: relative; .connected-full{ display: none; right:-267px; top: 36px; // Positionnez-les sous les boutons position: absolute; background-color: $white-header; width: $width-menu-slidedown; height: 200vh; box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px; clip-path: inset(0px -10px -10px -10px); padding: 5% 10% 5% 45%; footer{ font-weight: 400; font-size: 1rem; margin-top: 2rem; border-top: 1px solid black; padding-top: 1.5rem; ul{ width: 45%; display: flex; flex-direction: column-reverse; padding-left: 0; li:first-of-type{ margin-top: 4rem; border-bottom: 1px solid black ; } li{ text-transform: uppercase; padding: 1rem; border: solid black 1px; margin-bottom: 1rem; background-color: $white-button; } li:hover{ background-color: $yellow-puca; } } } } } } } .bouton{ align-self: flex-end; width: fit-content; @media (max-width:891px) { font-size: 0.1rem; color: white; padding-right: 0 !important; } h2{ text-transform: lowercase; display: inline-flex; font-size: 1rem; } } .titre{ display: inline-flex; font-weight: 800; font-size: 1.8rem; position: relative; ::after{ content: url(../images/noun-cross-1151731.svg); float: right; position: relative; left: 70px; cursor: pointer; } }