This commit is contained in:
Lieu Le
2019-09-28 14:51:01 +07:00
parent 758df32f28
commit cdc5a562aa
10 changed files with 24 additions and 18 deletions

View File

@@ -2867,6 +2867,7 @@ ul.property-status {
line-height: 1; }
.opalestate-rating__stars::before {
font-family: "Font Awesome 5 Free";
font-weight: 400;
font-size: inherit;
text-rendering: auto;
content: "\f005\f005\f005\f005\f005";
@@ -2886,6 +2887,7 @@ ul.property-status {
font-size: inherit;
text-rendering: auto;
content: "\f005\f005\f005\f005\f005";
font-weight: 900;
color: #f6be15;
position: absolute;
top: 0;
@@ -2908,13 +2910,16 @@ p.stars a {
height: 1em;
line-height: 1;
font-family: "Font Awesome 5 Free";
content: "\f006";
font-weight: 400;
content: "\f005";
text-indent: 0; }
p.stars a:hover ~ a::before {
content: "\f006"; }
content: "\f005";
font-weight: 400; }
p.stars:hover a::before {
content: '\f005'; }
content: '\f005';
font-weight: 900; }
p.stars.selected a.active::before {
content: '\f005'; }

View File

@@ -99,9 +99,9 @@ ul.property-status{
font-size: $font-size-base;
width: calc(#{$font-size-base}*5 - 5px);
line-height: 1;
&::before{
font-family:$font-family-icon;
font-weight: 400;
font-size: inherit;
text-rendering: auto;
content: "\f005\f005\f005\f005\f005";
@@ -122,6 +122,7 @@ ul.property-status{
font-size: inherit;
text-rendering: auto;
content: "\f005\f005\f005\f005\f005";
font-weight: 900;
color: #f6be15;
position: absolute;
top: 0;
@@ -138,7 +139,6 @@ p.stars {
text-indent: -999em;
display: inline-block;
text-decoration: none;
&::before {
display: block;
position: absolute;
@@ -148,14 +148,15 @@ p.stars {
height: 1em;
line-height: 1;
font-family: $font-family-icon;
content: "\f006";
font-weight: 400;
content: "\f005";
text-indent: 0;
}
&:hover {
~ a::before {
content: "\f006";
content: "\f005";
font-weight: 400;
}
}
}
@@ -163,8 +164,8 @@ p.stars {
&:hover {
a {
&::before {
content: '\f005';
font-weight: 900;
}
}
}