<commit_before>@import '../../style/themes/default';
@import '../../style/mixins/index';
@import './card-style';

@tab-prefix-cls: ~'@{ant-prefix}-tabs';

.@{tab-prefix-cls} {
  .reset-component;
  position: relative;
  overflow: hidden;
  .clearfix;

  &-ink-bar {
    z-index: 1;
    position: absolute;
    left: 0;
    bottom: 1px;
    box-sizing: border-box;
    height: 2px;
    background-color: @tabs-ink-bar-color;
    transform-origin: 0 0;
  }

  &-bar {
    border-bottom: @border-width-base @border-style-base @border-color-split;
    margin: @tabs-bar-margin;
    outline: none;
    transition: padding 0.3s @ease-in-out;
  }

  &-nav-container {
    overflow: hidden;
    font-size: @tabs-title-font-size;
    line-height: @line-height-base;
    box-sizing: border-box;
    position: relative;
    white-space: nowrap;
    margin-bottom: -1px;
    transition: padding 0.3s @ease-in-out;
    .clearfix;

    &-scrolling {
      padding-left: @tabs-scrolling-size;
      padding-right: @tabs-scrolling-size;
    }
  }

  // https://github.com/ant-design/ant-design/issues/9104
  &-bottom &-bottom-bar {
    margin-bottom: 0;
    margin-top: 16px;
    border-bottom: none;
    border-top: @border-width-base @border-style-base @border-color-split;
  }

  &-bottom &-bottom-bar &-ink-bar {
    bottom: auto;
    top: 1px;
  }

  &-bottom &-bottom-bar &-nav-container {
    margin-bottom: 0;
    margin-top: -1px;
  }

  &-tab-prev,
  &-tab-next {
    user-select: none;
    z-index: 2;
    width: 0;
    height: 100%;
    cursor: pointer;
    border: 0;
    background-color: transparent;
    position: absolute;
    text-align: center;
    color: @text-color-secondary;
    transition: width 0.3s @ease-in-out, opacity 0.3s @ease-in-out, color 0.3s @ease-in-out;
    opacity: 0;
    pointer-events: none;

    &.@{tab-prefix-cls}-tab-arrow-show {
      opacity: 1;
      width: @tabs-scrolling-size;
      height: 100%;
      pointer-events: auto;
    }

    &:hover {
      color: @text-color;
    }

    &-icon {
      font-style: normal;
      font-weight: bold;
      font-variant: normal;
      line-height: inherit;
      vertical-align: baseline;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      text-transform: none;

      &-target {
        display: block;
        .iconfont-size-under-12px(10px);
      }
    }
  }

  &-tab-btn-disabled {
    cursor: not-allowed;
    &,
    &:hover {
      color: @disabled-color;
    }
  }

  &-tab-next {
    right: 2px;
  }

  &-tab-prev {
    left: 0;
    :root & {
      filter: none;
    }
  }

  &-nav-wrap {
    overflow: hidden;
    margin-bottom: -1px;
  }

  &-nav-scroll {
    overflow: hidden;
    white-space: nowrap;
  }

  &-nav {
    box-sizing: border-box;
    padding-left: 0;
    transition: transform 0.3s @ease-in-out;
    position: relative;
    margin: 0;
    list-style: none;
    display: inline-block;

    &:before,
    &:after {
      display: table;
      content: ' ';
    }

    &:after {
      clear: both;
    }

    .@{tab-prefix-cls}-tab-disabled {
      pointer-events: none;
      cursor: default;
      color: @disabled-color;
    }<commit_msg>fix(tabs): fix tabs.tabpane disabled style error<commit_after>@import '../../style/themes/default';
@import '../../style/mixins/index';
@import './card-style';

@tab-prefix-cls: ~'@{ant-prefix}-tabs';

.@{tab-prefix-cls} {
  .reset-component;
  position: relative;
  overflow: hidden;
  .clearfix;

  &-ink-bar {
    z-index: 1;
    position: absolute;
    left: 0;
    bottom: 1px;
    box-sizing: border-box;
    height: 2px;
    background-color: @tabs-ink-bar-color;
    transform-origin: 0 0;
  }

  &-bar {
    border-bottom: @border-width-base @border-style-base @border-color-split;
    margin: @tabs-bar-margin;
    outline: none;
    transition: padding 0.3s @ease-in-out;
  }

  &-nav-container {
    overflow: hidden;
    font-size: @tabs-title-font-size;
    line-height: @line-height-base;
    box-sizing: border-box;
    position: relative;
    white-space: nowrap;
    margin-bottom: -1px;
    transition: padding 0.3s @ease-in-out;
    .clearfix;

    &-scrolling {
      padding-left: @tabs-scrolling-size;
      padding-right: @tabs-scrolling-size;
    }
  }

  // https://github.com/ant-design/ant-design/issues/9104
  &-bottom &-bottom-bar {
    margin-bottom: 0;
    margin-top: 16px;
    border-bottom: none;
    border-top: @border-width-base @border-style-base @border-color-split;
  }

  &-bottom &-bottom-bar &-ink-bar {
    bottom: auto;
    top: 1px;
  }

  &-bottom &-bottom-bar &-nav-container {
    margin-bottom: 0;
    margin-top: -1px;
  }

  &-tab-prev,
  &-tab-next {
    user-select: none;
    z-index: 2;
    width: 0;
    height: 100%;
    cursor: pointer;
    border: 0;
    background-color: transparent;
    position: absolute;
    text-align: center;
    color: @text-color-secondary;
    transition: width 0.3s @ease-in-out, opacity 0.3s @ease-in-out, color 0.3s @ease-in-out;
    opacity: 0;
    pointer-events: none;

    &.@{tab-prefix-cls}-tab-arrow-show {
      opacity: 1;
      width: @tabs-scrolling-size;
      height: 100%;
      pointer-events: auto;
    }

    &:hover {
      color: @text-color;
    }

    &-icon {
      font-style: normal;
      font-weight: bold;
      font-variant: normal;
      line-height: inherit;
      vertical-align: baseline;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      text-transform: none;

      &-target {
        display: block;
        .iconfont-size-under-12px(10px);
      }
    }
  }

  &-tab-btn-disabled {
    cursor: not-allowed;
    &,
    &:hover {
      color: @disabled-color;
    }
  }

  &-tab-next {
    right: 2px;
  }

  &-tab-prev {
    left: 0;
    :root & {
      filter: none;
    }
  }

  &-nav-wrap {
    overflow: hidden;
    margin-bottom: -1px;
  }

  &-nav-scroll {
    overflow: hidden;
    white-space: nowrap;
  }

  &-nav {
    box-sizing: border-box;
    padding-left: 0;
    transition: transform 0.3s @ease-in-out;
    position: relative;
    margin: 0;
    list-style: none;
    display: inline-block;

    &:before,
    &:after {
      display: table;
      content: ' ';
    }

    &:after {
      clear: both;
    }

    .@{tab-prefix-cls}-tab-disabled {
      pointer-events: none;
      cursor: not-allowed;
      color: @disabled-color;
    }
{'fraction_non_alphanumeric': 0.1611908067252815, 'fraction_numerical': 0.017584451642757983, 'mean_word_length': 2.090562440419447, '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': '3081279', 'n_tokens_mistral': 2498, 'n_tokens_neox': 2339, 'n_words': 467}