$stars-count = 5

.star-rating
	position relative
	display inline-block
	width @height * $stars-count
	height 30px
	background url('../images/star-rating__star-grey.svg') 0 50% repeat-x
	background-size auto 100%

	&__bar
		position absolute
		top 0
		left 0
		overflow hidden
		width 0
		height 100%
		background url('../images/star-rating__star.svg') 0 50% repeat-x
		background-size auto 100%
		white-space nowrap

$stars-count = 5
$height = 30px

.star-rating
	position relative
	display inline-block
	width $height * $stars-count
	height $height
	background url('../images/star-rating__star-grey.svg') 0 50% repeat-x
	background-size auto 100%

	&__bar
		position absolute
		top 0
		left 0
		overflow hidden
		width 0
		height 100%
		background url('../images/star-rating__star.svg') 0 50% repeat-x
		background-size auto 100%
		white-space nowrap

Fix bug wiht stylus formatter
Fix bug wiht stylus formatter
