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