You are here

fivestar.css in Fivestar 7.2

/* Plain HTML Version */
form.fivestar-widget {
  clear: both;
  display: block;
}
form.fivestar-widget select,
form.fivestar-widget input {
  margin: 0;
}

/* Combo Static and Rate Widget */
.fivestar-combo-stars .fivestar-static-form-item {
  float: left; /* RTL */
  margin-right: 40px; /* RTL */
  margin-left: 40px; /* RTL */
}
.fivestar-combo-stars .fivestar-static-item {
  float: left; /* RTL */
  margin-right: 40px; /* RTL */
}

.fivestar-combo-stars .fivestar-form-item {
  float: left; /* RTL */
}

/* Fivestar form items */
.fivestar-static-form-item .form-item,
.fivestar-form-item .form-item {
  margin: 0;
}

/* Static View-only Star Version */
div.fivestar-widget-static {
  display: block;
}

div.fivestar-widget-static br {
  clear: left; /* RTL */
}

div.fivestar-widget-static .star {
  float: left; /* RTL */
  width: 17px;
  height: 15px;
  overflow: hidden;
  text-indent: -999em;
  background: url(../widgets/default/star.gif) no-repeat 0 0; /* RTL */
}

div.fivestar-widget-static .star span.on {
  display: block;
  width: 100%;
  height: 100%;
  background: url(../widgets/default/star.gif) no-repeat 0 -32px; /* RTL */
}

div.fivestar-widget-static .star span.off {
  display: block;
  width: 100%;
  height: 100%;
  background: url(../widgets/default/star.gif) no-repeat 0 0; /* RTL */
}

/* Javascript Star Version */
div.fivestar-widget {
  display: block;
}

div.fivestar-widget .cancel,
div.fivestar-widget .star {
  float: left; /* RTL */
  width: 17px;
  height: 15px;
  overflow: hidden;
  text-indent: -999em;
}
div.fivestar-widget .cancel,
div.fivestar-widget .cancel a {
  background: url(../widgets/default/delete.gif) no-repeat 0 -16px; /* RTL */
  text-decoration: none;
}

div.fivestar-widget .star,
div.fivestar-widget .star a {
  background: url(../widgets/default/star.gif) no-repeat 0 0; /* RTL */
  text-decoration: none;
}

div.fivestar-widget .cancel a,
div.fivestar-widget .star a {
  display: block;
  width: 100%;
  height: 100%;
  background-position: 0 0; /* RTL */
  cursor: pointer;
}

div.fivestar-widget div.on a {
  background-position: 0 -16px; /* RTL */
}
div.fivestar-widget div.hover a,
div.rating div a:hover {
  background-position: 0 -32px; /* RTL */
}
form.fivestar-widget div.description {
  margin-bottom: 0;
}

html.js .fivestar-submit {
  display: none;
}

.fivestar-combo-stars .form-type-fivestar .form-item {
  float: left;
}

File

css/fivestar.css
View source
  1. /* Plain HTML Version */
  2. form.fivestar-widget {
  3. clear: both;
  4. display: block;
  5. }
  6. form.fivestar-widget select,
  7. form.fivestar-widget input {
  8. margin: 0;
  9. }
  10. /* Combo Static and Rate Widget */
  11. .fivestar-combo-stars .fivestar-static-form-item {
  12. float: left; /* RTL */
  13. margin-right: 40px; /* RTL */
  14. margin-left: 40px; /* RTL */
  15. }
  16. .fivestar-combo-stars .fivestar-static-item {
  17. float: left; /* RTL */
  18. margin-right: 40px; /* RTL */
  19. }
  20. .fivestar-combo-stars .fivestar-form-item {
  21. float: left; /* RTL */
  22. }
  23. /* Fivestar form items */
  24. .fivestar-static-form-item .form-item,
  25. .fivestar-form-item .form-item {
  26. margin: 0;
  27. }
  28. /* Static View-only Star Version */
  29. div.fivestar-widget-static {
  30. display: block;
  31. }
  32. div.fivestar-widget-static br {
  33. clear: left; /* RTL */
  34. }
  35. div.fivestar-widget-static .star {
  36. float: left; /* RTL */
  37. width: 17px;
  38. height: 15px;
  39. overflow: hidden;
  40. text-indent: -999em;
  41. background: url(../widgets/default/star.gif) no-repeat 0 0; /* RTL */
  42. }
  43. div.fivestar-widget-static .star span.on {
  44. display: block;
  45. width: 100%;
  46. height: 100%;
  47. background: url(../widgets/default/star.gif) no-repeat 0 -32px; /* RTL */
  48. }
  49. div.fivestar-widget-static .star span.off {
  50. display: block;
  51. width: 100%;
  52. height: 100%;
  53. background: url(../widgets/default/star.gif) no-repeat 0 0; /* RTL */
  54. }
  55. /* Javascript Star Version */
  56. div.fivestar-widget {
  57. display: block;
  58. }
  59. div.fivestar-widget .cancel,
  60. div.fivestar-widget .star {
  61. float: left; /* RTL */
  62. width: 17px;
  63. height: 15px;
  64. overflow: hidden;
  65. text-indent: -999em;
  66. }
  67. div.fivestar-widget .cancel,
  68. div.fivestar-widget .cancel a {
  69. background: url(../widgets/default/delete.gif) no-repeat 0 -16px; /* RTL */
  70. text-decoration: none;
  71. }
  72. div.fivestar-widget .star,
  73. div.fivestar-widget .star a {
  74. background: url(../widgets/default/star.gif) no-repeat 0 0; /* RTL */
  75. text-decoration: none;
  76. }
  77. div.fivestar-widget .cancel a,
  78. div.fivestar-widget .star a {
  79. display: block;
  80. width: 100%;
  81. height: 100%;
  82. background-position: 0 0; /* RTL */
  83. cursor: pointer;
  84. }
  85. div.fivestar-widget div.on a {
  86. background-position: 0 -16px; /* RTL */
  87. }
  88. div.fivestar-widget div.hover a,
  89. div.rating div a:hover {
  90. background-position: 0 -32px; /* RTL */
  91. }
  92. form.fivestar-widget div.description {
  93. margin-bottom: 0;
  94. }
  95. html.js .fivestar-submit {
  96. display: none;
  97. }
  98. .fivestar-combo-stars .form-type-fivestar .form-item {
  99. float: left;
  100. }