@mixin Sidebar {
  z-index: $topbar-zindex - 10;
  padding-left: 4vw;
  min-height: 1px;

  position: absolute;
  top: $topbar-outer-height;
  left: 0;

  @include absolute-width($sidebar-width);
}

@mixin SidebarItem {
  font-weight: $font-weight-base;
  font-size: $font-size-sm;
  line-height: 1;

  padding-bottom: 0.75rem;
  padding-top: 0.75rem;
  align-items: center;
  display: flex;
  color: $black;

  .#{$icon-class} {
    margin-right: 0.5rem;
    color: $blue-300;
    opacity: 0.6;
    height: 1rem;
    width: 1rem;
  }

  span {
    opacity: 0.6;
  }

  @include hover {
    color: $black;

    .#{$icon-class} {
      opacity: 0.8;
    }

    span {
      opacity: 1;
    }
  }

  @include router-active-exact {
    font-weight: $font-weight-medium;
    color: $blue;

    .#{$icon-class} {
      transition: color 0.15s;
      color: $blue;
      opacity: 1;
    }

    span {
      opacity: 1;
    }
  }
}
