// @import "../_utils.scss";

.#{$breadcrumb-prefix-cls} {
  // color: #999;
  // font-size: $font-size-base;
  font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "\5FAE\8F6F\96C5\9ED1", Arial, sans-serif;
  font-size: 14px;
  color: #495060;
  letter-spacing: 0;
  text-align: left;
  line-height: 24px;

  @include theme-font-color($__breadcrumb_font-color);
  @if $--size-switch == yes {
    font-size: $--size-font-size-base;
    @include computed-line-height();
    padding: computed-padding-vertical(24px, $--size-font-size-base, 0) 0;
    height: 24px;
  }

  a {
    //color: $text-color;
    transition: color $transition-time $ease-in-out;
    font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "\5FAE\8F6F\96C5\9ED1", Arial, sans-serif;
    font-size: 14px;
    color: #495060;
    letter-spacing: 0;
    text-align: left;
    line-height: 24px;

    @include theme-font-color($__breadcrumb-a_font-color);
    @if $--size-switch == yes {
      font-size: $--size-font-size-base;
      @include computed-line-height();
    }

    &:hover {
      color: lighten($primary-color, 5%);

      @include theme-font-color($__breadcrumb-a_hover_font-color);

      .iconfont {
        @include theme-font-color($__breadcrumb-a_hover_font-color);
      }
    }
  }

  .iconfont {
    font-size: 14px;
  }

  & > span:last-child {
    font-weight: bold;
    //color: $text-color;
    font-family: "Microsoft YaHei-Bold", "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "\5FAE\8F6F\96C5\9ED1", Arial, sans-serif;
    font-size: 14px;
    color: #495060;
    letter-spacing: 0;
    text-align: left;
    line-height: 24px;

    @include theme-font-color($__breadcrumb-span-last-child_font-color);
    @if $--size-switch == yes {
      font-size: $--size-font-size-base;
      @include computed-line-height();
    }
  }

  & > span:last-child &-item-separator {
    display: none;
  }

  &-item-separator {
    margin: 0 8px;
    // color: $border-color-base;
    font-size: 14px;
    color: #dce1e7;

    @include theme-font-color($__breadcrumb-item-separator_font-color);
    @if $--size-switch == yes {
      font-size: $--size-font-size-base;
    }
  }

  &-item-link {
    > .h-icon + span {
      margin-left: 4px;
    }
  }
}
