.nut-tabbar-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
  text-align: center;
  text-decoration: none;
  color: $tabbar-inactive-color;
  height: 100%;

  &-icon-box {
    padding: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;

    .nut-icon {
      width: 22px;
      height: 22px;
      font-size: 22px;
    }

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

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

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

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