2018-07-09 04:27:18 -04:00
< ? php
2020-05-24 04:17:41 -04:00
if ( ! defined ( 'ABSPATH' )) {
die ;
} // Cannot access pages directly.
2018-07-09 04:27:18 -04:00
2020-01-22 07:15:24 -05:00
add_action ( 'wp_head' , 'mep_user_custom_styles' , 10 , 999 );
function mep_user_custom_styles ()
{
2021-11-11 03:20:02 -05:00
$base_color = mep_get_option ( 'mep_base_color' , 'style_setting_sec' , '#ffbe30' );
$label_bg_color = mep_get_option ( 'mep_title_bg_color' , 'style_setting_sec' , '#ffbe30' );
$label_text_color = mep_get_option ( 'mep_title_text_color' , 'style_setting_sec' , '#ffffff' );
$cart_btn_bg_color = mep_get_option ( 'mep_cart_btn_bg_color' , 'style_setting_sec' , '#ffbe30' );
$cart_btn_txt_color = mep_get_option ( 'mep_cart_btn_text_color' , 'style_setting_sec' , '#ffffff' );
2021-09-20 01:52:52 -04:00
2021-11-11 03:20:02 -05:00
$calender_btn_bg_color = mep_get_option ( 'mep_calender_btn_bg_color' , 'style_setting_sec' , '#ffbe30' );
$calender_btn_txt_color = mep_get_option ( 'mep_calender_btn_text_color' , 'style_setting_sec' , '#ffffff' );
$faq_label_bg_color = mep_get_option ( 'mep_faq_title_bg_color' , 'style_setting_sec' , '#ffbe30' );
$faq_label_text_color = mep_get_option ( 'mep_faq_title_text_color' , 'style_setting_sec' , '#ffffff' );
$royal_primary_bg_color = mep_get_option ( 'mep_royal_primary_bg_color' , 'style_setting_sec' , '' );
$royal_secondary_bg_color = mep_get_option ( 'mep_royal_secondary_bg_color' , 'style_setting_sec' , '' );
$royal_icons_bg_color = mep_get_option ( 'mep_royal_icons_bg_color' , 'style_setting_sec' , '' );
$royal_border_color = mep_get_option ( 'mep_royal_border_color' , 'style_setting_sec' , '' );
$royal_text_color = mep_get_option ( 'mep_royal_text_color' , 'style_setting_sec' , '' );
2018-07-09 04:27:18 -04:00
2020-01-22 07:15:24 -05:00
?>
< style >
2021-10-06 03:05:09 -04:00
. pagination_area button [ class *= " defaultButton_xs " ],
. list_with_filter_section [ class *= " defaultButton " ],
2020-10-26 07:41:46 -04:00
div . item_hover_effect a {
2021-11-01 15:17:17 -04:00
background - color :< ? php echo esc_attr ( $base_color ); ?> ;
2020-10-26 07:41:46 -04:00
}
div . item_hover_effect a : hover {
2021-11-01 15:17:17 -04:00
color :< ? php echo esc_attr ( $base_color ); ?> ;background-color:#fff;border:1px solid <?php echo esc_attr($base_color); ?>;
2020-10-26 07:41:46 -04:00
}
2020-11-24 04:23:05 -05:00
ul . mp_event_more_date_list li : hover {
2021-11-01 15:17:17 -04:00
background - color :< ? php echo esc_attr ( $base_color ); ?> ;
2020-11-24 04:23:05 -05:00
}
2021-09-03 06:25:05 -04:00
. mep - default - sidrbar - events - schedule ul li i , . mep - ev - start - date , h3 . mep_list_date i , . df - ico i , . mep - default - sidrbar - address ul li i , . mep - default - sidrbar - social ul li a , button . mep - cat - control , . pagination - sec a {
2021-11-01 15:17:17 -04:00
background : < ? php echo esc_attr ( $base_color ); ?> ;
2020-01-22 07:15:24 -05:00
}
2021-09-03 06:25:05 -04:00
. mep - default - sidrbar - meta . fa - list - alt , . mep - list - footer ul li i {
background : transparent ;
2021-11-01 15:17:17 -04:00
color : < ? php echo esc_attr ( $base_color ); ?> ;
2021-09-03 06:25:05 -04:00
}
. mep_more_date_btn {
2021-11-01 15:17:17 -04:00
border : 1 px solid < ? php echo esc_attr ( $base_color ); ?> ;
2021-09-03 06:25:05 -04:00
background : transparent ;
2021-11-01 15:17:17 -04:00
color : < ? php echo esc_attr ( $base_color ); ?> ;
2021-09-03 06:25:05 -04:00
}
. mep - default - sidrbar - meta p a {
2021-11-01 15:17:17 -04:00
color : < ? php echo esc_attr ( $base_color ); ?> ;
2021-09-03 06:25:05 -04:00
}
. mep_more_date_btn : before {
2021-11-01 15:17:17 -04:00
background : < ? php echo esc_attr ( $base_color ); ?> ;
border - color : < ? php echo esc_attr ( $base_color ); ?> ;
2021-09-03 06:25:05 -04:00
}
2020-01-22 07:15:24 -05:00
. mep - default - sidrbar - events - schedule h3 i , . mep_event_list . mep_list_date , . mep - event - theme - 1 . mep - social - share li a , . mep - template - 2 - hamza . mep - social - share li a {
2021-11-01 15:17:17 -04:00
color : < ? php echo esc_attr ( $base_color ); ?> ;
2020-01-22 07:15:24 -05:00
}
. mep_event_list_item : hover {
2021-11-01 15:17:17 -04:00
border - color : < ? php echo esc_attr ( $base_color ); ?> ;
2020-01-22 07:15:24 -05:00
}
2021-09-20 01:52:52 -04:00
2020-01-22 07:15:24 -05:00
. mep_event_list_item . mep - list - header : before , . mep_event_grid_item . mep - list - header : before {
2021-11-01 15:17:17 -04:00
border - color : < ? php echo esc_attr ( $base_color ); ?> ;
2020-01-22 07:15:24 -05:00
}
2021-09-20 01:52:52 -04:00
2020-01-22 07:15:24 -05:00
/*Cart sec Label Style*/
2021-11-11 03:20:02 -05:00
. mep - default - feature - cart - sec h3 , . mep - event - theme - 1 h3 . ex - sec - title , . mep - tem3 - mid - sec h3 . ex - sec - title , . mep - tem3 - title - sec ,
. royal_theme h3 . ex - sec - title ,
. mep - events - wrapper . royal_theme table . mep_event_add_cart_table ,
. vanilla_theme . mep - default - theme div . mep - default - feature - date ,
. vanilla_theme . mep - default - theme div . mep - default - feature - time ,
. vanilla_theme . mep - default - theme div . mep - default - feature - location ,
. vanilla_theme h3 . ex - sec - title ,
. vanilla_theme div . df - dtl h3 ,
. vanilla_theme div . df - dtl p {
2021-11-01 15:17:17 -04:00
background : < ? php echo esc_attr ( $label_bg_color ); ?> ;
color : < ? php echo esc_attr ( $label_text_color ); ?> ;
2020-01-22 07:15:24 -05:00
}
2021-09-20 01:52:52 -04:00
2020-01-22 07:15:24 -05:00
/*FAQ Sec Style*/
. mep - default - feature - faq - sec h4 , . tmep - emplate - 3 - faq - sec . mep - event - faq - part h4 {
2021-11-01 15:17:17 -04:00
background : < ? php echo esc_attr ( $faq_label_bg_color ); ?> ;
color : < ? php echo esc_attr ( $faq_label_text_color ); ?> ;
2020-01-22 07:15:24 -05:00
}
2021-09-20 01:52:52 -04:00
2021-11-11 03:20:02 -05:00
h3 . ex - sec - title {
2021-11-01 15:17:17 -04:00
background : < ? php echo esc_attr ( $base_color ); ?> ;
2020-01-22 07:15:24 -05:00
}
2021-09-20 01:52:52 -04:00
2020-01-22 07:15:24 -05:00
/*Cart Button Style*/
2021-10-06 03:05:09 -04:00
. mep - default - feature - cart - sec button . single_add_to_cart_button . button . alt . btn - mep - event - cart , . mep - event - theme - 1 . btn - mep - event - cart , . mep - template - 2 - hamza . btn - mep - event - cart , . mep - tem3 - mid - sec . btn - mep - event - cart , . button . button - default . woocommerce . button . alt . button . alt . btn - mep - event - cart {
2021-11-01 15:17:17 -04:00
background : < ? php echo esc_attr ( $cart_btn_bg_color ); ?> ;
color : < ? php echo esc_attr ( $cart_btn_txt_color ); ?> !important;
border - color : < ? php echo esc_attr ( $cart_btn_bg_color ); ?> ;
2020-01-22 07:15:24 -05:00
}
2021-09-20 01:52:52 -04:00
2020-01-22 07:15:24 -05:00
/*Calender Button Style*/
2021-11-11 03:20:02 -05:00
. mep - default - sidrbar - calender - btn a , . mep - event - theme - 1 . mep - add - calender , . mep - template - 2 - hamza . mep - add - calender , . mep - tem3 - mid - sec . mep - add - calender , #mep_add_calender_button, .royal_theme #mep_add_calender_button, .royal_theme ul#mep_add_calender_links li a {
2021-11-01 15:17:17 -04:00
background : < ? php echo esc_attr ( $calender_btn_bg_color ); ?> ;
color : < ? php echo esc_attr ( $calender_btn_txt_color ); ?> !important;
border - color : < ? php echo esc_attr ( $calender_btn_bg_color ); ?> ;
2020-01-22 07:15:24 -05:00
}
#mep_add_calender_button,
ul #mep_add_calender_links li a{
2021-11-01 15:17:17 -04:00
background : < ? php echo esc_attr ( $base_color ); ?> ;
2020-01-22 07:15:24 -05:00
}
/**/
. mep_list_event_details p . read - more a {
2021-11-01 15:17:17 -04:00
color : < ? php echo esc_attr ( $base_color ); ?> ;
2021-11-11 03:20:02 -05:00
}
. royal_theme . mep - royal - header ,
. royal_theme . mep - default - feature - content {
background : < ? php echo esc_attr ( $royal_primary_bg_color ); ?> ;
}
. royal_theme . mep - default - col - 1 ,
. royal_theme . mep - default - col - 2 {
background - color : < ? php echo esc_attr ( $royal_secondary_bg_color ); ?> ;
}
. royal_theme . df - ico i ,
. royal_theme . mep - default - sidrbar - social ul li a ,
. royal_theme . mep - default - sidrbar - events - schedule ul li i {
background - color : < ? php echo esc_attr ( $royal_icons_bg_color ); ?> ;
}
. royal_theme . mep - default - title ,
. royal_theme div . df - dtl h3 ,
. royal_theme . mep - default - col - 2 ,
. mep - events - wrapper . royal_theme table td {
border - color : < ? php echo esc_attr ( $royal_border_color ); ?> ;
}
. royal_theme . mep - default - title h2 ,
. royal_theme . section - heading h2 ,
. royal_theme div . df - dtl h3 ,
. royal_theme div . df - dtl p ,
. royal_theme . mep - default - sidrbar - map h3 ,
. royal_theme . mep - default - sidrbar - events - schedule h3 ,
. royal_theme h4 . mep - cart - table - title ,
. royal_theme table td ,
. royal_theme div . mep - default - feature - content p ,
. royal_theme div . mep - default - feature - content ul ,
. royal_theme div . mep - default - feature - content ul li ,
. royal_theme . mep - default - sidrbar - meta p ,
. royal_theme . mep - default - sidrbar - meta p a ,
. royal_theme . mep - default - sidrbar - events - schedule h3 ,
. royal_theme . mep - default - sidrbar - events - schedule ,
. royal_theme . mep - default - sidrbar - price - seat h5 {
color : < ? php echo esc_attr ( $royal_text_color ); ?> ;
2020-01-22 07:15:24 -05:00
}
2020-07-12 06:42:13 -04:00
< ? php do_action ( 'mep_event_user_custom_styling' ); ?>
2020-01-22 07:15:24 -05:00
</ style >
< ? php
2021-09-20 01:52:52 -04:00
}