芝麻web文件管理V1.00
编辑当前文件:/home/prismawe/clients/origami-events.com/wp-content/themes/kallyas/css/dynamic_css.php
/* HEADINGS */ h1, .page-title, .h1-typography { $value) { if ( 'font-family' == $key ) { echo esc_html( $key ) . ':' . zn_convert_font($value) . ';'; } else { echo esc_html( $key ) . ':' . $value . ';'; } } ?> } h2, .page-subtitle, .subtitle, .h2-typography { $value) { if ( 'font-family' == $key ) { echo esc_html( $key ) . ':' . zn_convert_font($value) . ';'; } else { echo esc_html( $key ) . ':' . $value . ';'; } } ?> } h3, .h3-typography { $value) { if ( 'font-family' == $key ) { echo esc_html( $key ) . ':' . zn_convert_font($value) . ';'; } else { echo esc_html( $key ) . ':' . $value . ';'; } } ?> } h4, .h4-typography { $value) { if ( 'font-family' == $key ) { echo esc_html( $key ) . ':' . zn_convert_font($value) . ';'; } else { echo esc_html( $key ) . ':' . $value . ';'; } } ?> } h5, .h5-typography { $value) { if ( 'font-family' == $key ) { echo esc_html( $key ) . ':' . zn_convert_font($value) . ';'; } else { echo esc_html( $key ) . ':' . $value . ';'; } } ?> } h6, .h6-typography { $value) { if ( 'font-family' == $key ) { echo esc_html( $key ) . ':' . zn_convert_font($value) . ';'; } else { echo esc_html( $key ) . ':' . $value . ';'; } } ?> } /* Body */ body{ $value) { if ( ! empty($value)) { if ( 'font-family' == $key ) { echo esc_html( $key ) . ':' . zn_convert_font($value) . ';'; } else { echo esc_html( $key ) . ':' . $value . ';'; } if ( 'color' == $key ) { $body_tcolor_fonts = $value; } } } ?> } /* Footer Area */ .site-footer { $value ) { if ( ! empty( $value ) ) { if ( 'font-family' == $key ) { echo esc_html($key). ':' . zn_convert_font($value) . ';'; } else { echo esc_html($key) . ':' . $value . ';'; } } } ?> } /* Add Text Color, but check first if the Color option from Body Fonts exists and use that one */ /* Link Color */ /* Link Hover Color */ /* Light text scheme */ .element-scheme--light {color: ;} .element-scheme--light a {color: ;} .element-scheme--light a:hover, .element-scheme--light .element-scheme__linkhv:hover {color: ;} .element-scheme--light .element-scheme__hdg1 { color: } .element-scheme--light .element-scheme__hdg2 { color: } .element-scheme--light .element-scheme__faded { color: } /* Dark text scheme */ .element-scheme--dark {color: ;} .element-scheme--dark a {color: ;} .element-scheme--dark a:hover, .element-scheme--dark .element-scheme__linkhv:hover {color: ;} .element-scheme--dark .element-scheme__hdg1 { color: } .element-scheme--dark .element-scheme__hdg2 { color: } .element-scheme--dark .element-scheme__faded { color: } body #page_wrapper , body.boxed #page_wrapper { } /* Force background color for sections after Fixed Position IOS Slider */ .ios-fixed-position-scr ~ .zn_section { background-color:} .kl-mask .bmask-bgfill { fill: ; } 1, 'lg' => $old_height, 'unit_lg' => 'px', 'md' => 100, 'unit_md' => '%', 'sm' => 100, 'unit_sm' => '%', 'xs' => 100, 'unit_xs' => '%', ) ); $header_lg_height = $zn_head_width_v2['lg']; if ( 1170 != (int) $header_lg_height) { echo zn_smart_slider_css( $zn_head_width_v2, '.site-header .siteheader-container', 'width' ); if ($header_lg_height > $def_height) { echo '@media (min-width:1200px) and (max-width: ' . ($header_lg_height - 1) . 'px) {.site-header .siteheader-container {width:100%;} }'; } } } /*---------------------- Logo --------------------------*/ if ( $logo_image = zget_option( 'logo_upload', 'general_options' ) ) { $logo_saved_size_type = zget_option( 'logo_size', 'general_options', false, 'yes' ); $logo_width = ''; $logo_height = ''; if ( 'yes' == $logo_saved_size_type) { $logo_size = @getimagesize($logo_image); if (isset($logo_size[0]) && isset($logo_size[1])) { $logo_width = 'width:auto;'; $logo_height = 'height:auto;'; } } elseif ( 'no' == $logo_saved_size_type) { $logo_saved_sizes = zget_option( 'logo_manual_size', 'general_options', false, 'false' ); if ( ! empty( $logo_saved_sizes['width'] ) ) { $logo_width = 'width:' . $logo_saved_sizes['width'] . 'px;'; } if ( ! empty( $logo_saved_sizes['height'] ) ) { $logo_height = 'height:' . $logo_saved_sizes['height'] . 'px;'; } } ?> .site-logo-img { max-width:none; } .site-logo-anch { text-decoration:none; $value) { if ('font-family' == $key) { echo 'font-family:' . zn_convert_font($value) . ';'; } else { echo esc_html( $key ) . ':' . $value . ';'; } } ?> } .site-logo-anch:hover { $value) { echo esc_html( $key ). ':' . $value . ';'; } } ?> } /*---------------------- Header --------------------------*/ zget_option( 'def_header_background', 'general_options', false, false ), 'repeat' => 'no-repeat', 'attachment' => 'scroll', 'position' => array( 'x' => 'center', 'y' => 'center', ), 'size' => 'cover', ) ); if ( $subheader_background['image'] ) { $background_styles[] = 'background-image:url(' . $subheader_background['image'] . ')'; $background_styles[] = 'background-repeat:' . $subheader_background['repeat']; $background_styles[] = 'background-attachment:' . $subheader_background['attachment']; $background_styles[] = 'background-position:' . $subheader_background['position']['x'] . ' ' . $subheader_background['position']['y']; $background_styles[] = 'background-size:' . $subheader_background['size']; echo '.page-subheader.zn_def_header_style .bgback , .kl-slideshow.zn_def_header_style .bgback , .page-subheader.uh_zn_def_header_style .bgback , .kl-slideshow.uh_zn_def_header_style .bgback{' . implode(';', $background_styles) . '}'; } ?> 0, 'lg' => $headerHeight, 'unit_lg' => 'px', ) ); if ( ! empty( $headerHeight_v2 ) ) { echo zn_smart_slider_css( $headerHeight_v2, '.page-subheader.zn_def_header_style, .page-subheader.uh_zn_def_header_style', 'min-height' ); echo zn_smart_slider_css( $headerHeight_v2, '.page-subheader.zn_def_header_style, .page-subheader.uh_zn_def_header_style', 'height' ); } // Default top padding $headerPadding = zget_option( 'def_header_top_padding', 'general_options', false, '170' ); $headerPadding_v2 = zget_option( 'def_header_top_padding_v2', 'general_options', false, array( 'breakpoints' => 0, 'lg' => $headerPadding, 'unit_lg' => 'px', ) ); if ( ! empty( $headerPadding_v2 ) ) { echo zn_smart_slider_css( $headerPadding_v2, '.page-subheader.zn_def_header_style .ph-content-wrap, .page-subheader.uh_zn_def_header_style .ph-content-wrap', 'padding-top' ); } // GRADIENT OVER COLOR if ( zget_option( 'def_grad_bg', 'general_options', false, 1 ) ) { echo '.page-subheader.zn_def_header_style , .kl-slideshow.zn_def_header_style, .page-subheader.uh_zn_def_header_style , .kl-slideshow.uh_zn_def_header_style { background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,transparent), color-stop(100%,rgba(0,0,0,0.5))); background-image: -webkit-linear-gradient(top, transparent 0%,rgba(0,0,0,0.5) 100%); background-image: linear-gradient(to bottom, transparent 0%,rgba(0,0,0,0.5) 100%); }'; } // GLARE EFFECT if ( zget_option( 'def_glare', 'general_options', false, 0 ) ) { echo ' .page-subheader.zn_def_header_style .bgback:after, .kl-slideshow.zn_def_header_style .bgback:after, .page-subheader.uh_zn_def_header_style .bgback:after, .kl-slideshow.uh_zn_def_header_style .bgback:after {'; echo 'content:""; position:absolute; top:0; left:0; width:100%; height:100%; z-index:-1;background-image: url(' . get_template_directory_uri() . '/images/glare-effect.png); background-repeat: no-repeat; background-position: center top;'; echo '}'; } // Animation if ( zget_option( 'def_header_animate', 'general_options', false, 0 ) ) { echo ' .zn_def_header_style .th-sparkles, .kl-slideshow.zn_def_header_style .th-sparkles, .uh_zn_def_header_style .th-sparkles, .kl-slideshow.uh_zn_def_header_style .th-sparkles {display:block}'; } // Default SHADOW $def_bottom_style = zget_option( 'def_bottom_style', 'general_options', false, false ); /* Commented as per https://github.com/hogash/kallyas/issues/386 */ // $zn_main_style = zget_option( 'zn_main_style', 'color_options', false, 'light' ); $zn_main_style = 'light'; if ( 'shadow' == $def_bottom_style ) { echo '.page-subheader.zn_def_header_style .zn_header_bottom_style , .kl-slideshow.zn_def_header_style .zn_header_bottom_style,'; echo '.page-subheader.uh_zn_def_header_style .zn_header_bottom_style , .kl-slideshow.uh_zn_def_header_style .zn_header_bottom_style {'; echo 'position:absolute; bottom:0; left:0; width:100%; height:20px; background:url(' . get_template_directory_uri() . '/images/shadow-up.png) no-repeat center bottom; z-index: 2;'; echo '}'; echo '.page-subheader.zn_def_header_style .zn_header_bottom_style:after , .kl-slideshow.zn_def_header_style .zn_header_bottom_style:after,'; echo '.page-subheader.uh_zn_def_header_style .zn_header_bottom_style:after , .kl-slideshow.uh_zn_def_header_style .zn_header_bottom_style:after {'; echo 'content:\'\'; position:absolute; bottom:-18px; left:50%; border:6px solid transparent; border-top-color:#fff; margin-left:-6px;'; echo '}'; echo '.page-subheader.zn_def_header_style, .kl-slideshow.zn_def_header_style,'; echo '.page-subheader.uh_zn_def_header_style, .kl-slideshow.uh_zn_def_header_style {'; echo 'border-bottom:6px solid #FFFFFF'; echo '}'; } // SHADOW UP AND DOWN if ( 'shadow_ud' == $def_bottom_style ) { echo '.page-subheader.zn_def_header_style .zn_header_bottom_style , .kl-slideshow.zn_def_header_style .zn_header_bottom_style,'; echo '.page-subheader.uh_zn_def_header_style .zn_header_bottom_style , .kl-slideshow.uh_zn_def_header_style .zn_header_bottom_style {'; echo 'position:absolute; bottom:0; left:0; width:100%; height:20px; background:url(' . get_template_directory_uri() . '/images/shadow-up.png) no-repeat center bottom; z-index: 2;'; echo '}'; echo '.page-subheader.zn_def_header_style .zn_header_bottom_style:after , .kl-slideshow.zn_def_header_style .zn_header_bottom_style:after,'; echo '.page-subheader.uh_zn_def_header_style .zn_header_bottom_style:after , .kl-slideshow.uh_zn_def_header_style .zn_header_bottom_style:after {'; echo 'content:\'\'; position:absolute; bottom:-18px; left:50%; border:6px solid transparent; border-top-color:#fff; margin-left:-6px;'; echo '}'; echo '.page-subheader.zn_def_header_style, .kl-slideshow.zn_def_header_style,'; echo '.page-subheader.uh_zn_def_header_style, .kl-slideshow.uh_zn_def_header_style {'; echo 'border-bottom:6px solid #FFFFFF'; echo '}'; echo '.page-subheader.zn_def_header_style .zn_header_bottom_style:before , .kl-slideshow.zn_def_header_style .zn_header_bottom_style:before,'; echo '.page-subheader.uh_zn_def_header_style .zn_header_bottom_style:before , .kl-slideshow.uh_zn_def_header_style .zn_header_bottom_style:before {'; echo 'content:\'\'; position:absolute; bottom:-26px; left:0; width:100%; height:20px; background:url(' . get_template_directory_uri() . '/images/shadow-down.png) no-repeat center top; opacity:.6; filter:alpha(opacity=60);'; echo '}'; } // MASK 1 if ( 'mask1' == $def_bottom_style && 'light' == $zn_main_style ) { echo '.page-subheader.zn_def_header_style .zn_header_bottom_style , .kl-slideshow.zn_def_header_style .zn_header_bottom_style,'; echo '.page-subheader.uh_zn_def_header_style .zn_header_bottom_style , .kl-slideshow.uh_zn_def_header_style .zn_header_bottom_style {'; echo 'position:absolute; bottom:0; left:0; width:100%; height:27px; z-index:99; background:url(' . get_template_directory_uri() . '/images/bottom_mask.png) no-repeat center top;'; echo '}'; } /* Commented as per https://github.com/hogash/kallyas/issues/386 */ elseif ( 'mask1' == $def_bottom_style && 'dark' == $zn_main_style ) { echo '.page-subheader.zn_def_header_style .zn_header_bottom_style , .kl-slideshow.zn_def_header_style .zn_header_bottom_style {'; echo 'position:absolute; bottom:0; left:0; width:100%; height:27px; z-index:99; background:url(' . get_template_directory_uri() . '/images/bottom_mask_dark.png) no-repeat center top;'; echo '}'; } // MASK 2 if ( 'mask2' == $def_bottom_style && 'light' == $zn_main_style ) { echo '.page-subheader.zn_def_header_style .zn_header_bottom_style , .kl-slideshow.zn_def_header_style .zn_header_bottom_style,'; echo '.page-subheader.uh_zn_def_header_style .zn_header_bottom_style , .kl-slideshow.uh_zn_def_header_style .zn_header_bottom_style {'; echo 'position:absolute; bottom:0; left:0; width:100%; z-index:99; '; echo 'height:33px; background:url(' . get_template_directory_uri() . '/images/bottom_mask2.png) no-repeat center top;'; echo '}'; } /* Commented as per https://github.com/hogash/kallyas/issues/386 */ elseif ( 'mask2' == $def_bottom_style && 'dark' == $zn_main_style ) { echo '.page-subheader.zn_def_header_style .zn_header_bottom_style , .kl-slideshow.zn_def_header_style .zn_header_bottom_style {'; echo 'position:absolute; bottom:0; left:0; width:100%; z-index:99; '; echo 'height:33px; background:url(' . get_template_directory_uri() . '/images/bottom_mask2_dark.png) no-repeat center top;'; echo '}'; } ?> /*---------------------- Unlimited Headers --------------------------*/ /* GENERAL COLOR */ /* Text - Main Color */ .m_title, .text-custom, .text-custom-hover:hover, .text-custom-after:after, .text-custom-before:before, .text-custom-parent .text-custom-child, .text-custom-parent .text-custom-child-hov:hover, .text-custom-parent-hov:hover .text-custom-child, .text-custom-parent-act.active .text-custom-active, .text-custom-a>a, .btn-lined.lined-custom, .latest_posts--4.default-style .latest_posts-link:hover .latest_posts-readon, .grid-ibx__item:hover .grid-ibx__icon, .site-header .site-header .main-nav.mainnav--active-text > ul > .menu-item.active > a, .site-header .site-header .main-nav.mainnav--active-text > ul > .menu-item:hover > a, .site-header .site-header .main-nav.mainnav--active-text > ul > .menu-item > a:hover, .preloader-pulsating-circle, .preloader-material-circle, ul.colored-list[class*="list-style"] li:before, .woocommerce-MyAccount-navigation ul li.is-active a {color:;} /* Darker text color */ .btn-lined.lined-custom:hover, #header .main-nav > ul > .menu-item.menuitem-highlight > a { color: ;} /**** Background Color - Main Color ****/ .kl-main-bgcolor, .kl-main-bgcolor-after:after, .kl-main-bgcolor-before:before, .kl-main-bgcolor-hover:hover, .kl-main-bgcolor-parenthover:hover .kl-main-bgcolor-child {background-color:;} /* BgColor Site components */ .main-nav.mainnav--active-bg > ul > .menu-item > a:before, .main-nav .zn_mega_container .menu-item a:not(.zn_mega_title):before, .main-nav ul .zn-mega-new-item, .social-icons.sc--normal .social-icons-item:hover, .kl-cart-button .glyphicon:after, .site-header.style7 .kl-cart-button .glyphicon:after, .site-header.style8 .site-header-bottom-wrapper .kl-cta-lined, .site-header.style9 .kl-cta-lined, .kl-cta-ribbon, .cart-container .buttons .button.wc-forward, .chaser-main-menu li.active > a {background-color:;} /* BgColor PB elements */ .action_box, .action_box.style3:before, .action_box.style3 .action_box-inner:before, .btn.btn-fullcolor, .btn.btn-fullcolor:focus, .btn.btn-fullcolor.btn-skewed:before, .circle-text-box.style3 .wpk-circle-span, .circle-text-box.style2 .wpk-circle-span::before, .circle-text-box:not(.style3) .wpk-circle-span:after, .elm-social-icons.sc--normal .elm-sc-icon:hover, .elm-searchbox--normal .elm-searchbox__submit, .elm-searchbox--transparent .elm-searchbox__submit, .hover-box:hover, .how_to_shop .number, .image-boxes.image-boxes--4 .image-boxes-title:after, .kl-flex--classic .zn_simple_carousel-arr:hover, .kl-flex--modern .flex-underbar, .kl-blog-item-overlay-inner .kl-blog-item-overlay-more:hover, .kl-blog-related-post-link:after, .kl-ioscaption--style1 .more:before, .kl-ioscaption--style1 .more:after, .kl-ioscaption--style2 .more, .kl-ioscaption--style3.s3ext .main_title::before, .kl-ios-selectors-block.bullets2 .item.selected::before, .kl-ioscaption--style5 .klios-separator-line span, .zn-iosSl-caption.zn-iosSl-caption--style1 .zn-iosSl-more::before, .zn-iosSl-caption.zn-iosSl-caption--style1 .zn-iosSl-more::after, .zn-iosSl-caption.zn-iosSl-caption--style2 .zn-iosSl-more, .zn-iosSl-caption.zn-iosSl-caption--style3.s3ext .zn-iosSl-mainTitle::before, .zn-iosSl-caption.zn-iosSl-caption--style5 .zn-iosSl-separatorLine span, .kl-ptfcarousel-carousel-arr:hover, .kl-ptfsortable-nav-link:hover, .kl-ptfsortable-nav-item.current .kl-ptfsortable-nav-link, .latest_posts3-post-date, .latest_posts--style4.kl-style-2 .latest_posts-elm-titlew, .latest_posts--style4.kl-style-2 .latest_posts-title:after, .latest_posts--style4.default-style .latest_posts-readon, .slick-active .slickBtn, .woocommerce ul.products.lt-offers-carousel .product-list-item:after, .media-container__link--style-borderanim1 > i, .nivo-directionNav a:hover, .pricing-table-element .plan-column.featured .subscription-price .inner-cell, .process_steps--style1 .process_steps__intro, .process_steps--style2 .process_steps__intro, .process_steps--style2 .process_steps__intro:before, .recentwork_carousel--1 .recentwork_carousel__bg, .recentwork_carousel--2 .recentwork_carousel__title:after, .recentwork_carousel--2 .recentwork_carousel__cat, .recentwork_carousel_v2 .recentwork_carousel__plus, .recentwork_carousel_v3 .btn::before, .recentwork_carousel_v3 .recentwork_carousel__cat, .timeline-box:hover .timeline-box-icon, .title_circle, .title_circle:before, .services_box--classic:hover .services_box__icon, .stepbox2-box--ok:before, .stepbox2-box--ok:after, .stepbox2-box--ok, .stepbox3-content:before, .stepbox4-number:before, .tbk--color-theme.tbk-symbol--line .tbk__symbol span, .tbk--color-theme.tbk-symbol--line_border .tbk__symbol span, .th-wowslider a.ws_next:hover, .th-wowslider a.ws_prev:hover, .zn-acc--style4 .acc-title, .zn-acc--style4 .acc-tgg-button .acc-icon:before, .zn-acc--style3 .acc-tgg-button:before, .zn_badge_sale, .zn_badge_sale:after, .elm-cmlist.elm-cmlist--v2 a:before, .elm-cmlist.elm-cmlist--v3ext a:before, .elm-custommenu--dd .elm-custommenu-pick, /* Deprecated */ .shop-features .shop-feature:hover, .feature_box.style3 .box:hover, .services_box_element:hover .box .icon, .elm-social-icons.sc--normal .elm-sc-link:hover .elm-sc-icon {background-color:;} /* Alpha BG */ .kl-ioscaption--style4 .more:before, .zn-iosSl-caption.zn-iosSl-caption--style4 .zn-iosSl-more::before { background: } .kl-ioscaption--style4 .more:hover:before, .zn-iosSl-caption.zn-iosSl-caption--style4 .zn-iosSl-more:hover::before { background: } /* plugins */ .zn-wc-pages-classic #page_wrapper a.button:not(.checkout), .zn-wc-pages-classic #page_wrapper button.button, .zn-wc-pages-classic #page_wrapper button.button.alt, .zn-wc-pages-classic #page_wrapper input.button, .zn-wc-pages-classic #page_wrapper input#button, .zn-wc-pages-classic #page_wrapper #respond input#submit, .add_to_cart_inline .kw-actions a, .zn-wc-pages-style2 #page_wrapper #respond input#submit.alt, .zn-wc-pages-style2 #page_wrapper a.button.alt, .zn-wc-pages-style2 #page_wrapper button.button.alt, .zn-wc-pages-style2 #page_wrapper input.button.alt, .product-list-item.prod-layout-classic .kw-actions a, .woocommerce ul.products li.product .product-list-item.prod-layout-classic .kw-actions a, #bbpress-forums div.bbp-search-form input[type=submit], #bbpress-forums .bbp-submit-wrapper button, #bbpress-forums #bbp-your-profile fieldset.submit button {background-color:;} /* Hover Background color - Main Color */ .btn.btn-fullcolor:hover, .btn.btn-fullcolor.btn-skewed:hover:before, .cart-container .buttons .button.wc-forward:hover, .zn-wc-pages-classic #page_wrapper a.button:not(.checkout):hover, .zn-wc-pages-classic #page_wrapper button.button:hover, .zn-wc-pages-classic #page_wrapper button.button.alt:hover, .zn-wc-pages-classic #page_wrapper input.button:hover, .zn-wc-pages-classic #page_wrapper input#button:hover, .zn-wc-pages-classic #page_wrapper #respond input#submit:hover, .add_to_cart_inline .kw-actions a:hover, .zn-wc-pages-style2 #page_wrapper #respond input#submit.alt:hover, .zn-wc-pages-style2 #page_wrapper a.button.alt:hover, .zn-wc-pages-style2 #page_wrapper button.button.alt:hover, .zn-wc-pages-style2 #page_wrapper input.button.alt:hover { background-color: } /**** END Background Color - Main Color ****/ /* Border - Main Color */ .border-custom, .border-custom-after:after, .border-custom-before:before, .kl-blog-item-overlay-inner .kl-blog-item-overlay-more:hover, .acc--style4, .acc--style4 .acc-tgg-button .acc-icon, .kl-ioscaption--style4 .more:before, .zn-iosSl-caption.zn-iosSl-caption--style4 .zn-iosSl-more::before, .btn-lined.lined-custom, .btn.btn-bordered { border-color: ; } /* Alpha Border color */ .fake-loading:after { border-color: ;} /* Border Top - Main Color */ .action_box:before, .action_box:after, .site-header.style1, .site-header.style2 .site-logo-anch, .site-header.style3 .site-logo-anch, .site-header.style6, .tabs_style1 > ul.nav > li.active > a, .offline-page-container:after, .latest_posts3-post-date:after, .fake-loading:after { border-top-color:; } /* Border Right - Main Color */ .stepbox3-box[data-align=right] .stepbox3-content:after, .vr-tabs-kl-style-1 .vr-tabs-nav-item.active .vr-tabs-nav-link, .kl-ioscaption--style2.klios-alignright .title_big, .kl-ioscaption--style2.klios-alignright .title_small, .zn-iosSl-caption.zn-iosSl-caption--style2.zn-iosSl-caption--hAlign-right .zn-iosSl-bigTitle, .zn-iosSl-caption.zn-iosSl-caption--style2.zn-iosSl-caption--hAlign-right .zn-iosSl-smallTitle, .fake-loading:after { border-right-color:; } /* Border Bottom - Main Color */ .image-boxes.image-boxes--4.kl-title_style_bottom .imgboxes-border-helper, .image-boxes.image-boxes--4.kl-title_style_bottom:hover .imgboxes-border-helper, .kl-blog-full-image-link, .kl-blog-post-image-link, .site-header.style8 .site-header-bottom-wrapper, .site-header.style9, .statistic-box__line, .zn-sidebar-widget-title:after, .tabs_style5 > ul.nav > li.active > a, .offline-page-container, .keywordbox.keywordbox-2, .keywordbox.keywordbox-3 {border-bottom-color:} /* Border left - Main Color */ .breadcrumbs.bread-style--black li:before, .infobox2-inner, .kl-flex--classic .flex-caption, .ls--laptop .ls__item-caption, .nivo-caption, .process_steps--style1 .process_steps__intro:after, .stepbox3-box[data-align=left] .stepbox3-content:after, .th-wowslider .ws-title, .kl-ioscaption--style2 .title_big, .kl-ioscaption--style2 .title_small, .zn-iosSl-caption.zn-iosSl-caption--style2 .zn-iosSl-bigTitle, .zn-iosSl-caption.zn-iosSl-caption--style2 .zn-iosSl-smallTitle, html[dir="rtl"] .vr-tabs-kl-style-1 .vr-tabs-nav-item.active .vr-tabs-nav-link {border-left-color:; } /* Various properties - Main Color */ .kl-cta-ribbon .trisvg path, .kl-mask .bmask-customfill, .kl-slideshow .kl-loader svg path, .kl-slideshow .kl-loadersvg rect, .kl-diagram circle { fill: ; } .borderanim2-svg__shape, .kl-blog--layout-def_modern .kl-blog-item-comments-link:hover path, .kl-blog--layout-def_modern .kl-blog-item-more-btn:hover .svg-more-bg {stroke: ;} .hoverBorder:hover:after {box-shadow:0 0 0 5px inset;} /* Services boxes (modern style) */ .services_box--modern .services_box__icon { box-shadow:inset 0 0 0 2px ; } .services_box--modern:hover .services_box__icon {box-shadow:inset 0 0 0 40px ;} .services_box--modern .services_box__list li:before {box-shadow: 0 0 0 2px ;} .services_box--modern .services_box__list li:hover:before {box-shadow: 0 0 0 3px ;} .portfolio-item-overlay-imgintro:hover .portfolio-item-overlay {box-shadow: inset 0 -8px 0 0 ;} /* Contrast Color */ .main-nav.mainnav--active-bg > ul > .menu-item.active > a, .main-nav.mainnav--active-bg > ul > .menu-item > a:hover, .main-nav.mainnav--active-bg > ul > .menu-item:hover > a, .chaser-main-menu li.active > a, .kl-cart-button .glyphicon:after, .kl-ptfsortable-nav-link:hover, .kl-ptfsortable-nav-item.current .kl-ptfsortable-nav-link, .circlehover, .imgboxes_style1 .hoverBorder h6 {color: !important;} /* Without forced !important */ .btn-flat, .zn-wc-pages-classic #page_wrapper a.button:not(.checkout), .zn-wc-pages-classic #page_wrapper button.button, .zn-wc-pages-classic #page_wrapper button.button.alt, .zn-wc-pages-classic #page_wrapper input.button, .zn-wc-pages-classic #page_wrapper input#button, .zn-wc-pages-classic #page_wrapper #respond input#submit, .zn-wc-pages-style2 #page_wrapper #respond input#submit.alt, .zn-wc-pages-style2 #page_wrapper a.button.alt, .zn-wc-pages-style2 #page_wrapper button.button.alt, .zn-wc-pages-style2 #page_wrapper input.button.alt, .product-list-item.prod-layout-classic .kw-actions a, .woocommerce ul.products li.product .product-list-item.prod-layout-classic .kw-actions a {color: !important;} /* Contrast color without important flag */ .latest-posts-crs-readon, .latest_posts--4.default-style .latest_posts-readon, .latest_posts--4.kl-style-2 .latest_posts-elm-title, .latest_posts3-post-date, .action_box-text, .recentwork_carousel__link:hover .recentwork_carousel__crsl-title, .recentwork_carousel__link:hover .recentwork_carousel__cat, .stepbox2-box--ok:before, .stepbox2-box--ok:after, .stepbox2-box--ok, .stepbox2-box--ok .stepbox2-title, .kl-ioscaption--style4 .more, .zn-iosSl-caption.zn-iosSl-caption--style4 .zn-iosSl-more, .image-boxes.image-boxes--1 .image-boxes-readon, .acc--style3 .acc-tgg-button:not(.collapsed):before {color:;} /* Plugin based */ #bbpress-forums .bbp-topics li.bbp-body .bbp-topic-title > a, .product-list-item.prod-layout-classic:hover .kw-details-title, .woocommerce ul.products li.product .product-list-item.prod-layout-classic:hover .kw-details-title, .woocommerce ul.product_list_widget li .star-rating, .woocommerce .prodpage-classic .woocommerce-product-rating .star-rating, .widget.buddypress div.item-options a.selected , #buddypress div.item-list-tabs ul li.selected a, #buddypress div.item-list-tabs ul li.current a , #buddypress div.activity-meta a , #buddypress div.activity-meta a:hover, #buddypress .acomment-options a {color:;} #buddypress form#whats-new-form p.activity-greeting:after {border-top-color: ;} #buddypress input[type=submit], #buddypress input[type=button], #buddypress input[type=reset], #buddypress .activity-list li.load-more a {background: ;} #buddypress div.item-list-tabs ul li.selected a, #buddypress div.item-list-tabs ul li.current a {border-top: 2px solid ;} #buddypress form#whats-new-form p.activity-greeting, .widget.buddypress ul.item-list li:hover {background-color: ;} /***** End Main Color */ /* Call to action header */ .kl-cta-ribbon { background-color: } .kl-cta-ribbon .trisvg path { fill: } .site-header .kl-cta-lined { color: ; border-color: } $btn): $button_style = $btn['cta_style']; $button_selector = '.btn.btn-custom-color.cta-button-' . $i; $button_simple_selector = '.btn.kl-cta-custom.cta-button-' . $i; $button_color = isset($btn['cta_custom_color']) && ! empty($btn['cta_custom_color']) ? $btn['cta_custom_color'] : ''; $button_color_hover = isset($btn['cta_custom_color_hov']) && ! empty($btn['cta_custom_color_hov']) ? $btn['cta_custom_color_hov'] : adjustBrightness($button_color, 20); // Button Fullcolor if ('btn-fullcolor btn-custom-color' == $button_style && $button_color ) { echo esc_html( $button_selector ) . '{background-color:' . $button_color . '}'; echo esc_html( $button_selector ) . ':hover{background-color:' . $button_color_hover . '}'; } // Button lined elseif ('btn-lined btn-custom-color' == $button_style && $button_color ) { echo esc_html( $button_selector ) . '{color:' . $button_color . '; border-color:' . $button_color . ';}'; echo esc_html( $button_selector ) . ':hover{color:' . $button_color_hover . '; border-color:' . $button_color_hover . ';}'; } // Button Skewed elseif ('btn-fullcolor btn-skewed btn-custom-color' == $button_style && $button_color ) { echo esc_html( $button_selector ) . ':before{background-color:' . $button_color . '}'; echo esc_html( $button_selector ) . ':hover:before{background-color:' . $button_color_hover . ';}'; } $btn_font_styles = ''; if ( isset($btn['button_typo']) && ! empty($btn['button_typo']) ) { foreach ($btn['button_typo'] as $key => $value) { if ('' != $value) { $btn_font_styles .= $key . ':' . $value . ';'; } } if ( ! empty($btn_font_styles)) { echo esc_html( $button_simple_selector ) . '{' . $btn_font_styles . '}'; } } endforeach; endif; } ?> /* Infocard */ .logo-container .logo-infocard {background: } .logo-infocard, .logo-infocard a, .logo-infocard .social-icons-item, .logo-infocard .glyphicon {color:} /* Hidden panel */ .support-panel {background: ; } .support-panel, .support-panel * {color:;} /* Custom blog post image width */ /* Custom background color for header */ @media (min-width:768px){ .site-header {background-color:; } } .site-header.style8 .site-header-main-wrapper {background:;} .site-header.style8 .site-header-bottom-wrapper {background:;} $icon ): $hhover = 'colored_hov' == $header_which_icons_set ? ':hover' : ''; if (isset($icon['header_social_color']) && ! empty($icon['header_social_color'])) { echo '.scheader-icon-' . $icon['header_social_icon']['unicode'] . $hhover . ' { background-color: ' . $icon['header_social_color'] . '; }'; } endforeach; } } } /* Social Footer */ if ( 'yes' == zget_option( 'footer_social_icons_enable', 'general_options', false, 'yes' ) ) { $footer_which_icons_set = zget_option( 'footer_which_icons_set', 'general_options', false, 'normal' ); if ('normal' != $footer_which_icons_set && 'clean' != $footer_which_icons_set) { if ( $footer_social_icons = zget_option( 'footer_social_icons', 'general_options', false, array() ) ) { foreach ( $footer_social_icons as $key => $icon ): $fhover = 'colored_hov' == $footer_which_icons_set ? ':hover' : ''; if (isset($icon['footer_social_color']) && ! empty($icon['footer_social_color'])) { echo '.scfooter-icon-' . $icon['footer_social_icon']['unicode'] . $fhover . ' { background-color: ' . $icon['footer_social_color'] . '; }'; } endforeach; } } } /* Social icons in Coming Soon page */ if ( 'yes' == zget_option( 'cs_social_icons_enable', 'coming_soon_options', false, 'yes' ) && 'yes' == zget_option( 'cs_enable', 'coming_soon_options', false, 'no' ) ) { $cs_which_icons_set = zget_option( 'cs_which_icons_set', 'coming_soon_options', false, 'normal' ); if ('normal' != $cs_which_icons_set && 'clean' != $cs_which_icons_set) { if ( $cs_social_icons = zget_option( 'cs_social_icons', 'coming_soon_options', false, array() ) ) { foreach ( $cs_social_icons as $key => $icon ): $chover = 'colored_hov' == $cs_which_icons_set ? ':hover' : ''; if (isset($icon['cs_social_color']) && ! empty($icon['cs_social_color'])) { echo '.sccsoon-icon-' . $icon['cs_social_icon']['unicode'] . $chover . ' { background-color: ' . $icon['cs_social_color'] . '; }'; } endforeach; } } } ?> .site-footer { } .site-footer-bottom { } /* Main menu font */ $value) { if ('color' == $key) { $mf_color = $value; } elseif ('font-size' == $key) { $mf_fsize = $value; } elseif ('font-family' == $key) { $mf_others .= 'font-family:' . zn_convert_font($value) . ';'; } else { $mf_others .= $key . ':' . $value . ';'; } } echo '.main-nav > ul > .menu-item > a {' . $mf_others . '}'; // Font-size echo '.main-nav > ul > .menu-item > a {font-size:' . $mf_fsize . ';}'; echo '.main-nav.mainnav--active-bg > ul > .menu-item > a:before {height:' . $mf_fsize . ';}'; echo '.main-nav.mainnav--active-bg > ul > .menu-item.active > a:before, .main-nav.mainnav--active-bg > ul > .menu-item > a:hover:before, .main-nav.mainnav--active-bg > ul > .menu-item:hover > a:before {height:calc(' . absint( $mf_fsize ) . ' + 16px)}'; echo '.mainnav--pointer-dash.main-nav > ul > li.menu-item-has-children > a:after {bottom: calc(52% - ' . ( absint( $mf_fsize ) - 2) . 'px);}'; // Color if ( ! empty($mf_color)) { $mf_selector = ('sticky' == zn_get_layout_option( 'menu_follow', 'general_options', false, 'no' ) ? '.header--sticky.header--not-sticked' : '' ); echo esc_html( $mf_selector ) . '.site-header .site-header-row .main-nav > ul > .menu-item > a {color:' . $mf_color . '}'; echo esc_html( $mf_selector ) . '.site-header .site-header-row .main-nav > ul > .menu-item:hover > a {color:' . $menu_font_active . '}'; } } if ( ! empty($menu_font_active)) { echo '.site-header .main-nav.mainnav--active-text > ul > .menu-item.active > a, .site-header .main-nav.mainnav--active-text > ul > .menu-item > a:hover, .site-header .main-nav.mainnav--active-text > ul > .menu-item:hover > a {color:' . $menu_font_active . ';}'; echo '.main-nav.mainnav--active-bg > ul > .menu-item.active > a:before, .main-nav.mainnav--active-bg > ul > .menu-item > a:hover:before, .main-nav.mainnav--active-bg > ul > .menu-item:hover > a:before {background-color:' . $menu_font_active . ';}'; } if ( ! empty($menu_font_sub)) { echo '.main-nav ul ul.sub-menu .menu-item a, .main-nav .zn_mega_container .menu-item a {'; foreach ($menu_font_sub as $key => $value) { if ( ! empty($value)) { if ('font-size' == $key) { $fsv = $value; echo esc_html( $key ) . ':' . $fsv . ';'; } else { echo esc_html( $key ) . ':' . $value . ';'; } } } echo '}'; echo '.main-nav .zn_mega_container .menu-item a.zn_mega_title, .main-nav div.zn_mega_container ul .menu-item:last-child > a.zn_mega_title{font-size:' . ( absint($fsv) + 2) . 'px}'; } ?> /* Alternative font - Several elements using other font */ .ff-alternative, .kl-font-alt, .kl-fontafter-alt:after, /* Page Title and Subtitle */ .topnav-item, .topnav .menu-item > a, .zn-sidebar-widget-title, /* JS Generated */ .nivo-caption, .th-wowslider .ws-title, /* WooCommerce un-classed content */ .cart-container .cart_list li a:not(.remove) { } /* Header Custom Font */ .site-header-top-wrapper .kl-font-alt, .site-header-top-wrapper .kl-fontafter-alt:after, .site-header-top-wrapper .topnav-item, .site-header-top-wrapper .topnav .menu-item > a, .site-header-top-wrapper .cart-container .cart_list li a:not(.remove) { $value) { if ( ! empty($value)) { if ( 'font-family' == $key ) { echo esc_html( $key ) . ':' . zn_convert_font($value) . ';'; } else { echo esc_html( $key ) . ':' . $value . ';'; } } } ?> } /* Add Custom fonts classes */ $font ) { if (isset($font['font_family']) && ! empty($font['font_family'])) { echo '.ff-' . strtolower(str_replace(' ', '_', $font['font_family'])) . '{font-family:"' . $font['font_family'] . '", "Helvetica Neue", Helvetica, Arial, sans-serif;}'; } } } ?> body { } a, .site-header[class*="sh-"] .topnav .topnav-li .glyphicon, .site-header[class*="sh-"] .kl-header-toptext, .site-header[class*="sh-"] .kl-header-toptext a { color:' . $zn_top_nav_color . ' ;}'; } if ( $zn_top_nav_h_color = zget_option( 'zn_top_nav_h_color', 'color_options' ) ) { echo '.site-header[class*="sh-"] .topnav .topnav-item:hover, .site-header[class*="sh-"] .topnav.social-icons .topnav-item:hover, .site-header[class*="sh-"] .topnav .menu-item>a:hover, .site-header[class*="sh-"] .kl-header-toptext a:hover { color:' . $zn_top_nav_h_color . ' ;}'; } // Various usages of the body color if ( isset($zn_body_def_color) && ! empty($zn_body_def_color) ) { // Static content fade mask echo '.sc__fade-mask, .portfolio-item-desc-inner:after { background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,' . zn_hex2rgba_str($zn_body_def_color, 0) . '), color-stop(100%, ' . $zn_body_def_color . ')); background: -webkit-linear-gradient(top, ' . zn_hex2rgba_str($zn_body_def_color, 0) . ' 0%, ' . $zn_body_def_color . ' 100%); background: linear-gradient(to bottom, ' . zn_hex2rgba_str($zn_body_def_color, 0) . ' 0%, ' . $zn_body_def_color . ' 100%); } '; // Laptop Slider Mask echo '.ls-source__mask-front {background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,' . zn_hex2rgba_str($zn_body_def_color, 60) . '), color-stop(50%, ' . $zn_body_def_color . ')); background: -webkit-linear-gradient(top, ' . zn_hex2rgba_str($zn_body_def_color, 60) . ' 0%, ' . $zn_body_def_color . ' 50%); background: linear-gradient(to bottom, ' . zn_hex2rgba_str($zn_body_def_color, 60) . ' 0%, ' . $zn_body_def_color . ' 50%);}'; } // Header background & text color for smaller than 480px devices if ($zn_header_resp_color = zget_option( 'zn_header_resp_color', 'general_options', false, '' )) { echo '@media (max-width: 767px) {'; echo '.site-header {background-color: ' . $zn_header_resp_color . ' !important;}'; echo '}'; } // Hide specific header components on mobile $header_components_mobile = zget_option( 'header_components_mobile', 'general_options', false, array() ); if ( ! empty($header_components_mobile)) { // $last_key = end(array_keys($header_components_mobile)); $last_key = array_search(end($header_components_mobile), $header_components_mobile); echo '@media (max-width: 767px) {'; foreach ($header_components_mobile as $i => $comp) { echo '.site-header .' . $comp . ( $i != $last_key ? ',' : '' ); } echo '{display: none !important;}'; echo '}'; } if ( 'no' != zget_option( 'page_preloader', 'general_options', false, 'no' ) ) { echo '#page-loading{ background-color:' . zget_option( 'page_preloader_bg', 'general_options', false, '#ffffff' ) . ' }'; }