2017-04-04 14:37:16 +02:00
|
|
|
@import "colors";
|
2017-07-06 13:47:19 +02:00
|
|
|
@import "common";
|
|
|
|
@import "constants";
|
2017-04-04 14:37:16 +02:00
|
|
|
@import "mixins";
|
2020-03-05 16:03:55 +01:00
|
|
|
@import "utils";
|
2017-04-04 14:37:16 +02:00
|
|
|
|
2019-03-13 17:24:18 +01:00
|
|
|
$header-landing-breakpoint: 1040px;
|
|
|
|
$header-mobile-breakpoint: 550px;
|
2018-03-01 09:44:58 +01:00
|
|
|
|
2017-04-04 14:37:16 +02:00
|
|
|
// FIXME: Rename when the header is generalized
|
|
|
|
.new-header {
|
|
|
|
background-color: #FFFFFF;
|
|
|
|
}
|
|
|
|
|
2022-09-14 19:23:40 +02:00
|
|
|
// No drop shadow when a notice is shown.
|
|
|
|
.fr-header.fr-header__with-notice-info {
|
|
|
|
&,
|
|
|
|
.fr-header__brand {
|
|
|
|
filter: none;
|
|
|
|
}
|
2017-05-05 12:29:19 +02:00
|
|
|
}
|
|
|
|
|
2017-04-04 14:37:16 +02:00
|
|
|
.header-inner-content {
|
2017-07-06 13:47:19 +02:00
|
|
|
@extend .container;
|
2017-05-17 18:06:25 +02:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2017-10-09 11:46:51 +02:00
|
|
|
min-height: 72px;
|
2017-07-03 16:01:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.header-logo {
|
2019-11-25 15:59:58 +01:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2020-06-03 15:10:26 +02:00
|
|
|
align-items: center;
|
2021-08-25 17:32:41 +02:00
|
|
|
color: $blue-france-500;
|
2019-11-25 15:59:58 +01:00
|
|
|
|
|
|
|
img {
|
|
|
|
margin-right: 10px;
|
2019-03-11 15:55:15 +01:00
|
|
|
}
|
|
|
|
|
2019-11-25 15:59:58 +01:00
|
|
|
.site-title {
|
|
|
|
font-size: 24px;
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
|
|
&.small {
|
|
|
|
@media (min-width: $header-mobile-breakpoint) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.big {
|
|
|
|
@media (max-width: $header-mobile-breakpoint) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2018-02-28 18:58:42 +01:00
|
|
|
}
|
2017-07-03 16:01:44 +02:00
|
|
|
}
|
|
|
|
|
2017-08-28 10:46:27 +02:00
|
|
|
.header-tabs {
|
2017-07-03 16:01:44 +02:00
|
|
|
li {
|
2017-10-05 23:25:29 +02:00
|
|
|
@include horizontal-padding($default-padding);
|
2017-07-03 16:01:44 +02:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2017-11-21 16:14:34 +01:00
|
|
|
.tab-link {
|
2017-09-20 15:49:49 +02:00
|
|
|
display: inline-block;
|
2017-10-16 11:51:06 +02:00
|
|
|
height: 72px;
|
|
|
|
line-height: 72px;
|
2017-07-03 16:01:44 +02:00
|
|
|
font-size: 18px;
|
|
|
|
color: $black;
|
|
|
|
|
2017-10-05 23:26:27 +02:00
|
|
|
&.active,
|
|
|
|
&:hover {
|
2021-09-20 15:04:24 +02:00
|
|
|
color: $blue-france-500;
|
|
|
|
border-bottom: 2px solid $blue-france-500;
|
2017-11-21 16:26:12 +01:00
|
|
|
|
|
|
|
&.contact-link {
|
2017-11-22 11:24:18 +01:00
|
|
|
position: relative;
|
2017-11-21 16:26:12 +01:00
|
|
|
border-bottom: none;
|
|
|
|
|
|
|
|
.contact-details {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2017-07-03 16:01:44 +02:00
|
|
|
}
|
|
|
|
}
|
2017-04-04 14:37:16 +02:00
|
|
|
}
|
|
|
|
|
2017-11-21 16:26:12 +01:00
|
|
|
.contact-details {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
left: -165px;
|
|
|
|
background: #FFFFFF;
|
2021-09-20 15:04:24 +02:00
|
|
|
border: 2px solid $blue-france-500;
|
2017-11-21 16:26:12 +01:00
|
|
|
border-radius: 5px;
|
|
|
|
padding: 15px;
|
|
|
|
width: 400px;
|
|
|
|
color: $black;
|
|
|
|
z-index: 100;
|
|
|
|
font-size: initial;
|
|
|
|
line-height: 1.6;
|
|
|
|
|
|
|
|
&::after,
|
|
|
|
&::before {
|
|
|
|
bottom: 100%;
|
|
|
|
left: 50%;
|
|
|
|
border: solid transparent;
|
|
|
|
content: " ";
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
border-color: rgba(255, 255, 255, 0);
|
|
|
|
border-bottom-color: #FFFFFF;
|
|
|
|
border-width: 15px;
|
|
|
|
margin-left: -15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
border-color: rgba(255, 255, 255, 0);
|
2021-09-20 15:04:24 +02:00
|
|
|
border-bottom-color: $blue-france-500;
|
2017-11-21 16:26:12 +01:00
|
|
|
border-width: 18px;
|
|
|
|
margin-left: -18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style-type: disc;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-22 14:56:59 +02:00
|
|
|
.header-right-content {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
2017-06-22 16:45:57 +02:00
|
|
|
> li {
|
2017-06-22 14:56:59 +02:00
|
|
|
@include horizontal-padding(8px);
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-search {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.form input[type=text] {
|
|
|
|
padding: 9px;
|
|
|
|
padding-right: 42px;
|
|
|
|
float: right;
|
2019-03-11 15:50:23 +01:00
|
|
|
max-width: 300px;
|
|
|
|
min-width: 90px;
|
2017-07-20 10:39:16 +02:00
|
|
|
margin: 0;
|
2017-06-22 14:56:59 +02:00
|
|
|
}
|
|
|
|
|
2020-03-05 16:03:55 +01:00
|
|
|
label.hidden {
|
|
|
|
@extend .hidden;
|
|
|
|
}
|
|
|
|
|
2017-06-22 14:56:59 +02:00
|
|
|
button {
|
2019-11-19 09:42:16 +01:00
|
|
|
@extend %outline;
|
|
|
|
|
2017-07-20 10:39:16 +02:00
|
|
|
padding: 9px;
|
2017-06-22 14:56:59 +02:00
|
|
|
border: none;
|
|
|
|
background: none;
|
|
|
|
cursor: pointer;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
2017-06-22 16:45:57 +02:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-menu-opener {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
img {
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-09-11 17:51:44 +02:00
|
|
|
.header-menu-button {
|
|
|
|
border: none;
|
|
|
|
padding: 0;
|
2019-03-11 17:23:16 +01:00
|
|
|
line-height: 14px;
|
|
|
|
vertical-align: middle;
|
2018-09-11 17:51:44 +02:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2017-06-22 16:45:57 +02:00
|
|
|
.header-menu {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 34px;
|
|
|
|
font-size: 14px;
|
|
|
|
background: #FFFFFF;
|
|
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
|
|
|
|
border: 1px solid $border-grey;
|
|
|
|
min-width: 270px;
|
|
|
|
max-width: 340px;
|
2017-09-21 11:02:01 +02:00
|
|
|
z-index: 20;
|
2017-06-22 16:45:57 +02:00
|
|
|
|
|
|
|
&.open {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
border-bottom: 1px solid $border-grey;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-item {
|
|
|
|
align-items: center;
|
|
|
|
padding: 14px;
|
2020-06-11 14:33:15 +02:00
|
|
|
color: $dark-grey;
|
2017-06-22 16:45:57 +02:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
|
|
img {
|
|
|
|
margin-right: 14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-link {
|
|
|
|
display: flex;
|
|
|
|
color: $black;
|
|
|
|
|
2021-08-24 16:54:57 +02:00
|
|
|
&.active {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2017-06-22 16:45:57 +02:00
|
|
|
&:hover {
|
|
|
|
background: $light-grey;
|
|
|
|
}
|
|
|
|
}
|
2017-06-22 14:56:59 +02:00
|
|
|
}
|
|
|
|
}
|