<template>
  <div class="upanapp-swipeout">
    <slot></slot>
  </div>
</template>

<script>
export default {
  name: 'ua-swipeout'
}
</script>

<style lang="less">
@import '../../styles/variable.less';

.upanapp-swipeout {
  width: 100%;
  overflow: hidden;
}
.upanapp-swipeout-item {
  position: relative;
}
.upanapp-swipeout-button-box {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  font-size: 0;
  text-align: right;
}
.upanapp-swipeout-button-box-left {
  text-align: left;
}
.upanapp-swipeout-button-box > div {
  height: 100%;
}
.upanapp-swipeout-button {
  height: 100%;
  text-align: center;
  font-size: 14px;
  color: @swipeout-button-font-color;
  border: none;
}
.upanapp-swipeout-content {
  position: relative;
  background: @swipeout-content-bg-color;
}
.upanapp-swipeout-content.upanapp-swipeout-content-animated {
  transition: transform 0.2s;
}
.upanapp-swipeout-button-primary {
  background-color: @swipeout-button-primary-bg-color;
}
.upanapp-swipeout-button-warn {
  background-color: @swipeout-button-warn-bg-color;
}
.upanapp-swipeout-button-default {
  background-color: @swipeout-button-default-bg-color;
}
</style>