/* vim: set ts=2 sw=2 sts=2 et: */

/**
 * Vote bar styles
 *
 * @author    Qualiteam software Ltd <info@x-cart.com>
 * @copyright Copyright (c) 2011-2015 Qualiteam software Ltd <info@x-cart.com>. All rights reserved
 * @license   http://www.x-cart.com/license-agreement.html X-Cart 5 License Agreement
 * @link      http://www.x-cart.com/
 */

.vote-bar {
  position: relative;
  font-size: 18px;
  display: inline-block;
  padding: 0px;
  margin: 0px;
}

.stars-row {
  display: block;
  white-space: nowrap;
  color: #d3d3d3;
  height: 25px;
}

.stars-row.full {
  position: absolute;
  top: 0;
  left: 0;
  color: #ffa52b;
  white-space: nowrap;
  overflow: hidden;
}

.stars-row.hovered {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  color: #d3d3d3;
  overflow: hidden;
}

.star-single {
  display: inline-block;
  width: 21px;
  float: left;
  text-align: center;
}

.stars-row .star-single span {
  color: #d3d3d3;
  font-size: 18px;
}

.stars-row.full .star-single span {
  color: #ffa52b;
}

.stars-row.hovered .star-single span {
  color: #d3d3d3;
}

.vote-bar.editable .stars-row.hovered .star-single.over span {
  color: #f26821;
}

div.vote-bar:hover {
  cursor: default;
}

div.vote-bar.editable:hover {
  cursor: pointer;
}
