PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / trunk
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More vtrunk
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 +103 -63 6.26 → trunk View file →
@@ -5,16 +5,15 @@
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;
9 +$is_loaded_via_ajax = $is_loaded_via_ajax ?? false;
10 10 FrmStylesPreviewHelper::get_additional_preview_style( $settings, $is_loaded_via_ajax );
11 11
12 -$important = empty( $important_style ) ? '' : ' !important';
13 -
14 -$submit_bg_img = FrmStylesHelper::get_submit_image_bg_url( $settings );
15 -$use_chosen_js = FrmStylesHelper::use_chosen_js();
16 -
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();
17 16 ?>
18 17 .<?php echo esc_html( $style_class ); ?>{
19 18 <?php FrmStylesHelper::output_vars( $settings, $defaults ); ?>
20 19 }
@@ -19,10 +18,10 @@
19 18 <?php FrmStylesHelper::output_vars( $settings, $defaults ); ?>
20 19 }
21 20
22 21 .frm_forms.<?php echo esc_html( $style_class ); ?>{
23 - max-width:<?php echo esc_html( $form_width . $important ); ?>;
24 - direction:<?php echo esc_html( $direction . $important ); ?>;
22 + max-width:var(--form-width)<?php echo esc_html( $important ); ?>;
23 + direction:var(--direction)<?php echo esc_html( $important ); ?>;
25 24 <?php if ( 'rtl' === $direction ) { ?>
26 25 unicode-bidi:embed;
27 26 <?php } ?>
28 27 <?php if ( $center_form ) { ?>
@@ -37,15 +36,17 @@
37 36 <?php } ?>
38 37
39 38 <?php if ( ! empty( $field_margin ) ) { ?>
40 39 .<?php echo esc_html( $style_class ); ?> .form-field{
41 - margin-bottom:<?php echo esc_html( $field_margin . $important ); ?>;
40 + margin-bottom:var(--field-margin)<?php echo esc_html( $important ); ?>;
42 41 }
43 42 <?php } ?>
44 43
44 +<?php if ( $pro_is_installed ) { ?>
45 45 .<?php echo esc_html( $style_class ); ?> .form-field.frm_section_heading{
46 46 margin-bottom:0<?php echo esc_html( $important ); ?>;
47 47 }
48 +<?php } ?>
48 49
49 50 .<?php echo esc_html( $style_class ); ?> p.description,
50 51 .<?php echo esc_html( $style_class ); ?> div.description,
51 52 .<?php echo esc_html( $style_class ); ?> div.frm_description,
@@ -107,12 +108,8 @@
107 108 .<?php echo esc_html( $style_class ); ?> .frm_form_field.frm_right_container{
108 109 grid-template-columns: auto <?php echo esc_html( $width ); ?>;
109 110 }
110 111
111 -.frm_form_field.frm_right_container{
112 - grid-template-columns: auto 25%;
113 -}
114 -
115 112 .<?php echo esc_html( $style_class ); ?> .frm_inline_container.frm_dynamic_select_container .frm_data_container,
116 113 .<?php echo esc_html( $style_class ); ?> .frm_inline_container.frm_dynamic_select_container .frm_opt_container{
117 114 display:inline<?php echo esc_html( $important ); ?>;
118 115 }
@@ -118,9 +115,9 @@
118 115 }
119 116
120 117 .<?php echo esc_html( $style_class ); ?> .frm_pos_right{
121 118 display:inline<?php echo esc_html( $important ); ?>;
122 - width:<?php echo esc_html( $width . $important ); ?>;
119 + width:var(--width)<?php echo esc_html( $important ); ?>;
123 120 }
124 121
125 122 .<?php echo esc_html( $style_class ); ?> .frm_none_container .frm_primary_label,
126 123 .<?php echo esc_html( $style_class ); ?> .frm_pos_none{
@@ -126,9 +123,9 @@
126 123 .<?php echo esc_html( $style_class ); ?> .frm_pos_none{
127 124 display:none<?php echo esc_html( $important ); ?>;
128 125 }
129 126
130 -<?php if ( FrmAppHelper::pro_is_installed() ) : ?>
127 +<?php if ( $pro_is_installed ) : ?>
131 128 .<?php echo esc_html( $style_class ); ?> .frm_scale label{
132 129 <?php if ( ! empty( $check_weight ) ) { ?>
133 130 font-weight:<?php echo esc_html( $check_weight . $important ); ?>;
134 131 <?php } ?>
@@ -143,12 +140,11 @@
143 140 <?php } ?>
144 141 }
145 142 <?php endif; ?>
146 143
147 -/* These do not work if they are combined */
148 144 .<?php echo esc_html( $style_class ); ?> input::placeholder,
149 145 .<?php echo esc_html( $style_class ); ?> textarea::placeholder{
150 - color: <?php echo esc_html( $text_color_disabled . $important ); ?>;
146 + color:var(--text-color-disabled)<?php echo esc_html( $important ); ?>;
151 147 }
152 148
153 149 .<?php echo esc_html( $style_class ); ?> .frm_default,
154 150 .<?php echo esc_html( $style_class ); ?> input.frm_default,
@@ -158,9 +154,9 @@
158 154 .<?php echo esc_html( $style_class ); ?> .chosen-container-multi .chosen-choices li.search-field .default,
159 155 .<?php echo esc_html( $style_class ); ?> .chosen-container-single .chosen-default,
160 156 <?php } ?>
161 157 .<?php echo esc_html( $style_class ); ?> .placeholder {
162 - color: <?php echo esc_html( $text_color_disabled . $important ); ?>;
158 + color:var(--text-color-disabled)<?php echo esc_html( $important ); ?>;
163 159 }
164 160
165 161 .<?php echo esc_html( $style_class ); ?> .form-field input:not([type=file]):not([type=range]):not([readonly]):focus,
166 162 .<?php echo esc_html( $style_class ); ?> select:focus,
@@ -177,12 +173,12 @@
177 173 .<?php echo esc_html( $style_class ); ?> .chosen-container-single.chosen-container-active .chosen-single,
178 174 .<?php echo esc_html( $style_class ); ?> .chosen-container-active .chosen-choices,
179 175 <?php } ?>
180 176 .<?php echo esc_html( $style_class ); ?> .frm_focus_field .frm-card-element.StripeElement {
181 - background-color:<?php echo esc_html( $bg_color_active . $important ); ?>;
182 - border-color:<?php echo esc_html( $border_color_active . $important ); ?>;
183 - color: var(--text-color);
184 - <?php if ( isset( $remove_box_shadow_active ) && $remove_box_shadow_active ) { ?>
177 + background-color:var(--bg-color-active)<?php echo esc_html( $important ); ?>;
178 + border-color:var(--border-color-active)<?php echo esc_html( $important ); ?>;
179 + color:var(--text-color);
180 + <?php if ( ! empty( $remove_box_shadow_active ) ) { ?>
185 181 box-shadow:none;
186 182 outline: none;
187 183 <?php } else { ?>
188 184 box-shadow:0px 0px 5px 0px rgba(<?php echo esc_html( FrmStylesHelper::hex2rgb( $border_color_active ) ); ?>, 0.6);
@@ -188,16 +184,26 @@
188 184 box-shadow:0px 0px 5px 0px rgba(<?php echo esc_html( FrmStylesHelper::hex2rgb( $border_color_active ) ); ?>, 0.6);
189 185 <?php } ?>
190 186 }
191 187
188 +.<?php echo esc_html( $style_class ); ?> input:-webkit-autofill {
189 + <?php if ( ! empty( $remove_box_shadow_active ) ) { ?>
190 + -webkit-box-shadow: none<?php echo esc_html( $important ); ?>;
191 + <?php } else { ?>
192 + -webkit-box-shadow: 0px 0px 5px 0px rgba(<?php echo esc_html( FrmStylesHelper::hex2rgb( $border_color_active ) ); ?>, 0.6);
193 + <?php } ?>
194 +}
195 +
192 196 <?php if ( ! $submit_style ) { ?>
197 + <?php if ( $pro_is_installed ) { ?>
193 198 .<?php echo esc_html( $style_class ); ?> .frm_compact .frm_dropzone.dz-clickable .dz-message,
199 +.<?php echo esc_html( $style_class ); ?> .frm-edit-page-btn,
200 + <?php } ?>
194 201 .<?php echo esc_html( $style_class ); ?> input[type=submit],
195 202 .<?php echo esc_html( $style_class ); ?> .frm_submit input[type=button],
196 203 .<?php echo esc_html( $style_class ); ?> .frm_submit button,
197 -.frm_form_submit_style,
198 -.<?php echo esc_html( $style_class ); ?> .frm-edit-page-btn {
199 - width:<?php echo esc_html( ( $submit_width == '' ? 'auto' : $submit_width ) . $important ); ?>;
204 +.frm_form_submit_style {
205 + width:<?php echo esc_html( ( $submit_width == '' ? 'auto' : $submit_width ) . $important ); // phpcs:ignore Universal.Operators.StrictComparisons ?>;
200 206 <?php if ( ! empty( $font ) ) { ?>
201 207 font-family:<?php FrmAppHelper::kses_echo( $font ); ?>;
202 208 <?php } ?>
203 209 font-size:<?php echo esc_html( $submit_font_size . $important ); ?>;
@@ -207,9 +213,9 @@
207 213 background:
208 214 <?php
209 215 echo esc_html( $submit_bg_color );
210 216
211 - if ( ! empty( $submit_bg_img ) ) {
217 + if ( $submit_bg_img ) {
212 218 echo esc_html( ' url(' . $submit_bg_img . ')' );
213 219 }
214 220 echo esc_html( $important );
215 221 ?>
@@ -231,9 +237,9 @@
231 237 <?php } ?>
232 238 margin:<?php echo esc_html( $submit_margin ); ?>;
233 239 <?php
234 240 // For reverse compatibility... But allow "10px 10px".
235 - if ( strpos( trim( $submit_margin ), ' ' ) === false ) {
241 + if ( ! str_contains( trim( $submit_margin ), ' ' ) ) {
236 242 ?>
237 243 margin-left:0;
238 244 margin-right:0;
239 245 <?php } ?>
@@ -239,20 +245,24 @@
239 245 <?php } ?>
240 246 vertical-align:middle;
241 247 }
242 248
249 + <?php if ( $pro_is_installed ) { ?>
243 250 .<?php echo esc_html( $style_class ); ?> .frm_compact .frm_dropzone.dz-clickable .dz-message{
244 251 margin:0;
245 252 }
253 + <?php } ?>
246 254
247 - <?php if ( empty( $submit_bg_img ) ) { ?>
255 + <?php if ( ! $submit_bg_img ) { ?>
256 + <?php if ( $pro_is_installed ) { ?>
248 257 .<?php echo esc_html( $style_class ); ?> .frm-edit-page-btn:hover,
258 + <?php } ?>
249 259 .<?php echo esc_html( $style_class ); ?> input[type=submit]:hover,
250 260 .<?php echo esc_html( $style_class ); ?> .frm_submit input[type=button]:hover,
251 261 .<?php echo esc_html( $style_class ); ?> .frm_submit button:hover{
252 - background: <?php echo esc_html( $submit_hover_bg_color . $important ); ?>;
253 - border-color: <?php echo esc_html( $submit_hover_border_color . $important ); ?>;
254 - color: <?php echo esc_html( $submit_hover_color . $important ); ?>;
262 + background:var(--submit-hover-bg-color)<?php echo esc_html( $important ); ?>;
263 + border-color:var(--submit-hover-border-color)<?php echo esc_html( $important ); ?>;
264 + color:var(--submit-hover-color)<?php echo esc_html( $important ); ?>;
255 265 }
256 266
257 267 .<?php echo esc_html( $style_class ); ?>.frm_center_submit .frm_submit .frm_ajax_loading{
258 268 margin-bottom:<?php echo esc_html( FrmStylesHelper::get_bottom_value( $submit_margin ) ); ?>;
@@ -257,9 +267,11 @@
257 267 .<?php echo esc_html( $style_class ); ?>.frm_center_submit .frm_submit .frm_ajax_loading{
258 268 margin-bottom:<?php echo esc_html( FrmStylesHelper::get_bottom_value( $submit_margin ) ); ?>;
259 269 }
260 270
271 + <?php if ( $pro_is_installed ) { ?>
261 272 .<?php echo esc_html( $style_class ); ?> .frm-edit-page-btn:focus,
273 + <?php } ?>
262 274 .<?php echo esc_html( $style_class ); ?> input[type=submit]:focus,
263 275 .<?php echo esc_html( $style_class ); ?> .frm_submit input[type=button]:focus,
264 276 .<?php echo esc_html( $style_class ); ?> .frm_submit button:focus,
265 277 .<?php echo esc_html( $style_class ); ?> input[type=submit]:active,
@@ -264,38 +276,48 @@
264 276 .<?php echo esc_html( $style_class ); ?> .frm_submit button:focus,
265 277 .<?php echo esc_html( $style_class ); ?> input[type=submit]:active,
266 278 .<?php echo esc_html( $style_class ); ?> .frm_submit input[type=button]:active,
267 279 .<?php echo esc_html( $style_class ); ?> .frm_submit button:active{
268 - background: <?php echo esc_html( $submit_active_bg_color . $important ); ?>;
269 - border-color: <?php echo esc_html( $submit_active_border_color . $important ); ?>;
270 - color: <?php echo esc_html( $submit_active_color . $important ); ?>;
280 + background:var(--submit-active-bg-color)<?php echo esc_html( $important ); ?>;
281 + border-color:var(--submit-active-border-color)<?php echo esc_html( $important ); ?>;
282 + color:var(--submit-active-color)<?php echo esc_html( $important ); ?>;
271 283 outline: none;
272 284 }
273 285
286 + <?php if ( $pro_is_installed ) { ?>
274 287 .<?php echo esc_html( $style_class ); ?> .frm_loading_prev .frm_prev_page,
275 288 .<?php echo esc_html( $style_class ); ?> .frm_loading_prev .frm_prev_page:hover,
276 289 .<?php echo esc_html( $style_class ); ?> .frm_loading_prev .frm_prev_page:active,
277 290 .<?php echo esc_html( $style_class ); ?> .frm_loading_prev .frm_prev_page:focus,
291 + <?php } ?>
278 292 .<?php echo esc_html( $style_class ); ?> .frm_loading_form .frm_button_submit,
279 293 .<?php echo esc_html( $style_class ); ?> .frm_loading_form .frm_button_submit:hover,
280 294 .<?php echo esc_html( $style_class ); ?> .frm_loading_form .frm_button_submit:active,
281 295 .<?php echo esc_html( $style_class ); ?> .frm_loading_form .frm_button_submit:focus{
282 - color: transparent <?php echo esc_html( $important ); ?>;
283 - background: <?php echo esc_html( $submit_bg_color . $important ); ?>;
284 - border-color: <?php echo esc_html( $submit_bg_color . $important ); ?>;
296 + color: transparent<?php echo esc_html( $important ); ?>;
297 + background:var(--submit-bg-color)<?php echo esc_html( $important ); ?>;
298 + border-color:var(--submit-bg-color)<?php echo esc_html( $important ); ?>;
285 299 }
286 300
301 + <?php if ( $pro_is_installed ) { ?>
287 302 .<?php echo esc_html( $style_class ); ?> .frm_loading_prev .frm_prev_page:before,
303 + <?php } ?>
288 304 .<?php echo esc_html( $style_class ); ?> .frm_loading_form .frm_button_submit:before {
289 - border-bottom-color: <?php echo esc_html( $submit_text_color . $important ); ?>;
290 - border-right-color: <?php echo esc_html( $submit_text_color . $important ); ?>;
305 + border-bottom-color:var(--submit-text-color)<?php echo esc_html( $important ); ?>;
306 + border-right-color:var(--submit-text-color)<?php echo esc_html( $important ); ?>;
291 307 <?php if ( $submit_height !== 'auto' ) { ?>
292 - max-height:<?php echo esc_html( $submit_height ); ?>;
308 + max-height:var(--submit-height)<?php echo esc_html( $important ); ?>;
293 309 <?php } ?>
294 310 <?php if ( $submit_width !== 'auto' ) { ?>
295 - max-width:<?php echo esc_html( $submit_width ); ?>;
311 + max-width:var(--submit-width)<?php echo esc_html( $important ); ?>;
296 312 <?php } ?>
297 313 }
314 +.<?php echo esc_html( $style_class ); ?> input[type=submit][disabled],
315 +.<?php echo esc_html( $style_class ); ?> .frm_submit input[type=button][disabled],
316 +.<?php echo esc_html( $style_class ); ?> .frm_submit button[disabled] {
317 + opacity: 0.5;
318 + cursor: not-allowed;
319 +}
298 320 <?php
299 321 }//end if
300 322 }//end if
301 323 ?>
@@ -305,13 +327,13 @@
305 327 content:"before";
306 328 <?php if ( ! empty( $font ) ) { ?>
307 329 font-family:<?php FrmAppHelper::kses_echo( $font ); ?>;
308 330 <?php } ?>
309 - font-size:<?php echo esc_html( $font_size . $important ); ?>;
310 - color:<?php echo esc_html( $label_color . $important ); ?>;
311 - font-weight:<?php echo esc_html( $weight . $important ); ?>;
331 + font-size:var(--font-size)<?php echo esc_html( $important ); ?>;
332 + color:var(--label-color)<?php echo esc_html( $important ); ?>;
333 + font-weight:var(--weight)<?php echo esc_html( $important ); ?>;
312 334 margin:0;
313 - padding:<?php echo esc_html( $label_padding . $important ); ?>;
335 + padding:var(--label-padding)<?php echo esc_html( $important ); ?>;
314 336 width:auto;
315 337 display:block;
316 338 visibility:hidden;
317 339 }
@@ -322,17 +344,24 @@
322 344 .<?php echo esc_html( $style_class ); ?> .frm_submit.frm_inline_submit button {
323 345 margin: 0 !important;
324 346 }
325 347
348 +<?php
349 +// Only include this CSS when the math captcha plugin is active.
350 +if ( class_exists( 'FrmCptController' ) ) :
351 + ?>
326 352 .<?php echo esc_html( $style_class ); ?> #frm_field_cptch_number_container{
327 353 <?php if ( ! empty( $font ) ) { ?>
328 354 font-family:<?php FrmAppHelper::kses_echo( $font ); ?>;
329 355 <?php } ?>
330 - font-size:<?php echo esc_html( $font_size . $important ); ?>;
331 - color:<?php echo esc_html( $label_color . $important ); ?>;
332 - font-weight:<?php echo esc_html( $weight . $important ); ?>;
356 + font-size:var(--font-size)<?php echo esc_html( $important ); ?>;
357 + color:var(--label-color)<?php echo esc_html( $important ); ?>;
358 + font-weight:var(--weight)<?php echo esc_html( $important ); ?>;
333 359 clear:both;
334 360 }
361 + <?php
362 +endif;
363 +?>
335 364
336 365 .<?php echo esc_html( $style_class ); ?> .frm_blank_field input[type=text],
337 366 .<?php echo esc_html( $style_class ); ?> .frm_blank_field input[type=password],
338 367 .<?php echo esc_html( $style_class ); ?> .frm_blank_field input[type=url],
@@ -341,9 +370,11 @@
341 370 .<?php echo esc_html( $style_class ); ?> .frm_blank_field input[type=email],
342 371 .<?php echo esc_html( $style_class ); ?> .frm_blank_field input[type=checkbox],
343 372 .<?php echo esc_html( $style_class ); ?> .frm_blank_field input[type=radio],
344 373 .<?php echo esc_html( $style_class ); ?> .frm_blank_field textarea,
374 +<?php if ( $pro_is_installed ) { ?>
345 375 .<?php echo esc_html( $style_class ); ?> .frm_blank_field .mce-edit-area iframe,
376 +<?php } ?>
346 377 .<?php echo esc_html( $style_class ); ?> .frm_blank_field select:not(.ui-datepicker-month):not(.ui-datepicker-year),
347 378 .frm_form_fields_error_style,
348 379 .<?php echo esc_html( $style_class ); ?> .frm_blank_field .frm-g-recaptcha iframe,
349 380 .<?php echo esc_html( $style_class ); ?> .frm_blank_field .g-recaptcha iframe,
@@ -352,42 +383,51 @@
352 383 .<?php echo esc_html( $style_class ); ?> .frm_blank_field .chosen-container-multi .chosen-choices,
353 384 .<?php echo esc_html( $style_class ); ?> .frm_blank_field .chosen-container-single .chosen-single,
354 385 <?php } ?>
355 386 .<?php echo esc_html( $style_class ); ?> .frm_form_field :invalid {
356 - color:<?php echo esc_html( $text_color_error . $important ); ?>;
357 - background-color:<?php echo esc_html( $bg_color_error . $important ); ?>;
358 - border-color:<?php echo esc_html( $border_color_error . $important ); ?>;
359 - border-width:var(--border-width-error) <?php echo esc_html( $important ); ?>;
360 - border-style:<?php echo esc_html( $border_style_error . $important ); ?>;
387 + color:var(--text-color-error)<?php echo esc_html( $important ); ?>;
388 + background-color:var(--bg-color-error)<?php echo esc_html( $important ); ?>;
389 + border-color:var(--border-color-error)<?php echo esc_html( $important ); ?>;
390 + border-width:var(--border-width-error)<?php echo esc_html( $important ); ?>;
391 + border-style:var(--border-style-error)<?php echo esc_html( $important ); ?>;
361 392 }
362 393
394 +<?php
395 +// Only include this style when the signatures add-on is active
396 +if ( class_exists( 'FrmSigField' ) ) :
397 + ?>
363 398 .<?php echo esc_html( $style_class ); ?> .frm_blank_field .sigWrapper{
364 - border-color:<?php echo esc_html( $border_color_error ); ?> !important;
399 + border-color:var(--border-color-error) !important;
365 400 }
401 + <?php
402 +endif;
403 +?>
366 404
367 405 .<?php echo esc_html( $style_class ); ?> .frm_error,
368 406 .<?php echo esc_html( $style_class ); ?> .frm_limit_error{
369 - font-weight:<?php echo esc_html( $weight . $important ); ?>;
370 - color:<?php echo esc_html( $border_color_error . $important ); ?>;
407 + font-weight:var(--weight)<?php echo esc_html( $important ); ?>;
408 + color:var(--border-color-error)<?php echo esc_html( $important ); ?>;
371 409 }
372 410
373 411 .<?php echo esc_html( $style_class ); ?> .frm_error_style{
374 - background-color:<?php echo esc_html( $error_bg . $important ); ?>;
375 - border:1px solid <?php echo esc_html( $error_border . $important ); ?>;
376 - border-radius:<?php echo esc_html( $border_radius . $important ); ?>;
377 - color: <?php echo esc_html( $error_text . $important ); ?>;
378 - font-size:<?php echo esc_html( $error_font_size . $important ); ?>;
412 + background-color:var(--error-bg)<?php echo esc_html( $important ); ?>;
413 + border:1px solid var(--error-border)<?php echo esc_html( $important ); ?>;
414 + border-radius:var(--border-radius)<?php echo esc_html( $important ); ?>;
415 + color:var(--error-text)<?php echo esc_html( $important ); ?>;
416 + font-size:var(--error-font-size)<?php echo esc_html( $important ); ?>;
379 417 margin:0;
380 - margin-bottom:<?php echo esc_html( $field_margin ); ?>;
418 + margin-bottom:var(--field-margin);
381 419 }
382 420
421 +<?php if ( $pro_is_installed ) { ?>
383 422 .<?php echo esc_html( $style_class ); ?> #frm_loading .progress-striped .progress-bar{
384 423 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));
385 424 }
386 425
387 426 .<?php echo esc_html( $style_class ); ?> #frm_loading .progress-bar{
388 - background-color:<?php echo esc_html( $bg_color . $important ); ?>;
427 + background-color:var(--bg-color)<?php echo esc_html( $important ); ?>;
389 428 }
429 +<?php } ?>
390 430
391 431 .<?php echo esc_html( $style_class ); ?> .frm_form_field.frm_total_big input,
392 432 .<?php echo esc_html( $style_class ); ?> .frm_form_field.frm_total_big textarea,
393 433 .<?php echo esc_html( $style_class ); ?> .frm_form_field.frm_total input,