home | career | drupal | java | mac | mysql | perl | php | scala | uml | unix

Drupal example source code file (fivestar-rtl.css)

This example Drupal source code file (fivestar-rtl.css) is included in the DevDaily.com "Drupal Source Code Warehouse" project. The intent of this project is to help you "Learn Drupal by Example".

PHP - Drupal tags/keywords

0px, 16px, 32px, background-position, br, cancel, clear, fivestar-combo-stars, fivestar-form-item, float, right, rtl, star

The fivestar-rtl.css Drupal example source code

div.fivestar-widget-static .star,
div.fivestar-widget .cancel,
div.fivestar-widget .star {
  float: right;
}

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

/* Static View-only Star Version */
div.fivestar-widget-static br {
  clear: right;
}

div.fivestar-widget-static .star {
  float: right;
  background-position: right 0;
}

div.fivestar-widget-static .star span.on {
  background-position: right -32px;
}

div.fivestar-widget-static .star span.off {
  background-position: right 0;
}

/* Javascript Star Version */
div.fivestar-widget .cancel,
div.fivestar-widget .cancel a {
  background-position: right -16px;
}

div.fivestar-widget .star,
div.fivestar-widget .star a,
div.fivestar-widget .cancel a {
  background-position: right 0;
}

div.fivestar-widget div.on a {
  background-position: right -16px;
}
div.fivestar-widget div.hover a, div.rating div a:hover {
  background-position: right -32px;
}

Other Drupal examples (source code examples)

Here is a short list of links related to this Drupal fivestar-rtl.css source code file:

new blog posts

"Drupal" is a registered trademark of Dries Buytaert.

my drupal tutorials and examples  

Copyright 1998-2016 Alvin Alexander, alvinalexander.com
All Rights Reserved.

Beginning in 2016, a portion of the proceeds from pages under the '/drupal-code-examples/' URI will be donated to charity.