header.scss 1.5 KB
@import '@/styles/_support';

.v-header {
  height: 7.666667rem;
  background-color: #fff;
  color: $cFontGray;
  position: relative;
  z-index: 11;
  font-size: $fontSize;

  .header-container {
    max-width: 1200px;
    height: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    position: relative;
  }

  .main-nav {
    height: 100%;
    flex: 1 0 auto;
  }

  .logo-img {
    margin-right: 2rem;
    cursor: pointer;
  }

  .nav-list {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
  }

  .nav-item {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
  }

  .main-nav-list {
    display: flex;
    cursor: pointer;
  }

  .nav-item.link-item {
    padding: 0 50px;
    height: 5rem;
  }

  .nav-item.search {
    flex: 1 1 auto;
  }

  .nav-item.auth {

    color: #ffffff;

    .user {
      width: 7.333333rem;
      height: 2.25rem;
      background-color: $cOrange;
      border-radius: 1.333333rem;
      display: flex;
      align-items: center;
      justify-content: center;
      // margin-right: 2rem;

      .icon-img {
        margin: 0 .5rem;
      }
    }

    .lang {
      color: $cOrange;

    }
  }
}


@media (max-width: 950px) {
  .v-header {
    .header-container {
      width: 96%;
    }
  }
}

@media (max-width: 800px) {
  .v-header {
    .main-nav-list {
      display: none;
    }
  }
}