This commit is contained in:
Lieu Le 2019-09-30 17:34:37 +07:00
parent 6be05eed76
commit d6373cf46e
4 changed files with 7531 additions and 8 deletions

View File

@ -808,7 +808,9 @@ span.cmb2-metabox-description {
.cmb2-element.ui-datepicker .ui-datepicker-prev:before,
.cmb2-element.ui-datepicker .ui-datepicker-next:before, .cmb2-element .ui-datepicker .ui-datepicker-prev:before,
.cmb2-element .ui-datepicker .ui-datepicker-next:before {
font: normal 20px/34px 'dashicons';
font: normal 20px/34px;
font-family: "Font Awesome 5 Free";
font-weight: 400;
padding-left: 7px;
color: #fff;
speak: none;
@ -817,9 +819,9 @@ span.cmb2-metabox-description {
width: 34px;
height: 34px; }
.cmb2-element.ui-datepicker .ui-datepicker-prev:before, .cmb2-element .ui-datepicker .ui-datepicker-prev:before {
content: '\f341'; }
content: '\f104'; }
.cmb2-element.ui-datepicker .ui-datepicker-next:before, .cmb2-element .ui-datepicker .ui-datepicker-next:before {
content: '\f345'; }
content: '\f105'; }
.cmb2-element.ui-datepicker .ui-datepicker-prev-hover:before,
.cmb2-element.ui-datepicker .ui-datepicker-next-hover:before, .cmb2-element .ui-datepicker .ui-datepicker-prev-hover:before,
.cmb2-element .ui-datepicker .ui-datepicker-next-hover:before {

View File

@ -115,7 +115,9 @@ $freshdarkblue: #0073aa;
.ui-datepicker-prev:before,
.ui-datepicker-next:before {
font: normal 20px/34px 'dashicons';
font: normal 20px/34px;
font-family: "Font Awesome 5 Free";
font-weight:400;
padding-left: 7px;
color: #fff;
speak: none;
@ -124,13 +126,12 @@ $freshdarkblue: #0073aa;
width: 34px;
height: 34px;
}
.ui-datepicker-prev:before {
content: '\f341';
content: '\f104';
}
.ui-datepicker-next:before {
content: '\f345';
content: '\f105';
}
.ui-datepicker-prev-hover:before,

View File

@ -53,7 +53,7 @@ if( !class_exists( 'CMB2_Uploader_Button' ) ) {
private function render_image_or_icon ( $escaped_value , $show_icon ) {
$cls = $show_icon ? "preview-icon" : "preview-image";
echo '<div class="inner '.$cls.'">';
echo ' <span class="btn-close"></span> ';
echo ' <span class="btn-close fa fa-close"></span> ';
if( $show_icon ){
echo '<i class="fas fa-paperclip"></i> '. basename ( get_attached_file( $escaped_value ) );
} else {

7520
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff