.rate__list {
  display: inline-block;
  padding: 0;
  margin: 0;
  vertical-align: middle;
  list-style: none;
}

.rate-star {
  $root: #{&};
  position: relative;
  display: inline-block;
  padding: 0;
  margin: 0;
  margin-right: $rate-star-spacing;
  font-size: nth($rate-size, 1);
  color: $rate-star-color;
  cursor: pointer;
  transition: all .3s;

  .rate--small & {
    font-size: nth($rate-sm-size, 1);
  }

  .rate__list--disabled & {
    cursor: not-allowed;
  }

  &:hover {
    transform: scale(1.1);

    .rate__list--disabled & {
      transform: scale(1);
    }
  }

  &__bottom,
  &__top {
    user-select: none;
    transition: all .3s;
  }

  &__bottom {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    opacity: 0;

    #{$root}--no-full &,
    #{$root}--half & {
      color: $rate-active-color;
      opacity: 1;
    }

    #{$root}--half & {
      width: 50%;
    }
  }

  &__top {
    #{$root}--full & {
      color: $rate-active-color;
    }
  }
}

@for $i from 1 through 9 {
  .rate-star--#{$i*10} .rate-star__bottom {
    width: 10 * $i + %;
  }
}

.rate__text {
  font-size: nth($rate-size, 2);
  color: $rate-text-color;

  .rate--small & {
    font-size: nth($rate-sm-size, 2);
  }
}

.thumb-up dt {
  float: left;
  margin-right: 5px;
}

.thumb-up dt button {
  width: 40px;
  height: 40px;
  padding-right: 0;
  padding-left: 0;
  text-align: center;
}

.thumb-up dt i {
  font-size: $font-size-lg;
  color: $gray-light-15;
}

.thumb-up .#{$css-prefix}thumb-up {
  display: none;
}

.thumb-up:hover .#{$css-prefix}thumb-up-outline {
  display: none;
}

.thumb-up:hover .#{$css-prefix}thumb-up {
  display: block;
}

.thumb-up:hover .#{$btn-prefix-cls}:hover {
  border-color: $btn-secondary-border;
  box-shadow: none;
}

.thumb-up dd {
  margin-bottom: 0;
  font-size: .14px;
  color: $gray-light-45;
}

