From 08309605c5ae353b580bd41f49c61d1adc59dac0 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 1 Apr 2016 15:49:07 +0800 Subject: [PATCH] fix: rate hover color --- style/components/rate.less | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 {