From 8a92cbf64eed5b582e51a0328f0742870912df25 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Tue, 27 Dec 2011 20:35:57 -0500 Subject: [PATCH] Minor - Arranged spaces in CSS --- main/css/base.css | 163 +++++++++++++++++++++++----------------------- 1 file changed, 82 insertions(+), 81 deletions(-) diff --git a/main/css/base.css b/main/css/base.css index 1e7cf3c256..ddaf6c315d 100644 --- a/main/css/base.css +++ b/main/css/base.css @@ -4089,84 +4089,85 @@ div#no-data-view div.controls { - /* styles for the star rater */ - .star-rating{ - list-style:none; - margin: 0px; - padding:0px; - width: 125px; - height: 25px; - position: relative; - overflow:hidden; - background: url(../img/alt_star.gif) top left repeat-x; - } - .star-rating li{ - padding:0px; - margin:0px; - width:25px; - height:25px; - /*\*/ - float: left; - /* */ - } - .star-rating li a{ - display:block; - width:25px; - height: 25px; - line-height:25px; - text-decoration: none; - text-indent: -9000px; - z-index: 20; - position: absolute; - padding: 0px; - overflow:hidden; - } - .star-rating li a:hover{ - background: url(../img/alt_star.gif) left bottom; - z-index: 2; - left: 0px; - border:none; - } - .star-rating a.one-star{ - left: 0px; - } - .star-rating a.one-star:hover{ - width:25px; - } - .star-rating a.two-stars{ - left:25px; - } - .star-rating a.two-stars:hover{ - width: 50px; - } - .star-rating a.three-stars{ - left: 50px; - } - .star-rating a.three-stars:hover{ - width: 75px; - } - .star-rating a.four-stars{ - left: 75px; - } - .star-rating a.four-stars:hover{ - width: 100px; - } - .star-rating a.five-stars{ - left: 100px; - } - .star-rating a.five-stars:hover{ - width: 125px; - } - .star-rating li.current-rating{ - background: url(../img/alt_star.gif) left center; - position: absolute; - height: 25px; - display: block; - text-indent: -9000px; - z-index: 1; - } - - /* remove halo effect in firefox */ - a:active{ - outline: none; - } \ No newline at end of file +/* styles for the star rater */ +.star-rating{ + list-style:none; + margin: 0px; + padding:0px; + width: 125px; + height: 25px; + position: relative; + overflow:hidden; + background: url(../img/alt_star.gif) top left repeat-x; +} +.star-rating li{ + padding:0px; + margin:0px; + width:25px; + height:25px; + /*\*/ + float: left; + /* */ +} +.star-rating li a{ + display:block; + width:25px; + height: 25px; + line-height:25px; + text-decoration: none; + text-indent: -9000px; + z-index: 20; + position: absolute; + padding: 0px; + overflow:hidden; +} +.star-rating li a:hover{ + background: url(../img/alt_star.gif) left bottom; + z-index: 2; + left: 0px; + border:none; +} +.star-rating a.one-star{ + left: 0px; +} +.star-rating a.one-star:hover{ + width:25px; +} +.star-rating a.two-stars{ + left:25px; +} +.star-rating a.two-stars:hover{ + width: 50px; +} +.star-rating a.three-stars{ + left: 50px; +} +.star-rating a.three-stars:hover{ + width: 75px; +} +.star-rating a.four-stars{ + left: 75px; +} +.star-rating a.four-stars:hover{ + width: 100px; +} +.star-rating a.five-stars{ + left: 100px; +} +.star-rating a.five-stars:hover{ + width: 125px; +} +.star-rating li.current-rating{ + background: url(../img/alt_star.gif) left center; + position: absolute; + height: 25px; + display: block; + text-indent: -9000px; + z-index: 1; +} + +/* remove halo effect in firefox */ +a:active{ + outline: none; +} +