@import 'antd/lib/button/style/index.less';
@import '../../../style/index.less';
@import './mixin.less';

// Button styles
// -----------------------------
button.ant-btn {
  .btn-default();

  &-primary {
    .btn-primary();
  }

  &-ghost {
    .btn-ghost();
  }

  &-dashed {
    .btn-dashed();
  }

  &-danger {
    .btn-danger();
  }

  &-link {
    .btn-link();
  }

  &-text {
    .btn-text();
  }

  &-dangerous {
    .btn-danger-default();
  }

  &-dangerous&-primary {
    .btn-danger();
  }

  &.ant-btn-text.ant-btn-dangerous {
    .btn-danger-text();
  }

  &.ant-btn-link.ant-btn-dangerous {
    .btn-danger-link();
  }

  &.ant-btn-primary.ant-btn-background-ghost {
    .btn-background-ghost-primary();
  }

  &.ant-btn-danger.ant-btn-background-ghost {
    color: @error-color;
    .button-color(@error-color, transparent);
    .btn-background-ghost-danger();
  }

  &.ant-btn-dangerous.ant-btn-background-ghost {
    color: @error-color;
    .button-color(@error-color, transparent);
    .btn-background-ghost-danger();
  }
}
