Permalink
Browse files

Fixed star rating

  • Loading branch information...
1 parent 8c7af66 commit 96f1f425871a2eb40cabbf4caea699167e4997e9 @lserwatka lserwatka committed Apr 3, 2012
View
@@ -1287,7 +1287,6 @@ aside > .content-view-aside:last-child > article:last-child:after {
}
.attribute-star-rating > ul.ezsr-star-rating {
float: left;
- margin: 0;
}
.attribute-star-rating > ul.ezsr-star-rating > li:before {
display: none;
@@ -4539,6 +4538,7 @@ a.thumbnail:hover {
display: inline;
margin: 0;
padding: 0;
+ position: static;
}
.ezsr-star-rating a,
.ezsr-star-rating .ezsr-current-rating {
@@ -4551,6 +4551,7 @@ a.thumbnail:hover {
outline: none;
overflow: hidden;
border: none;
+ text-align: left;
}
.ezsr-star-rating-enabled a:hover,
.ezsr-star-rating-enabled a:active,
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -659,7 +659,6 @@ aside {
.clearfix();
> ul.ezsr-star-rating {
float: left;
- margin: 0;
> li:before {
display: none;
}
View
@@ -12,7 +12,7 @@
.ezsr-star-rating a:focus,
.ezsr-star-rating .ezsr-current-rating
{
- background: url(../images/star.png) left -1000px repeat-x;
+ background: url(../images/star.png) left -1000px repeat-x;
}
.ezsr-star-rating
{
@@ -30,61 +30,63 @@
display: inline;
margin: 0;
padding: 0;
+ position: static;
}
-.ezsr-star-rating a,
+.ezsr-star-rating a,
.ezsr-star-rating .ezsr-current-rating
{
- position: absolute;
- top: 0;
- left: 0;
- text-indent: -1000em;
- height: 25px;
- line-height: 25px;
- outline: none;
- overflow: hidden;
- border: none;
+ position: absolute;
+ top: 0;
+ left: 0;
+ text-indent: -1000em;
+ height: 25px;
+ line-height: 25px;
+ outline: none;
+ overflow: hidden;
+ border: none;
+ text-align: left;
}
.ezsr-star-rating-enabled a:hover,
.ezsr-star-rating-enabled a:active,
.ezsr-star-rating-enabled a:focus
{
- background-position: left bottom;
+ background-position: left bottom;
}
.ezsr-star-rating a.ezsr-stars-1
{
- width: 20%;
- z-index: 6;
+ width: 20%;
+ z-index: 6;
}
.ezsr-star-rating a.ezsr-stars-2
{
- width: 40%;
- z-index: 5;
+ width: 40%;
+ z-index: 5;
}
.ezsr-star-rating a.ezsr-stars-3
{
- width: 60%;
- z-index: 4;
+ width: 60%;
+ z-index: 4;
}
.ezsr-star-rating a.ezsr-stars-4
{
- width: 80%;
- z-index: 3;
+ width: 80%;
+ z-index: 3;
}
.ezsr-star-rating a.ezsr-stars-5
{
- width: 100%;
- z-index: 2;
+ width: 100%;
+ z-index: 2;
}
.ezsr-star-rating .ezsr-current-rating
{
- z-index: 1;
- background-position: left center;
+ z-index: 1;
+ background-position: left center;
}
span.ezsr_average_rating
{
- font-weight: bold;
+ font-weight: bold;
}
-.hreview-aggregate .fn
+.hreview-aggregate .fn
{
display:none;
}
@@ -93,4 +95,4 @@ span.ezsr_average_rating
.hide
{
display: none;
-}
+}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -1287,7 +1287,6 @@ aside > .content-view-aside:last-child > article:last-child:after {
}
.attribute-star-rating > ul.ezsr-star-rating {
float: left;
- margin: 0;
}
.attribute-star-rating > ul.ezsr-star-rating > li:before {
display: none;
@@ -4539,6 +4538,7 @@ a.thumbnail:hover {
display: inline;
margin: 0;
padding: 0;
+ position: static;
}
.ezsr-star-rating a,
.ezsr-star-rating .ezsr-current-rating {
@@ -4551,6 +4551,7 @@ a.thumbnail:hover {
outline: none;
overflow: hidden;
border: none;
+ text-align: left;
}
.ezsr-star-rating-enabled a:hover,
.ezsr-star-rating-enabled a:active,

0 comments on commit 96f1f42

Please sign in to comment.