@import '../style/var';

.van-tabbar-item {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: @tabbar-item-text-color;
  font-size: @tabbar-item-font-size;
  line-height: @tabbar-item-line-height;
  cursor: pointer;

  &__icon {
    position: relative;
    margin-bottom: @tabbar-item-margin-bottom;
    font-size: @tabbar-item-icon-size;

    .van-icon {
      display: block;
    }

    img {
      display: block;
      height: 20px;
    }
  }

  &--active {
    color: @tabbar-item-active-color;
    background-color: @tabbar-item-active-background-color;
  }

  .van-info {
    margin-top: @padding-base;
  }
}
