summaryrefslogtreecommitdiff
path: root/bower_components/font-awesome/src/assets/less/site/example-rating.less
blob: 92fd968d0e0f6e9236202d24f83af4f4ab2efee7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.rating {
  unicode-bidi: bidi-override;
  direction: rtl;

  font-size: 30px;
  span.star {
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    display: inline-block;
    &:hover {
      cursor: pointer;
    }
  }
  span.star:before {
    content: "\f006"; // empty star
    padding-right: 5px;
    color: @gray-light;
  }

  span.star:hover:before, span.star:hover ~ span.star:before {
    content: "\f005"; // solid star
    color: #e3cf7a;
  }
}