<commit_before>@import "../../style/themes/default";
@import "../../style/mixins/index";

@spin-prefix-cls: ~"@{ant-prefix}-spin";
@spin-dot-default: @text-color-secondary;

.@{spin-prefix-cls} {
  color: @primary-color;
  vertical-align: middle;
  text-align: center;
  opacity: 0;
  position: absolute;
  transition: transform 0.3s @ease-in-out-circ;
  font-size: @font-size-base;
  display: none;

  &-spinning {
    opacity: 1;
    position: static;
    display: inline-block;
  }

  &-nested-loading {
    position: relative;
  }

  &-nested-loading & {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 4;
    &-dot {
      position: absolute;
      top: 50%;
      left: 50%;
      margin: -@spin-dot-size / 2;
    }

    &-sm .@{spin-prefix-cls}-dot {
      margin: -@spin-dot-size-sm / 2;
    }
    &-lg .@{spin-prefix-cls}-dot {
      margin: -@spin-dot-size-lg / 2;
    }

    &-show-text .@{spin-prefix-cls}-dot {
      margin-top: -@spin-dot-size / 2 - 10;
    }

    &-show-text.@{spin-prefix-cls}-sm .@{spin-prefix-cls}-dot {
      margin-top: -@spin-dot-size-sm / 2 - 10;
    }

    &-show-text.@{spin-prefix-cls}-lg .@{spin-prefix-cls}-dot {
      margin-top: -@spin-dot-size-lg / 2 - 10;
    }

    &-text {
      position: absolute;
      top: 50%;
      width: 100%;
      padding-top: (@spin-dot-size - @font-size-base) / 2 + 2;
    }
    &-sm .@{spin-prefix-cls}-text {
      padding-top: (@spin-dot-size-sm - @font-size-base) / 2 + 2;
    }
    &-lg .@{spin-prefix-cls}-text {
      padding-top: (@spin-dot-size-lg - @font-size-base) / 2 + 2;
    }
  }
  &-container {
    transition: all 0.3s @ease-in-out;
    position: relative;
  }

  &-blur {
    opacity: 0.7;
    -webkit-filter: blur(0.8px);
    filter: blur(0.8px);

    /* IE6~IE9 */
    filter: ~"progid\:DXImageTransform\.Microsoft\.Blur(PixelRadius\=1, MakeShadow\=false)"; // lesshint duplicateProperty: false
    // workround for a strange style bug in safari:
    // https://github.com/ant-design/ant-design/issues/4622
    // have no clue why this works
    -webkit-transform: translateZ(0);
    &:after {
      content: '';
      position: absolute;
      left: 0;
      right: 0;<commit_msg>fix css rule should not be prefixed, close #4915<commit_after>@import "../../style/themes/default";
@import "../../style/mixins/index";

@spin-prefix-cls: ~"@{ant-prefix}-spin";
@spin-dot-default: @text-color-secondary;

.@{spin-prefix-cls} {
  color: @primary-color;
  vertical-align: middle;
  text-align: center;
  opacity: 0;
  position: absolute;
  transition: transform 0.3s @ease-in-out-circ;
  font-size: @font-size-base;
  display: none;

  &-spinning {
    opacity: 1;
    position: static;
    display: inline-block;
  }

  &-nested-loading {
    position: relative;
  }

  &-nested-loading & {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 4;
    &-dot {
      position: absolute;
      top: 50%;
      left: 50%;
      margin: -@spin-dot-size / 2;
    }

    &-sm .@{spin-prefix-cls}-dot {
      margin: -@spin-dot-size-sm / 2;
    }
    &-lg .@{spin-prefix-cls}-dot {
      margin: -@spin-dot-size-lg / 2;
    }

    &-show-text .@{spin-prefix-cls}-dot {
      margin-top: -@spin-dot-size / 2 - 10;
    }

    &-show-text.@{spin-prefix-cls}-sm .@{spin-prefix-cls}-dot {
      margin-top: -@spin-dot-size-sm / 2 - 10;
    }

    &-show-text.@{spin-prefix-cls}-lg .@{spin-prefix-cls}-dot {
      margin-top: -@spin-dot-size-lg / 2 - 10;
    }

    &-text {
      position: absolute;
      top: 50%;
      width: 100%;
      padding-top: (@spin-dot-size - @font-size-base) / 2 + 2;
    }
    &-sm .@{spin-prefix-cls}-text {
      padding-top: (@spin-dot-size-sm - @font-size-base) / 2 + 2;
    }
    &-lg .@{spin-prefix-cls}-text {
      padding-top: (@spin-dot-size-lg - @font-size-base) / 2 + 2;
    }
  }
  &-container {
    transition: all 0.3s @ease-in-out;
    position: relative;
  }

  &-blur {
    opacity: 0.7;
    -webkit-filter: blur(0.8px);
    filter: blur(0.8px);

    /* IE6~IE9 */
    /* autoprefixer: off */
    filter: ~"progid\:DXImageTransform\.Microsoft\.Blur(PixelRadius\=1, MakeShadow\=false)"; // lesshint duplicateProperty: false
    // workround for a strange style bug in safari:
    // https://github.com/ant-design/ant-design/issues/4622
    // have no clue why this works
    -webkit-transform: translateZ(0);
    &:after {
      content: '';
      position: absolute;
      left: 0;
      right: 0;
{'fraction_non_alphanumeric': 0.1916797137105793, 'fraction_numerical': 0.025944978751957056, 'mean_word_length': 2.1120389700765485, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4490170', 'n_tokens_mistral': 1791, 'n_tokens_neox': 1644, 'n_words': 321}