From cdc5a562aa69d0793fe543bbcb373a4ffd07700c Mon Sep 17 00:00:00 2001 From: Lieu Le Date: Sat, 28 Sep 2019 14:51:01 +0700 Subject: [PATCH] update --- assets/opalestate.css | 11 ++++++++--- assets/scss/opalestate/_elements.scss | 13 +++++++------ templates/content-agent-grid.php | 2 +- templates/content-agent-list.php | 2 +- templates/content-user-grid.php | 2 +- templates/single-agency/author-box.php | 2 +- templates/single-agent/author-box.php | 2 +- .../single-property/user/author-member-box.php | 2 +- .../single-property/user/author-user-box-list.php | 4 ++-- templates/single-property/user/author-user-box.php | 2 +- 10 files changed, 24 insertions(+), 18 deletions(-) diff --git a/assets/opalestate.css b/assets/opalestate.css index 1060503c..70150543 100755 --- a/assets/opalestate.css +++ b/assets/opalestate.css @@ -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'; } diff --git a/assets/scss/opalestate/_elements.scss b/assets/scss/opalestate/_elements.scss index b5217374..c53c473f 100755 --- a/assets/scss/opalestate/_elements.scss +++ b/assets/scss/opalestate/_elements.scss @@ -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; } } } diff --git a/templates/content-agent-grid.php b/templates/content-agent-grid.php index 734e7f1f..e4dd7d23 100755 --- a/templates/content-agent-grid.php +++ b/templates/content-agent-grid.php @@ -15,7 +15,7 @@ $agent = new OpalEstate_Agent(); get_trusted() ): ?> - + diff --git a/templates/content-agent-list.php b/templates/content-agent-list.php index f6671a1e..9afc04e7 100755 --- a/templates/content-agent-list.php +++ b/templates/content-agent-list.php @@ -25,7 +25,7 @@ $agent = new OpalEstate_Agent(); get_trusted() ): ?> - + diff --git a/templates/content-user-grid.php b/templates/content-user-grid.php index fdd658ed..74f2cda3 100755 --- a/templates/content-user-grid.php +++ b/templates/content-user-grid.php @@ -47,7 +47,7 @@ if ( $agent_id ) { get_trusted() ): ?> - + diff --git a/templates/single-agency/author-box.php b/templates/single-agency/author-box.php index 398cd67f..044dfc39 100755 --- a/templates/single-agency/author-box.php +++ b/templates/single-agency/author-box.php @@ -28,7 +28,7 @@ $address = $agency->get_meta( 'address' ); ?> get_trusted() ): ?> - + diff --git a/templates/single-agent/author-box.php b/templates/single-agent/author-box.php index faeb81e8..c3a6d2e5 100755 --- a/templates/single-agent/author-box.php +++ b/templates/single-agent/author-box.php @@ -23,7 +23,7 @@ $agent = new OpalEstate_Agent(); get_trusted() ): ?> - + diff --git a/templates/single-property/user/author-member-box.php b/templates/single-property/user/author-member-box.php index 737dbd2e..441fff31 100755 --- a/templates/single-property/user/author-member-box.php +++ b/templates/single-property/user/author-member-box.php @@ -26,7 +26,7 @@ - + diff --git a/templates/single-property/user/author-user-box-list.php b/templates/single-property/user/author-user-box-list.php index fa0ad476..8586ce3e 100755 --- a/templates/single-property/user/author-user-box-list.php +++ b/templates/single-property/user/author-user-box-list.php @@ -50,7 +50,7 @@ - + @@ -64,7 +64,7 @@
- +
diff --git a/templates/single-property/user/author-user-box.php b/templates/single-property/user/author-user-box.php index f41870f9..485da563 100755 --- a/templates/single-property/user/author-user-box.php +++ b/templates/single-property/user/author-user-box.php @@ -65,7 +65,7 @@ - +