array(
'selector' => '',
'property' => 'padding-top, padding-bottom',
),
'margin' => array(
'selector' => '',
'property' => 'margin-bottom',
),
'height' => array(
'selector' => '',
'property' => 'min-height',
),
'bg_color' => array(
'selector' => '',
'property' => 'background-color',
),
'bg_overlay' => array(
'selector' => '.section-bg-overlay',
'property' => 'background-color',
),
'bg' => array(
'selector' => '.section-bg.bg-loaded',
'property' => 'background-image',
'size' => $bg_size,
),
'bg_pos' => array(
'selector' => '.section-bg',
'property' => 'background-position',
),
);
if ( $divider_top ) {
$args = array_merge( $args, array(
'divider_top_height' => array(
'selector' => '.ux-shape-divider--top svg',
'property' => 'height',
),
'divider_top_width' => array(
'selector' => '.ux-shape-divider--top svg',
'property' => '--divider-top-width',
'unit' => '%',
),
'divider_top_fill' => array(
'selector' => '.ux-shape-divider--top .ux-shape-fill',
'property' => 'fill',
),
) );
}
if ( $divider ) {
$args = array_merge( $args, array(
'divider_height' => array(
'selector' => '.ux-shape-divider--bottom svg',
'property' => 'height',
),
'divider_width' => array(
'selector' => '.ux-shape-divider--bottom svg',
'property' => '--divider-width',
'unit' => '%',
),
'divider_fill' => array(
'selector' => '.ux-shape-divider--bottom .ux-shape-fill',
'property' => 'fill',
),
) );
}
echo ux_builder_element_style_tag( $_id, $args, $atts );
?>