File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed
Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change 1717 }
1818
1919 & :not (.disabled ):not (.readonly ) {
20- .rating-item {
21- .rating-item-label {
22- cursor : pointer ;
23- }
24-
25- & :hover {
26- transform : var (--#{$prefix}rating-item-scale-transform );
27- }
20+ .rating-item :hover {
21+ transform : var (--#{$prefix}rating-item-scale-transform );
22+ }
23+
24+ .rating-item-icon ,
25+ .rating-item-label {
26+ cursor : pointer ;
2827 }
2928 }
3029}
4948 font-size : var (--#{$prefix}rating-item-height );
5049 line-height : 0 ;
5150 color : var (--#{$prefix}rating-item-color );
52- cursor : default ; // has cursor pointer only if the rating is not disabled or readonly (see above)
5351
5452 * {
5553 pointer-events : none ;
8583.rating-item-icon {
8684 width : var (--#{$prefix}rating-item-height );
8785 height : var (--#{$prefix}rating-item-height );
88- // cursor: pointer; // has the cursor of rating-item-label (parent)
8986 background-color : var (--#{$prefix}rating-item-color );
9087 mask : var (--#{$prefix}rating-item-icon ) center / var (--#{$prefix}rating-item-height ) no-repeat ;
9188}
You can’t perform that action at this time.
0 commit comments