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

@collapse-prefix-cls: ~"@{ant-prefix}-collapse";

.collapse-close() {
  transform: rotate(0);
}
.collapse-open() {
  transform: rotate(90deg);
}

.@{collapse-prefix-cls} {
  .reset-component;
  background-color: @collapse-header-bg;
  border-radius: @border-radius-base;
  border: @border-width-base @border-style-base @border-color-base;
  border-bottom: 0;

  & > &-item {
    border-bottom: @border-width-base @border-style-base @border-color-base;

    &:last-child {
      &,
      & > .@{collapse-prefix-cls}-header {
        border-radius: 0 0 @border-radius-base @border-radius-base;
      }
    }

    > .@{collapse-prefix-cls}-header {
      line-height: 22px;
      padding: @collapse-header-padding;
      color: @heading-color;
      cursor: pointer;
      position: relative;
      transition: all .3s;

      .arrow {
        .iconfont-mixin();
        .collapse-close();
        font-size: @font-size-sm;
        position: absolute;
        display: inline-block;
        line-height: 46px;
        vertical-align: top;
        transition: transform 0.24s;
        top: 0;
        left: @padding-md;
        &:before {
          content: "\E61F";
        }
      }
    }

    &.@{collapse-prefix-cls}-no-arrow {
      > .@{collapse-prefix-cls}-header {
        padding-left: 12px;
      }
    }
  }

  &-anim-active {
    transition: height .2s @ease-out;
  }

  &-content {
    overflow: hidden;
    color: @text-color;
    background-color: @collapse-content-bg;<commit_msg>Fix collapse focused style<commit_after>@import "../../style/themes/default";
@import "../../style/mixins/index";

@collapse-prefix-cls: ~"@{ant-prefix}-collapse";

.collapse-close() {
  transform: rotate(0);
}
.collapse-open() {
  transform: rotate(90deg);
}

.@{collapse-prefix-cls} {
  .reset-component;
  background-color: @collapse-header-bg;
  border-radius: @border-radius-base;
  border: @border-width-base @border-style-base @border-color-base;
  border-bottom: 0;

  & > &-item {
    border-bottom: @border-width-base @border-style-base @border-color-base;

    &:last-child {
      &,
      & > .@{collapse-prefix-cls}-header {
        border-radius: 0 0 @border-radius-base @border-radius-base;
      }
    }

    > .@{collapse-prefix-cls}-header {
      line-height: 22px;
      padding: @collapse-header-padding;
      color: @heading-color;
      cursor: pointer;
      position: relative;
      transition: all .3s;

      .arrow {
        .iconfont-mixin();
        .collapse-close();
        font-size: @font-size-sm;
        position: absolute;
        display: inline-block;
        line-height: 46px;
        vertical-align: top;
        transition: transform 0.24s;
        top: 0;
        left: @padding-md;
        &:before {
          content: "\E61F";
        }
      }

      &:focus {
        outline: none;
      }
    }

    &.@{collapse-prefix-cls}-no-arrow {
      > .@{collapse-prefix-cls}-header {
        padding-left: 12px;
      }
    }
  }

  &-anim-active {
    transition: height .2s @ease-out;
  }

  &-content {
    overflow: hidden;
    color: @text-color;
    background-color: @collapse-content-bg;
{'fraction_non_alphanumeric': 0.16744186046511628, 'fraction_numerical': 0.012403100775193798, 'mean_word_length': 2.1381322957198443, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 0, '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': '6628901', 'n_tokens_mistral': 1116, 'n_tokens_neox': 1068, 'n_words': 183}