@import '../../style/themes/default';

.@{dndc-prefix}-button {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  outline: 0 none;
  -webkit-appearance: none;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
  border-style: none;
  &&--left {
    justify-content: space-between;
    .@{dndc-prefix}-button__icon {
      order: 8;
    }
  }
  &&--right {
    justify-content: space-between;
    .@{dndc-prefix}-button__icon {
      order: 10;
    }
  }
  &&--auto-left {
    .@{dndc-prefix}-button__icon {
      order: 8;
      margin-right: 10px;
    }
  }
  &&--auto-right {
    .@{dndc-prefix}-button__icon {
      order: 10;
      margin-left: 10px;
    }
  }
  &__text {
    width: 100%;
    order: 9;
  }
  &__icon {
    min-width: 16px;
    width: auto;
  }
}
