You are here

fivestar.css in Rate 8

Rate fiverstar widget styling.

File

css/fivestar.css
View source
  1. /**
  2. * @file
  3. * Rate fiverstar widget styling.
  4. */
  5. .rate-widget-fivestar ul {
  6. list-style: none;
  7. overflow: hidden;
  8. }
  9. .rate-widget-fivestar ul li {
  10. float: left;
  11. }
  12. .rate-widget-fivestar .item-list ul li {
  13. padding: 0;
  14. margin: 0;
  15. }
  16. .rate-widget-fivestar .item-list ul li a + .ajax-progress {
  17. height: 16px;
  18. /* Space between star and throbber */
  19. padding: 0 2px;
  20. }
  21. .rate-widget-fivestar .item-list ul li a + .ajax-progress .throbber {
  22. padding: 7px 8px 2px;
  23. }
  24. .rate-widget-fivestar ul li.hovering a {
  25. /* Yellow star */
  26. background: url(../images/fivestar.png) no-repeat 0 -16px;
  27. }
  28. .rate-fivestar-btn-filled,
  29. .rate-fivestar-btn-empty {
  30. display: inline-block;
  31. width: 16px;
  32. height: 16px;
  33. /* Prevent overlapping text on image */
  34. text-indent: -9999px;
  35. }
  36. .rate-fivestar-btn-filled {
  37. /* Yellow star */
  38. background: url(../images/fivestar.png) no-repeat 0 -16px;
  39. }
  40. .rate-fivestar-btn-empty {
  41. /* Gray star */
  42. background: url(../images/fivestar.png) no-repeat 0 -32px;
  43. }