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 +81 -99 6.286.13 View file →
@@ -5,15 +5,14 @@
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 = $is_loaded_via_ajax ?? false;
10 -FrmStylesPreviewHelper::get_additional_preview_style( $settings, $is_loaded_via_ajax );
9 +$important = empty( $important_style ) ? '' : ' !important';
11 10
12 -$important = empty( $important_style ) ? '' : ' !important';
13 -$submit_bg_img = FrmStylesHelper::get_submit_image_bg_url( $settings );
14 -$use_chosen_js = $use_chosen_js ?? FrmStylesHelper::use_chosen_js();
15 -$pro_is_installed = $pro_is_installed ?? FrmAppHelper::pro_is_installed();
11 +$minus_icons = FrmStylesHelper::minus_icons();
12 +$arrow_icons = FrmStylesHelper::arrow_icons();
13 +$use_chosen_js = FrmStylesHelper::use_chosen_js();
14 +
16 15 ?>
17 16 .<?php echo esc_html( $style_class ); ?>{
18 17 <?php FrmStylesHelper::output_vars( $settings, $defaults ); ?>
19 18 }
@@ -18,10 +17,10 @@
18 17 <?php FrmStylesHelper::output_vars( $settings, $defaults ); ?>
19 18 }
20 19
21 20 .frm_forms.<?php echo esc_html( $style_class ); ?>{
22 - max-width:var(--form-width)<?php echo esc_html( $important ); ?>;
23 - direction:var(--direction)<?php echo esc_html( $important ); ?>;
21 + max-width:<?php echo esc_html( $form_width . $important ); ?>;
22 + direction:<?php echo esc_html( $direction . $important ); ?>;
24 23 <?php if ( 'rtl' === $direction ) { ?>
25 24 unicode-bidi:embed;
26 25 <?php } ?>
27 26 <?php if ( $center_form ) { ?>
@@ -36,17 +35,15 @@
36 35 <?php } ?>
37 36
38 37 <?php if ( ! empty( $field_margin ) ) { ?>
39 38 .<?php echo esc_html( $style_class ); ?> .form-field{
40 - margin-bottom:var(--field-margin)<?php echo esc_html( $important ); ?>;
39 + margin-bottom:<?php echo esc_html( $field_margin . $important ); ?>;
41 40 }
42 41 <?php } ?>
43 42
44 -<?php if ( $pro_is_installed ) { ?>
45 43 .<?php echo esc_html( $style_class ); ?> .form-field.frm_section_heading{
46 44 margin-bottom:0<?php echo esc_html( $important ); ?>;
47 45 }
48 -<?php } ?>
49 46
50 47 .<?php echo esc_html( $style_class ); ?> p.description,
51 48 .<?php echo esc_html( $style_class ); ?> div.description,
52 49 .<?php echo esc_html( $style_class ); ?> div.frm_description,
@@ -59,9 +56,9 @@
59 56 margin-top: 6px;
60 57 <?php } ?>
61 58 padding:0;
62 59 <?php if ( ! empty( $font ) ) { ?>
63 - font-family:<?php FrmAppHelper::kses_echo( $font . $important ); ?>;
60 + font-family:<?php echo FrmAppHelper::kses( $font . $important ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>;
64 61 <?php } ?>
65 62 <?php if ( ! empty( $description_font_size ) ) { ?>
66 63 font-size:<?php echo esc_html( $description_font_size . $important ); ?>;
67 64 <?php } ?>
@@ -82,8 +79,10 @@
82 79
83 80 /* Left and right labels */
84 81 <?php
85 82
83 +$frm_settings = FrmAppHelper::get_settings();
84 +
86 85 if ( '' === $field_height || 'auto' === $field_height ) {
87 86 foreach ( array( 'left', 'right', 'inline' ) as $alignit ) {
88 87 ?>
89 88 .<?php echo esc_html( $style_class ); ?> .frm_<?php echo esc_html( $alignit ); ?>_container input[type=text],
@@ -119,9 +118,9 @@
119 118 }
120 119
121 120 .<?php echo esc_html( $style_class ); ?> .frm_pos_right{
122 121 display:inline<?php echo esc_html( $important ); ?>;
123 - width:var(--width)<?php echo esc_html( $important ); ?>;
122 + width:<?php echo esc_html( $width . $important ); ?>;
124 123 }
125 124
126 125 .<?php echo esc_html( $style_class ); ?> .frm_none_container .frm_primary_label,
127 126 .<?php echo esc_html( $style_class ); ?> .frm_pos_none{
@@ -127,15 +126,15 @@
127 126 .<?php echo esc_html( $style_class ); ?> .frm_pos_none{
128 127 display:none<?php echo esc_html( $important ); ?>;
129 128 }
130 129
131 -<?php if ( $pro_is_installed ) : ?>
130 +<?php if ( FrmAppHelper::pro_is_installed() ) : ?>
132 131 .<?php echo esc_html( $style_class ); ?> .frm_scale label{
133 132 <?php if ( ! empty( $check_weight ) ) { ?>
134 133 font-weight:<?php echo esc_html( $check_weight . $important ); ?>;
135 134 <?php } ?>
136 135 <?php if ( ! empty( $font ) ) { ?>
137 - font-family:<?php FrmAppHelper::kses_echo( $font . $important ); ?>;
136 + font-family:<?php echo FrmAppHelper::kses( $font . $important ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>;
138 137 <?php } ?>
139 138 <?php if ( ! empty( $check_font_size ) ) { ?>
140 139 font-size:<?php echo esc_html( $check_font_size . $important ); ?>;
141 140 <?php } ?>
@@ -144,12 +143,25 @@
144 143 <?php } ?>
145 144 }
146 145 <?php endif; ?>
147 146
147 +/* These do not work if they are combined */
148 148 .<?php echo esc_html( $style_class ); ?> input::placeholder,
149 149 .<?php echo esc_html( $style_class ); ?> textarea::placeholder{
150 - color:var(--text-color-disabled)<?php echo esc_html( $important ); ?>;
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,
@@ -158,14 +170,14 @@
158 170 .<?php echo esc_html( $style_class ); ?> .chosen-container-multi .chosen-choices li.search-field .default,
159 171 .<?php echo esc_html( $style_class ); ?> .chosen-container-single .chosen-default,
160 172 <?php } ?>
161 173 .<?php echo esc_html( $style_class ); ?> .placeholder {
162 - color:var(--text-color-disabled)<?php echo esc_html( $important ); ?>;
174 + color: <?php echo esc_html( $text_color_disabled . $important ); ?>;
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],
@@ -177,12 +189,12 @@
177 189 .<?php echo esc_html( $style_class ); ?> .chosen-container-single.chosen-container-active .chosen-single,
178 190 .<?php echo esc_html( $style_class ); ?> .chosen-container-active .chosen-choices,
179 191 <?php } ?>
180 192 .<?php echo esc_html( $style_class ); ?> .frm_focus_field .frm-card-element.StripeElement {
181 - background-color:var(--bg-color-active)<?php echo esc_html( $important ); ?>;
182 - border-color:var(--border-color-active)<?php echo esc_html( $important ); ?>;
183 - color:var(--text-color);
184 - <?php if ( ! empty( $remove_box_shadow_active ) ) { ?>
193 + background-color:<?php echo esc_html( $bg_color_active . $important ); ?>;
194 + border-color:<?php echo esc_html( $border_color_active . $important ); ?>;
195 + color: var(--text-color);
196 + <?php if ( isset( $remove_box_shadow_active ) && $remove_box_shadow_active ) { ?>
185 197 box-shadow:none;
186 198 outline: none;
187 199 <?php } else { ?>
188 200 box-shadow:0px 0px 5px 0px rgba(<?php echo esc_html( FrmStylesHelper::hex2rgb( $border_color_active ) ); ?>, 0.6);
@@ -189,19 +201,17 @@
189 201 <?php } ?>
190 202 }
191 203
192 204 <?php if ( ! $submit_style ) { ?>
193 - <?php if ( $pro_is_installed ) { ?>
194 205 .<?php echo esc_html( $style_class ); ?> .frm_compact .frm_dropzone.dz-clickable .dz-message,
195 -.<?php echo esc_html( $style_class ); ?> .frm-edit-page-btn,
196 - <?php } ?>
197 206 .<?php echo esc_html( $style_class ); ?> input[type=submit],
198 207 .<?php echo esc_html( $style_class ); ?> .frm_submit input[type=button],
199 208 .<?php echo esc_html( $style_class ); ?> .frm_submit button,
200 -.frm_form_submit_style {
201 - width:<?php echo esc_html( ( $submit_width == '' ? 'auto' : $submit_width ) . $important ); // phpcs:ignore Universal.Operators.StrictComparisons ?>;
209 +.frm_form_submit_style,
210 +.<?php echo esc_html( $style_class ); ?> .frm-edit-page-btn {
211 + width:<?php echo esc_html( ( $submit_width == '' ? 'auto' : $submit_width ) . $important ); ?>;
202 212 <?php if ( ! empty( $font ) ) { ?>
203 - font-family:<?php FrmAppHelper::kses_echo( $font ); ?>;
213 + font-family:<?php echo FrmAppHelper::kses( $font ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>;
204 214 <?php } ?>
205 215 font-size:<?php echo esc_html( $submit_font_size . $important ); ?>;
206 216 height:<?php echo esc_html( $submit_height . $important ); ?>;
207 217 line-height:normal<?php echo esc_html( $important ); ?>;
@@ -208,9 +218,8 @@
208 218 text-align:center;
209 219 background:
210 220 <?php
211 221 echo esc_html( $submit_bg_color );
212 -
213 222 if ( ! empty( $submit_bg_img ) ) {
214 223 echo esc_html( ' url(' . $submit_bg_img . ')' );
215 224 }
216 225 echo esc_html( $important );
@@ -233,9 +242,9 @@
233 242 <?php } ?>
234 243 margin:<?php echo esc_html( $submit_margin ); ?>;
235 244 <?php
236 245 // For reverse compatibility... But allow "10px 10px".
237 - if ( ! str_contains( trim( $submit_margin ), ' ' ) ) {
246 + if ( strpos( trim( $submit_margin ), ' ' ) === false ) {
238 247 ?>
239 248 margin-left:0;
240 249 margin-right:0;
241 250 <?php } ?>
@@ -241,33 +250,27 @@
241 250 <?php } ?>
242 251 vertical-align:middle;
243 252 }
244 253
245 - <?php if ( $pro_is_installed ) { ?>
246 254 .<?php echo esc_html( $style_class ); ?> .frm_compact .frm_dropzone.dz-clickable .dz-message{
247 255 margin:0;
248 256 }
249 - <?php } ?>
250 257
251 258 <?php if ( empty( $submit_bg_img ) ) { ?>
252 - <?php if ( $pro_is_installed ) { ?>
253 259 .<?php echo esc_html( $style_class ); ?> .frm-edit-page-btn:hover,
254 - <?php } ?>
255 260 .<?php echo esc_html( $style_class ); ?> input[type=submit]:hover,
256 261 .<?php echo esc_html( $style_class ); ?> .frm_submit input[type=button]:hover,
257 262 .<?php echo esc_html( $style_class ); ?> .frm_submit button:hover{
258 - background:var(--submit-hover-bg-color)<?php echo esc_html( $important ); ?>;
259 - border-color:var(--submit-hover-border-color)<?php echo esc_html( $important ); ?>;
260 - color:var(--submit-hover-color)<?php echo esc_html( $important ); ?>;
263 + background: <?php echo esc_html( $submit_hover_bg_color . $important ); ?>;
264 + border-color: <?php echo esc_html( $submit_hover_border_color . $important ); ?>;
265 + color: <?php echo esc_html( $submit_hover_color . $important ); ?>;
261 266 }
262 267
263 268 .<?php echo esc_html( $style_class ); ?>.frm_center_submit .frm_submit .frm_ajax_loading{
264 - margin-bottom:<?php echo esc_html( FrmStylesHelper::get_bottom_value( $submit_margin ) ); ?>;
269 + margin-bottom:<?php echo esc_html( $submit_margin ); ?>;
265 270 }
266 271
267 - <?php if ( $pro_is_installed ) { ?>
268 272 .<?php echo esc_html( $style_class ); ?> .frm-edit-page-btn:focus,
269 - <?php } ?>
270 273 .<?php echo esc_html( $style_class ); ?> input[type=submit]:focus,
271 274 .<?php echo esc_html( $style_class ); ?> .frm_submit input[type=button]:focus,
272 275 .<?php echo esc_html( $style_class ); ?> .frm_submit button:focus,
273 276 .<?php echo esc_html( $style_class ); ?> input[type=submit]:active,
@@ -272,40 +275,36 @@
272 275 .<?php echo esc_html( $style_class ); ?> .frm_submit button:focus,
273 276 .<?php echo esc_html( $style_class ); ?> input[type=submit]:active,
274 277 .<?php echo esc_html( $style_class ); ?> .frm_submit input[type=button]:active,
275 278 .<?php echo esc_html( $style_class ); ?> .frm_submit button:active{
276 - background:var(--submit-active-bg-color)<?php echo esc_html( $important ); ?>;
277 - border-color:var(--submit-active-border-color)<?php echo esc_html( $important ); ?>;
278 - color:var(--submit-active-color)<?php echo esc_html( $important ); ?>;
279 + background: <?php echo esc_html( $submit_active_bg_color . $important ); ?>;
280 + border-color: <?php echo esc_html( $submit_active_border_color . $important ); ?>;
281 + color: <?php echo esc_html( $submit_active_color . $important ); ?>;
279 282 outline: none;
280 283 }
281 284
282 - <?php if ( $pro_is_installed ) { ?>
283 285 .<?php echo esc_html( $style_class ); ?> .frm_loading_prev .frm_prev_page,
284 286 .<?php echo esc_html( $style_class ); ?> .frm_loading_prev .frm_prev_page:hover,
285 287 .<?php echo esc_html( $style_class ); ?> .frm_loading_prev .frm_prev_page:active,
286 288 .<?php echo esc_html( $style_class ); ?> .frm_loading_prev .frm_prev_page:focus,
287 - <?php } ?>
288 289 .<?php echo esc_html( $style_class ); ?> .frm_loading_form .frm_button_submit,
289 290 .<?php echo esc_html( $style_class ); ?> .frm_loading_form .frm_button_submit:hover,
290 291 .<?php echo esc_html( $style_class ); ?> .frm_loading_form .frm_button_submit:active,
291 292 .<?php echo esc_html( $style_class ); ?> .frm_loading_form .frm_button_submit:focus{
292 - color: transparent<?php echo esc_html( $important ); ?>;
293 - background:var(--submit-bg-color)<?php echo esc_html( $important ); ?>;
294 - border-color:var(--submit-bg-color)<?php echo esc_html( $important ); ?>;
293 + color: transparent <?php echo esc_html( $important ); ?>;
294 + background: <?php echo esc_html( $submit_bg_color . $important ); ?>;
295 + border-color: <?php echo esc_html( $submit_bg_color . $important ); ?>;
295 296 }
296 297
297 - <?php if ( $pro_is_installed ) { ?>
298 298 .<?php echo esc_html( $style_class ); ?> .frm_loading_prev .frm_prev_page:before,
299 - <?php } ?>
300 299 .<?php echo esc_html( $style_class ); ?> .frm_loading_form .frm_button_submit:before {
301 - border-bottom-color:var(--submit-text-color)<?php echo esc_html( $important ); ?>;
302 - border-right-color:var(--submit-text-color)<?php echo esc_html( $important ); ?>;
300 + border-bottom-color: <?php echo esc_html( $submit_text_color . $important ); ?>;
301 + border-right-color: <?php echo esc_html( $submit_text_color . $important ); ?>;
303 302 <?php if ( $submit_height !== 'auto' ) { ?>
304 - max-height:var(--submit-height)<?php echo esc_html( $important ); ?>;
303 + max-height:<?php echo esc_html( $submit_height ); ?>;
305 304 <?php } ?>
306 305 <?php if ( $submit_width !== 'auto' ) { ?>
307 - max-width:var(--submit-width)<?php echo esc_html( $important ); ?>;
306 + max-width:<?php echo esc_html( $submit_width ); ?>;
308 307 <?php } ?>
309 308 }
310 309 <?php
311 310 }//end if
@@ -315,15 +314,15 @@
315 314 .<?php echo esc_html( $style_class ); ?>.frm_inline_top .frm_submit::before,
316 315 .<?php echo esc_html( $style_class ); ?> .frm_submit.frm_inline_submit::before {
317 316 content:"before";
318 317 <?php if ( ! empty( $font ) ) { ?>
319 - font-family:<?php FrmAppHelper::kses_echo( $font ); ?>;
318 + font-family:<?php echo FrmAppHelper::kses( $font ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>;
320 319 <?php } ?>
321 - font-size:var(--font-size)<?php echo esc_html( $important ); ?>;
322 - color:var(--label-color)<?php echo esc_html( $important ); ?>;
323 - font-weight:var(--weight)<?php echo esc_html( $important ); ?>;
320 + font-size:<?php echo esc_html( $font_size . $important ); ?>;
321 + color:<?php echo esc_html( $label_color . $important ); ?>;
322 + font-weight:<?php echo esc_html( $weight . $important ); ?>;
324 323 margin:0;
325 - padding:var(--label-padding)<?php echo esc_html( $important ); ?>;
324 + padding:<?php echo esc_html( $label_padding . $important ); ?>;
326 325 width:auto;
327 326 display:block;
328 327 visibility:hidden;
329 328 }
@@ -334,24 +333,17 @@
334 333 .<?php echo esc_html( $style_class ); ?> .frm_submit.frm_inline_submit button {
335 334 margin: 0 !important;
336 335 }
337 336
338 -<?php
339 -// Only include this CSS when the math captcha plugin is active.
340 -if ( class_exists( 'FrmCptController' ) ) :
341 - ?>
342 337 .<?php echo esc_html( $style_class ); ?> #frm_field_cptch_number_container{
343 338 <?php if ( ! empty( $font ) ) { ?>
344 - font-family:<?php FrmAppHelper::kses_echo( $font ); ?>;
339 + font-family:<?php echo FrmAppHelper::kses( $font ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>;
345 340 <?php } ?>
346 - font-size:var(--font-size)<?php echo esc_html( $important ); ?>;
347 - color:var(--label-color)<?php echo esc_html( $important ); ?>;
348 - font-weight:var(--weight)<?php echo esc_html( $important ); ?>;
341 + font-size:<?php echo esc_html( $font_size . $important ); ?>;
342 + color:<?php echo esc_html( $label_color . $important ); ?>;
343 + font-weight:<?php echo esc_html( $weight . $important ); ?>;
349 344 clear:both;
350 345 }
351 - <?php
352 -endif;
353 -?>
354 346
355 347 .<?php echo esc_html( $style_class ); ?> .frm_blank_field input[type=text],
356 348 .<?php echo esc_html( $style_class ); ?> .frm_blank_field input[type=password],
357 349 .<?php echo esc_html( $style_class ); ?> .frm_blank_field input[type=url],
@@ -357,14 +349,10 @@
357 349 .<?php echo esc_html( $style_class ); ?> .frm_blank_field input[type=url],
358 350 .<?php echo esc_html( $style_class ); ?> .frm_blank_field input[type=tel],
359 351 .<?php echo esc_html( $style_class ); ?> .frm_blank_field input[type=number],
360 352 .<?php echo esc_html( $style_class ); ?> .frm_blank_field input[type=email],
361 -.<?php echo esc_html( $style_class ); ?> .frm_blank_field input[type=checkbox],
362 -.<?php echo esc_html( $style_class ); ?> .frm_blank_field input[type=radio],
363 353 .<?php echo esc_html( $style_class ); ?> .frm_blank_field textarea,
364 -<?php if ( $pro_is_installed ) { ?>
365 354 .<?php echo esc_html( $style_class ); ?> .frm_blank_field .mce-edit-area iframe,
366 -<?php } ?>
367 355 .<?php echo esc_html( $style_class ); ?> .frm_blank_field select:not(.ui-datepicker-month):not(.ui-datepicker-year),
368 356 .frm_form_fields_error_style,
369 357 .<?php echo esc_html( $style_class ); ?> .frm_blank_field .frm-g-recaptcha iframe,
370 358 .<?php echo esc_html( $style_class ); ?> .frm_blank_field .g-recaptcha iframe,
@@ -373,51 +361,46 @@
373 361 .<?php echo esc_html( $style_class ); ?> .frm_blank_field .chosen-container-multi .chosen-choices,
374 362 .<?php echo esc_html( $style_class ); ?> .frm_blank_field .chosen-container-single .chosen-single,
375 363 <?php } ?>
376 364 .<?php echo esc_html( $style_class ); ?> .frm_form_field :invalid {
377 - color:var(--text-color-error)<?php echo esc_html( $important ); ?>;
378 - background-color:var(--bg-color-error)<?php echo esc_html( $important ); ?>;
379 - border-color:var(--border-color-error)<?php echo esc_html( $important ); ?>;
380 - border-width:var(--border-width-error)<?php echo esc_html( $important ); ?>;
381 - border-style:var(--border-style-error)<?php echo esc_html( $important ); ?>;
365 + color:<?php echo esc_html( $text_color_error . $important ); ?>;
366 + background-color:<?php echo esc_html( $bg_color_error . $important ); ?>;
367 + border-color:<?php echo esc_html( $border_color_error . $important ); ?>;
368 + border-width:<?php echo esc_html( $border_width_error . $important ); ?>;
369 + border-style:<?php echo esc_html( $border_style_error . $important ); ?>;
382 370 }
383 371
384 -<?php
385 -// Only include this style when the signatures add-on is active
386 -if ( class_exists( 'FrmSigField' ) ) :
387 - ?>
388 372 .<?php echo esc_html( $style_class ); ?> .frm_blank_field .sigWrapper{
389 - border-color:var(--border-color-error) !important;
373 + border-color:<?php echo esc_html( $border_color_error ); ?> !important;
390 374 }
391 - <?php
392 -endif;
393 -?>
394 375
395 376 .<?php echo esc_html( $style_class ); ?> .frm_error,
396 377 .<?php echo esc_html( $style_class ); ?> .frm_limit_error{
397 - font-weight:var(--weight)<?php echo esc_html( $important ); ?>;
398 - color:var(--border-color-error)<?php echo esc_html( $important ); ?>;
378 + font-weight:<?php echo esc_html( $weight . $important ); ?>;
399 379 }
400 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 ); ?>;
384 +}
385 +
401 386 .<?php echo esc_html( $style_class ); ?> .frm_error_style{
402 - background-color:var(--error-bg)<?php echo esc_html( $important ); ?>;
403 - border:1px solid var(--error-border)<?php echo esc_html( $important ); ?>;
404 - border-radius:var(--border-radius)<?php echo esc_html( $important ); ?>;
405 - color:var(--error-text)<?php echo esc_html( $important ); ?>;
406 - font-size:var(--error-font-size)<?php echo esc_html( $important ); ?>;
387 + background-color:<?php echo esc_html( $error_bg . $important ); ?>;
388 + border:1px solid <?php echo esc_html( $error_border . $important ); ?>;
389 + border-radius:<?php echo esc_html( $border_radius . $important ); ?>;
390 + color: <?php echo esc_html( $error_text . $important ); ?>;
391 + font-size:<?php echo esc_html( $error_font_size . $important ); ?>;
407 392 margin:0;
408 - margin-bottom:var(--field-margin);
393 + margin-bottom:<?php echo esc_html( $field_margin ); ?>;
409 394 }
410 395
411 -<?php if ( $pro_is_installed ) { ?>
412 396 .<?php echo esc_html( $style_class ); ?> #frm_loading .progress-striped .progress-bar{
413 397 background-image:linear-gradient(45deg, <?php echo esc_html( $border_color ); ?> 25%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 50%, <?php echo esc_html( $border_color ); ?> 50%, <?php echo esc_html( $border_color ); ?> 75%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0));
414 398 }
415 399
416 400 .<?php echo esc_html( $style_class ); ?> #frm_loading .progress-bar{
417 - background-color:var(--bg-color)<?php echo esc_html( $important ); ?>;
401 + background-color:<?php echo esc_html( $bg_color . $important ); ?>;
418 402 }
419 -<?php } ?>
420 403
421 404 .<?php echo esc_html( $style_class ); ?> .frm_form_field.frm_total_big input,
422 405 .<?php echo esc_html( $style_class ); ?> .frm_form_field.frm_total_big textarea,
423 406 .<?php echo esc_html( $style_class ); ?> .frm_form_field.frm_total input,
@@ -429,6 +412,5 @@
429 412 width:auto<?php echo esc_html( $important ); ?>;
430 413 padding:0<?php echo esc_html( $important ); ?>;
431 414 }
432 415
433 -<?php echo strip_tags( FrmStylesController::get_custom_css( $settings ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
434 416 <?php do_action( 'frm_output_single_style', $settings ); ?>