@import '../common/style/var.less';
@import '../common/style/theme.less';

.van-rate {
  display: inline-flex;
  user-select: none;

  &__item {
    position: relative;
    .theme(padding, '0 @rate-horizontal-padding');
  }

  &__icon {
    display: block;
    height: 1em;
    .theme(font-size, '@rate-icon-size');

    &--half {
      position: absolute;
      top: 0;
      width: 0.5em;
      overflow: hidden;
      .theme(left, '@rate-horizontal-padding');
    }
  }
}
