| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | if ( ! defined( 'ABSPATH' ) ) { |
| 3 | 3 | die( 'You are not allowed to call this page directly.' ); |
| 4 | 4 | } |
| 5 | 5 | ?> |
| 6 | -<p class="frm-mt-0"> | |
| 6 | +<p class="frm_no_top_margin"> | |
| 7 | 7 | <label for="frm_submit_style"> |
| 8 | 8 | <input type="checkbox" name="<?php echo esc_attr( $frm_style->get_field_name( 'submit_style' ) ); ?>" id="frm_submit_style" <?php checked( $style->post_content['submit_style'], 1 ); ?> value="1" /> |
| 9 | 9 | <?php esc_html_e( 'Disable submit button styling', 'formidable' ); ?> |
| 10 | 10 | <span class="frm_help frm_icon_font frm_tooltip_icon" title="<?php esc_attr_e( 'Note: If disabled, you may not see the change take effect until you make 2 more styling changes or click "Update Options".', 'formidable' ); ?>"></span> |
| @@ -41,19 +41,19 @@ | ||
| 41 | 41 | </p> |
| 42 | 42 | |
| 43 | 43 | <p class="frm4 frm_first frm_form_field"> |
| 44 | 44 | <label for="frm_submit_bg_color"><?php esc_html_e( 'BG color', 'formidable' ); ?></label> |
| 45 | - <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'submit_bg_color' ) ); ?>" id="frm_submit_bg_color" class="hex" value="<?php echo esc_attr( $style->post_content['submit_bg_color'] ); ?>" <?php do_action( 'frm_style_settings_input_atts', 'submit_bg_color' ); ?> /> | |
| 45 | + <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'submit_bg_color' ) ); ?>" id="frm_submit_bg_color" class="hex" value="<?php echo esc_attr( $style->post_content['submit_bg_color'] ); ?>" /> | |
| 46 | 46 | </p> |
| 47 | 47 | |
| 48 | 48 | <p class="frm4 frm_form_field"> |
| 49 | 49 | <label for="frm_submit_text_color"><?php esc_html_e( 'Text', 'formidable' ); ?></label> |
| 50 | - <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'submit_text_color' ) ); ?>" id="frm_submit_text_color" class="hex" value="<?php echo esc_attr( $style->post_content['submit_text_color'] ); ?>" <?php do_action( 'frm_style_settings_input_atts', 'submit_text_color' ); ?> /> | |
| 50 | + <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'submit_text_color' ) ); ?>" id="frm_submit_text_color" class="hex" value="<?php echo esc_attr( $style->post_content['submit_text_color'] ); ?>" /> | |
| 51 | 51 | </p> |
| 52 | 52 | |
| 53 | 53 | <p class="frm4 frm_first frm_form_field"> |
| 54 | 54 | <label for="frm_submit_border_color"><?php esc_html_e( 'Border', 'formidable' ); ?></label> |
| 55 | - <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'submit_border_color' ) ); ?>" id="frm_submit_border_color" class="hex" value="<?php echo esc_attr( $style->post_content['submit_border_color'] ); ?>" <?php do_action( 'frm_style_settings_input_atts', 'submit_border_color' ); ?> /> | |
| 55 | + <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'submit_border_color' ) ); ?>" id="frm_submit_border_color" class="hex" value="<?php echo esc_attr( $style->post_content['submit_border_color'] ); ?>" /> | |
| 56 | 56 | </p> |
| 57 | 57 | |
| 58 | 58 | <p class="frm4 frm_form_field"> |
| 59 | 59 | <label for="frm_submit_border_width"><?php esc_html_e( 'Thickness', 'formidable' ); ?></label> |
| @@ -61,9 +61,9 @@ | ||
| 61 | 61 | </p> |
| 62 | 62 | |
| 63 | 63 | <p class="frm4 frm_end frm_form_field"> |
| 64 | 64 | <label for="frm_submit_shadow_color"><?php esc_html_e( 'Shadow', 'formidable' ); ?></label> |
| 65 | - <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'submit_shadow_color' ) ); ?>" id="frm_submit_shadow_color" class="hex" value="<?php echo esc_attr( $style->post_content['submit_shadow_color'] ); ?>" <?php do_action( 'frm_style_settings_input_atts', 'submit_shadow_color' ); ?> /> | |
| 65 | + <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'submit_shadow_color' ) ); ?>" id="frm_submit_shadow_color" class="hex" value="<?php echo esc_attr( $style->post_content['submit_shadow_color'] ); ?>" /> | |
| 66 | 66 | </p> |
| 67 | 67 | |
| 68 | 68 | <p class="frm_clear"> |
| 69 | 69 | <label for="frm_submit_bg_img"><?php esc_html_e( 'BG Image', 'formidable' ); ?></label> |
| @@ -84,19 +84,19 @@ | ||
| 84 | 84 | <span><?php esc_html_e( 'On Hover', 'formidable' ); ?></span> |
| 85 | 85 | </h4> |
| 86 | 86 | <p class="frm4 frm_first frm_form_field"> |
| 87 | 87 | <label for="frm_submit_hover_bg_color"><?php esc_html_e( 'BG color', 'formidable' ); ?></label> |
| 88 | - <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'submit_hover_bg_color' ) ); ?>" id="frm_submit_hover_bg_color" class="hex" value="<?php echo esc_attr( $style->post_content['submit_hover_bg_color'] ); ?>" <?php do_action( 'frm_style_settings_input_atts', 'submit_hover_bg_color' ); ?> /> | |
| 88 | + <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'submit_hover_bg_color' ) ); ?>" id="frm_submit_hover_bg_color" class="hex" value="<?php echo esc_attr( $style->post_content['submit_hover_bg_color'] ); ?>" /> | |
| 89 | 89 | </p> |
| 90 | 90 | |
| 91 | 91 | <p class="frm4 frm_form_field"> |
| 92 | 92 | <label for="frm_submit_hover_color"><?php esc_html_e( 'Text', 'formidable' ); ?></label> |
| 93 | - <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'submit_hover_color' ) ); ?>" id="frm_submit_hover_color" class="hex" value="<?php echo esc_attr( $style->post_content['submit_hover_color'] ); ?>" <?php do_action( 'frm_style_settings_input_atts', 'submit_hover_color' ); ?> /> | |
| 93 | + <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'submit_hover_color' ) ); ?>" id="frm_submit_hover_color" class="hex" value="<?php echo esc_attr( $style->post_content['submit_hover_color'] ); ?>" /> | |
| 94 | 94 | </p> |
| 95 | 95 | |
| 96 | 96 | <p class="frm4 frm_end frm_form_field"> |
| 97 | 97 | <label for="frm_submit_hover_border_color"><?php esc_html_e( 'Border', 'formidable' ); ?></label> |
| 98 | - <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'submit_hover_border_color' ) ); ?>" id="frm_submit_hover_border_color" class="hex" value="<?php echo esc_attr( $style->post_content['submit_hover_border_color'] ); ?>" <?php do_action( 'frm_style_settings_input_atts', 'submit_hover_border_color' ); ?> /> | |
| 98 | + <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'submit_hover_border_color' ) ); ?>" id="frm_submit_hover_border_color" class="hex" value="<?php echo esc_attr( $style->post_content['submit_hover_border_color'] ); ?>" /> | |
| 99 | 99 | </p> |
| 100 | 100 | |
| 101 | 101 | <h4 class="frm_clear"> |
| 102 | 102 | <span><?php esc_html_e( 'On Click', 'formidable' ); ?></span> |
| @@ -102,16 +102,16 @@ | ||
| 102 | 102 | <span><?php esc_html_e( 'On Click', 'formidable' ); ?></span> |
| 103 | 103 | </h4> |
| 104 | 104 | <p class="frm4 frm_first frm_form_field"> |
| 105 | 105 | <label for="frm_submit_active_bg_color"><?php esc_html_e( 'BG color', 'formidable' ); ?></label> |
| 106 | - <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'submit_active_bg_color' ) ); ?>" id="frm_submit_active_bg_color" class="hex" value="<?php echo esc_attr( $style->post_content['submit_active_bg_color'] ); ?>" <?php do_action( 'frm_style_settings_input_atts', 'submit_active_bg_color' ); ?> /> | |
| 106 | + <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'submit_active_bg_color' ) ); ?>" id="frm_submit_active_bg_color" class="hex" value="<?php echo esc_attr( $style->post_content['submit_active_bg_color'] ); ?>" /> | |
| 107 | 107 | </p> |
| 108 | 108 | |
| 109 | 109 | <p class="frm4 frm_form_field"> |
| 110 | 110 | <label for="frm_submit_active_color"><?php esc_html_e( 'Text', 'formidable' ); ?></label> |
| 111 | - <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'submit_active_color' ) ); ?>" id="frm_submit_active_color" class="hex" value="<?php echo esc_attr( $style->post_content['submit_active_color'] ); ?>" <?php do_action( 'frm_style_settings_input_atts', 'submit_active_color' ); ?> /> | |
| 111 | + <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'submit_active_color' ) ); ?>" id="frm_submit_active_color" class="hex" value="<?php echo esc_attr( $style->post_content['submit_active_color'] ); ?>" /> | |
| 112 | 112 | </p> |
| 113 | 113 | |
| 114 | 114 | <p class="frm4 frm_end frm_form_field"> |
| 115 | 115 | <label for="frm_submit_active_border_color"><?php esc_html_e( 'Border', 'formidable' ); ?></label> |
| 116 | - <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'submit_active_border_color' ) ); ?>" id="frm_submit_active_border_color" class="hex" value="<?php echo esc_attr( $style->post_content['submit_active_border_color'] ); ?>" <?php do_action( 'frm_style_settings_input_atts', 'submit_active_border_color' ); ?> /> | |
| 116 | + <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'submit_active_border_color' ) ); ?>" id="frm_submit_active_border_color" class="hex" value="<?php echo esc_attr( $style->post_content['submit_active_border_color'] ); ?>" /> | |
| 117 | 117 | </p> |