HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/vanderkampen/kwaliteitsbouw.com/resources/assets/sass/site/partials/_header.sass
/*==========================================================================
  Navigation / Header
  ========================================================================== */

header
  position: relative
  padding: 10px 0
  z-index: 4
  background-color: $blacker

  &:after
    $gradientSize: 20px
    content: ''
    position: absolute
    left: 0
    bottom: -#{$gradientSize}px
    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: 260px
      img
        width: 100%

    /* Navigation
     ========================================================================== */

    nav
      position: relative
      +flex(flex-end, center)
      width: calc(100% - 260px)
      padding-left: 40px

      ul
        +flex(flex-end, center)
        list-style: none
        margin: 0
        padding: 0
        width: 100%

        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: 34px
              left: 0
              display: none
              width: 100%
              height: 2px
              background-color: $red

          +respond-to-width(1250)
            margin-right: 30px
            +respond-to-width(1150)
              a
                font-size: 0.7rem

          &:last-of-type
            margin-right: 0

          &:hover
            a
              opacity: 0.6

          &.active
            a
              opacity: 1

              &:before
                display: block

            //&:not(.nav-item--contact)
            //  a
            //    &:before
            //      display: block

          //&.nav-item--contact
          //  margin-left: auto
          //  a
          //    border: 1px solid $brightBlue
          //    padding: 10px 20px
          //    transition: opacity 0.2s, background-color 0.2s, color 0.2s
          //
          //    &:hover
          //      opacity: 1
          //      background-color: $brightBlue
          //      color: white
          //
          //  &.active
          //    a
          //      background-color: $brightBlue
          //      color: white



      .language-menu
        width: 100px

  +respond-to-width(1300)

    .grid-row
      .logo
        width: 200px

      nav
        width: calc(100% - 200px)

        ul
          li
            margin-right: 30px



  +respond-to-width(1100)
    display: none