PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.16
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.16
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
← All changes | css/_single_theme.css.php +27 -9 6.256.16 View file →
@@ -10,8 +10,10 @@
10 10 FrmStylesPreviewHelper::get_additional_preview_style( $settings, $is_loaded_via_ajax );
11 11
12 12 $important = empty( $important_style ) ? '' : ' !important';
13 13
14 +$minus_icons = FrmStylesHelper::minus_icons();
15 +$arrow_icons = FrmStylesHelper::arrow_icons();
14 16 $submit_bg_img = FrmStylesHelper::get_submit_image_bg_url( $settings );
15 17 $use_chosen_js = FrmStylesHelper::use_chosen_js();
16 18
17 19 ?>
@@ -58,9 +60,9 @@
58 60 margin-top: 6px;
59 61 <?php } ?>
60 62 padding:0;
61 63 <?php if ( ! empty( $font ) ) { ?>
62 - font-family:<?php FrmAppHelper::kses_echo( $font . $important ); ?>;
64 + font-family:<?php echo FrmAppHelper::kses( $font . $important ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>;
63 65 <?php } ?>
64 66 <?php if ( ! empty( $description_font_size ) ) { ?>
65 67 font-size:<?php echo esc_html( $description_font_size . $important ); ?>;
66 68 <?php } ?>
@@ -81,8 +83,10 @@
81 83
82 84 /* Left and right labels */
83 85 <?php
84 86
87 +$frm_settings = FrmAppHelper::get_settings();
88 +
85 89 if ( '' === $field_height || 'auto' === $field_height ) {
86 90 foreach ( array( 'left', 'right', 'inline' ) as $alignit ) {
87 91 ?>
88 92 .<?php echo esc_html( $style_class ); ?> .frm_<?php echo esc_html( $alignit ); ?>_container input[type=text],
@@ -132,9 +136,9 @@
132 136 <?php if ( ! empty( $check_weight ) ) { ?>
133 137 font-weight:<?php echo esc_html( $check_weight . $important ); ?>;
134 138 <?php } ?>
135 139 <?php if ( ! empty( $font ) ) { ?>
136 - font-family:<?php FrmAppHelper::kses_echo( $font . $important ); ?>;
140 + font-family:<?php echo FrmAppHelper::kses( $font . $important ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>;
137 141 <?php } ?>
138 142 <?php if ( ! empty( $check_font_size ) ) { ?>
139 143 font-size:<?php echo esc_html( $check_font_size . $important ); ?>;
140 144 <?php } ?>
@@ -148,8 +152,20 @@
148 152 .<?php echo esc_html( $style_class ); ?> input::placeholder,
149 153 .<?php echo esc_html( $style_class ); ?> textarea::placeholder{
150 154 color: <?php echo esc_html( $text_color_disabled . $important ); ?>;
151 155 }
156 +.<?php echo esc_html( $style_class ); ?> input::-webkit-input-placeholder,
157 +.<?php echo esc_html( $style_class ); ?> textarea::-webkit-input-placeholder{
158 + color: <?php echo esc_html( $text_color_disabled . $important ); ?>;
159 +}
160 +.<?php echo esc_html( $style_class ); ?> input::-moz-placeholder,
161 +.<?php echo esc_html( $style_class ); ?> textarea::-moz-placeholder{
162 + opacity: 1;
163 +}
164 +.<?php echo esc_html( $style_class ); ?> input:-ms-input-placeholder,
165 +<?php echo esc_html( $style_class ); ?> textarea:-ms-input-placeholder{
166 + color: <?php echo esc_html( $text_color_disabled . $important ); ?>;
167 +}
152 168
153 169 .<?php echo esc_html( $style_class ); ?> .frm_default,
154 170 .<?php echo esc_html( $style_class ); ?> input.frm_default,
155 171 .<?php echo esc_html( $style_class ); ?> textarea.frm_default,
@@ -163,9 +179,9 @@
163 179 }
164 180
165 181 .<?php echo esc_html( $style_class ); ?> .form-field input:not([type=file]):not([type=range]):not([readonly]):focus,
166 182 .<?php echo esc_html( $style_class ); ?> select:focus,
167 -.<?php echo esc_html( $style_class ); ?> .form-field textarea:focus,
183 +.<?php echo esc_html( $style_class ); ?> textarea:focus,
168 184 .<?php echo esc_html( $style_class ); ?> .frm_focus_field input[type=text],
169 185 .<?php echo esc_html( $style_class ); ?> .frm_focus_field input[type=password],
170 186 .<?php echo esc_html( $style_class ); ?> .frm_focus_field input[type=email],
171 187 .<?php echo esc_html( $style_class ); ?> .frm_focus_field input[type=number],
@@ -197,9 +213,9 @@
197 213 .frm_form_submit_style,
198 214 .<?php echo esc_html( $style_class ); ?> .frm-edit-page-btn {
199 215 width:<?php echo esc_html( ( $submit_width == '' ? 'auto' : $submit_width ) . $important ); ?>;
200 216 <?php if ( ! empty( $font ) ) { ?>
201 - font-family:<?php FrmAppHelper::kses_echo( $font ); ?>;
217 + font-family:<?php echo FrmAppHelper::kses( $font ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>;
202 218 <?php } ?>
203 219 font-size:<?php echo esc_html( $submit_font_size . $important ); ?>;
204 220 height:<?php echo esc_html( $submit_height . $important ); ?>;
205 221 line-height:normal<?php echo esc_html( $important ); ?>;
@@ -253,9 +269,9 @@
253 269 color: <?php echo esc_html( $submit_hover_color . $important ); ?>;
254 270 }
255 271
256 272 .<?php echo esc_html( $style_class ); ?>.frm_center_submit .frm_submit .frm_ajax_loading{
257 - margin-bottom:<?php echo esc_html( FrmStylesHelper::get_bottom_value( $submit_margin ) ); ?>;
273 + margin-bottom:<?php echo esc_html( $submit_margin ); ?>;
258 274 }
259 275
260 276 .<?php echo esc_html( $style_class ); ?> .frm-edit-page-btn:focus,
261 277 .<?php echo esc_html( $style_class ); ?> input[type=submit]:focus,
@@ -302,9 +318,9 @@
302 318 .<?php echo esc_html( $style_class ); ?>.frm_inline_top .frm_submit::before,
303 319 .<?php echo esc_html( $style_class ); ?> .frm_submit.frm_inline_submit::before {
304 320 content:"before";
305 321 <?php if ( ! empty( $font ) ) { ?>
306 - font-family:<?php FrmAppHelper::kses_echo( $font ); ?>;
322 + font-family:<?php echo FrmAppHelper::kses( $font ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>;
307 323 <?php } ?>
308 324 font-size:<?php echo esc_html( $font_size . $important ); ?>;
309 325 color:<?php echo esc_html( $label_color . $important ); ?>;
310 326 font-weight:<?php echo esc_html( $weight . $important ); ?>;
@@ -323,9 +339,9 @@
323 339 }
324 340
325 341 .<?php echo esc_html( $style_class ); ?> #frm_field_cptch_number_container{
326 342 <?php if ( ! empty( $font ) ) { ?>
327 - font-family:<?php FrmAppHelper::kses_echo( $font ); ?>;
343 + font-family:<?php echo FrmAppHelper::kses( $font ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>;
328 344 <?php } ?>
329 345 font-size:<?php echo esc_html( $font_size . $important ); ?>;
330 346 color:<?php echo esc_html( $label_color . $important ); ?>;
331 347 font-weight:<?php echo esc_html( $weight . $important ); ?>;
@@ -337,10 +353,8 @@
337 353 .<?php echo esc_html( $style_class ); ?> .frm_blank_field input[type=url],
338 354 .<?php echo esc_html( $style_class ); ?> .frm_blank_field input[type=tel],
339 355 .<?php echo esc_html( $style_class ); ?> .frm_blank_field input[type=number],
340 356 .<?php echo esc_html( $style_class ); ?> .frm_blank_field input[type=email],
341 -.<?php echo esc_html( $style_class ); ?> .frm_blank_field input[type=checkbox],
342 -.<?php echo esc_html( $style_class ); ?> .frm_blank_field input[type=radio],
343 357 .<?php echo esc_html( $style_class ); ?> .frm_blank_field textarea,
344 358 .<?php echo esc_html( $style_class ); ?> .frm_blank_field .mce-edit-area iframe,
345 359 .<?php echo esc_html( $style_class ); ?> .frm_blank_field select:not(.ui-datepicker-month):not(.ui-datepicker-year),
346 360 .frm_form_fields_error_style,
@@ -365,8 +379,12 @@
365 379
366 380 .<?php echo esc_html( $style_class ); ?> .frm_error,
367 381 .<?php echo esc_html( $style_class ); ?> .frm_limit_error{
368 382 font-weight:<?php echo esc_html( $weight . $important ); ?>;
383 +}
384 +
385 +.<?php echo esc_html( $style_class ); ?> .frm_error,
386 +.<?php echo esc_html( $style_class ); ?> .frm_limit_error{
369 387 color:<?php echo esc_html( $text_color_error . $important ); ?>;
370 388 }
371 389
372 390 .<?php echo esc_html( $style_class ); ?> .frm_error_style{