@import '../../../scss/styles.scss';

.array-actions {
  &__button {
    @extend %btn-reset;
    cursor: pointer;
    border-radius: 100px;

    &:hover {
      background: var(--theme-elevation-0);
    }
  }

  &.popup--active .array-actions__button {
    background: var(--theme-elevation-0);
  }

  &__button,
  &__action {
    @extend %btn-reset;
    cursor: pointer;
  }

  &__actions {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  &__action {
    @extend %btn-reset;
    display: block;

    svg {
      position: relative;
      top: -1px;
      margin-right: base(.25);

      .stroke {
        stroke-width: 1px;
      }
    }

    &:hover {
      opacity: .7;
    }
  }

  &__move-up {
    svg {
      transform: rotate(180deg);
    }
  }
}
