.
post_content['submit_bg_color'],
array(
'id' => 'frm_style_qsettings_submit_bg_color',
'frm_style' => $frm_style,
'style' => $style,
'action_slug' => 'submit_bg_color',
'will_change' => array(
$frm_style->get_field_name( 'submit_bg_color' ),
$frm_style->get_field_name( 'slider_color' ),
$frm_style->get_field_name( 'border_color_active' ),
$frm_style->get_field_name( 'submit_border_color' ),
$frm_style->get_field_name( 'progress_active_bg_color' ),
$frm_style->get_field_name( 'date_band_color' ),
$frm_style->get_field_name( 'date_head_bg_color' ),
$frm_style->get_field_name( 'toggle_on_color' ),
$frm_style->get_field_name( 'submit_active_border_color' ),
$frm_style->get_field_name( 'submit_active_bg_color' ),
$frm_style->get_field_name( 'submit_hover_bg_color' ),
$frm_style->get_field_name( 'submit_hover_border_color' ),
$frm_style->get_field_name( 'toggle_on_color' ),
),
)
);
?>
post_content['text_color'],
array(
'id' => 'frm_style_qsettings_text_color',
'frm_style' => $frm_style,
'style' => $style,
'action_slug' => 'text_color',
'will_change' => array(
$frm_style->get_field_name( 'text_color' ),
$frm_style->get_field_name( 'section_color' ),
$frm_style->get_field_name( 'check_label_color' ),
),
)
);
?>
post_content['border_color'],
array(
'id' => 'frm_style_qsettings_border_color',
'frm_style' => $frm_style,
'style' => $style,
'action_slug' => 'border_color',
'will_change' => array(
$frm_style->get_field_name( 'border_color' ),
),
)
);
?>
post_content['submit_text_color'],
array(
'id' => 'frm_style_qsettings_submit_text_color',
'frm_style' => $frm_style,
'style' => $style,
'action_slug' => 'submit_text_color',
'will_change' => array(
$frm_style->get_field_name( 'submit_text_color' ),
),
)
);
?>
post_content['field_margin'],
array(
'id' => 'frm_field_margin',
'max_value' => 100,
'will_change' => array(
$frm_style->get_field_name( 'field_margin' ),
),
)
);
?>
post_content['field_pad'],
array(
'id' => 'frm_field_pad',
'max_value' => 100,
'will_change' => array(
$frm_style->get_field_name( 'field_pad' ),
),
)
);
?>
get_field_name( 'base_font_size' ),
$style->post_content['base_font_size'],
array(
'id' => 'frm_base_font_size',
'max_value' => 100,
'not_show_in' => 'advanced-settings',
'classname' => 'frm-base-font-size',
)
);
?>
get_field_name( 'field_shape_type' ),
$style->post_content['field_shape_type'],
array(
'id' => 'frm_field_shape',
)
);
?>
post_content['border_radius'],
array(
'id' => 'frm_border_radius',
'max_value' => 50,
'will_change' => array(
$frm_style->get_field_name( 'border_radius' ),
),
)
);
?>
get_field_name( 'enable_style_custom_css' ),
array(
'div_class' => 'with_frm_style frm_toggle',
'checked' => ! empty( $style->post_content['enable_style_custom_css'] ),
'echo' => true,
'aria-label-attr' => __( 'Custom CSS', 'formidable' ),
)
);
?>
post_content['single_style_custom_css'] ?? '';
if ( $custom_css ) {
$custom_css = $css_scope_helper->unnest( $custom_css, 'frm_style_' . $style->post_name );
}
FrmStylesController::custom_css(
'',
array(
'heading' => '',
'id' => 'frm_single_style_custom_css',
'textarea_params' => array(
'name' => $frm_style->get_field_name( 'single_style_custom_css' ),
'id' => 'frm_single_style_custom_css',
),
'custom_css' => $custom_css,
'placeholder' => __( '/* Enter your custom CSS here */', 'formidable' ),
'show_errors' => false,
)
);
?>