Fork-Awesome/assets/less/site/example-rating.less

26 lines
481 B
Plaintext
Raw Normal View History

2013-10-23 23:12:39 +08:00
.rating {
unicode-bidi: bidi-override;
direction: rtl;
font-size: 30px;
span.star {
font-family: FontAwesome;
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;
}
}