This commit is contained in:
Lieu Le 2019-09-28 15:17:10 +07:00
parent 141276e9a7
commit bdcfaf9140
3 changed files with 15 additions and 10 deletions

@ -2871,6 +2871,7 @@ ul.property-status {
font-size: inherit; font-size: inherit;
text-rendering: auto; text-rendering: auto;
content: "\f005\f005\f005\f005\f005"; content: "\f005\f005\f005\f005\f005";
font-weight: 400;
opacity: 0.5; opacity: 0.5;
position: absolute; position: absolute;
top: 0; top: 0;
@ -2887,7 +2888,7 @@ ul.property-status {
font-size: inherit; font-size: inherit;
text-rendering: auto; text-rendering: auto;
content: "\f005\f005\f005\f005\f005"; content: "\f005\f005\f005\f005\f005";
font-weight: 900; font-weight: 400;
color: #f6be15; color: #f6be15;
position: absolute; position: absolute;
top: 0; top: 0;
@ -2922,12 +2923,15 @@ p.stars:hover a::before {
font-weight: 900; } font-weight: 900; }
p.stars.selected a.active::before { p.stars.selected a.active::before {
font-weight: 900;
content: '\f005'; } content: '\f005'; }
p.stars.selected a.active ~ a::before { p.stars.selected a.active ~ a::before {
content: '\f006'; } font-weight: 400;
content: '\f005'; }
p.stars.selected a:not(.active)::before { p.stars.selected a:not(.active)::before {
font-weight: 900;
content: '\f005'; } content: '\f005'; }
.opalestate-mortgage-chart-svg { .opalestate-mortgage-chart-svg {

@ -105,6 +105,7 @@ ul.property-status{
font-size: inherit; font-size: inherit;
text-rendering: auto; text-rendering: auto;
content: "\f005\f005\f005\f005\f005"; content: "\f005\f005\f005\f005\f005";
font-weight: 400;
opacity: 0.5; opacity: 0.5;
position: absolute; position: absolute;
top: 0; top: 0;
@ -122,7 +123,7 @@ ul.property-status{
font-size: inherit; font-size: inherit;
text-rendering: auto; text-rendering: auto;
content: "\f005\f005\f005\f005\f005"; content: "\f005\f005\f005\f005\f005";
font-weight: 900; font-weight: 400;
color: #f6be15; color: #f6be15;
position: absolute; position: absolute;
top: 0; top: 0;
@ -173,19 +174,19 @@ p.stars {
&.selected { &.selected {
a.active { a.active {
&::before { &::before {
font-weight: 900;
content: '\f005'; content: '\f005';
} }
~ a::before { ~ a::before {
font-weight:400;
content: '\f006'; content: '\f005';
} }
} }
a:not( .active ) { a:not(.active ) {
&::before { &::before {
font-weight: 900;
content: '\f005'; content: '\f005';
} }
} }

@ -142,7 +142,7 @@ function opalestate_management_user_menu_tabs() {
]; ];
$menu['reviews'] = [ $menu['reviews'] = [
'icon' => 'fa fa-star', 'icon' => 'far fa-star',
'link' => 'reviews', 'link' => 'reviews',
'title' => esc_html__( 'Reviews', 'opalestate-pro' ), 'title' => esc_html__( 'Reviews', 'opalestate-pro' ),
'id' => isset( $opalestate_options['reviews_page'] ) ? $opalestate_options['reviews_page'] : 0, 'id' => isset( $opalestate_options['reviews_page'] ) ? $opalestate_options['reviews_page'] : 0,
@ -167,7 +167,7 @@ function opalestate_management_user_menu_tabs() {
$statistics = new OpalEstate_User_Statistics(); $statistics = new OpalEstate_User_Statistics();
$menu['myproperties'] = [ $menu['myproperties'] = [
'icon' => 'fa fa-building', 'icon' => 'fas fa-building',
'link' => 'submission_list', 'link' => 'submission_list',
'title' => esc_html__( 'My Properties', 'opalestate-pro' ) . '<span class="count">' . $statistics->get_count_properties() . '</span>', 'title' => esc_html__( 'My Properties', 'opalestate-pro' ) . '<span class="count">' . $statistics->get_count_properties() . '</span>',
'id' => isset( $opalestate_options['submission_list_page'] ) ? $opalestate_options['submission_list_page'] : 0, 'id' => isset( $opalestate_options['submission_list_page'] ) ? $opalestate_options['submission_list_page'] : 0,