| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
die( 'You are not allowed to call this page directly.' ); |
| 4 |
} |
| 5 |
?> |
| 6 |
|
| 7 |
<div class="frm5 frm_form_field"> |
| 8 |
<label |
| 9 |
for="frm_form_desc_size" |
| 10 |
class="frm-style-item-heading"><?php esc_html_e( 'Font Size', 'formidable' ); ?> |
| 11 |
</label> |
| 12 |
</div> |
| 13 |
<div class="frm7 frm_form_field"> |
| 14 |
<?php |
| 15 |
new FrmSliderStyleComponent( |
| 16 |
$frm_style->get_field_name( 'form_desc_size' ), |
| 17 |
$style->post_content['form_desc_size'], |
| 18 |
array( |
| 19 |
'id' => 'frm_form_desc_size', |
| 20 |
'max_value' => 100, |
| 21 |
) |
| 22 |
); |
| 23 |
?> |
| 24 |
</div> |
| 25 |
|
| 26 |
<div class="frm5 frm_form_field"><label class="frm-style-item-heading"><?php esc_html_e( 'Color', 'formidable' ); ?></label></div> |
| 27 |
<div class="frm7 frm_form_field"> |
| 28 |
<?php |
| 29 |
new FrmColorpickerStyleComponent( |
| 30 |
$frm_style->get_field_name( 'form_desc_color' ), |
| 31 |
$style->post_content['form_desc_color'], |
| 32 |
array( |
| 33 |
'id' => 'frm_form_desc_color', |
| 34 |
'action_slug' => 'form_desc_color', |
| 35 |
) |
| 36 |
); |
| 37 |
?> |
| 38 |
</div> |
| 39 |
|
| 40 |
<div class="frm5 frm_form_field"><label class="frm-style-item-heading"><?php esc_html_e( 'Margin', 'formidable' ); ?></label></div> |
| 41 |
<div class="frm7 frm_form_field"> |
| 42 |
<?php |
| 43 |
new FrmSliderStyleComponent( |
| 44 |
$frm_style->get_field_name( 'form_desc_margin_top' ), |
| 45 |
$style->post_content['form_desc_margin_top'], |
| 46 |
array( |
| 47 |
'id' => 'frm_form_desc_margin_top', |
| 48 |
'type' => 'vertical-margin', |
| 49 |
'max_value' => 100, |
| 50 |
'independent_fields' => array( |
| 51 |
array( |
| 52 |
'name' => $frm_style->get_field_name( 'form_desc_margin_top' ), |
| 53 |
'value' => $style->post_content['form_desc_margin_top'], |
| 54 |
'id' => 'frm_form_desc_margin_top', |
| 55 |
'type' => 'top', |
| 56 |
), |
| 57 |
array( |
| 58 |
'name' => $frm_style->get_field_name( 'form_desc_margin_bottom' ), |
| 59 |
'value' => $style->post_content['form_desc_margin_bottom'], |
| 60 |
'id' => 'frm_form_desc_margin_bottom', |
| 61 |
'type' => 'bottom', |
| 62 |
), |
| 63 |
), |
| 64 |
) |
| 65 |
); |
| 66 |
?> |
| 67 |
</div> |
| 68 |
|
| 69 |
<div class="frm5 frm_form_field"><label class="frm-style-item-heading"><?php esc_html_e( 'Padding', 'formidable' ); ?></label></div> |
| 70 |
<div class="frm7 frm_form_field"> |
| 71 |
<?php |
| 72 |
new FrmSliderStyleComponent( |
| 73 |
$frm_style->get_field_name( 'form_desc_padding' ), |
| 74 |
$style->post_content['form_desc_padding'], |
| 75 |
array( |
| 76 |
'id' => 'frm_form_desc_padding', |
| 77 |
'type' => 'vertical-margin', |
| 78 |
'max_value' => 100, |
| 79 |
) |
| 80 |
); |
| 81 |
?> |
| 82 |
</div> |