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";
|
|
|
|
|
|
|
|
// FIXME: Rename when the header is generalized
|
|
|
|
.new-header {
|
|
|
|
background-color: #FFFFFF;
|
|
|
|
}
|
|
|
|
|
2017-05-05 12:29:19 +02:00
|
|
|
.new-header-with-border {
|
|
|
|
border-bottom: 1px solid $border-grey;
|
|
|
|
}
|
|
|
|
|
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 {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 4 * $default-spacer;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2017-09-20 15:49:49 +02:00
|
|
|
display: inline-block;
|
2017-10-05 23:25:29 +02:00
|
|
|
height: 71px;
|
|
|
|
line-height: 71px;
|
2017-07-03 16:01:44 +02:00
|
|
|
font-size: 18px;
|
|
|
|
color: $black;
|
|
|
|
|
2017-10-05 23:26:27 +02:00
|
|
|
&.active,
|
|
|
|
&:hover {
|
2017-07-03 16:01:44 +02:00
|
|
|
color: $blue;
|
|
|
|
border-bottom: 2px solid $blue;
|
|
|
|
}
|
|
|
|
}
|
2017-04-04 14:37:16 +02:00
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
width: 300px;
|
2017-07-20 10:39:16 +02:00
|
|
|
margin: 0;
|
2017-06-22 14:56:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
color: $grey;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
|
|
img {
|
|
|
|
margin-right: 14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-link {
|
|
|
|
display: flex;
|
|
|
|
color: $black;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $light-grey;
|
|
|
|
}
|
|
|
|
}
|
2017-06-22 14:56:59 +02:00
|
|
|
}
|
|
|
|
}
|