![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/gg.corals.io/wp-content/themes/bugster/plugins/elementor/ |
<?php // Add plugin-specific vars to the custom CSS if ( ! function_exists( 'bugster_elm_add_theme_vars' ) ) { add_filter( 'bugster_filter_add_theme_vars', 'bugster_elm_add_theme_vars', 10, 2 ); function bugster_elm_add_theme_vars( $rez, $vars ) { foreach ( array( 10, 20, 30, 40, 60 ) as $m ) { if ( substr( $vars['page'], 0, 2 ) != '{{' ) { $rez[ "page{$m}" ] = ( $vars['page'] + $m ) . 'px'; $rez[ "content{$m}" ] = ( $vars['page'] - $vars['gap'] - $vars['sidebar'] + $m ) . 'px'; } else { $rez[ "page{$m}" ] = "{{ data.page{$m} }}"; $rez[ "content{$m}" ] = "{{ data.content{$m} }}"; } } return $rez; } } // Add plugin-specific colors and fonts to the custom CSS if ( ! function_exists( 'bugster_elm_get_css' ) ) { add_filter( 'bugster_filter_get_css', 'bugster_elm_get_css', 10, 2 ); function bugster_elm_get_css( $css, $args ) { if ( isset( $css['vars'] ) && isset( $args['vars'] ) ) { extract( $args['vars'] ); $css['vars'] .= <<<CSS /* Narrow: 5px */ .elementor-section.elementor-section-justified.elementor-section-boxed:not(.elementor-inner-section) > .elementor-container.elementor-column-gap-narrow, .elementor-section.elementor-section-justified.elementor-section-full_width:not(.elementor-section-stretched):not(.elementor-inner-section) > .elementor-container.elementor-column-gap-narrow { width: $page10; } .sidebar_show .content_wrap .elementor-section.elementor-section-justified.elementor-section-boxed:not(.elementor-inner-section) > .elementor-container.elementor-column-gap-narrow, .sidebar_show .content_wrap .elementor-section.elementor-section-justified.elementor-section-full_width:not(.elementor-section-stretched):not(.elementor-inner-section) > .elementor-container.elementor-column-gap-narrow { width: $content10; } /* Default: 10px */ .elementor-section.elementor-section-justified.elementor-section-boxed:not(.elementor-inner-section) > .elementor-container.elementor-column-gap-default, .elementor-section.elementor-section-justified.elementor-section-full_width:not(.elementor-section-stretched):not(.elementor-inner-section) > .elementor-container.elementor-column-gap-default { width: $page20; } .sidebar_show .content_wrap .elementor-section.elementor-section-justified.elementor-section-boxed:not(.elementor-inner-section) > .elementor-container.elementor-column-gap-default, .sidebar_show .content_wrap .elementor-section.elementor-section-justified.elementor-section-full_width:not(.elementor-section-stretched):not(.elementor-inner-section) > .elementor-container.elementor-column-gap-default { width: $content20; } /* Extended: 15px */ .elementor-section.elementor-section-justified.elementor-section-boxed:not(.elementor-inner-section) > .elementor-container.elementor-column-gap-extended, .elementor-section.elementor-section-justified.elementor-section-full_width:not(.elementor-section-stretched):not(.elementor-inner-section) > .elementor-container.elementor-column-gap-extended { width: $page30; } .sidebar_show .content_wrap .elementor-section.elementor-section-justified.elementor-section-boxed:not(.elementor-inner-section) > .elementor-container.elementor-column-gap-extended, .sidebar_show .content_wrap .elementor-section.elementor-section-justified.elementor-section-full_width:not(.elementor-section-stretched):not(.elementor-inner-section) > .elementor-container.elementor-column-gap-extended { width: $content30; } /* Wide: 20px */ .elementor-section.elementor-section-justified.elementor-section-boxed:not(.elementor-inner-section) > .elementor-container.elementor-column-gap-wide, .elementor-section.elementor-section-justified.elementor-section-full_width:not(.elementor-section-stretched):not(.elementor-inner-section) > .elementor-container.elementor-column-gap-wide { width: $page40; } .sidebar_show .content_wrap .elementor-section.elementor-section-justified.elementor-section-boxed:not(.elementor-inner-section) > .elementor-container.elementor-column-gap-wide, .sidebar_show .content_wrap .elementor-section.elementor-section-justified.elementor-section-full_width:not(.elementor-section-stretched):not(.elementor-inner-section) > .elementor-container.elementor-column-gap-wide { width: $content40; } /* Wider: 30px */ .elementor-section.elementor-section-justified.elementor-section-boxed:not(.elementor-inner-section) > .elementor-container.elementor-column-gap-wider, .elementor-section.elementor-section-justified.elementor-section-full_width:not(.elementor-section-stretched):not(.elementor-inner-section) > .elementor-container.elementor-column-gap-wider { width: $page60; } .sidebar_show .content_wrap .elementor-section.elementor-section-justified.elementor-section-boxed:not(.elementor-inner-section) > .elementor-container.elementor-column-gap-wider, .sidebar_show .content_wrap .elementor-section.elementor-section-justified.elementor-section-full_width:not(.elementor-section-stretched):not(.elementor-inner-section) > .elementor-container.elementor-column-gap-wider { width: $content60; } CSS; } if ( isset( $css['colors'] ) && isset( $args['colors'] ) ) { $colors = $args['colors']; $css['colors'] .= <<<CSS /* Shape above and below rows */ .elementor-shape .elementor-shape-fill { fill: {$colors['bg_color']}; } /* Divider */ .elementor-divider-separator { border-color: {$colors['bd_color']}; } /* Video */ .elementor-custom-embed-play i { background-color: {$colors['text_link']}; } .elementor-custom-embed-play:hover i { background-color: {$colors['text_dark']}; } .elementor-custom-embed-play:hover i:before { color: {$colors['bg_color']}; } /* Progress */ .elementor-progress-percentage { color: initial; } CSS; } return $css; } }