summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxgizzmo <xgizzmo@ampache>2007-01-06 23:34:43 +0000
committerxgizzmo <xgizzmo@ampache>2007-01-06 23:34:43 +0000
commitc615f097c6b23c5f78a3366b6040c331957d4cb7 (patch)
treeed2c467b1d75dcf07bd468b4ab117f9d091cda86
parent3ed32a9c58959eca10a2da6b65935e54a6c0983b (diff)
downloadampache-c615f097c6b23c5f78a3366b6040c331957d4cb7.tar.gz
ampache-c615f097c6b23c5f78a3366b6040c331957d4cb7.tar.bz2
ampache-c615f097c6b23c5f78a3366b6040c331957d4cb7.zip
updated theme for Ampache 3.3.3 for real this time
-rw-r--r--contrib/themes/Green-Marble/templates/default.css80
1 files changed, 80 insertions, 0 deletions
diff --git a/contrib/themes/Green-Marble/templates/default.css b/contrib/themes/Green-Marble/templates/default.css
index 0e529e98..cb4fedfa 100644
--- a/contrib/themes/Green-Marble/templates/default.css
+++ b/contrib/themes/Green-Marble/templates/default.css
@@ -580,5 +580,85 @@ margin-right:5em;
color: #00ff00;
background: #444444;
}
+/* 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;
+}