This commit is contained in:
Hoang Huu 2019-09-28 13:33:30 +07:00
commit 81e39afd14
9 changed files with 22 additions and 7558 deletions

View File

@ -49,7 +49,8 @@
} }
.uploader-item-preview .btn-close::before { .uploader-item-preview .btn-close::before {
content: '\f00d'; content: '\f00d';
font-family: Fontawesome; font-family: "Font Awesome 5 Free";
transition: all .3s ease-in-out; transition: all .3s ease-in-out;
} }
.uploader-item-preview .preview-icon { .uploader-item-preview .preview-icon {

View File

@ -547,7 +547,7 @@ span.cmb2-metabox-description {
} }
.opalestate-submission-form .btn-submit-cmb::before { .opalestate-submission-form .btn-submit-cmb::before {
content: "\f138"; content: "\f138";
font-family: Fontawesome; font-family: "Font Awesome 5 Free";
margin-right: 18px; margin-right: 18px;
padding-right: 20px; padding-right: 20px;
} }

View File

@ -2353,7 +2353,7 @@ i[class*="icon-property-"] {
font-family: "Font Awesome 5 Free"; } font-family: "Font Awesome 5 Free"; }
.icon-property-areasize:before { .icon-property-areasize:before {
content: "\f047"; } content: "\f0b2"; }
.icon-property-bedrooms:before { .icon-property-bedrooms:before {
content: "\f236"; } content: "\f236"; }
@ -2368,7 +2368,7 @@ i[class*="icon-property-"] {
content: "\f073"; } content: "\f073"; }
.icon-property-plotsize:before { .icon-property-plotsize:before {
content: "\f278"; } content: "\f279"; }
.icon-property-orientation:before { .icon-property-orientation:before {
content: "\f14e"; } content: "\f14e"; }
@ -2377,7 +2377,7 @@ i[class*="icon-property-"] {
content: "\f26c"; } content: "\f26c"; }
.icon-property-kitchens:before { .icon-property-kitchens:before {
content: "\f0f5"; } content: "\f2e7"; }
.icon-property-amountrooms:before { .icon-property-amountrooms:before {
content: "\f1ad"; } content: "\f1ad"; }

View File

@ -1,6 +1,7 @@
// Functions // Functions
// -------------------------------------------------- // --------------------------------------------------
// Position mixin // Position mixin
//========================================== //==========================================
// @param [string] $position: position type // @param [string] $position: position type

View File

@ -240,45 +240,36 @@ ul.property-meta-list{
i[class*="icon-property-"]{ i[class*="icon-property-"]{
font-family: $font-family-icon; font-family: $font-family-icon;
} }
.icon-property-areasize:before{
content: "\f047";
.icon-property-areasize:before{
content: "\f0b2";
} }
.icon-property-bedrooms:before{ .icon-property-bedrooms:before{
content: "\f236"; content: "\f236";
} }
.icon-property-bathrooms:before{ .icon-property-bathrooms:before{
content: "\f2cd"; content: "\f2cd";
} }
.icon-property-parking:before{ .icon-property-parking:before{
content: "\f1b9"; content: "\f1b9";
} }
.icon-property-builtyear:before{ .icon-property-builtyear:before{
content: "\f073"; content: "\f073";
} }
.icon-property-plotsize:before{ .icon-property-plotsize:before{
content: "\f278"; content: "\f279";
} }
.icon-property-orientation:before{ .icon-property-orientation:before{
content: "\f14e"; content: "\f14e";
} }
.icon-property-livingrooms:before{ .icon-property-livingrooms:before{
content: "\f26c"; content: "\f26c";
} }
.icon-property-kitchens:before{ .icon-property-kitchens:before{
content: "\f0f5"; content: "\f2e7";
} }
.icon-property-amountrooms:before{ .icon-property-amountrooms:before{
content: "\f1ad"; content: "\f1ad";
} }
/** Grid **/ /** Grid **/

View File

@ -1175,34 +1175,34 @@ function opalestate_get_property_meta_icon( $key ) {
$classes[] = $prefix; $classes[] = $prefix;
switch ( $key ) { switch ( $key ) {
case 'builtyear': case 'builtyear':
$icon = $prefix . '-' . 'bedrooms'; $icon = $prefix . '-' . 'calendar';
break; break;
case 'parking': case 'parking':
$icon = $prefix . '-' . 'bedrooms'; $icon = $prefix . '-' . 'car';
break; break;
case 'bedrooms': case 'bedrooms':
$icon = $prefix . '-' . 'bedrooms'; $icon = $prefix . '-' . 'bed';
break; break;
case 'bathrooms': case 'bathrooms':
$icon = $prefix . '-' . 'bath'; $icon = $prefix . '-' . 'bath';
break; break;
case 'plotsize': case 'plotsize':
$icon = $prefix . '-' . 'bath'; $icon = $prefix . '-' . 'map';
break; break;
case 'areasize': case 'areasize':
$icon = $prefix . '-' . 'bath'; $icon = $prefix . '-' . 'arrows-alt';
break; break;
case 'orientation': case 'orientation':
$icon = $prefix . '-' . 'bath'; $icon = $prefix . '-' . 'compass';
break; break;
case 'livingrooms': case 'livingrooms':
$icon = $prefix . '-' . 'bath'; $icon = $prefix . '-' . 'tivi';
break; break;
case 'kitchens': case 'kitchens':
$icon = $prefix . '-' . 'bath'; $icon = $prefix . '-' . 'utensils';
break; break;
case 'amountrooms': case 'amountrooms':
$icon = $prefix . '-' . 'bath'; $icon = $prefix . '-' . 'building';
break; break;
default: default:
$icon = $key; $icon = $key;

7529
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -29,7 +29,7 @@ if ( ! $infos && ! $taxs ) {
<?php if ( $info['value'] ) : ?> <?php if ( $info['value'] ) : ?>
<li class="wp-col-md-6 "> <li class="wp-col-md-6 ">
<div class="property-label-<?php echo esc_attr( $key ); ?>"> <div class="property-label-<?php echo esc_attr( $key ); ?>">
<h6><i class="fa icon-property-<?php echo esc_attr( $key ); ?>"></i> <?php echo esc_html( $info['label'] ); ?> : </h6> <h6><i class="icon-property-<?php echo esc_attr( $key ); ?>"></i> <?php echo esc_html( $info['label'] ); ?> : </h6>
<span><?php echo apply_filters( 'opalestate_' . $key . '_unit_format', trim( $info['value'] ) ); ?></span> <span><?php echo apply_filters( 'opalestate_' . $key . '_unit_format', trim( $info['value'] ) ); ?></span>
</div> </div>
</li> </li>

View File

@ -26,7 +26,7 @@ $meta = $property->get_meta_shortinfo();
<?php if ( $meta ) : ?> <?php if ( $meta ) : ?>
<?php foreach ( $meta as $key => $info ) : ?> <?php foreach ( $meta as $key => $info ) : ?>
<li class="property-label-<?php echo esc_attr( $key ); ?>"> <li class="property-label-<?php echo esc_attr( $key ); ?>">
<i class="icon-property-<?php echo esc_attr( $key ); ?>"></i><?php echo esc_html( $info['label'] ); ?> <span> <i class="fa icon-property-<?php echo esc_attr( $key ); ?>"></i><?php echo esc_html( $info['label'] ); ?> <span>
<?php echo apply_filters( 'opalestate-pro' . $key . '_unit_format', trim( $info['value'] ) ); ?></span> <?php echo apply_filters( 'opalestate-pro' . $key . '_unit_format', trim( $info['value'] ) ); ?></span>
</li> </li>
<?php endforeach; ?> <?php endforeach; ?>