| 1 |
// Ratings |
| 2 |
// |
| 3 |
// Ratings using font icons. Located in `/wyrm_addons/elements/_stars.sass`. |
| 4 |
// |
| 5 |
// Markup: |
| 6 |
// <span class="wy-star {$modifiers}"></span> |
| 7 |
// |
| 8 |
// .wy-star-0 - 0 stars |
| 9 |
// .wy-star-0dot5 - 0.5 stars |
| 10 |
// .wy-star-1 - 1 stars |
| 11 |
// .wy-star-1dot5 - 1.5 stars |
| 12 |
// .wy-star-2 - 2 stars |
| 13 |
// .wy-star-2dot5 - 2.5 stars |
| 14 |
// .wy-star-3 - 3 stars |
| 15 |
// .wy-star-3dot5 - 3.5 stars |
| 16 |
// .wy-star-4 - 4 stars |
| 17 |
// .wy-star-4dot5 - 4.5 stars |
| 18 |
// .wy-star-5 - 5 stars |
| 19 |
// |
| 20 |
// Styleguide 10.0 |
| 21 |
|
| 22 |
.wy-star |
| 23 |
display: inline-block |
| 24 |
max-width: 100% |
| 25 |
letter-spacing: 3px |
| 26 |
color: $text-light |
| 27 |
font-family: $icon-font-family |
| 28 |
vertical-align: top |
| 29 |
position: relative |
| 30 |
&:before |
| 31 |
content: "\f005\f005\f005\f005\f005" |
| 32 |
&:after |
| 33 |
position: absolute |
| 34 |
top: 0 |
| 35 |
left: 0 |
| 36 |
color: $text-color |
| 37 |
&.wy-star-0dot5:after |
| 38 |
content: "\f089" |
| 39 |
&.wy-star-1:after |
| 40 |
content: "\f005" |
| 41 |
&.wy-star-1dot5:after |
| 42 |
content: "\f005\f089" |
| 43 |
&.wy-star-2:after |
| 44 |
content: "\f005\f005" |
| 45 |
&.wy-star-2dot5:after |
| 46 |
content: "\f005\f005\f089" |
| 47 |
&.wy-star-3:after |
| 48 |
content: "\f005\f005\f005" |
| 49 |
&.wy-star-3dot5:after |
| 50 |
content: "\f005\f005\f005\f089" |
| 51 |
&.wy-star-4:after |
| 52 |
content: "\f005\f005\f005\f005" |
| 53 |
&.wy-star-4dot5:after |
| 54 |
content: "\f005\f005\f005\f005\f089" |
| 55 |
&.wy-star-5:after |
| 56 |
content: "\f005\f005\f005\f005\f005" |