twig & js header

This commit is contained in:
2023-11-24 16:14:55 +01:00
parent 7456d756b3
commit fbb9165185
7 changed files with 167 additions and 23 deletions
+30 -7
View File
@@ -203,7 +203,7 @@ header {
position: absolute;
background-color: white;
width: 550px;
height: 100vh;
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%; }
@@ -217,21 +217,33 @@ header {
header .region-header #block-reha-config-pages .bouton-contact ::before {
content: url(../images/noun-letter-1064628.svg);
padding-right: 1rem; }
header .region-header #block-reha-config-pages .config_pages--contact--full {
header .region-header #block-reha-config-pages .contacts {
height: 0;
/* Hauteur initiale à 0 pour créer l'effet de glissement vers le bas */
width: 100%; }
header .region-header #block-reha-config-pages .config_pages--contact--full .field--type-text-long {
header .region-header #block-reha-config-pages .contacts .titre {
display: none;
display: inline-flex;
font-weight: 800;
position: relative;
margin-top: 2rem; }
header .region-header #block-reha-config-pages .contacts .titre ::after {
content: url(../images/noun-cross-1151731.svg);
float: right;
position: relative;
left: 200px;
cursor: pointer; }
header .region-header #block-reha-config-pages .contacts .contacts-full {
display: none;
background-color: white;
position: absolute;
right: 0px;
top: 100%;
width: 550px;
height: 100vh;
height: 200vh;
box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
clip-path: inset(0px -10px -10px -10px); }
header .region-header #block-reha-config-pages .config_pages--contact--full .field--type-text-long .field__item {
header .region-header #block-reha-config-pages .contacts .contacts-full .field__item {
display: flex;
flex-direction: column;
padding: 5% 10% 5% 5%; }
@@ -257,16 +269,27 @@ header {
position: absolute;
background-color: white;
width: 550px;
height: 100vh;
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%; }
padding: 5% 10% 5% 45%; }
header .bouton {
align-self: flex-end;
width: fit-content; }
header .bouton h2 {
text-transform: lowercase;
display: inline-flex; }
header .titre {
display: inline-flex;
font-weight: 800;
position: relative;
margin-top: 2rem; }
header .titre ::after {
content: url(../images/noun-cross-1151731.svg);
float: right;
position: relative;
left: 200px;
cursor: pointer; }
footer {
background-color: white;