File: D:/HostingSpaces/SBogers10/lmbm.komma.pro/resources/assets/sass/site/partials/_header.sass
/*==========================================================================
Navigation / Header
========================================================================== */
header
position: relative
z-index: 4
padding: 25px 0
background-color: $darkGreen
//&:after
// $gradientSize: 20px
// content: ''
// position: absolute
// left: 0
// bottom: -#{$gradientSize}
// right: 0
// display: block
// width: 100%
// height: $gradientSize
// background: linear-gradient($blackGradient)
// opacity: 0.4
.grid-row
padding: 0
+flex(center, center)
>.grid-col
+flex(space-between, center)
width: 100%
// Main logo
.logo
display: inline-block
width: 229px
+respond-to-width(1075)
width: 180px
img
width: 100%
/* Navigation
========================================================================== */
nav
position: relative
width: calc(100% - 300px)
+respond-to-width(1075)
width: calc(100% - 215px)
ul
+flex(flex-start, center)
list-style: none
margin: 0
padding: 0
li
margin-right: 45px
a
position: relative
display: inline-block
padding: 42px 0
font-size: 0.8rem
line-height: 1.2
color: white
text-decoration: none
transition: opacity 0.3s
&:before
content: ''
position: absolute
bottom: 38px
left: 0
display: none
width: 100%
height: 1px
background-color: $lightTurquoise
+respond-to-width(1250)
margin-right: 30px
+respond-to-width(1075)
a
font-size: 0.7rem
&:last-of-type
margin-right: 0
&:hover
a
opacity: 0.6
&.active
a
opacity: 1
&:before
display: block
&.nav-item--contact
margin-left: auto
a
border: 1px solid $lightTurquoise
padding: 10px 20px
transition: opacity 0.2s, background-color 0.2s, color 0.2s
&:hover
opacity: 1
background-color: $lightTurquoise
color: $darkGreen
.language-menu
width: 100px
+respond-to-width(900)
display: none