Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

@use "../../../../styles/mixins.scss";

.header {
  align-items: center;
  background-color: $bg-color;
  border-bottom: solid 1px $border-primary;
  box-shadow: $shadow;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  height: auto;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 1rem 5% 0;
  position: relative;
  width: 100%;

  @include mixins.for-size(tablet-portrait) {
    padding: 0 5%;
    flex-wrap: nowrap;
  }
}

.logo {
  height: 65px;
  order: 1;
  margin-right: 1rem;

  img {
    height: 100%;
  }

  @include mixins.for-size(tablet-portrait) {
    max-width: 317px;
  }
}

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

.badge {
  top: 0%;
  left: 50%;
  font-size: 0.7rem;
  transform: translateX(-80%);
  background-color: $danger;
  color: #fff;
  border-radius: 100px;
  position: absolute;
}

.searchInputContainer {
  font-size: 0.9rem;
  min-width: 65%;
  flex: 1;
  order: 1;

  form {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
  }

  input {
    width: 100%;
    padding: 0.2rem 1rem 0.2rem 2rem;
    border-radius: 30px;
    background-color: $bg-color;
    color: $font-color;
    border: 1px solid $border-primary;

    &::placeholder {
      color: $font-color;
    }
  }

  button {
    font-size: 1rem;
    color: $font-color;
    border: none;
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
  }

  @include mixins.for-size(tablet-portrait) {
    padding: 0.4rem 1rem 0.4rem 2rem;
  }

  @include mixins.for-size(desktop) {
    order: 3;
    min-width: auto;
    flex: inherit;
  }
}