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

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

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

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

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

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

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

7529
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -29,7 +29,7 @@ if ( ! $infos && ! $taxs ) {
<?php if ( $info['value'] ) : ?>
<li class="wp-col-md-6 ">
<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>
</div>
</li>

@ -26,7 +26,7 @@ $meta = $property->get_meta_shortinfo();
<?php if ( $meta ) : ?>
<?php foreach ( $meta as $key => $info ) : ?>
<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>
</li>
<?php endforeach; ?>