@import '~antd/es/tabs/style/index.less';
@import '../variable.less';

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

.@{tab-prefix-cls} {
  &-nav {
    .@{tab-prefix-cls}-tab {
      // icon
      .@{iconfont-css-prefix} {
        margin-right: @tabs-bar-icon-margin-right;
      }

      // badge
      .@{ant-prefix}-badge.@{ant-prefix}-badge-not-a-wrapper {
        margin-left: @tabs-bar-badge-margin-left;
      }

      &-active {
        font-weight: @font-weight-bold;
      }
    }
  }

  &-tab-prev,
  &-tab-next {
    &-icon {
      height: @icon-size;
    }
  }

  // editable-card
  &&-card &-card-bar &-tab &-close-x {
    height: @icon-size;
    width: @icon-size;
  }

  &-extra-content {
    .@{tab-prefix-cls}-new-tab {
      border: none;
    }
  }
}
