This commit is contained in:
Lieu Le 2019-09-28 13:18:04 +07:00
parent bc7e0cf458
commit 904286a293
8 changed files with 13 additions and 7549 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 **/

7529
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -28,7 +28,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; ?>