PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.28
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.28
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 / _field-sizes.php

_field-sizes.php in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More 6.28, at classes/views/styles/_field-sizes.php

148 lines 3.5 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 <div class="frm5 frm_form_field">
7 <label
8 for="frm_field_font_size"
9 class="frm-style-item-heading"><?php esc_html_e( 'Font Size', 'formidable' ); ?></label>
10 </div>
11 <div class="frm7 frm_form_field">
12 <?php
13 new FrmSliderStyleComponent(
14 $frm_style->get_field_name( 'field_font_size' ),
15 $style->post_content['field_font_size'],
16 array(
17 'id' => 'frm_field_font_size',
18 'max_value' => 100,
19 )
20 );
21 ?>
22 </div>
23
24 <div class="frm5 frm_form_field">
25 <label
26 for="frm_field_weight"
27 class="frm-style-item-heading"><?php esc_html_e( 'Weight', 'formidable' ); ?></label>
28 </div>
29 <div class="frm7 frm_form_field">
30 <?php
31 new FrmDropdownStyleComponent(
32 $frm_style->get_field_name( 'field_weight' ),
33 $style->post_content['field_weight'],
34 array(
35 'id' => 'frm_field_weight',
36 'options' => FrmStyle::get_bold_options(),
37 )
38 );
39 ?>
40 </div>
41
42 <div class="frm5 frm_form_field">
43 <label
44 for="frm_field_height"
45 class="frm-style-item-heading"><?php esc_html_e( 'Height', 'formidable' ); ?></label>
46 </div>
47 <div class="frm7 frm_form_field">
48 <?php
49 new FrmSliderStyleComponent(
50 $frm_style->get_field_name( 'field_height' ),
51 $style->post_content['field_height'],
52 array(
53 'id' => 'frm_field_height',
54 'max_value' => 100,
55 )
56 );
57 ?>
58 </div>
59 <div class="frm5 frm_form_field">
60 <label
61 for="frm_field_width"
62 class="frm-style-item-heading"><?php esc_html_e( 'Width', 'formidable' ); ?></label>
63 </div>
64 <div class="frm7 frm_form_field">
65 <?php
66 new FrmSliderStyleComponent(
67 $frm_style->get_field_name( 'field_width' ),
68 $style->post_content['field_width'],
69 array(
70 'id' => 'frm_field_width',
71 'max_value' => 1400,
72 )
73 );
74 ?>
75 </div>
76 <div class="frm5 frm_form_field">
77 <label
78 for="frm_field_pad"
79 class="frm-style-item-heading"><?php esc_html_e( 'Padding', 'formidable' ); ?></label>
80 </div>
81 <div class="frm7 frm_form_field">
82 <?php
83 new FrmSliderStyleComponent(
84 $frm_style->get_field_name( 'field_pad' ),
85 $style->post_content['field_pad'],
86 array(
87 'id' => 'frm_field_pad',
88 'type' => 'vertical-margin',
89 'max_value' => 100,
90 )
91 );
92 ?>
93 </div>
94 <div class="frm5 frm_form_field">
95 <label
96 for="frm_field_margin"
97 class="frm-style-item-heading"><?php esc_html_e( 'Margin', 'formidable' ); ?></label>
98 </div>
99 <div class="frm7 frm_form_field">
100 <?php
101 new FrmSliderStyleComponent(
102 $frm_style->get_field_name( 'field_margin' ),
103 $style->post_content['field_margin'],
104 array(
105 'id' => 'frm_field_margin',
106 'type' => 'vertical-margin',
107 'max_value' => 100,
108 )
109 );
110 ?>
111 </div>
112 <div class="frm5 frm_form_field">
113 <label
114 for="frm_border_radius"
115 class="frm-style-item-heading"><?php esc_html_e( 'Corner Radius', 'formidable' ); ?></label>
116 </div>
117 <div class="frm7 frm_form_field">
118 <?php
119 new FrmSliderStyleComponent(
120 $frm_style->get_field_name( 'border_radius' ),
121 $style->post_content['border_radius'],
122 array(
123 'id' => 'frm_border_radius',
124 'max_value' => 50,
125 )
126 );
127 ?>
128 </div>
129
130 <div class="frm5 frm_form_field">
131 <label
132 for="frm_auto_dropdowns_width"
133 class="frm-style-item-heading"><?php esc_html_e( 'Auto Drop-downs Width', 'formidable' ); ?></label>
134 </div>
135 <div class="frm7 frm_form_field frm-style-component">
136 <?php
137 FrmHtmlHelper::toggle(
138 'frm_auto_dropdowns_width',
139 $frm_style->get_field_name( 'auto_width' ),
140 array(
141 'div_class' => 'with_frm_style frm_toggle',
142 'checked' => ! empty( $style->post_content['auto_width'] ),
143 'echo' => true,
144 )
145 );
146 ?>
147 </div>
148