307 lines
9.8 KiB
SCSS
307 lines
9.8 KiB
SCSS
|
|
|
|
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;
|
|
|
|
// }
|
|
.region-header{
|
|
display: inline-grid;
|
|
align-items: center;
|
|
grid-template-columns: repeat(10, 1fr) ;
|
|
|
|
#block-reha-logoministere{
|
|
grid-column: 1;
|
|
width: 200px;
|
|
|
|
min-width: 100px;
|
|
padding-left: 4rem;
|
|
height: 100%;
|
|
img{
|
|
max-width: 100%;
|
|
object-fit: contain;
|
|
}
|
|
@media (max-width:891px) {
|
|
width: 10%;
|
|
padding-left: 1rem;
|
|
}
|
|
|
|
}
|
|
#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;
|
|
: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%;
|
|
.titre{
|
|
width: 100%;
|
|
position: relative;
|
|
::after{
|
|
position: relative;
|
|
left: 430px;
|
|
}
|
|
}
|
|
#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;
|
|
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);
|
|
.titre{
|
|
padding-left:3rem ;
|
|
::after{
|
|
left: 320px;
|
|
}
|
|
}
|
|
.field__item{
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding-left: 3rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#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;
|
|
h2{
|
|
text-transform: lowercase;
|
|
display: inline-flex;
|
|
}
|
|
}
|
|
|
|
.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: 90px;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|