thirdparty-raty.less 905 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. .enable_plugin_raty() when (@enable-plugin-raty = true) {
  2. .cancel-on-png, .cancel-off-png, .star-on-png, .star-off-png, .star-half-png {
  3. font-size: 2em;
  4. }
  5. .cancel-on-png, .cancel-off-png, .star-on-png, .star-off-png, .star-half-png {
  6. -moz-osx-font-smoothing: grayscale;
  7. -webkit-font-smoothing: antialiased;
  8. font-family: "FontAwesome";
  9. font-style: normal;
  10. font-variant: normal;
  11. font-weight: normal;
  12. line-height: 1;
  13. speak: none;
  14. text-transform: none;
  15. color: @ace-grey;
  16. }
  17. .cancel-on-png {
  18. &:before {
  19. content: "\f057";
  20. }
  21. color: @ace-red;
  22. }
  23. .cancel-off-png {
  24. &:before {
  25. content: "\f05c";
  26. }
  27. color: @ace-red2;
  28. }
  29. .star-on-png {
  30. &:before {
  31. content: "\f005";
  32. }
  33. color: @ace-orange2;
  34. }
  35. .star-off-png {
  36. &:before {
  37. content: "\f006";
  38. }
  39. color: @ace-grey;
  40. }
  41. .star-half-png {
  42. &:before {
  43. content: "\f123";
  44. }
  45. color: @ace-orange2;
  46. }
  47. }
  48. .enable_plugin_raty();