Sindbad~EG File Manager
<?php if (!defined('ABSPATH')) die('Direct access forbidden.');
/**
* dynamic css, generated by customizer options
*/
if ( defined( 'FW' ) ) {
$typography = turitor_option( 'typography' );
$body_bg = turitor_option( 'style_body_bg', '#fff' );
$style_primary = turitor_option( 'style_primary', '#0eb582');
$title_color = turitor_option( 'title_color', '#333333');
$style_secondary = turitor_option( 'style_secondary','#273c66');
// banner style
$banner_style_settings = turitor_option( 'banner_style_settings');
$banner_overlay_color = $banner_style_settings['banner_overlay_color'];
$banner_title_color = $banner_style_settings['banner_title_color'];
$banner_heighlihgt_title_color = $banner_style_settings['banner_heighlihgt_title_color'];
// menu settings
$menu_color = turitor_option( 'menu_color');
$menu_hover_color = turitor_option( 'menu_hover_color');
$dropdown_menu_color = turitor_option( 'dropdown_menu_color');
$dropdown_menu_hover_color = turitor_option( 'dropdown_menu_hover_color');
$menu_font = turitor_option( 'menu_font');
$global_body_font = turitor_option( 'body_font' );
Turitor_Unyson_Google_Fonts::add_typography_v2( $global_body_font );
$body_font = turitor_advanced_font_styles( $global_body_font );
$body_font= turitor_array_elements_remove($body_font, 2);
$heading_font_one = turitor_option( 'heading_font_one' );
Turitor_Unyson_Google_Fonts::add_typography_v2( $heading_font_one );
$heading_font_one = turitor_advanced_font_styles( $heading_font_one );
$heading_font_two = turitor_option( 'heading_font_two' );
Turitor_Unyson_Google_Fonts::add_typography_v2( $heading_font_two );
$heading_font_two = turitor_advanced_font_styles( $heading_font_two );
$heading_font_three = turitor_option( 'heading_font_three' );
Turitor_Unyson_Google_Fonts::add_typography_v2( $heading_font_three );
$heading_font_three = turitor_advanced_font_styles( $heading_font_three );
$heading_font_four = turitor_option( 'heading_font_four' );
Turitor_Unyson_Google_Fonts::add_typography_v2( $heading_font_four );
$heading_font_four = turitor_advanced_font_styles( $heading_font_four );
Turitor_Unyson_Google_Fonts::add_typography_v2( $menu_font );
$menu_font = turitor_advanced_font_styles( $menu_font );
// init custom css
$custom_css = turitor_option( 'custom_css' );
$output = $custom_css;
// global style
$output .= "
body{ $body_font }
h1{
$heading_font_one
}
h2{
$heading_font_two
}
h3{
$heading_font_three
}
h4{
$heading_font_four
}
a, .post-meta span i, .entry-header .entry-title a:hover, .sidebar ul li a:hover{
color: $style_primary;
}
.entry-header .entry-title a,
.course-tab-panel-faqs .course-faqs-box__title{
color: $title_color;
}
body{
background-color: $body_bg;
}
.single-intro-text .count-number, .sticky.post .meta-featured-post,
.latest-blog .post .post-meta span:before,
.sidebar .widget .widget-title:before, .pagination li.active a, .pagination li:hover a,
.pagination li.active a:hover, .pagination li:hover a:hover,
.sidebar .widget.widget_search .input-group-btn, .tag-lists a:hover, .tagcloud a:hover,
.BackTo, .ticket-btn.btn:hover,
.btn-primary,
.BackTo,
.woocommerce ul.products li.product .button,.woocommerce ul.products li.product .added_to_cart,
.woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,.sponsor-web-link a:hover i, .woocommerce .widget_price_filter .ui-slider .ui-slider-range,
.woocommerce span.onsale,
#preloader,
.header .navbar-container .navbar-light .main-menu > li > a:before,
.header-nav-right-info li.header-login-user a:hover, .header-nav-right-info li.header-cart a:hover,
.header-nav-right-info li.header-login-user a sup, .header-nav-right-info li.header-cart a sup,
.tab-course-category ul li:before,
.turitor-events .entry-header .event-meta-cat a:before,
.single-course:hover,
.co-single-instructor .co-instructors-socials li a:hover,
.course-tabs-content .curriculum-content .curricolumn-list li a .curricolumn-preview,
.archive-widgets ul li.active a, .archive-widgets ul li:hover a,
.course-single-wrap .single-course .course-price-item span,
.course-single-wrap .single-course .btn-link,
.single-course .course-category a:before,
.course-tabs-content ul.nav li a:before,
.turitor-search-course-form .search-course-button,
.main-slider-style3 .slider-content .sub-title::before,
.main-menu .elementskit-navbar-nav > li > a::after,
.learn-press-checkout .checkout-review-order .lp-list-table thead tr th,
.btn-primary, .learn-press-form-login form button, .learnpress-page .lp-button.button, .place-order-action .lp-button,
#learn-press-content-item #course-item-content-header .toggle-content-item,
#learn-press-content-item #course-item-content-header .lp-button:hover,
#learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.current,
#learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .course-item-meta span,
.course-tabs-content .public-xs-review-box .xs-save-button button,
.header-login-user a sup, .cartbtn a sup,
.user-dashboard .order-recover .button-recover-order,
.service-slider .owl-nav .owl-prev:hover,
.service-slider .owl-nav .owl-next:hover,
.single_add_to_cart_button, .tutor-btn, .tutor-button, a.tutor-btn, a.tutor-button,
.turitor-events .entry-header .event-time:before,
.turitor-tab .turitor-navs-tab li a .title-content .content::before,
.tutor-course:hover,
.learndash-wrapper .ld-primary-background, .learndash-wrapper .ld-tabs .ld-tabs-navigation .ld-tab.ld-active:after,
.learndash-wrapper .ld-primary-background, .learndash-wrapper .ld-tabs .ld-tabs-navigation .ld-tab.ld-active:after,
.tutor-course .tutor-course-header .tutor-course-loop-header-meta .tutor-course-lising-category a:before,
.turitor-learndash-course .ld-single-course .ld-course-footer .ld-course-price, .ld-related-course .ld-single-course .ld-course-footer .ld-course-price,
.turitor-list li:after,
.campus-slider .owl-nav .owl-prev:hover, .campus-slider .owl-nav .owl-next:hover,
.user-dashboard #learn-press-profile-nav .learn-press-tabs.tabs li.active > a, .user-dashboard #learn-press-profile-nav .learn-press-tabs.tabs li:hover > a,
.woocommerce ul.products li.product .added_to_cart:hover, .woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,.woocommerce .widget_price_filter .ui-slider .ui-slider-handle{
background: $style_primary;
}
.btn-primary,
.header-nav-right-info li.header-login-user a:hover, .header-nav-right-info li.header-cart a:hover,
.btn-primary, .learn-press-form-login form button, .learnpress-page .lp-button, .place-order-action .lp-button,
.service-slider .owl-nav .owl-prev:hover,
.service-slider .owl-nav .owl-next:hover,
.turitor-learndash-course .ld-single-course .ld-course-footer .ld-course-read-more:hover a, .ld-related-course .ld-single-course .ld-course-footer .ld-course-read-more:hover a,
.single_add_to_cart_button, .tutor-btn, .tutor-button, a.tutor-btn, a.tutor-button,
.campus-slider .owl-nav .owl-prev:hover, .campus-slider .owl-nav .owl-next:hover,
.owl-carousel .owl-dots .owl-dot.active{
border-color: $style_primary;
}
.user-dashboard .lp-profile-content .lp-tab-sections li.active span{
border-bottom-color: $style_primary;
}
.single-course:hover .course-shap path:first-of-type,
.tutor-course:hover .course-shap path:first-of-type{
fill: $style_primary;
}
.single-course .course-shap path:last-of-type,
.tutor-course .course-shap path:last-of-type,
.tutor-course .course-shap path:first-of-type,
.single-course .course-shap path:first-of-type{
fill: $style_primary;
opacity: 0.5;
}
#learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.current a:hover{
color: #fff;
}
.copyright .footer-social li a i:hover,
.copyright .copyright-text a,
.header .navbar-container .navbar-light .main-menu li a:hover,
.header .navbar-container .navbar-light .main-menu li.active > a,
.post .entry-header .entry-title a:hover,
a:hover,
.header-cd-menu .cat-menu li a:hover,
.ts-course-category .single-course-category .course-category-title a:hover,
.tab-course-category ul li.active,
.turitor-events .entry-header .entry-title a:hover,
.post .post-footer a:hover,
.woocommerce ul.products li.product .price,
.footer-widget ul li a:hover,
.ts-footer .footer-menu li a:hover,
.turitor-course-latest h3.post-title a:hover,
.course-sidebar .course-intro ul li i,
.turitor-course-latest p,
.turitor-learndash-course .ld-single-course .ld-course-conent:hover .ts-title a, .ld-related-course .ld-single-course .ld-course-conent:hover .ts-title a,
.turitor-learndash-course .ld-single-course .ld-course-footer .ld-course-read-more:hover a, .ld-related-course .ld-single-course .ld-course-footer .ld-course-read-more:hover a,
.course-tabs-content .curriculum-content .curricolumn-list li a i,
.course-tabs-content .curriculum-content .curricolumn-list li a:hover,
.co-single-instructor .co-instructor-title a:hover,
.course-tabs-content .curriculum-content .curriculmn-title:after,
.post-navigation span:hover, .post-navigation h3:hover,
.comments-list .comment-reply-link:hover,
.tutor-custom-list-style li:before,
.ld-tabs .ld-tabs-navigation .ld-tab.ld-active span,
.tutor-wrap .tutor-single-course-segment .tutor-course-topics-contents .tutor-course-topic.tutor-active .tutor-course-title h4,
.tutor-wrap .tutor-single-course-sidebar .tutor-price-preview-box .price,
.sideabr-list-widget li i,
.turitor-tab .turitor-navs-tab li a .title-content .title-icon,
.user-dashboard .lp-profile-content table td a:hover, .user-dashboard .lp-profile-content table th a:hover,
.user-dashboard .lp-profile-content .lp-list-table td a:hover, .user-dashboard .lp-profile-content .lp-list-table th a:hover,
#learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item .section-item-link:hover,
#learn-press-profile #profile-nav .lp-profile-nav-tabs li.active > ul .active > a,
.woocommerce ul.products li.product .woocommerce-loop-product__title:hover{
color: $style_primary;
}
.service-slider-2.service-slider-list-item li.active h3{
color: $style_primary !important;
}
/* secondary color */
.single-course .course-footer .course-price-item .course-price, .single-course .course-footer .course-price-item .free-course,
.btn-primary:hover, .btn-primary:active, .learn-press-form-login form button:hover, .learn-press-form-login form button:active,
.learnpress-page .lp-button:hover,
.course-single-wrap .single-course:hover .course-price-item span,
.course-single-wrap .single-course:hover .btn-link,
.header--course-meta .course-price span,
.course-tabs-content .public-xs-review-box .xs-save-button button:hover,
#learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.item-preview .course-item-status,
#learn-press-course-curriculum.course-curriculum ul.curriculum-sections .section-content .course-item.current:before,
.user-dashboard .lp-profile-content .lp-tab-sections,
.course-tabs-content ul.nav,
.tutor-faq .elementskit-accordion .elementskit-btn-link .icon,
.kd-testimonial .ekit-wid-con .elementskit-profile-info::after,
.main-slider-style3 .slider-content .btn-wrapper .btn::after,
.btn-classic .elementor-button:after,
.kindergarten-nav .elementskit-navbar-nav-default > ul > li > a:before,
.kindergarten-blog .latest-blog .post .post-footer a:after,
.learnpress-page .lp-button:active, .place-order-action .lp-button:hover, .place-order-action .lp-button:active,
.header-standard{
background-color: $style_secondary;
}
.btn-primary:hover, .btn-primary:active,
.learn-press-form-login form button:hover,
.learn-press-form-login form button:active,
.learnpress-page .lp-button:hover, .learnpress-page .lp-button:active,
.place-order-action .lp-button:hover,
.place-order-action .lp-button:active{
border-color: $style_secondary;
}
";
if($dropdown_menu_hover_color!=''){
$output .= "
.header .navbar-container .navbar-light .main-menu li ul.dropdown-menu li a:hover{
color: $dropdown_menu_hover_color;
}
";
}
if($dropdown_menu_color!=''){
$output .= "
.header .navbar-container .navbar-light .main-menu li ul.dropdown-menu li a{
color: $dropdown_menu_color;
}
";
}
if($menu_color!=''){
$output .= "
.header .navbar-container .navbar-light .main-menu > li > a,
.header-transparent .header-nav-right-info li{
color: $menu_color;
}";
}
if(isset($menu_font)){
$output .= "
.header .navbar-container .navbar-light .main-menu > li > a,
.header-transparent .header-nav-right-info li,
.header .navbar-light .main-menu li ul.dropdown-menu li a{
$menu_font
}";
}
if($menu_hover_color!=''){
$output .= "
.header .navbar-container .navbar-light .main-menu > li > a:hover,
.header .navbar-container .navbar-light .main-menu li.active > a{
color: $menu_hover_color;
}
.header .navbar-container .navbar-light .main-menu > li > a:before{
background-color: $menu_hover_color;
}
";
}
if($banner_title_color!=''){
$output .= "
.banner-area .banner-title,
.banner-area .breadcrumb,
.banner-area .breadcrumb li,
.banner-area .breadcrumb li a{
color: $banner_title_color;
}
";
}
if($banner_heighlihgt_title_color!=''){
$output .= "
.banner-area .banner-title span{
color: $banner_heighlihgt_title_color;
}
";
}
if($banner_overlay_color!=''){
$output .= "
.banner-area:before{
background-color: $banner_overlay_color;
}
";
}
// footer style
$footer_bg_color = turitor_option( 'footer_bg_color', '#273c66' );
$footer_copyright_color = turitor_option( 'footer_copyright_color', '#fff' );
$footer_padding_top = turitor_option( 'footer_padding_top', '150px' );
$output .= "
.ts-footer{
background-color: $footer_bg_color;
padding-top:$footer_padding_top;
}
";
$output .= "
.copyright .copyright-text{
color: $footer_copyright_color;
}
";
wp_add_inline_style( 'turitor-style', $output );
}
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists