Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 3655 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |

@use "../../settings/breakpoints.scss";
@import "../../settings/variables.scss";

.navbar {
  display: flex;
  background-color: $bg-color;
  width: 100%;
  border-bottom: solid 1px $border-primary;
  padding: 1rem 1rem 0;
  gap: 0.5rem;
  justify-content: space-around;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  height: auto;
  margin-bottom: 1rem;
  box-shadow: $shadow;
  @media (max-width: 361px) {
    padding: 1rem 1rem 0;
  }
}

.rightNavContainer {
  display: none;
  align-items: center;
  height: 100%;
  @media (max-width: 361px) {
    gap: 5px;
    .btn {
      padding: 0 !important;
      .badge {
        font-size: 0.6rem;
      }
    }
  }
}

.logo {
  width: 30%;
  object-fit: contain;
  order: 1;
}

.hamburgerIcon {
  color: white;
  font-size: 1.5rem;
  order: 3;
}

.searchIcon {
  color: $font-color;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 0.5rem;
}

.mailIcon {
  color: $font-color;
  width: 25px;
  height: 25px;
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 0.5rem;
  @media (max-width: 361px) {
    margin-right: 0rem;
  }
}

.bellIcon {
  color: $font-color;
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  clip-path: circle(50%);
  .badge {
    top: 25%;
  }
  @media (max-width: 361px) {
    font-size: 1rem;
    width: 21px;
    height: 21px;
  }
}

.triangleDown {
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid white;
  margin-left: 0.5rem;
}

.triangleUp {
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid white;
  margin-left: 0.5rem;
}

.backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.205);
  z-index: 900;
}

.searchInputContainer {
  display: flex;
  font-size: 0.9rem;
  width: 50%;
  order: 2;
  form {
    display: flex;
    align-items: center;
    width: 260px;
    height: 1.6rem;
    position: relative;
  }
  input {
    width: 100%;
    padding: 0.5rem 1rem 0.5rem 2rem;
    border-radius: 30px;
    background-color: $bg-color;
    color: $font-color;
    border: solid 1px $border-primary;
    height: 40px;
    &::placeholder {
      color: $font-color;
    }
  }
  button {
    font-size: 1.3rem;
    color: $font-color;
    border: none;
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
  }
  @media (max-width: 361px) {
    max-width: 70%;
  }
}

.chatIcon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  margin-right: 0.2rem;
  position: relative;
  &_active::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: red;
    position: absolute;
    top: -1px;
    right: 1px;
  }
}

@media (min-width: 1000px) {
  .chatIcon {
    display: none;
  }
}

@include breakpoints.maxwidth("large") {
  .navbar {
    height: 104px;
    padding: 0px 2rem;
    gap: 0;
  }
}

@include breakpoints.maxwidth("medium") {
  .logo {
    width: 130px;
  }
  .hamburgerIcon {
    display: none;
  }
  .searchInputContainer {
    width: 20%;
    order: 3;
  }
  .bellIcon {
    background-color: initial;
    color: $font-color;
  }
}