Fork-Awesome/assets/less/site/example-rating.less
2018-02-05 23:47:17 -05:00

26 lines
481 B
Plaintext

.rating {
unicode-bidi: bidi-override;
direction: rtl;
font-size: 30px;
span.star {
font-family: ForkAwesome;
font-weight: normal;
font-style: normal;
display: inline-block;
&:hover {
cursor: pointer;
}
}
span.star:before {
content: "\f006"; // empty star
padding-right: 5px;
color: @gray-light;
}
span.star:hover:before, span.star:hover ~ span.star:before {
content: "\f005"; // solid star
color: #e3cf7a;
}
}