PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.26.1
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.26.1
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
formidable / classes / views / styles / _general.php

_general.php in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More 6.26.1, at classes/views/styles/_general.php

192 lines 5.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 die( 'You are not allowed to call this page directly.' );
4 }
5 ?>
6 <p class="frm5 frm_form_field">
7 <label
8 for="frm_font"
9 class="frm-style-item-heading"><?php esc_html_e( 'Font Family', 'formidable' ); ?></label>
10 </p>
11 <p class="frm7 frm_form_field">
12 <input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'font' ) ); ?>" id="frm_font" value="<?php echo esc_attr( $style->post_content['font'] ); ?>" placeholder="<?php esc_attr_e( 'Inherit from theme', 'formidable' ); ?>" class="frm_full_width" />
13 </p>
14
15 <?php
16 new FrmBackgroundImageStyleComponent(
17 $frm_style->get_field_name( 'fieldset_bg_color' ),
18 $style->post_content['fieldset_bg_color'],
19 array(
20 'title' => __( 'Background', 'formidable' ),
21 'id' => 'frm_fieldset_bg_color',
22 'frm_style' => $frm_style,
23 'style' => $style,
24 'action_slug' => 'fieldset_bg_color',
25 'image_id_input_name' => 'bg_image_id',
26 'include_additional_settings' => true,
27 )
28 );
29 ?>
30
31 <div class="frm5 frm_form_field">
32 <label
33 for="frm_form_align"
34 class="frm-style-item-heading"><?php esc_html_e( 'Alignment', 'formidable' ); ?></label>
35 </div>
36 <div class="frm7 frm_form_field">
37 <?php
38 new FrmAlignStyleComponent(
39 $frm_style->get_field_name( 'form_align' ),
40 $style->post_content['form_align'],
41 array(
42 'id' => 'frm_form_align',
43 )
44 );
45 ?>
46 </div>
47
48 <div class="frm5 frm_form_field">
49 <label
50 for="frm_fieldset_color"
51 class="frm-style-item-heading"><?php esc_html_e( 'Border Color', 'formidable' ); ?></label>
52 </div>
53 <div class="frm7 frm_form_field">
54 <?php
55 new FrmColorpickerStyleComponent(
56 $frm_style->get_field_name( 'fieldset_color' ),
57 $style->post_content['fieldset_color'],
58 array(
59 'id' => 'frm_fieldset_color',
60 'action_slug' => 'fieldset_color',
61 )
62 );
63 ?>
64 </div>
65
66 <div class="frm5 frm_form_field">
67 <label
68 for="frm_fieldset"
69 class="frm-style-item-heading"><?php esc_html_e( 'Border Width', 'formidable' ); ?></label>
70 </div>
71 <div class="frm7 frm_form_field">
72 <?php
73 new FrmSliderStyleComponent(
74 $frm_style->get_field_name( 'fieldset' ),
75 $style->post_content['fieldset'],
76 array(
77 'id' => 'frm_fieldset',
78 'max_value' => 25,
79 )
80 );
81 ?>
82 </div>
83
84 <div class="frm5 frm_form_field">
85 <label
86 for="frm_fieldset_padding"
87 class="frm-style-item-heading"><?php esc_html_e( 'Padding', 'formidable' ); ?></label>
88 </div>
89 <div class="frm7 frm_form_field">
90 <?php
91 new FrmSliderStyleComponent(
92 $frm_style->get_field_name( 'fieldset_padding' ),
93 $style->post_content['fieldset_padding'],
94 array(
95 'id' => 'frm_fieldset_padding',
96 'type' => 'vertical-margin',
97 'max_value' => 100,
98 )
99 );
100 ?>
101 </div>
102
103 <div class="frm5 frm_form_field">
104 <label
105 for="frm_form_width"
106 class="frm-style-item-heading"><?php esc_html_e( 'Form Width', 'formidable' ); ?></label>
107 </div>
108 <div class="frm7 frm_form_field">
109 <?php
110 new FrmSliderStyleComponent(
111 $frm_style->get_field_name( 'form_width' ),
112 $style->post_content['form_width'],
113 array(
114 'id' => 'frm_form_width',
115 'max_value' => 2000,
116 )
117 );
118 ?>
119 </div>
120
121 <div class="frm5 frm_form_field">
122 <label
123 for="frm_direction"
124 class="frm-style-item-heading"><?php esc_html_e( 'Direction', 'formidable' ); ?></label>
125 </div>
126 <div class="frm7 frm_form_field">
127 <?php
128 new FrmDirectionStyleComponent(
129 $frm_style->get_field_name( 'direction' ),
130 $style->post_content['direction'],
131 array(
132 'id' => 'frm_direction',
133 )
134 );
135 ?>
136 </div>
137
138 <div class="frm5 frm_form_field">
139 <label
140 for="frm_important_style"
141 class="frm-style-item-heading">
142 <?php esc_html_e( 'Override Theme', 'formidable' ); ?>
143 <?php FrmAppHelper::tooltip_icon( __( 'This will add !important to many of the lines in the Formidable styling to make sure it will be used', 'formidable' ) ); ?>
144 </label>
145 </div>
146 <div class="frm7 frm_form_field frm-style-component">
147 <?php
148 FrmHtmlHelper::toggle(
149 'frm_important_style',
150 $frm_style->get_field_name( 'important_style' ),
151 array(
152 'div_class' => 'with_frm_style frm_toggle',
153 'checked' => ! empty( $style->post_content['important_style'] ),
154 'echo' => true,
155 'aria-label-attr' => __( 'Override Theme', 'formidable' ),
156 )
157 );
158 ?>
159 </div>
160
161 <div class="frm5 frm_form_field">
162 <label
163 for="frm_center_form"
164 class="frm-style-item-heading"><?php esc_html_e( 'Center Form', 'formidable' ); ?></label>
165 </div>
166 <div class="frm7 frm_form_field frm-style-component">
167 <?php
168 FrmHtmlHelper::toggle(
169 'frm_center_form',
170 $frm_style->get_field_name( 'center_form' ),
171 array(
172 'div_class' => 'with_frm_style frm_toggle',
173 'checked' => ! empty( $style->post_content['center_form'] ),
174 'echo' => true,
175 'aria-label-attr' => __( 'Center Form', 'formidable' ),
176 )
177 );
178 ?>
179 </div>
180 <div class="frm5 frm_form_field">
181 <label
182 for="frm_style_class"
183 class="frm-style-item-heading"><?php esc_html_e( 'Style Class', 'formidable' ); ?></label>
184 </div>
185 <div class="frm7 frm_form_field frm-style-component">
186 <label class="frm-copy-text">.frm_style_<?php
187 echo esc_html( $style->post_name );
188 FrmAppHelper::icon_by_class( 'frm_icon_font frm-copy-icon' );
189 ?>
190 </label>
191 </div>
192