Skip to content
Snippets Groups Projects
_nav.scss 1.6 KiB
Newer Older
Hugo NOUTS's avatar
Hugo NOUTS committed
@import '../base/color';
@import '../base/breakpoint';

.o-sidebar {
  background-color: $primary-color;
  box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2), 0px 3px 14px rgba(0, 0, 0, 0.12),
    0px 8px 10px rgba(0, 0, 0, 0.14);
  border-top: unset;
  border-right: unset;
  // justify-content: flex-end;
  z-index: 19;
  // position: fixed;
  // bottom: 0;
  // left: 0;
  // display: block;
  // width: 100%;
  @media #{$tablet} {
    background-color: $primary-color;
  }
}
.c-nav-link {
  padding: 0 1rem;
  .on {
    display: none;
  }
  .off {
    display: block;
  }
}

// .c-nav {
//   display: flex;
//   list-style: none;
//   justify-content: space-around;
// }
.c-nav-link .c-nav-icon {
  padding-right: 0.5rem;
  width: 50px;
  height: 36px;
  fill: none;
}

.c-nav-link.is-active {
  box-shadow: inset 0.25rem 0 0 0 $gold;
}

.c-nav-link.is-active .c-nav-icon {
  fill: $gold !important;
}

.c-nav-link.is-active {
  color: $white;
  text-decoration: none;
  .on {
    display: block;
  }
  .off {
    display: none;
  }
}

@media #{$tablet} {
  .o-sidebar {
    height: 56px;
  }
  .c-nav-link {
    padding: 0;
  }

  .c-nav-link .c-nav-icon {
    padding: 0;
    margin: auto;
  }

  .c-nav-link.is-active {
    box-shadow: unset;
  }
}
.nb-challenge-notif {
Gauthier LEFEVRE's avatar
Gauthier LEFEVRE committed
  display: flex;
  justify-content: center;
  align-items: center;
  left: 42px;
  bottom: 22px;
  width: 1.25rem;
  height: 1.25rem;
  color: $dark-light;
Gauthier LEFEVRE's avatar
Gauthier LEFEVRE committed
  border: 1px solid $dark-light;
  z-index: 1;
  background: $blue-radial-gradient;
Gauthier LEFEVRE's avatar
Gauthier LEFEVRE committed
  font-size: 12px;
  @media #{$tablet} {
    left: 25px;
    bottom: unset;
  }