parsley/app/assets/stylesheets/star_rating.scss

36 lines
430 B
SCSS
Raw Normal View History

2016-08-12 16:05:24 -05:00
span.star-rating {
2016-08-15 17:43:02 -05:00
display: inline-block;
2016-08-12 16:05:24 -05:00
color: gold;
cursor: default;
2016-08-15 17:43:02 -05:00
position: relative;
white-space: nowrap;
.empty-set {
color: gray;
opacity: 0.5;
}
.filled-set {
overflow-x: hidden;
position: absolute;
top: 0;
left: 0;
}
2016-08-12 16:05:24 -05:00
span.star {
@extend .glyphicon;
&.empty {
@extend .glyphicon-star-empty;
}
&.full {
@extend .glyphicon-star;
}
}
}