PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.14
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.14
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 +28 -12 6.266.14 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 ); ?>;
@@ -206,9 +222,8 @@
206 222 text-align:center;
207 223 background:
208 224 <?php
209 225 echo esc_html( $submit_bg_color );
210 -
211 226 if ( ! empty( $submit_bg_img ) ) {
212 227 echo esc_html( ' url(' . $submit_bg_img . ')' );
213 228 }
214 229 echo esc_html( $important );
@@ -254,9 +269,9 @@
254 269 color: <?php echo esc_html( $submit_hover_color . $important ); ?>;
255 270 }
256 271
257 272 .<?php echo esc_html( $style_class ); ?>.frm_center_submit .frm_submit .frm_ajax_loading{
258 - margin-bottom:<?php echo esc_html( FrmStylesHelper::get_bottom_value( $submit_margin ) ); ?>;
273 + margin-bottom:<?php echo esc_html( $submit_margin ); ?>;
259 274 }
260 275
261 276 .<?php echo esc_html( $style_class ); ?> .frm-edit-page-btn:focus,
262 277 .<?php echo esc_html( $style_class ); ?> input[type=submit]:focus,
@@ -303,9 +318,9 @@
303 318 .<?php echo esc_html( $style_class ); ?>.frm_inline_top .frm_submit::before,
304 319 .<?php echo esc_html( $style_class ); ?> .frm_submit.frm_inline_submit::before {
305 320 content:"before";
306 321 <?php if ( ! empty( $font ) ) { ?>
307 - font-family:<?php FrmAppHelper::kses_echo( $font ); ?>;
322 + font-family:<?php echo FrmAppHelper::kses( $font ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>;
308 323 <?php } ?>
309 324 font-size:<?php echo esc_html( $font_size . $important ); ?>;
310 325 color:<?php echo esc_html( $label_color . $important ); ?>;
311 326 font-weight:<?php echo esc_html( $weight . $important ); ?>;
@@ -324,9 +339,9 @@
324 339 }
325 340
326 341 .<?php echo esc_html( $style_class ); ?> #frm_field_cptch_number_container{
327 342 <?php if ( ! empty( $font ) ) { ?>
328 - font-family:<?php FrmAppHelper::kses_echo( $font ); ?>;
343 + font-family:<?php echo FrmAppHelper::kses( $font ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>;
329 344 <?php } ?>
330 345 font-size:<?php echo esc_html( $font_size . $important ); ?>;
331 346 color:<?php echo esc_html( $label_color . $important ); ?>;
332 347 font-weight:<?php echo esc_html( $weight . $important ); ?>;
@@ -338,10 +353,8 @@
338 353 .<?php echo esc_html( $style_class ); ?> .frm_blank_field input[type=url],
339 354 .<?php echo esc_html( $style_class ); ?> .frm_blank_field input[type=tel],
340 355 .<?php echo esc_html( $style_class ); ?> .frm_blank_field input[type=number],
341 356 .<?php echo esc_html( $style_class ); ?> .frm_blank_field input[type=email],
342 -.<?php echo esc_html( $style_class ); ?> .frm_blank_field input[type=checkbox],
343 -.<?php echo esc_html( $style_class ); ?> .frm_blank_field input[type=radio],
344 357 .<?php echo esc_html( $style_class ); ?> .frm_blank_field textarea,
345 358 .<?php echo esc_html( $style_class ); ?> .frm_blank_field .mce-edit-area iframe,
346 359 .<?php echo esc_html( $style_class ); ?> .frm_blank_field select:not(.ui-datepicker-month):not(.ui-datepicker-year),
347 360 .frm_form_fields_error_style,
@@ -355,9 +368,9 @@
355 368 .<?php echo esc_html( $style_class ); ?> .frm_form_field :invalid {
356 369 color:<?php echo esc_html( $text_color_error . $important ); ?>;
357 370 background-color:<?php echo esc_html( $bg_color_error . $important ); ?>;
358 371 border-color:<?php echo esc_html( $border_color_error . $important ); ?>;
359 - border-width:var(--border-width-error) <?php echo esc_html( $important ); ?>;
372 + border-width:<?php echo esc_html( $border_width_error . $important ); ?>;
360 373 border-style:<?php echo esc_html( $border_style_error . $important ); ?>;
361 374 }
362 375
363 376 .<?php echo esc_html( $style_class ); ?> .frm_blank_field .sigWrapper{
@@ -366,8 +379,12 @@
366 379
367 380 .<?php echo esc_html( $style_class ); ?> .frm_error,
368 381 .<?php echo esc_html( $style_class ); ?> .frm_limit_error{
369 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{
370 387 color:<?php echo esc_html( $border_color_error . $important ); ?>;
371 388 }
372 389
373 390 .<?php echo esc_html( $style_class ); ?> .frm_error_style{
@@ -399,6 +416,5 @@
399 416 width:auto<?php echo esc_html( $important ); ?>;
400 417 padding:0<?php echo esc_html( $important ); ?>;
401 418 }
402 419
403 -<?php echo strip_tags( FrmStylesController::get_custom_css( $settings ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
404 420 <?php do_action( 'frm_output_single_style', $settings ); ?>