Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as CSS by Ernest ( 6 years ago )
header {
  &.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 90px;
    z-index: 100;
    @include lg {
      height: auto;
    }

    @media all and (max-width: 992px) {
      padding-top: 15px;
    }

    .container {
      position: relative;
      display: flex;
      height: 100%;

      align-items: center;
      justify-content: space-between;

      .logo {
        width: 70%;
        @media all and (max-width: 992px) {
          img {
            width: 150px;
          }
        }
        @include lg {
          width: auto;
          padding-top: 70px;

          a {
            display: block;
          }
        }
      }

      .header-menu {
        display: none;
        @include lg {
          display: block;
          padding-top: 40px;

          ul {
            display: flex;
            margin: 0;
            padding: 0;
            list-style: none;

            li {
              margin: 0 10px;
              font-size: 14px;
              font-weight: 700;
              text-transform: uppercase;

              &:last-child {
                margin-right: 0;
                text-transform: none;

                a {
                  border-radius: 15px;
                  background: url('images/menu-phone-bg.png') center center
                    no-repeat;
                  background-size: cover;

                  &:hover {
                    color: $color-white;
                  }
                }
              }

              a {
                padding: 5px 10px;
                color: $color-white;
                text-decoration: none;
                @include xl {
                  padding: 5px 15px;
                }

                &:hover {
                  color: #4f9ded;
                }
              }

              @include xl {
                margin: 0 15px;
                font-size: 16px;
              }
              @include lg {
                &.contact_btn {
                  a {
                    background: rgb(213, 12, 131);
                    background: linear-gradient(
                      90deg,
                      rgba(213, 12, 131, 1) 0%,
                      rgba(51, 174, 244, 1) 100%
                    );
                  }
                }
              }
            }
          }
        }
      }

      .mobile-icon {
        color: $color-black;
        @include lg {
          display: none;
        }

        i {
          padding: 10px 12px;
          background: $color-white;
          font-size: 21px;
        }
      }
    }

    .hr-line {
      opacity: 0;
    }

    &.scrolled {
      background: #212f5f;

      .hr-line {
        opacity: 1;
      }

      .logo {
        padding: 15px 0;
        padding-top: 15px;

        img {
          width: 120px;
        }
      }

      .header-menu {
        padding-top: 0;
      }
      @media all and (max-width: 992px) {
        padding-top: 0;
      }
    }
  }
}

// Responsive menu
#responsive-menu-button {
  display: none !important;
}

// Responsive menu

@media all and (max-width: 992px) {
  #responsive-menu-container {
    border-right: 3px solid #fff;
    background: #212f5f !important;
  }

  #responsive-menu-container li {
    border-bottom: 1px solid rgba(#fff, 0.5) !important;
  }

  #responsive-menu-container a {
    height: auto !important;
    padding: 0 15px !important;
    border: none !important;
    background: transparent !important;
    font-size: 16px !important;
    font-weight: 700;
  }

  #responsive-menu-container #responsive-menu-wrapper {
    background: transparent !important;
  }
}

 

Revise this Paste

Your Name: Code Language: