.sticky-sidebar {
  list-style: none;
  padding: 0;
  margin: 0;
  position: fixed;
  right: -112px; // 150px width - 22px of icon - 16px of padding
  top: 50%;
  transform: translateY(-50%);
  background: white;
  box-shadow: $base-elevation;
  transition: right ease-out 0.3s;
  z-index: 20;

  &-item {
    border-bottom: 1px solid $alto-200;
    display: flex;
    width: 150px;

    a {
      text-decoration: none;
      padding: $base-spacing-half;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      box-sizing: border-box;

      div {
        width: 22px;
        height: 22px;
        text-align: center;
      }

      span {
        flex: 1;
        margin-left: $base-spacing;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
      }

      &.active {
        background-color: $sky-blue-500;
        color: $base-white;
      }
    }

    &:last-child {
      border-bottom: none;
    }
  }

  &:hover {
    right: 0;
  }
}
