style file replaced

This commit is contained in:
magepeopleteam 2020-01-15 11:24:11 +00:00
parent 759f59c90e
commit d025ccdfb8
4 changed files with 118 additions and 69 deletions

View File

@ -1775,3 +1775,51 @@ p#mep_btn_notice {
float: none;
}
}
/******Added By Sumon*****/
body, button, input, select, textarea{
font-size: 14px;
}
.mep-default-sidebar h3{margin: 1px 0 10px 0;font-size: 18px;}
.mep-default-feature-image img{width: 100%;}
.mep-default-feature-date-location{
display: -webkit-flex;display: flex;
-webkit-justify-content: space-between;justify-content: space-between;
}
.mep-default-feature-date,
.mep-default-feature-location,
.mep-default-feature-time{margin: 0;width: 32%;}
.mep-default-feature-cart-sec .extra-qty-box{min-width: 100px;}
.mep-default-feature-cart-sec input.extra-qty-box{width: 100px !important;}
.mep-default-feature-cart-sec table{table-layout: fixed;}
button[disabled="disabled"]{opacity: 0.2;cursor: no-drop;}
.mep-default-sidrbar-price-seat{padding:20px 15px;}
.mep-default-sidrbar-price-seat h5{margin: 0;}
.mep-default-sidrbar-price-seat .df-price{padding: 0;}
.mep-default-sidrbar-meta{display: -webkit-flex;display: flex;align-items: center;}
.mep-default-sidrbar-meta p{padding: 0 0 0 20px;margin: 0;float: inherit;}
.calender-url #mep_add_calender_button,
.mep-default-feature-cart-sec button.single_add_to_cart_button.button.alt.btn-mep-event-cart {
padding: 15px;line-height: 1;
display: -webkit-flex;display: flex;
-webkit-justify-content: center;justify-content: center;
}
.mep-default-sidrbar-events-schedule{padding: 0 15px;}
.mep-default-sidrbar-events-schedule ul li{line-height: 2;font-size: 14px;}
p#mep_btn_notice{width: auto;}
.mep-default-feature-date,
.mep-default-feature-time,
.mep-default-feature-location{
display: -webkit-flex;
display: flex;
-webkit-align-items: center;
align-items: center;
}
.mep-default-sidrbar-address ul li{
display: -webkit-flex;
display: flex;
padding-left: 20px;
font-size: 14px;
}
.mep-default-sidrbar-address ul li span{padding: 0 0 0 7px;}
.mep-default-sidrbar-address ul li i,
.mep-default-sidrbar-events-schedule ul li i{font-size: 14px;padding: 3px 0 0 0;}

View File

@ -44,7 +44,7 @@ add_action( 'admin_enqueue_scripts', 'add_admin_scripts', 10, 1 );
// Enqueue Scripts for frontend
add_action('wp_enqueue_scripts', 'mep_event_enqueue_scripts');
add_action('wp_enqueue_scripts', 'mep_event_enqueue_scripts',90);
function mep_event_enqueue_scripts() {
wp_enqueue_script('jquery');
wp_enqueue_script('jquery-ui-accordion');

View File

@ -101,7 +101,7 @@ if($recurring == 'yes'){
if(strtotime(current_time('Y-m-d H:i')) < strtotime($start_datetime)){
?>
<li><i class="fa fa-calendar"></i> <?php echo get_mep_datetime($start_datetime,'date-text'); ?> <i class="fa fa-clock-o"></i> <?php echo get_mep_datetime($start_datetime,'time'); ?> - <?php if($start_date != $end_date){ echo get_mep_datetime($end_datetime,'date-text') .' - '; } echo get_mep_datetime($end_datetime,'time'); ?></li>
<li><i class="fa fa-calendar"></i> <?php echo get_mep_datetime($start_datetime,'date-text'); ?> <br><i class="fa fa-clock-o"></i> <?php echo get_mep_datetime($start_datetime,'time'); ?> - <?php if($start_date != $end_date){ echo get_mep_datetime($end_datetime,'date-text') .' - '; } echo get_mep_datetime($end_datetime,'time'); ?></li>
<?php
}
@ -114,7 +114,7 @@ if($recurring == 'yes'){
}
if($cn == $cnt){
?>
<li><i class="fa fa-calendar"></i> <?php echo get_mep_datetime($_more_date['event_more_start_date'].' '.$_more_date['event_more_start_time'],'date-text'); ?> <i class="fa fa-clock-o"></i> <?php echo get_mep_datetime($_more_date['event_more_start_date'].' '.$_more_date['event_more_start_time'],'time'); ?> - <?php if($_more_date['event_more_start_date'] != $_more_date['event_more_end_date']){ echo get_mep_datetime($_more_date['event_more_end_date'].' '.$_more_date['event_more_end_time'],'date-text') .' - '; } echo get_mep_datetime($_more_date['event_more_end_date'].' '.$_more_date['event_more_end_time'],'time'); ?></li>
<li><i class="fa fa-calendar"></i> <?php echo get_mep_datetime($_more_date['event_more_start_date'].' '.$_more_date['event_more_start_time'],'date-text'); ?> <br><i class="fa fa-clock-o"></i> <?php echo get_mep_datetime($_more_date['event_more_start_date'].' '.$_more_date['event_more_start_time'],'time'); ?> - <?php if($_more_date['event_more_start_date'] != $_more_date['event_more_end_date']){ echo get_mep_datetime($_more_date['event_more_end_date'].' '.$_more_date['event_more_end_time'],'date-text') .' - '; } echo get_mep_datetime($_more_date['event_more_end_date'].' '.$_more_date['event_more_end_time'],'time'); ?></li>
<?php
$cn++;
}
@ -123,21 +123,22 @@ if($recurring == 'yes'){
}else{
if(is_array($more_date) && sizeof($more_date) > 0){
?>
<li><i class="fa fa-calendar"></i> <?php echo get_mep_datetime($start_datetime,'date-text'); ?> <i class="fa fa-clock-o"></i> <?php echo get_mep_datetime($start_datetime,'time'); ?> - <?php if($start_date != $end_date){ echo get_mep_datetime($end_datetime,'date-text') .' - '; } echo get_mep_datetime($end_datetime,'time'); ?></li>
<li><i class="fa fa-calendar"></i> Start : <?php echo get_mep_datetime($start_datetime,'time'); ?> - <?php echo get_mep_datetime($start_datetime,'date-text'); ?><br>
<i class="fa fa-calendar"></i> End : <?php if($start_date != $end_date){ echo get_mep_datetime($end_datetime,'time') .' - '; } echo get_mep_datetime($end_datetime,'date-text'); ?></li>
<?php
foreach ($more_date as $_more_date) {
?>
<li><i class="fa fa-calendar"></i> <?php echo get_mep_datetime($_more_date['event_more_start_date'].' '.$_more_date['event_more_start_time'],'date-text'); ?> <i class="fa fa-clock-o"></i> <?php echo get_mep_datetime($_more_date['event_more_start_date'].' '.$_more_date['event_more_start_time'],'time'); ?> - <?php if($_more_date['event_more_start_date'] != $_more_date['event_more_end_date']){ echo get_mep_datetime($_more_date['event_more_end_date'].' '.$_more_date['event_more_end_time'],'date-text') .' - '; } echo get_mep_datetime($_more_date['event_more_end_date'].' '.$_more_date['event_more_end_time'],'time'); ?></li>
<li><i class="fa fa-calendar"></i> <?php echo get_mep_datetime($_more_date['event_more_start_date'].' '.$_more_date['event_more_start_time'],'date-text'); ?> <br><i class="fa fa-clock-o"></i> <?php echo get_mep_datetime($_more_date['event_more_start_date'].' '.$_more_date['event_more_start_time'],'time'); ?> - <?php if($_more_date['event_more_start_date'] != $_more_date['event_more_end_date']){ echo get_mep_datetime($_more_date['event_more_end_date'].' '.$_more_date['event_more_end_time'],'date-text') .' - '; } echo get_mep_datetime($_more_date['event_more_end_date'].' '.$_more_date['event_more_end_time'],'time'); ?></li>
<?php
}
}else{
?>
<li><i class="fa fa-calendar"></i> <?php echo get_mep_datetime($start_date,'date-text'); ?> <i class="fa fa-clock-o"></i> <?php echo get_mep_datetime($start_datetime,'time'); ?> - <?php if($start_date != $end_date){ echo get_mep_datetime($end_date,'date-text') .' - '; } echo get_mep_datetime($end_datetime,'time'); ?></li>
<li><i class="fa fa-calendar"></i> <?php echo get_mep_datetime($start_date,'date-text'); ?> <br><i class="fa fa-clock-o"></i> <?php echo get_mep_datetime($start_datetime,'time'); ?> - <?php if($start_date != $end_date){ echo get_mep_datetime($end_date,'date-text') .' - '; } echo get_mep_datetime($end_datetime,'time'); ?></li>
<?php
}
}

View File

@ -14,8 +14,8 @@ echo "<h3 class='ex-sec-title'>".mep_get_label($pid,'mep_event_extra_service_tex
<table>
<tr>
<td align="left"><?php _e('Name','mage-eventpress'); ?></td>
<td><?php _e('Quantity','mage-eventpress'); ?></td>
<td><?php _e('Price','mage-eventpress'); ?></td>
<td align="center"><?php _e('Quantity','mage-eventpress'); ?></td>
<td align="center"><?php _e('Price','mage-eventpress'); ?></td>
</tr>
<?php
foreach ($mep_events_extra_prices as $field) {
@ -29,7 +29,7 @@ foreach ($mep_events_extra_prices as $field) {
<td align="Left"><?php echo $field['option_name']; ?>
<div class="xtra-item-left"><?php echo $ext_left; ?> <?php _e('Left','mage-eventpress'); ?></div>
</td>
<td>
<td align="center">
<?php
@ -44,7 +44,7 @@ if($qty_type=='dropdown'){ ?>
<input id="eventpx" <?php //if($ext_left<=0){ echo "disabled"; } ?> size="4" pattern="[0-9]*" inputmode="numeric" type="number" class='extra-qty-box' name='option_qty[]' data-price='<?php echo $field['option_price']; ?>' value='0' min="0" max="<?php echo $ext_left; ?>">
<?php } }else{ echo mep_get_option('mep_not_available_text', 'label_setting_sec') ? mep_get_option('mep_not_available_text', 'label_setting_sec') : _e('Not Available','mage-eventpress'); } ?>
</td>
<td><?php echo wc_price($field['option_price']); if($ext_left>0){ ?>
<td align="center"><?php echo wc_price($field['option_price']); if($ext_left>0){ ?>
<p style="display: none;" class="price_jq"><?php echo $field['option_price']; ?></p>
<input type="hidden" name='option_name[]' value='<?php echo $field['option_name']; ?>'>
<input type="hidden" name='option_price[]' value='<?php echo $field['option_price']; ?>'>