.#{$swipe-prefix-cls} {
  position: relative;
  overflow: hidden;

  &__content {
    position: relative;
    background-color: #fff;
  }

  &__cover {
    position: absolute;
    top: 0;
    z-index: 2;
    display: none;
    width: 100%;
    height: 100%;
    background: transparent;
  }

  &__content,
  &__actions {
    transition: all $transition-time;
  }

  &__actions {
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    overflow: hidden;
    white-space: nowrap;

    &--left {
      left: 0;
    }

    &--right {
      right: 0;
    }

    .#{$button-prefix-cls} {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100%;
      padding: 0 .1rem;
      overflow: hidden;
      border-radius: 0;
    }
  }
}
