189 lines
3.8 KiB
Stylus
Raw Normal View History

2018-09-28 20:47:04 +02:00
header-padding-normal = 10px
header-padding-max = 30px
logo-size = 50px
#header
position: relative
padding: header-padding-normal 0
@media print
display: none
#header-inner
display: flex
flex-flow: row nowrap
align-items: center
2018-09-28 23:16:56 +02:00
width: 1190px
margin-left: -120px
2018-09-28 20:47:04 +02:00
@media mq-mobile
justify-content: center
2018-09-28 23:16:56 +02:00
.button--header
margin-top: 7px
#logo-wrap-page
flex: 0
-webkit-flex: none
margin-top: 8px
width: 200px
2018-09-28 20:47:04 +02:00
#logo
hide-text()
display: block
2018-09-28 23:16:56 +02:00
width: 56px;
height: 56px;
background-image: url(../img/logo_ogn.png);
2018-09-28 20:47:04 +02:00
text-decoration: none;
margin: -20px 0 0 30px;
2018-09-28 23:16:56 +02:00
background-color: rgba(255,255,255,1);
2018-09-28 20:47:04 +02:00
border-radius: 50%;
background-size: 22px;
background-position: center;
background-repeat: no-repeat;
2018-09-28 23:16:56 +02:00
.dropdown
2018-09-29 00:58:54 +02:00
display: flex
align-items: center
margin-left: 32px
2018-09-28 23:16:56 +02:00
nav
ul
li
2018-09-29 00:58:54 +02:00
float: left
margin: 8px
position: relative
2018-09-28 23:16:56 +02:00
a
2018-09-29 00:58:54 +02:00
color: #FFFFFF
text-decoration: none
font-weight: bold
2018-09-28 23:16:56 +02:00
&:hover
2018-09-29 00:58:54 +02:00
opacity: .7
2018-09-28 23:16:56 +02:00
&:focus
2018-09-29 00:58:54 +02:00
color: rgba(255, 255,255,1)
2018-09-28 23:16:56 +02:00
a
2018-09-29 00:58:54 +02:00
color: rgba(255,255,255,0.7)
2018-09-28 23:16:56 +02:00
&:hover
& > ul
2018-09-29 00:58:54 +02:00
display: block
z-index: 1
2018-09-28 23:16:56 +02:00
ul
2018-09-29 00:58:54 +02:00
background: #ffffff
border-radius: 5px
left: 0
padding: 10px 5px 5px 5px
position: absolute
top: 100%
2018-09-28 23:16:56 +02:00
li
2018-09-29 00:58:54 +02:00
float: none
width: 8.125em
2018-09-28 23:16:56 +02:00
a
&:hover
color #000
2018-09-28 20:47:04 +02:00
2018-09-28 23:16:56 +02:00
.dropdown:before,
.dropdown:after
2018-09-29 00:58:54 +02:00
clear: both
content: ""
display: table
2018-09-28 23:16:56 +02:00
.dropdown nav ul li ul li a:link,
.dropdown nav ul li ul li a:visited
2018-09-29 00:58:54 +02:00
color: #8d99a4
2018-09-28 20:47:04 +02:00
#search-input-wrap
display: none
height: 40px
width: 180px
background-color: #ff9c00
border-radius: 22px
padding: 0 12px
align-items: center
transition: 0.2s
&.on
display: flex
@media mq-mobile
width: 40px
cursor: pointer
&.standalone
position: absolute
right: 20px
&.active
width: 180px
background-color: color-background-light
#search-input-icon
color: rgba(255, 255, 255, 1)
height: 24px
width: 24px
margin: 0 2px 0 0
display: inline-block
opacity: 1
@media mq-mobile
height: auto;
#search-input-wrap.active #search-input-icon
color: color-navy
#search-input-wrap.active #search-input
color: color-navy
#search-input
background: none
width: 126px
height: 24px
font-size: 15px
color: color-main-link
outline: none
-webkit-appearance: none
@media mq-mobile
display: none
#search-input-wrap.active #search-input
display: inline;
#search-input::-webkit-input-placeholder {
color:rgba(255, 255, 255, .4)
}
#search-input::-moz-placeholder {
color:rgba(255, 255, 255, .4)
}
#search-input:-ms-input-placeholder {
color:rgba(255, 255, 255, .4)
}
#search-input:-moz-placeholder {
color:rgba(255, 255, 255, .4)
}
#search-input-wrap .algolia-autocomplete .ds-dropdown-menu
@media (max-width: 560px)
min-width: 400px
@media (max-width: 470px)
min-width: 300px
#lang-select-wrap
display: none
position: relative
@media mq-normal
display: block
#lang-select-label
color: color-main-link
opacity: 0.7
font-family: font-title
line-height: logo-size
span
padding-left: 8px
i
opacity: 0.7
#lang-select
opacity: 0
position: absolute
top: 0
left: 0
width: 100%
height: 100%
-webkit-appearance: menulist-button
font-size: inherit