// stylelint-disable property-blacklist
// Single side border-radius

@mixin border-radius($radius: $border-radius, $fallback-border-radius: false) {
  @if $enable-rounded {
    border-radius: $radius;
  }
  @else if $fallback-border-radius != false {
    border-radius: $fallback-border-radius;
  }
}

@mixin border-top-radius($radius) {
  @if $enable-rounded {
    @include rtlize(border-top-start-radius, $radius);
    @include rtlize(border-top-end-radius, $radius);
  }
}

@mixin border-right-radius($radius) {
  @if $enable-rounded {
    @include rtlize(border-top-end-radius, $radius);
    @include rtlize(border-bottom-end-radius, $radius);
  }
}

@mixin border-bottom-radius($radius) {
  @if $enable-rounded {
    @include rtlize(border-bottom-end-radius, $radius);
    @include rtlize(border-bottom-start-radius, $radius);
  }
}

@mixin border-left-radius($radius) {
  @if $enable-rounded {
    @include rtlize(border-top-start-radius, $radius);
    @include rtlize(border-bottom-start-radius, $radius);
  }
}

@mixin border-top-left-radius($radius) {
  @if $enable-rounded {
    @include rtlize(border-top-start-radius, $radius);
  }
}

@mixin border-top-right-radius($radius) {
  @if $enable-rounded {
    @include rtlize(border-top-end-radius, $radius);
  }
}

@mixin border-bottom-right-radius($radius) {
  @if $enable-rounded {
    @include rtlize(border-bottom-end-radius, $radius);
  }
}

@mixin border-bottom-left-radius($radius) {
  @if $enable-rounded {
    @include rtlize(border-bottom-start-radius, $radius);
  }
}
