.nut-tabbar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: scale-px(6px) 0 scale-px(2px);
  color: $tabbar-inactive-color;
  height: 100%;

  .nut-icon {
    width: scale-px(24px);
    height: scale-px(24px);
    font-size: $font-size-xxl;
    /* #ifdef harmony dynamic*/
    color: $tabbar-inactive-color;
    /* #endif*/
    /* #ifndef harmony dynamic*/
    color: inherit;
    /* #endif*/
  }

  &-text {
    display: block;
    color: $color-text;
    font-size: $tabbar-text-font-size;
    line-height: $tabbar-text-font-size;
    margin-top: $tabbar-text-margin-top;
  }

  .nut-image {
    &-default {
      width: scale-px(38px);
      height: scale-px(38px);
      border-radius: scale-px(38px);
    }
  }

  &-large {
    justify-content: center;
    padding: 0;

    .nut-tabbar-item-text {
      font-size: $tabbar-text-large-font-size;
      margin-top: 0;
      line-height: $tabbar-text-large-font-size;
      font-weight: $tabbar-text-large-font-weight;
    }
  }

  &-active {
    color: $tabbar-active-color;

    .nut-tabbar-item-text,
    .nut-icon {
      /* #ifdef harmony dynamic*/
      color: $tabbar-active-color;
      /* #endif*/
      /* #ifndef harmony dynamic*/
      color: inherit;
      /* #endif*/
    }
  }
}
