| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,25 @@ |
| 1 |
+.rating {
|
|
| 2 |
+ unicode-bidi: bidi-override; |
|
| 3 |
+ direction: rtl; |
|
| 4 |
+ |
|
| 5 |
+ font-size: 30px; |
|
| 6 |
+ span.star {
|
|
| 7 |
+ font-family: FontAwesome; |
|
| 8 |
+ font-weight: normal; |
|
| 9 |
+ font-style: normal; |
|
| 10 |
+ display: inline-block; |
|
| 11 |
+ &:hover {
|
|
| 12 |
+ cursor: pointer; |
|
| 13 |
+ } |
|
| 14 |
+ } |
|
| 15 |
+ span.star:before {
|
|
| 16 |
+ content: "\f006"; // empty star |
|
| 17 |
+ padding-right: 5px; |
|
| 18 |
+ color: @gray-light; |
|
| 19 |
+ } |
|
| 20 |
+ |
|
| 21 |
+ span.star:hover:before, span.star:hover ~ span.star:before {
|
|
| 22 |
+ content: "\f005"; // solid star |
|
| 23 |
+ color: #e3cf7a; |
|
| 24 |
+ } |
|
| 25 |
+} |