diff --git a/rating/css/rating.css b/rating/css/rating.css new file mode 100644 index 0000000..999ecd9 --- /dev/null +++ b/rating/css/rating.css @@ -0,0 +1,68 @@ +.rating { + position: relative; + display: block; + float: left; + height: 16px; +} + +.rating_name, .rating_total, .rating_summary { + position: relative; + float: left; + height: 16px; + line-height: 16px; +} + +.rating_total, .rating_summary { + margin: 0 0 0 5px; + font-size: 12px; +} + +.rating_vote { + position: relative; + float: left; + margin: 0; + height: 16px; + background: url(../images/skin.png) left top repeat-x; + cursor: pointer; +} + +.rating_not_vote { + cursor: default; +} + +.rating_hover, .rating_percent { + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 0; + background: url(../images/skin.png) repeat-x; +} + +.rating_percent { + background-position: left center; +} + +.rating_hover { + background-position: left bottom; +} + +.rating_mark { + position: relative; + float: left; + width: 18px; + height: 16px; +} + +.rating_status { + position: absolute; + top: 16px; + right: 0; + left: 0; + display: none; + height: 16px; + color: #aaa; + text-align: left; + font-size: 11px; + line-height: 20px; +} \ No newline at end of file