| @@ -2,25 +2,81 @@ | ||
| 2 | 2 | if ( ! defined( 'ABSPATH' ) ) { |
| 3 | 3 | die( 'You are not allowed to call this page directly.' ); |
| 4 | 4 | } |
| 5 | 5 | ?> |
| 6 | -<p class="frm6 frm_first frm_form_field"> | |
| 7 | - <label><?php esc_html_e( 'Size', 'formidable' ); ?></label> | |
| 8 | - <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'form_desc_size' ) ); ?>" id="frm_form_desc_size" value="<?php echo esc_attr( $style->post_content['form_desc_size'] ); ?>" /> | |
| 9 | -</p> | |
| 10 | 6 | |
| 11 | -<p class="frm6 frm_end frm_form_field"> | |
| 12 | - <label><?php esc_html_e( 'Color', 'formidable' ); ?></label> | |
| 13 | - <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'form_desc_color' ) ); ?>" id="frm_form_desc_color" class="hex" value="<?php echo esc_attr( $style->post_content['form_desc_color'] ); ?>" <?php do_action( 'frm_style_settings_input_atts', 'form_desc_color' ); ?> /> | |
| 14 | -</p> | |
| 15 | -<p class="frm6 frm_first frm_form_field"> | |
| 16 | - <label><?php esc_html_e( 'Margin Top', 'formidable' ); ?></label> | |
| 17 | - <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'form_desc_margin_top' ) ); ?>" id="frm_form_desc_margin_top" value="<?php echo esc_attr( $style->post_content['form_desc_margin_top'] ); ?>" size="4" /> | |
| 18 | -</p> | |
| 19 | -<p class="frm6 frm_form_field"> | |
| 20 | - <label><?php esc_html_e( 'Margin Bottom', 'formidable' ); ?></label> | |
| 21 | - <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'form_desc_margin_bottom' ) ); ?>" id="frm_form_desc_margin_bottom" value="<?php echo esc_attr( $style->post_content['form_desc_margin_bottom'] ); ?>" size="4" /> | |
| 22 | -</p> | |
| 23 | -<p class="frm6 frm_first frm_form_field"> | |
| 24 | - <label><?php esc_html_e( 'Padding', 'formidable' ); ?></label> | |
| 25 | - <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'form_desc_padding' ) ); ?>" id="frm_form_desc_padding" value="<?php echo esc_attr( $style->post_content['form_desc_padding'] ); ?>" /> | |
| 26 | -</p> | |
| 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> | |