diff options
author | spocky <spocky@ampache> | 2007-08-20 20:58:03 +0000 |
---|---|---|
committer | spocky <spocky@ampache> | 2007-08-20 20:58:03 +0000 |
commit | 97f2382bc127d66613e6ce7e45eaff548a288b14 (patch) | |
tree | 00a34c9b37b42f1412ee8b55c5e1cc04de84ac0f /themes | |
parent | eb23bc31f5f5ccbf27f57f12429a63c2006d2419 (diff) | |
download | ampache-97f2382bc127d66613e6ce7e45eaff548a288b14.tar.gz ampache-97f2382bc127d66613e6ce7e45eaff548a288b14.tar.bz2 ampache-97f2382bc127d66613e6ce7e45eaff548a288b14.zip |
Fixed star-rating css
Diffstat (limited to 'themes')
-rw-r--r-- | themes/classic/templates/default.css | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/themes/classic/templates/default.css b/themes/classic/templates/default.css index 40cb27ba..f3450010 100644 --- a/themes/classic/templates/default.css +++ b/themes/classic/templates/default.css @@ -400,7 +400,7 @@ h3#content_title span { } .star-rating ul, -.star-rating div:hover, +.star-rating a:hover, .star-rating .current-rating{ background: url(../../../images/ratings/star_rating.gif) left -1000px repeat-x; } @@ -417,7 +417,7 @@ h3#content_title span { .star-rating li{ display: inline; } -.star-rating div, +.star-rating a, .star-rating span, .star-rating .current-rating{ position:absolute; top:0; @@ -429,24 +429,24 @@ h3#content_title span { overflow:hidden; border: none; } -.star-rating div.one-stars { width:20%; z-index:6; } -.star-rating div.two-stars { width:40%; z-index:5; } -.star-rating div.three-stars{ width:60%; z-index:4; } -.star-rating div.four-stars { width:80%; z-index:3; } -.star-rating div.five-stars { width:100%; z-index:2; } +.star-rating .one-stars { width:20%; z-index:6; } +.star-rating .two-stars { width:40%; z-index:5; } +.star-rating .three-stars { width:60%; z-index:4; } +.star-rating .four-stars { width:80%; z-index:3; } +.star-rating .five-stars { width:100%; z-index:2; } .star-rating .current-rating { z-index:1; background-position: left bottom; } -.star-rating div.zero-stars { +.star-rating a.zero-stars { left:80px; width:16px; background-image: url(../../../images/ratings/x_off.gif); } /* hovering effect only for dynamic star rating */ -.dynamic-star-rating div:hover{ +.dynamic-star-rating a:hover{ background-position: left center; } -.dynamic-star-rating div:hover.zero-stars { +.dynamic-star-rating a:hover.zero-stars { background-image: url(../../../images/ratings/x.gif); } |