$menu-width: 380px;

.b-menu {
  @include no-select();
  &__link {
    width: 26px;
  }
  &__body {
    display: flex;
    flex-direction: column;
    background-color: darken($header-bg, 3);
    position: fixed;
    top: $header-height;
    left: 0;
    width: $menu-width;
    height: calc(100% - 60px);
    padding-top: 30px;
    padding-right: 20px;
    padding-left: calc((100% - #{$container-max-width} + #{$container-x-padding} * 2) / 2);
  }
  &__item {
    margin-bottom: 12px;
    white-space: nowrap;
  }
  &__item-link {
    color: rgba($white, .8);
    font-size: 20px;
    text-decoration: none;
    font-size: 23px;
    font-weight: 300;
    position: relative;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: border-color .2s;
    &:before {
      content: attr(data-title);
      position: absolute;
      top: 0px;
      left: 0px;
      color: $white;
      display: inline-block;
      width: 100%;
      clip: rect(0px 0px 100px 0px);
      zoom: 1;
      transition: clip 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    }
    &_active {
      border-color: $white;
    }
    &:hover, &_active {
      &:before {
        clip: rect(0px 200px 100px 0px);
      }
    }
  }
  &__boards {
    flex: 1;
    overflow-y: auto;
  }
  &__board {
    background-color: $light;
    border-radius: 2px;
    box-shadow: $shadow;
    color: $black;
    text-decoration: none;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    height: 30px;
    padding: 0 10px;
  }
  &__activity {
    margin-top: 20px;
    flex: 1;
    overflow-y: auto;
    color: $white;
    &:after {
      content: '';
      background: linear-gradient(to bottom, rgba(25, 30, 41, 0) 0%,rgba(25, 30, 41, 1) 100%);
      position: fixed;
      bottom: 0;
      left: 0;
      width: $menu-width;
      height: 100px;
    }
  }
}
