2017-04-27 05:54:53 +02:00
|
|
|
@import "../global";
|
|
|
|
|
|
|
|
#header
|
|
|
|
{
|
2017-08-19 06:33:01 +02:00
|
|
|
color: var(--header-color);
|
|
|
|
background: var(--header-bg);
|
2017-04-27 05:54:53 +02:00
|
|
|
display: flex;
|
|
|
|
position: fixed;
|
2017-08-19 06:33:01 +02:00
|
|
|
box-shadow: var(--box-shadow-layer);
|
2017-04-27 05:54:53 +02:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
2017-07-27 02:55:00 +02:00
|
|
|
z-index: 3;
|
2017-04-27 05:54:53 +02:00
|
|
|
padding: $spacing-vertical / 2;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
.header__item {
|
|
|
|
flex: 0 0 content;
|
|
|
|
padding-left: $spacing-vertical / 4;
|
|
|
|
padding-right: $spacing-vertical / 4;
|
2017-08-22 04:23:38 +02:00
|
|
|
.button-alt {
|
|
|
|
background: var(--header-button-bg) !important;
|
|
|
|
}
|
2017-04-27 05:54:53 +02:00
|
|
|
}
|
2017-08-22 04:23:38 +02:00
|
|
|
|
2017-04-27 05:54:53 +02:00
|
|
|
.header__item--wunderbar {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wunderbar
|
|
|
|
{
|
|
|
|
position: relative;
|
|
|
|
.icon {
|
|
|
|
position: absolute;
|
|
|
|
left: 10px;
|
|
|
|
top: $spacing-vertical / 2 - 4px; //hacked
|
|
|
|
}
|
|
|
|
}
|
2017-04-27 15:17:18 +02:00
|
|
|
|
2017-08-18 07:37:35 +02:00
|
|
|
.wunderbar--active .icon-search { color: var(--color-primary); }
|
2017-04-27 15:17:18 +02:00
|
|
|
|
2017-04-27 05:54:53 +02:00
|
|
|
.wunderbar__input {
|
2017-08-19 06:33:01 +02:00
|
|
|
background: var(--search-bg);
|
2017-04-27 05:54:53 +02:00
|
|
|
width: 100%;
|
2017-08-19 06:33:01 +02:00
|
|
|
color: var(--search-color);
|
2017-04-27 05:54:53 +02:00
|
|
|
height: $spacing-vertical * 1.5;
|
|
|
|
line-height: $spacing-vertical * 1.5;
|
|
|
|
padding-left: 38px;
|
|
|
|
padding-right: 5px;
|
|
|
|
@include border-radius(2px);
|
2017-08-19 06:33:01 +02:00
|
|
|
border: var(--search-border);
|
2017-08-20 07:58:03 +02:00
|
|
|
transition: box-shadow var(--transition-duration) var(--transition-type);
|
2017-04-27 05:54:53 +02:00
|
|
|
&:focus {
|
2017-08-20 07:58:03 +02:00
|
|
|
background: var(--search-active-bg);
|
2017-08-19 06:33:01 +02:00
|
|
|
color: var(--search-active-color);
|
2017-08-18 07:37:35 +02:00
|
|
|
box-shadow: var(--box-shadow-focus);
|
|
|
|
border-color: var(--color-primary);
|
2017-04-27 05:54:53 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
nav.sub-header
|
|
|
|
{
|
|
|
|
text-transform: uppercase;
|
2017-04-27 15:17:18 +02:00
|
|
|
padding: 0 0 $spacing-vertical;
|
2017-05-04 05:44:08 +02:00
|
|
|
max-width: $width-page-constrained;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2017-04-27 05:54:53 +02:00
|
|
|
> a
|
|
|
|
{
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0 15px;
|
|
|
|
padding: 0 5px;
|
2017-08-19 06:33:01 +02:00
|
|
|
line-height:calc(var(--header-height) - $spacing-vertical - var(--tab-border-size));
|
|
|
|
color: var(--tab-color);
|
2017-08-20 19:07:26 +02:00
|
|
|
|
2017-04-27 05:54:53 +02:00
|
|
|
&:first-child
|
|
|
|
{
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
&:last-child
|
|
|
|
{
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
&.sub-header-selected
|
|
|
|
{
|
2017-08-19 06:33:01 +02:00
|
|
|
border-bottom: var(--tab-border);
|
|
|
|
color: var(--tab-active-color);
|
2017-04-27 05:54:53 +02:00
|
|
|
}
|
|
|
|
&:hover
|
|
|
|
{
|
2017-08-19 06:33:01 +02:00
|
|
|
color: var(--tab-active-color);
|
2017-04-27 05:54:53 +02:00
|
|
|
}
|
|
|
|
}
|
2017-08-18 07:37:35 +02:00
|
|
|
}
|