PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.13
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.13
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 +29 -15 6.25.16.13 View file →
@@ -5,14 +5,12 @@
5 5
6 6 $settings = FrmStylesHelper::get_settings_for_output( $style );
7 7 extract( $settings ); // phpcs:ignore WordPress.PHP.DontExtract
8 8
9 -$is_loaded_via_ajax = isset( $is_loaded_via_ajax ) ? $is_loaded_via_ajax : false;
10 -FrmStylesPreviewHelper::get_additional_preview_style( $settings, $is_loaded_via_ajax );
11 -
12 9 $important = empty( $important_style ) ? '' : ' !important';
13 10
14 -$submit_bg_img = FrmStylesHelper::get_submit_image_bg_url( $settings );
11 +$minus_icons = FrmStylesHelper::minus_icons();
12 +$arrow_icons = FrmStylesHelper::arrow_icons();
15 13 $use_chosen_js = FrmStylesHelper::use_chosen_js();
16 14
17 15 ?>
18 16 .<?php echo esc_html( $style_class ); ?>{
@@ -58,9 +56,9 @@
58 56 margin-top: 6px;
59 57 <?php } ?>
60 58 padding:0;
61 59 <?php if ( ! empty( $font ) ) { ?>
62 - font-family:<?php FrmAppHelper::kses_echo( $font . $important ); ?>;
60 + font-family:<?php echo FrmAppHelper::kses( $font . $important ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>;
63 61 <?php } ?>
64 62 <?php if ( ! empty( $description_font_size ) ) { ?>
65 63 font-size:<?php echo esc_html( $description_font_size . $important ); ?>;
66 64 <?php } ?>
@@ -81,8 +79,10 @@
81 79
82 80 /* Left and right labels */
83 81 <?php
84 82
83 +$frm_settings = FrmAppHelper::get_settings();
84 +
85 85 if ( '' === $field_height || 'auto' === $field_height ) {
86 86 foreach ( array( 'left', 'right', 'inline' ) as $alignit ) {
87 87 ?>
88 88 .<?php echo esc_html( $style_class ); ?> .frm_<?php echo esc_html( $alignit ); ?>_container input[type=text],
@@ -132,9 +132,9 @@
132 132 <?php if ( ! empty( $check_weight ) ) { ?>
133 133 font-weight:<?php echo esc_html( $check_weight . $important ); ?>;
134 134 <?php } ?>
135 135 <?php if ( ! empty( $font ) ) { ?>
136 - font-family:<?php FrmAppHelper::kses_echo( $font . $important ); ?>;
136 + font-family:<?php echo FrmAppHelper::kses( $font . $important ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>;
137 137 <?php } ?>
138 138 <?php if ( ! empty( $check_font_size ) ) { ?>
139 139 font-size:<?php echo esc_html( $check_font_size . $important ); ?>;
140 140 <?php } ?>
@@ -148,8 +148,20 @@
148 148 .<?php echo esc_html( $style_class ); ?> input::placeholder,
149 149 .<?php echo esc_html( $style_class ); ?> textarea::placeholder{
150 150 color: <?php echo esc_html( $text_color_disabled . $important ); ?>;
151 151 }
152 +.<?php echo esc_html( $style_class ); ?> input::-webkit-input-placeholder,
153 +.<?php echo esc_html( $style_class ); ?> textarea::-webkit-input-placeholder{
154 + color: <?php echo esc_html( $text_color_disabled . $important ); ?>;
155 +}
156 +.<?php echo esc_html( $style_class ); ?> input::-moz-placeholder,
157 +.<?php echo esc_html( $style_class ); ?> textarea::-moz-placeholder{
158 + opacity: 1;
159 +}
160 +.<?php echo esc_html( $style_class ); ?> input:-ms-input-placeholder,
161 +<?php echo esc_html( $style_class ); ?> textarea:-ms-input-placeholder{
162 + color: <?php echo esc_html( $text_color_disabled . $important ); ?>;
163 +}
152 164
153 165 .<?php echo esc_html( $style_class ); ?> .frm_default,
154 166 .<?php echo esc_html( $style_class ); ?> input.frm_default,
155 167 .<?php echo esc_html( $style_class ); ?> textarea.frm_default,
@@ -163,9 +175,9 @@
163 175 }
164 176
165 177 .<?php echo esc_html( $style_class ); ?> .form-field input:not([type=file]):not([type=range]):not([readonly]):focus,
166 178 .<?php echo esc_html( $style_class ); ?> select:focus,
167 -.<?php echo esc_html( $style_class ); ?> .form-field textarea:focus,
179 +.<?php echo esc_html( $style_class ); ?> textarea:focus,
168 180 .<?php echo esc_html( $style_class ); ?> .frm_focus_field input[type=text],
169 181 .<?php echo esc_html( $style_class ); ?> .frm_focus_field input[type=password],
170 182 .<?php echo esc_html( $style_class ); ?> .frm_focus_field input[type=email],
171 183 .<?php echo esc_html( $style_class ); ?> .frm_focus_field input[type=number],
@@ -197,9 +209,9 @@
197 209 .frm_form_submit_style,
198 210 .<?php echo esc_html( $style_class ); ?> .frm-edit-page-btn {
199 211 width:<?php echo esc_html( ( $submit_width == '' ? 'auto' : $submit_width ) . $important ); ?>;
200 212 <?php if ( ! empty( $font ) ) { ?>
201 - font-family:<?php FrmAppHelper::kses_echo( $font ); ?>;
213 + font-family:<?php echo FrmAppHelper::kses( $font ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>;
202 214 <?php } ?>
203 215 font-size:<?php echo esc_html( $submit_font_size . $important ); ?>;
204 216 height:<?php echo esc_html( $submit_height . $important ); ?>;
205 217 line-height:normal<?php echo esc_html( $important ); ?>;
@@ -253,9 +265,9 @@
253 265 color: <?php echo esc_html( $submit_hover_color . $important ); ?>;
254 266 }
255 267
256 268 .<?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 ) ); ?>;
269 + margin-bottom:<?php echo esc_html( $submit_margin ); ?>;
258 270 }
259 271
260 272 .<?php echo esc_html( $style_class ); ?> .frm-edit-page-btn:focus,
261 273 .<?php echo esc_html( $style_class ); ?> input[type=submit]:focus,
@@ -302,9 +314,9 @@
302 314 .<?php echo esc_html( $style_class ); ?>.frm_inline_top .frm_submit::before,
303 315 .<?php echo esc_html( $style_class ); ?> .frm_submit.frm_inline_submit::before {
304 316 content:"before";
305 317 <?php if ( ! empty( $font ) ) { ?>
306 - font-family:<?php FrmAppHelper::kses_echo( $font ); ?>;
318 + font-family:<?php echo FrmAppHelper::kses( $font ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>;
307 319 <?php } ?>
308 320 font-size:<?php echo esc_html( $font_size . $important ); ?>;
309 321 color:<?php echo esc_html( $label_color . $important ); ?>;
310 322 font-weight:<?php echo esc_html( $weight . $important ); ?>;
@@ -323,9 +335,9 @@
323 335 }
324 336
325 337 .<?php echo esc_html( $style_class ); ?> #frm_field_cptch_number_container{
326 338 <?php if ( ! empty( $font ) ) { ?>
327 - font-family:<?php FrmAppHelper::kses_echo( $font ); ?>;
339 + font-family:<?php echo FrmAppHelper::kses( $font ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>;
328 340 <?php } ?>
329 341 font-size:<?php echo esc_html( $font_size . $important ); ?>;
330 342 color:<?php echo esc_html( $label_color . $important ); ?>;
331 343 font-weight:<?php echo esc_html( $weight . $important ); ?>;
@@ -337,10 +349,8 @@
337 349 .<?php echo esc_html( $style_class ); ?> .frm_blank_field input[type=url],
338 350 .<?php echo esc_html( $style_class ); ?> .frm_blank_field input[type=tel],
339 351 .<?php echo esc_html( $style_class ); ?> .frm_blank_field input[type=number],
340 352 .<?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 353 .<?php echo esc_html( $style_class ); ?> .frm_blank_field textarea,
344 354 .<?php echo esc_html( $style_class ); ?> .frm_blank_field .mce-edit-area iframe,
345 355 .<?php echo esc_html( $style_class ); ?> .frm_blank_field select:not(.ui-datepicker-month):not(.ui-datepicker-year),
346 356 .frm_form_fields_error_style,
@@ -354,9 +364,9 @@
354 364 .<?php echo esc_html( $style_class ); ?> .frm_form_field :invalid {
355 365 color:<?php echo esc_html( $text_color_error . $important ); ?>;
356 366 background-color:<?php echo esc_html( $bg_color_error . $important ); ?>;
357 367 border-color:<?php echo esc_html( $border_color_error . $important ); ?>;
358 - border-width:var(--border-width-error) <?php echo esc_html( $important ); ?>;
368 + border-width:<?php echo esc_html( $border_width_error . $important ); ?>;
359 369 border-style:<?php echo esc_html( $border_style_error . $important ); ?>;
360 370 }
361 371
362 372 .<?php echo esc_html( $style_class ); ?> .frm_blank_field .sigWrapper{
@@ -365,9 +375,13 @@
365 375
366 376 .<?php echo esc_html( $style_class ); ?> .frm_error,
367 377 .<?php echo esc_html( $style_class ); ?> .frm_limit_error{
368 378 font-weight:<?php echo esc_html( $weight . $important ); ?>;
369 - color:<?php echo esc_html( $text_color_error . $important ); ?>;
379 +}
380 +
381 +.<?php echo esc_html( $style_class ); ?> .frm_error,
382 +.<?php echo esc_html( $style_class ); ?> .frm_limit_error{
383 + color:<?php echo esc_html( $border_color_error . $important ); ?>;
370 384 }
371 385
372 386 .<?php echo esc_html( $style_class ); ?> .frm_error_style{
373 387 background-color:<?php echo esc_html( $error_bg . $important ); ?>;