2020-03-17 15:34:26 +01:00
|
|
|
/* HEADER */
|
|
|
|
.Header {
|
2020-08-03 14:14:45 +02:00
|
|
|
position: fixed;
|
|
|
|
width: 100%;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
z-index: 100;
|
2020-03-17 15:34:26 +01:00
|
|
|
|
2020-08-03 14:14:45 +02:00
|
|
|
display: flex;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding: 0.5rem 1rem;
|
2020-03-17 15:34:26 +01:00
|
|
|
|
2020-08-03 14:14:45 +02:00
|
|
|
border-bottom: var(--border-header-footer);
|
|
|
|
background-color: var(--background-color);
|
2020-03-17 15:34:26 +01:00
|
|
|
}
|
|
|
|
@media (min-width: 992px) {
|
2020-08-03 14:14:45 +02:00
|
|
|
.Header {
|
|
|
|
flex-flow: row nowrap;
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
2020-03-17 15:34:26 +01:00
|
|
|
}
|
|
|
|
.Header > .container {
|
2020-08-03 14:14:45 +02:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
2020-03-17 15:34:26 +01:00
|
|
|
}
|
|
|
|
@media (min-width: 992px) {
|
2020-08-03 14:14:45 +02:00
|
|
|
.Header > .container {
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
}
|
2020-03-17 15:34:26 +01:00
|
|
|
}
|
|
|
|
/* Brand */
|
|
|
|
.Header__brand-link {
|
2020-08-03 14:14:45 +02:00
|
|
|
display: inline-block;
|
|
|
|
padding-top: 0.3125rem;
|
|
|
|
padding-bottom: 0.3125rem;
|
|
|
|
margin-right: 1rem;
|
|
|
|
font-size: 1.25rem;
|
|
|
|
line-height: inherit;
|
|
|
|
white-space: nowrap;
|
2020-03-17 15:34:26 +01:00
|
|
|
}
|
|
|
|
#brand-link__logo-small-screen {
|
2020-08-03 14:14:45 +02:00
|
|
|
display: none;
|
2020-03-17 15:34:26 +01:00
|
|
|
}
|
2020-03-18 16:26:18 +01:00
|
|
|
@media (max-width: 496px) {
|
2020-08-03 14:14:45 +02:00
|
|
|
#brand-link__logo {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.Header__brand-link {
|
|
|
|
width: 30%;
|
|
|
|
}
|
|
|
|
#brand-link__logo-small-screen {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2020-03-17 15:34:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 992px) {
|
2020-08-03 14:14:45 +02:00
|
|
|
.Header .Header__navbar {
|
|
|
|
display: flex;
|
|
|
|
flex-basis: auto;
|
|
|
|
}
|
2020-03-17 15:34:26 +01:00
|
|
|
}
|
|
|
|
.Header__navbar {
|
2020-08-03 14:14:45 +02:00
|
|
|
flex-basis: 100%;
|
|
|
|
flex-grow: 1;
|
|
|
|
align-items: center;
|
2020-03-17 15:34:26 +01:00
|
|
|
}
|
|
|
|
.navbar__list {
|
2020-08-03 14:14:45 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
margin-left: auto;
|
2020-03-17 15:34:26 +01:00
|
|
|
}
|
|
|
|
.navbar__list.navbar__list-active {
|
2020-08-03 14:14:45 +02:00
|
|
|
margin: 0 !important;
|
|
|
|
display: flex;
|
2020-03-17 15:34:26 +01:00
|
|
|
}
|
|
|
|
@media (max-width: 992px) {
|
2020-08-03 14:14:45 +02:00
|
|
|
.navbar__list {
|
|
|
|
display: none;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
padding-left: 0;
|
|
|
|
list-style: none;
|
|
|
|
}
|
2020-03-17 15:34:26 +01:00
|
|
|
}
|
|
|
|
.navbar-link {
|
2020-08-03 14:14:45 +02:00
|
|
|
display: block;
|
|
|
|
padding: 0.5rem 1rem;
|
2020-03-17 15:34:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Details Styling */
|
|
|
|
.navbar-link:hover {
|
2020-08-03 14:14:45 +02:00
|
|
|
text-decoration: none;
|
|
|
|
color: rgba(255, 255, 255, 0.75);
|
2020-03-17 15:34:26 +01:00
|
|
|
}
|
2020-08-03 14:14:45 +02:00
|
|
|
.navbar-link,
|
|
|
|
.navbar-link-active {
|
|
|
|
color: rgba(255, 255, 255, 0.5);
|
2020-03-17 15:34:26 +01:00
|
|
|
}
|
2020-08-03 14:14:45 +02:00
|
|
|
.navbar-link-active,
|
|
|
|
.navbar-link-active:hover,
|
|
|
|
.Header__brand-link {
|
|
|
|
color: var(--text-color);
|
2020-03-17 15:34:26 +01:00
|
|
|
}
|
|
|
|
.navbar-item {
|
2020-08-03 14:14:45 +02:00
|
|
|
list-style: none;
|
2020-03-17 15:34:26 +01:00
|
|
|
}
|
|
|
|
.navbar-link {
|
2020-08-03 14:14:45 +02:00
|
|
|
font-size: 16px;
|
|
|
|
padding: 0.5rem;
|
2020-03-17 15:34:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Hamburger Icon */
|
|
|
|
.Header__hamburger {
|
2020-08-03 14:14:45 +02:00
|
|
|
display: none;
|
|
|
|
width: 56px;
|
|
|
|
height: 40px;
|
|
|
|
cursor: pointer;
|
|
|
|
background-color: transparent;
|
|
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
|
|
border-radius: 0.25rem;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.Header__hamburger > span,
|
|
|
|
.Header__hamburger > span::before,
|
|
|
|
.Header__hamburger > span::after {
|
|
|
|
position: absolute;
|
|
|
|
width: 22px;
|
|
|
|
height: 1.3px;
|
|
|
|
background-color: rgba(255, 255, 255);
|
2020-03-17 15:34:26 +01:00
|
|
|
}
|
|
|
|
.Header__hamburger > span {
|
2020-08-03 14:14:45 +02:00
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
transition: background-color 0.3s ease-in-out;
|
2020-03-17 15:34:26 +01:00
|
|
|
}
|
2020-08-03 14:14:45 +02:00
|
|
|
.Header__hamburger > span::before,
|
|
|
|
.Header__hamburger > span::after {
|
|
|
|
content: '';
|
|
|
|
transition: transform 0.3s ease-in-out;
|
2020-03-17 15:34:26 +01:00
|
|
|
}
|
|
|
|
.Header__hamburger > span::before {
|
2020-08-03 14:14:45 +02:00
|
|
|
transform: translateY(-8px);
|
2020-03-17 15:34:26 +01:00
|
|
|
}
|
|
|
|
.Header__hamburger > span::after {
|
2020-08-03 14:14:45 +02:00
|
|
|
transform: translateY(8px);
|
2020-03-17 15:34:26 +01:00
|
|
|
}
|
|
|
|
.Header__hamburger-active span {
|
2020-08-03 14:14:45 +02:00
|
|
|
background-color: transparent;
|
2020-03-17 15:34:26 +01:00
|
|
|
}
|
|
|
|
.Header__hamburger-active > span::before {
|
2020-08-03 14:14:45 +02:00
|
|
|
transform: translateY(0px) rotateZ(45deg);
|
2020-03-17 15:34:26 +01:00
|
|
|
}
|
|
|
|
.Header__hamburger-active > span::after {
|
2020-08-03 14:14:45 +02:00
|
|
|
transform: translateY(0px) rotateZ(-45deg);
|
2020-03-17 15:34:26 +01:00
|
|
|
}
|
|
|
|
/* Apparition du hamburger */
|
|
|
|
@media (max-width: 992px) {
|
2020-08-03 14:14:45 +02:00
|
|
|
.Header__hamburger {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|