@import "mixins/mixins";
@import "mixins/utils";
@import "common/var";

@include b(breadcrumb) {
  height: 48px;
  line-height: 48px;
  //padding: 0 24px;
  font-size: $--font-size-small;
  box-shadow: 0 4px 12px 0 rgba(157,157,157,0.10);
  @include utils-clearfix;

  @include e(separator) {
    margin: 0 8px;
    color: $--color-text-primary;

    &[class*=icon] {
      margin: 0 8px;
    }
  }

  @include e(item) {
    float: left;

    @include e(inner) {
      color: $--color-text-disabled;

      &.is-link, & a {
        text-decoration: none;
        transition: $--color-transition-base;
        color: $--color-text-disabled;

        &:hover {
          color: $--color-primary;
          cursor: pointer;
        }
      }
    }

    &:last-child {

      .el-breadcrumb__inner,
      .el-breadcrumb__inner a {
        color: $--color-text-primary;
        &:hover {
          cursor: text;
        }
      }

      .el-breadcrumb__separator {
        display: none;
      }
    }
  }
}
