diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-01-06 20:33:16 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-01-06 20:33:16 +0000 |
commit | db638040c7d6ee38187ffa9a99d083449e9669a3 (patch) | |
tree | 21727371ea5059da5c2a76ad3d3e0af6389f9915 /themes/greyblock/templates/default.css | |
parent | 138f3171cedecc07c6fb6663a7d1f3b8f0cf5ac6 (diff) | |
download | ampache-db638040c7d6ee38187ffa9a99d083449e9669a3.tar.gz ampache-db638040c7d6ee38187ffa9a99d083449e9669a3.tar.bz2 ampache-db638040c7d6ee38187ffa9a99d083449e9669a3.zip |
fixed missing ratting info in stylesheets
Diffstat (limited to 'themes/greyblock/templates/default.css')
-rw-r--r-- | themes/greyblock/templates/default.css | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/themes/greyblock/templates/default.css b/themes/greyblock/templates/default.css index da4a6643..bf646cf7 100644 --- a/themes/greyblock/templates/default.css +++ b/themes/greyblock/templates/default.css @@ -328,3 +328,84 @@ { float: left; } +/* styles for the star ratings */ +.star-rating{ + list-style:none; + margin: 0px; + padding:0px; + width: 80px; + height: 15px; + position: relative; + background: url(../../../images/ratings/star_rating.gif) top left repeat-x; +} +.star-rating li{ + padding:0px; + margin:0px; + float: right; +} +.star-rating li span{ + display:block; + width:16px; + height: 15px; + text-decoration: none; + text-indent: -9000px; + z-index: 20; + position: absolute; + padding: 0px; +} +.star-rating li span:hover{ + background: url(../../../images/ratings/star_rating.gif) left center; + z-index: 2; + left: 0px; +} +li.zero-stars span:hover { + background: url(../../../images/ratings/x.gif); + height: 15px; + left: 80px; + display: block; +} +span.zero-stars { + background: url(../../../images/ratings/x_off.gif); + height: 15px; + left: 80px; + display: block; +} +span.one-stars{ + left: 0px; +} +span.one-stars:hover{ + width:16px; +} +span.two-stars{ + left:16px; +} +span.two-stars:hover{ + width: 32px; +} +span.three-stars{ + left: 32px; +} +span.three-stars:hover{ + width: 48px; +} +span.four-stars{ + left: 48px; +} +span.four-stars:hover{ + width: 64px; +} +span.five-stars{ + left: 64px; +} +span.five-stars:hover{ + width: 80px; +} +li.current-rating{ + background: url(../../../images/ratings/star_rating.gif) left bottom; + position: absolute; + height: 15px; + display: block; + text-indent: -9000px; + z-index: 1; +} + |