example-rating.less 481 B

12345678910111213141516171819202122232425
  1. .rating {
  2. unicode-bidi: bidi-override;
  3. direction: rtl;
  4. font-size: 30px;
  5. span.star {
  6. font-family: ForkAwesome;
  7. font-weight: normal;
  8. font-style: normal;
  9. display: inline-block;
  10. &:hover {
  11. cursor: pointer;
  12. }
  13. }
  14. span.star:before {
  15. content: "\f006"; // empty star
  16. padding-right: 5px;
  17. color: @gray-light;
  18. }
  19. span.star:hover:before, span.star:hover ~ span.star:before {
  20. content: "\f005"; // solid star
  21. color: #e3cf7a;
  22. }
  23. }