diff --git a/style/components/rate.less b/style/components/rate.less index 8f79b85351..1892d91121 100644 --- a/style/components/rate.less +++ b/style/components/rate.less @@ -35,7 +35,6 @@ &:hover { transform: scale(1.1); - color: tint(@rate-star-color, 20%); } &:before, @@ -63,6 +62,11 @@ &-full:before { color: @rate-star-color; } + + &-half:hover &-content:before, + &-full:hover:before { + color: tint(@rate-star-color, 20%); + } } &-text {