| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
die( 'You are not allowed to call this page directly.' ); |
| 4 |
} |
| 5 |
?> |
| 6 |
<div class="frm5 frm_form_field"> |
| 7 |
<label class="frm-style-item-heading"><?php esc_html_e( 'Color', 'formidable' ); ?></label> |
| 8 |
</div> |
| 9 |
<div class="frm7 frm_form_field"> |
| 10 |
<?php |
| 11 |
new FrmColorpickerStyleComponent( |
| 12 |
$frm_style->get_field_name( 'description_color' ), |
| 13 |
$style->post_content['description_color'], |
| 14 |
array( |
| 15 |
'id' => 'frm_description_color', |
| 16 |
'action_slug' => 'description_color', |
| 17 |
) |
| 18 |
); |
| 19 |
?> |
| 20 |
</div> |
| 21 |
|
| 22 |
<div class="frm5 frm_form_field"> |
| 23 |
<label class="frm-style-item-heading"><?php esc_html_e( 'Font Size', 'formidable' ); ?></label> |
| 24 |
</div> |
| 25 |
<div class="frm7 frm_form_field"> |
| 26 |
<?php |
| 27 |
new FrmSliderStyleComponent( |
| 28 |
$frm_style->get_field_name( 'description_font_size' ), |
| 29 |
$style->post_content['description_font_size'], |
| 30 |
array( |
| 31 |
'id' => 'frm_description_align', |
| 32 |
'max_value' => 300, |
| 33 |
) |
| 34 |
); |
| 35 |
?> |
| 36 |
</div> |
| 37 |
|
| 38 |
<div class="frm5 frm_form_field"> |
| 39 |
<label class="frm-style-item-heading"><?php esc_html_e( 'Weight', 'formidable' ); ?></label> |
| 40 |
</div> |
| 41 |
<div class="frm7 frm_form_field"> |
| 42 |
<?php |
| 43 |
new FrmDropdownStyleComponent( |
| 44 |
$frm_style->get_field_name( 'description_weight' ), |
| 45 |
$style->post_content['description_weight'], |
| 46 |
array( |
| 47 |
'id' => 'frm_description_weight', |
| 48 |
'options' => FrmStyle::get_bold_options(), |
| 49 |
) |
| 50 |
); |
| 51 |
?> |
| 52 |
</div> |
| 53 |
|
| 54 |
<div class="frm5 frm_form_field"> |
| 55 |
<label class="frm-style-item-heading"><?php esc_html_e( 'Style', 'formidable' ); ?></label> |
| 56 |
</div> |
| 57 |
<div class="frm7 frm_form_field"> |
| 58 |
<?php |
| 59 |
new FrmDropdownStyleComponent( |
| 60 |
$frm_style->get_field_name( 'description_style' ), |
| 61 |
$style->post_content['description_style'], |
| 62 |
array( |
| 63 |
'id' => 'frm_description_weight', |
| 64 |
'options' => array( |
| 65 |
'normal' => esc_html__( 'normal', 'formidable' ), |
| 66 |
'italic' => esc_html__( 'italic', 'formidable' ), |
| 67 |
), |
| 68 |
) |
| 69 |
); |
| 70 |
?> |
| 71 |
</div> |
| 72 |
|
| 73 |
<div class="frm5 frm_form_field"> |
| 74 |
<label class="frm-style-item-heading"><?php esc_html_e( 'Align', 'formidable' ); ?></label> |
| 75 |
</div> |
| 76 |
<div class="frm7 frm_form_field frm-sm-z-index"> |
| 77 |
<?php |
| 78 |
new FrmAlignStyleComponent( |
| 79 |
$frm_style->get_field_name( 'description_align' ), |
| 80 |
$style->post_content['description_align'], |
| 81 |
array( |
| 82 |
'options' => array( 'left', 'right' ), |
| 83 |
) |
| 84 |
); |
| 85 |
?> |
| 86 |
</div> |
| 87 |
|
| 88 |
<div class="frm5 frm_form_field"> |
| 89 |
<label class="frm-style-item-heading"><?php esc_html_e( 'Margin', 'formidable' ); ?></label> |
| 90 |
</div> |
| 91 |
<div class="frm7 frm_form_field frm-md-z-index"> |
| 92 |
<?php |
| 93 |
new FrmSliderStyleComponent( |
| 94 |
$frm_style->get_field_name( 'description_margin' ), |
| 95 |
$style->post_content['description_margin'], |
| 96 |
array( |
| 97 |
'id' => 'frm_description_margin', |
| 98 |
'type' => 'vertical-margin', |
| 99 |
'max_value' => 100, |
| 100 |
) |
| 101 |
); |
| 102 |
?> |
| 103 |
</div> |