js header
This commit is contained in:
@@ -1,6 +1,14 @@
|
||||
/*reha*/
|
||||
/*global*/
|
||||
/* Colors used for REHA */
|
||||
.field--type-link {
|
||||
width: 45%;
|
||||
text-transform: uppercase;
|
||||
padding: 1rem;
|
||||
border: solid black 1px;
|
||||
margin-bottom: 1rem;
|
||||
background-color: white; }
|
||||
|
||||
/*marianne*/
|
||||
@font-face {
|
||||
font-family: 'Marianne';
|
||||
@@ -96,7 +104,8 @@
|
||||
display: flex;
|
||||
flex-flow: row wrap; }
|
||||
.layout-container header {
|
||||
flex: 0 0 100%; }
|
||||
flex: 0 0 100%;
|
||||
height: 150px; }
|
||||
.layout-container main {
|
||||
position: relative; }
|
||||
.layout-container footer {
|
||||
@@ -121,18 +130,9 @@ a {
|
||||
:link {
|
||||
color: black; }
|
||||
|
||||
.field--type-link {
|
||||
width: 45%;
|
||||
text-transform: uppercase;
|
||||
padding: 1rem;
|
||||
border: solid black 1px;
|
||||
margin-bottom: 1rem;
|
||||
background-color: white; }
|
||||
|
||||
/*partials*/
|
||||
header {
|
||||
display: block;
|
||||
width: 100%;
|
||||
background-color: white;
|
||||
position: fixed;
|
||||
z-index: 99;
|
||||
@@ -140,11 +140,34 @@ header {
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
top: 0; }
|
||||
header .sticky {
|
||||
position: fixed; }
|
||||
header div {
|
||||
display: flex;
|
||||
flex-direction: row; }
|
||||
flex-direction: row;
|
||||
justify-content: space-between; }
|
||||
header div #block-reha-logoministere {
|
||||
width: fit-content; }
|
||||
header div #block-reha-logoreha {
|
||||
max-height: 90%; }
|
||||
header div #block-reha-connexionutilisateur {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 15%; }
|
||||
header div #block-reha-connexionutilisateur .user-login-form {
|
||||
display: none; }
|
||||
header div #block-reha-connexionutilisateur ul {
|
||||
display: none; }
|
||||
header div #block-reha-config-pages {
|
||||
width: 15%;
|
||||
display: flex;
|
||||
flex-direction: column; }
|
||||
header div #block-reha-config-pages .config_pages--contact--full {
|
||||
display: none;
|
||||
/* Cacher initialement le contenu */ }
|
||||
header div #block-reha-config-pages .open {
|
||||
display: block; }
|
||||
header div #block-reha-config-pages .field--type-text-long {
|
||||
transition: height 0.5s;
|
||||
/* Animation de 0.5 seconde lors de l'expansion vers le bas */ }
|
||||
|
||||
footer {
|
||||
background-color: white;
|
||||
@@ -174,6 +197,7 @@ footer {
|
||||
display: flex;
|
||||
flex-direction: column; }
|
||||
|
||||
/*pages*/
|
||||
.layout--onecol {
|
||||
width: 70%;
|
||||
margin: auto;
|
||||
@@ -183,6 +207,10 @@ footer {
|
||||
.layout--onecol .block-region-content .block-block-content1ca95211-9fa2-4ef2-a460-8184d1eaf20f {
|
||||
display: flex;
|
||||
justify-content: flex-end; }
|
||||
.layout--onecol .block-region-content .block-block-content1ca95211-9fa2-4ef2-a460-8184d1eaf20f :hover {
|
||||
background-color: #fdc300; }
|
||||
.layout--onecol .block-region-content .block-block-content1dd151e8-8a8b-4586-9e62-8905ba0c93e0 {
|
||||
display: flex;
|
||||
justify-content: flex-end; }
|
||||
.layout--onecol .block-region-content .block-block-content1dd151e8-8a8b-4586-9e62-8905ba0c93e0 :hover {
|
||||
background-color: #fdc300; }
|
||||
|
||||
Reference in New Issue
Block a user