.SideBar {
  display: inline-block;
  width: 40px;

  &__link {
    width: 100%;
    height: 40px;
    position: relative;
    border-radius: 5px;
    transition: background-color ease-in-out .2s;
    cursor: pointer;

    &:hover, &--is-visible {
      background: $sidebar-bg-hover;
    }
  }

  &__icon {
    opacity: 0.5;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    color: $sidebar-fg-selected;
    font-size: 20px;
    transition: opacity ease-in-out .2s;

    &--is-visible {
      opacity: 1;
    }
  }

  &__info {
    position: absolute;
    background: $white;
    border-radius: 5px;
    width: 130px;
    font-size: 13px;
    padding: 4px 6px 4px 10px;
    left: 100%;
    box-shadow: 2px 4px 5px 0px $black-transparent;

    &:before {
      content: "";
      width: 10px;
      height: 10px;
      background: $white;
      position: absolute;
      top: 16px;
      transform: rotate(45deg);
      right: 95%;
    }
  }

  ul {
    width: 100%;
    height: 100%;
  }

  ul, li {
    list-style-type: none;
    margin: 0;
    padding: 0;
  }
}
