//size
@mixin radio-size ($font-size,$size,$padding-l) {
  .#{$radio-prefix-cls}__inner {
    font-size: $font-size;
    padding-left:($size + $padding-l);
    &:before {
      width: $size;
      height: $size;
      font-size: $font-size;
    }
  }

  &.#{$radio-prefix-cls}--checked,
  .#{$radio-prefix-cls}__input[type=radio]:checked ~,
  .#{$radio-prefix-cls}__input[type=radio][checked] ~,
  .#{$radio-prefix-cls}__input[type=radio]{
    .#{$radio-prefix-cls}__inner {
      &:after {
        width: $size - 0.5;
        height: $size - 0.5;
      }
    }
  }
}
