# HG changeset patch # User veltr # Date 1367500181 -7200 # Node ID 411c8eb7f57490c04639174bc0f613d0cc8dad24 # Parent 2169ca441eb34d4fda56c5cf07c2091a10a9fca7 Corrected bug in stars display diff -r 2169ca441eb3 -r 411c8eb7f574 integ/iri-buzz.html --- a/integ/iri-buzz.html Thu May 02 14:52:38 2013 +0200 +++ b/integ/iri-buzz.html Thu May 02 15:09:41 2013 +0200 @@ -93,13 +93,13 @@
-
+
Avatar
diff -r 2169ca441eb3 -r 411c8eb7f574 integ/iri/css/iri-buzz.css --- a/integ/iri/css/iri-buzz.css Thu May 02 14:52:38 2013 +0200 +++ b/integ/iri/css/iri-buzz.css Thu May 02 15:09:41 2013 +0200 @@ -164,7 +164,7 @@ } .rate .stars-rating li { margin-right: 3px; - background: url(../img/rating-stars-large.png) top right no-repeat; + background: url(../img/rating-stars-large.png) top left no-repeat; width: 21px; height: 21px; display: inline-block; @@ -175,30 +175,20 @@ .stars-rating li:last-child { margin-right: 0; } -.rate-1\.0 li:first-child, -.rate-1\.5 li:first-child, -.rate-2\.0 li:first-child, -.rate-2\.0 li:nth-child(2), -.rate-2\.5 li:first-child, -.rate-2\.5 li:nth-child(2), -.rate-3\.0 li:first-child, -.rate-3\.0 li:nth-child(2), -.rate-3\.0 li:nth-child(3), -.rate-3\.5 li:first-child, -.rate-3\.5 li:nth-child(2), -.rate-3\.5 li:nth-child(3), -.rate-4\.0 li:first-child, -.rate-4\.0 li:nth-child(2), -.rate-4\.0 li:nth-child(3), -.rate-4\.0 li:nth-child(4), -.rate-4\.5 li:first-child, -.rate-4\.5 li:nth-child(2), -.rate-4\.5 li:nth-child(3), -.rate-4\.5 li:nth-child(4), -.rate-5\.0 li { - background-position: top left; +.rate-0\.0 li:nth-child(n+1), +.rate-0\.5 li:nth-child(n+1), +.rate-1\.0 li:nth-child(n+2), +.rate-1\.5 li:nth-child(n+2), +.rate-2\.0 li:nth-child(n+3), +.rate-2\.5 li:nth-child(n+3), +.rate-3\.0 li:nth-child(n+4), +.rate-3\.5 li:nth-child(n+4), +.rate-4\.0 li:nth-child(n+5), +.rate-4\.5 li:nth-child(n+5) { + background-position: top right; } +.rate-0\.5 li:first-child, .rate-1\.5 li:nth-child(2), .rate-2\.5 li:nth-child(3), .rate-3\.5 li:nth-child(4),