PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.6
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.6
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
formidable / css / custom_theme.css.php

custom_theme.css.php in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More 6.6, at css/custom_theme.css.php

1,684 lines 47.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 die( 'You are not allowed to call this page directly.' );
4 }
5
6 if ( ! isset( $saving ) ) {
7 header( 'Content-type: text/css' );
8
9 if ( ! empty( $css ) ) {
10 echo strip_tags( $css, 'all' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
11 FrmStylesController::maybe_hide_sample_form_error_message();
12 die();
13 }
14 }
15
16 if ( ! isset( $frm_style ) ) {
17 $frm_style = new FrmStyle();
18 }
19
20 $styles = $frm_style->get_all();
21 $default_style = $frm_style->get_default_style( $styles );
22 $defaults = FrmStylesHelper::get_settings_for_output( $default_style );
23 $important = empty( $defaults['important_style'] ) ? '' : ' !important';
24
25 ?>
26 .with_frm_style{
27 <?php FrmStylesHelper::output_vars( $defaults ); ?>
28 }
29
30 .frm_hidden,
31 .frm_add_form_row.frm_hidden,
32 .frm_remove_form_row.frm_hidden,
33 .with_frm_style .frm_button.frm_hidden{
34 display:none;
35 }
36
37 .with_frm_style,
38 .with_frm_style form,
39 .with_frm_style .frm-show-form div.frm_description p{
40 text-align:<?php echo esc_html( $defaults['form_align'] . $important ); ?>;
41 text-align:var(--form-align)<?php echo esc_html( $important ); ?>;
42 }
43
44 input:-webkit-autofill {
45 -webkit-box-shadow: 0 0 0 30px white inset;
46 }
47
48 /* Form description */
49 .with_frm_style .frm-show-form div.frm_description p{
50 <?php if ( ! empty( $defaults['form_desc_size'] ) ) { ?>
51 font-size:<?php echo esc_html( $defaults['form_desc_size'] . $important ); ?>;
52 font-size:var(--form-desc-size)<?php echo esc_html( $important ); ?>;
53 <?php } ?>
54 <?php if ( ! empty( $defaults['form_desc_color'] ) ) { ?>
55 color:<?php echo esc_html( $defaults['form_desc_color'] . $important ); ?>;
56 color:var(--form-desc-color)<?php echo esc_html( $important ); ?>;
57 <?php } ?>
58 <?php if ( ! empty( $defaults['form_desc_margin_top'] ) ) { ?>
59 margin-top:<?php echo esc_html( $defaults['form_desc_margin_top'] . $important ); ?>;
60 margin-top:var(--form-desc-margin-top)<?php echo esc_html( $important ); ?>;
61 <?php } ?>
62 <?php if ( ! empty( $defaults['form_desc_margin_bottom'] ) ) { ?>
63 margin-bottom:<?php echo esc_html( $defaults['form_desc_margin_bottom'] . $important ); ?>;
64 margin-bottom:var(--form-desc-margin-bottom)<?php echo esc_html( $important ); ?>;
65 <?php } ?>
66 <?php if ( isset( $defaults['form_desc_padding'] ) ) { ?>
67 padding:<?php echo esc_html( $defaults['form_desc_padding'] . $important ); ?>;
68 padding:var(--form-desc-padding)<?php echo esc_html( $important ); ?>;
69 <?php } ?>
70 }
71
72 form .<?php echo esc_html( FrmHoneypot::generate_class_name() ); ?> {
73 overflow: hidden;
74 width: 0;
75 height: 0;
76 position: absolute;
77 }
78
79 .with_frm_style fieldset{
80 min-width:0;
81 display: block; /* Override 2021 theme */
82 }
83
84 .with_frm_style fieldset fieldset{
85 border:none;
86 margin:0;
87 padding:0;
88 background-color:transparent;
89 }
90
91 .with_frm_style .frm_form_fields > fieldset{
92 <?php if ( isset( $defaults['fieldset'] ) && ( $defaults['fieldset'] || '0' === $defaults['fieldset'] ) ) { ?>
93 border-width:<?php echo esc_html( $defaults['fieldset'] . $important ); ?>;
94 border-width:var(--fieldset)<?php echo esc_html( $important ); ?>;
95 <?php } ?>
96 border-style:solid;
97 <?php if ( ! empty( $defaults['fieldset_color'] ) ) { ?>
98 border-color:<?php echo esc_html( $defaults['fieldset_color'] . $important ); ?>;
99 border-color:var(--fieldset-color)<?php echo esc_html( $important ); ?>;
100 <?php } ?>
101 margin:0;
102 <?php if ( ! empty( $defaults['fieldset_padding'] ) ) { ?>
103 padding:<?php echo esc_html( $defaults['fieldset_padding'] . $important ); ?>;
104 padding:var(--fieldset-padding)<?php echo esc_html( $important ); ?>;
105 <?php } ?>
106 <?php if ( ! empty( $defaults['fieldset_bg_color'] ) ) { ?>
107 background-color:<?php echo esc_html( $defaults['fieldset_bg_color'] ); ?>;
108 background-color:var(--fieldset-bg-color)<?php echo esc_html( $important ); ?>;
109 <?php } ?>
110 <?php if ( ! empty( $defaults['font'] ) ) { ?>
111 font-family:var(--font);
112 <?php } ?>
113 }
114
115 legend.frm_hidden{
116 display:none !important;
117 }
118
119 .with_frm_style .frm_form_fields{
120 opacity:1;
121 transition: opacity 0.1s linear;
122 }
123 .with_frm_style .frm_doing_ajax{
124 opacity:.5;
125 }
126
127 .frm_transparent{
128 color:transparent;
129 }
130
131 .with_frm_style legend + h3,
132 .with_frm_style h3.frm_form_title{
133 <?php if ( ! empty( $defaults['title_size'] ) ) { ?>
134 font-size:<?php echo esc_html( $defaults['title_size'] . $important ); ?>;
135 font-size:var(--title-size)<?php echo esc_html( $important ); ?>;
136 <?php } ?>
137 <?php if ( ! empty( $defaults['title_color'] ) ) { ?>
138 color:<?php echo esc_html( $defaults['title_color'] . $important ); ?>;
139 color:var(--title-color)<?php echo esc_html( $important ); ?>;
140 <?php } ?>
141 <?php if ( ! empty( $defaults['font'] ) ) { ?>
142 font-family:<?php echo FrmAppHelper::kses( $defaults['font'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>;
143 font-family:var(--font);
144 <?php } ?>
145 <?php if ( ! empty( $defaults['title_margin_top'] ) ) { ?>
146 margin-top:<?php echo esc_html( $defaults['title_margin_top'] . $important ); ?>;
147 margin-top:var(--title-margin-top)<?php echo esc_html( $important ); ?>;
148 <?php } ?>
149 <?php if ( ! empty( $defaults['title_margin_bottom'] ) ) { ?>
150 margin-bottom:<?php echo esc_html( $defaults['title_margin_bottom'] . $important ); ?>;
151 margin-bottom:var(--title-margin-bottom)<?php echo esc_html( $important ); ?>;
152 <?php } ?>
153 }
154
155 .with_frm_style .frm_form_field.frm_html_container,
156 .with_frm_style .frm_form_field .frm_show_it{
157 <?php if ( ! empty( $defaults['font'] ) ) { ?>
158 font-family:<?php echo FrmAppHelper::kses( $defaults['font'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>;
159 font-family:var(--font);
160 <?php } ?>
161 <?php if ( ! empty( $defaults['form_desc_color'] ) ) { ?>
162 color:<?php echo esc_html( $defaults['form_desc_color'] . $important ); ?>;
163 color:var(--form-desc-color)<?php echo esc_html( $important ); ?>;
164 <?php } ?>
165 }
166
167 <?php if ( ! empty( $defaults['form_desc_size'] ) ) { ?>
168 .with_frm_style .frm_form_field.frm_html_container{
169 font-size:<?php echo esc_html( $defaults['form_desc_size'] . $important ); ?>;
170 font-size:var(--form-desc-size)<?php echo esc_html( $important ); ?>;
171 }
172 <?php } ?>
173
174 .with_frm_style .frm_form_field .frm_show_it{
175 <?php if ( ! empty( $defaults['field_font_size'] ) ) { ?>
176 font-size:<?php echo esc_html( $defaults['field_font_size'] . $important ); ?>;
177 font-size:var(--field-font-size)<?php echo esc_html( $important ); ?>;
178 <?php } ?>
179 <?php if ( ! empty( $defaults['field_weight'] ) ) { ?>
180 font-weight:<?php echo esc_html( $defaults['field_weight'] ); ?>;
181 font-weight:var(--field-weight)<?php echo esc_html( $important ); ?>;
182 <?php } ?>
183 }
184
185 .with_frm_style .frm_required{
186 <?php if ( ! empty( $defaults['required_color'] ) ) { ?>
187 color:<?php echo esc_html( $defaults['required_color'] . $important ); ?>;
188 color:var(--required-color)<?php echo esc_html( $important ); ?>;
189 <?php } ?>
190 <?php if ( ! empty( $defaults['required_weight'] ) ) { ?>
191 font-weight:<?php echo esc_html( $defaults['required_weight'] . $important ); ?>;
192 font-weight:var(--required-weight)<?php echo esc_html( $important ); ?>;
193 <?php } ?>
194 }
195
196 .with_frm_style input[type=text],
197 .with_frm_style input[type=password],
198 .with_frm_style input[type=email],
199 .with_frm_style input[type=number],
200 .with_frm_style input[type=url],
201 .with_frm_style input[type=tel],
202 .with_frm_style input[type=search],
203 .with_frm_style select,
204 .with_frm_style textarea,
205 .with_frm_style .frm-card-element.StripeElement,
206 .with_frm_style .chosen-container{
207 font-family:var(--font)<?php echo esc_html( $important ); ?>;
208 <?php if ( ! empty( $defaults['field_font_size'] ) ) { ?>
209 font-size:<?php echo esc_html( $defaults['field_font_size'] ); ?>;
210 font-size:var(--field-font-size)<?php echo esc_html( $important ); ?>;
211 <?php } ?>
212 margin-bottom:0<?php echo esc_html( $important ); ?>;
213 }
214
215 .with_frm_style textarea{
216 vertical-align:top;
217 height:auto;
218 }
219
220 .with_frm_style input[type=text],
221 .with_frm_style input[type=password],
222 .with_frm_style input[type=email],
223 .with_frm_style input[type=number],
224 .with_frm_style input[type=url],
225 .with_frm_style input[type=tel],
226 .with_frm_style input[type=phone],
227 .with_frm_style input[type=search],
228 .with_frm_style select,
229 .with_frm_style textarea,
230 .frm_form_fields_style,
231 .with_frm_style .frm_scroll_box .frm_opt_container,
232 .frm_form_fields_active_style,
233 .frm_form_fields_error_style,
234 .with_frm_style .frm-card-element.StripeElement,
235 .with_frm_style .chosen-container-multi .chosen-choices,
236 .with_frm_style .chosen-container-single .chosen-single{
237 color:<?php echo esc_html( $defaults['text_color'] ); ?>;
238 color:var(--text-color)<?php echo esc_html( $important ); ?>;
239 background-color:<?php echo esc_html( $defaults['bg_color'] . $important ); ?>;
240 background-color:var(--bg-color)<?php echo esc_html( $important ); ?>;
241 border-color:<?php echo esc_html( $defaults['border_color'] ); ?>;
242 border-color:var(--border-color)<?php echo esc_html( $important ); ?>;
243 border-width:<?php echo esc_html( $defaults['field_border_width'] ); ?>;
244 border-width:var(--field-border-width)<?php echo esc_html( $important ); ?>;
245 border-style:<?php echo esc_html( $defaults['field_border_style'] ); ?>;
246 border-style:var(--field-border-style)<?php echo esc_html( $important ); ?>;
247 -moz-border-radius:<?php echo esc_html( $defaults['border_radius'] . $important ); ?>;
248 -webkit-border-radius:<?php echo esc_html( $defaults['border_radius'] . $important ); ?>;
249 border-radius:<?php echo esc_html( $defaults['border_radius'] ); ?>;
250 border-radius:var(--border-radius)<?php echo esc_html( $important ); ?>;
251 width:<?php echo esc_html( $defaults['field_width'] ); ?>;
252 width:var(--field-width)<?php echo esc_html( $important ); ?>;
253 max-width:100%;
254 font-size:<?php echo esc_html( $defaults['field_font_size'] ); ?>;
255 font-size:var(--field-font-size)<?php echo esc_html( $important ); ?>;
256 padding:<?php echo esc_html( $defaults['field_pad'] ); ?>;
257 padding:var(--field-pad)<?php echo esc_html( $important ); ?>;
258 -webkit-box-sizing:border-box;
259 -moz-box-sizing:border-box;
260 box-sizing:border-box;
261 outline:none<?php echo esc_html( $important ); ?>;
262 font-weight:<?php echo esc_html( $defaults['field_weight'] ); ?>;
263 font-weight:var(--field-weight);
264 box-shadow:var(--box-shadow)<?php echo esc_html( $important ); ?>;
265 }
266
267 <?php if ( ! empty( $important ) ) { ?>
268 .with_frm_style input[type=text],
269 .with_frm_style input[type=password],
270 .with_frm_style input[type=email],
271 .with_frm_style input[type=number],
272 .with_frm_style input[type=url],
273 .with_frm_style input[type=tel],
274 .with_frm_style input[type=phone],
275 .with_frm_style input[type=search],
276 .with_frm_style textarea,
277 .frm_form_fields_style,
278 .with_frm_style .frm_scroll_box .frm_opt_container,
279 .frm_form_fields_active_style,
280 .frm_form_fields_error_style,
281 .with_frm_style .frm-card-element.StripeElement,
282 .with_frm_style .chosen-container-multi .chosen-choices,
283 .with_frm_style .chosen-container-single .chosen-single{
284 background-image:none !important;
285 }
286 <?php } ?>
287
288 .with_frm_style select option {
289 color:<?php echo esc_html( $defaults['text_color'] ); ?>;
290 color:var(--text-color)<?php echo esc_html( $important ); ?>;
291 }
292
293 .with_frm_style select option.frm-select-placeholder {
294 color:<?php echo esc_html( $defaults['text_color_disabled'] ); ?>;
295 color:var(--text-color-disabled)<?php echo esc_html( $important ); ?>;
296 }
297
298 .with_frm_style input[type=radio],
299 .with_frm_style input[type=checkbox]{
300 border-color:<?php echo esc_html( $defaults['border_color'] . $important ); ?>;
301 border-color:var(--border-color)<?php echo esc_html( $important ); ?>;
302 box-shadow:var(--box-shadow)<?php echo esc_html( $important ); ?>;
303 float: none;
304 }
305
306 .with_frm_style input[type=radio]:after,
307 .with_frm_style input[type=checkbox]:after {
308 display: none; /* 2021 conflict */
309 }
310
311 .with_frm_style input[type=text],
312 .with_frm_style input[type=password],
313 .with_frm_style input[type=email],
314 .with_frm_style input[type=number],
315 .with_frm_style input[type=url],
316 .with_frm_style input[type=tel],
317 .with_frm_style input[type=file],
318 .with_frm_style input[type=search],
319 .with_frm_style select,
320 .with_frm_style .frm-card-element.StripeElement{
321 min-height:<?php echo esc_html( $defaults['field_height'] ); ?>;
322 min-height:var(--field-height)<?php echo esc_html( $important ); ?>;
323 line-height:1.3<?php echo esc_html( $important ); ?>;
324 }
325
326 .with_frm_style select[multiple=multiple]{
327 height:auto<?php echo esc_html( $important ); ?>;
328 }
329
330 .input[type=file].frm_transparent:focus,
331 .with_frm_style input[type=file]{
332 background-color:transparent;
333 border:none;
334 outline:none;
335 box-shadow:none;
336 }
337
338 .with_frm_style input[type=file]{
339 color:<?php echo esc_html( $defaults['text_color'] ); ?>;
340 color:var(--text-color)<?php echo esc_html( $important ); ?>;
341 padding:0px;
342 <?php if ( ! empty( $defaults['font'] ) ) { ?>
343 font-family:var(--font)<?php echo esc_html( $important ); ?>;
344 <?php } ?>
345 font-size:<?php echo esc_html( $defaults['field_font_size'] ); ?>;
346 font-size:var(--field-font-size)<?php echo esc_html( $important ); ?>;
347 display:initial;
348 }
349
350 .with_frm_style input[type=file].frm_transparent{
351 color:transparent<?php echo esc_html( $important ); ?>;
352 }
353
354 .with_frm_style .wp-editor-wrap{
355 width:<?php echo esc_html( $defaults['field_width'] . $important ); ?>;
356 width:var(--field-width)<?php echo esc_html( $important ); ?>;
357 max-width:100%;
358 }
359
360 .with_frm_style .wp-editor-container textarea{
361 border:none<?php echo esc_html( $important ); ?>;
362 box-shadow:none !important;
363 }
364
365 .with_frm_style .mceIframeContainer{
366 background-color:<?php echo esc_html( $defaults['bg_color'] . $important ); ?>;
367 background-color:var(--bg-color)<?php echo esc_html( $important ); ?>;
368 }
369
370 .with_frm_style select{
371 width:<?php echo esc_html( $defaults['auto_width'] ); ?>;
372 width:var(--auto-width)<?php echo esc_html( $important ); ?>;
373 max-width:100%;
374 background-position-y: calc(50% + 3px);
375 }
376
377 .with_frm_style input[disabled],
378 .with_frm_style select[disabled],
379 .with_frm_style textarea[disabled],
380 .with_frm_style input[readonly],
381 .with_frm_style select[readonly],
382 .with_frm_style textarea[readonly]{
383 background-color:<?php echo esc_html( $defaults['bg_color_disabled'] ); ?>;
384 background-color:var(--bg-color-disabled)<?php echo esc_html( $important ); ?>;
385 color:<?php echo esc_html( $defaults['text_color_disabled'] ); ?>;
386 color:var(--text-color-disabled)<?php echo esc_html( $important ); ?>;
387 border-color:<?php echo esc_html( $defaults['border_color_disabled'] ); ?>;
388 border-color:var(--border-color-disabled)<?php echo esc_html( $important ); ?>;
389 }
390
391 .frm_preview_page:before{
392 content:normal !important;
393 }
394
395 .frm_preview_page{
396 padding:25px;
397 }
398
399 .with_frm_style .frm_primary_label{
400 max-width:100%;
401 <?php if ( ! empty( $defaults['font'] ) ) { ?>
402 font-family:<?php echo FrmAppHelper::kses( $defaults['font'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>;
403 font-family:var(--font);
404 <?php } ?>
405 <?php if ( ! empty( $defaults['font_size'] ) ) { ?>
406 font-size:<?php echo esc_html( $defaults['font_size'] . $important ); ?>;
407 font-size:var(--font-size)<?php echo esc_html( $important ); ?>;
408 <?php } ?>
409 <?php if ( ! empty( $defaults['label_color'] ) ) { ?>
410 color:<?php echo esc_html( $defaults['label_color'] . $important ); ?>;
411 color:var(--label-color)<?php echo esc_html( $important ); ?>;
412 <?php } ?>
413 <?php if ( ! empty( $defaults['weight'] ) ) { ?>
414 font-weight:<?php echo esc_html( $defaults['weight'] . $important ); ?>;
415 font-weight:var(--weight)<?php echo esc_html( $important ); ?>;
416 <?php } ?>
417 <?php if ( ! empty( $defaults['align'] ) ) { ?>
418 text-align:<?php echo esc_html( $defaults['align'] . $important ); ?>;
419 text-align:var(--align)<?php echo esc_html( $important ); ?>;
420 <?php } ?>
421 <?php if ( ! empty( $defaults['label_padding'] ) ) { ?>
422 padding:<?php echo esc_html( $defaults['label_padding'] . $important ); ?>;
423 padding:var(--label-padding)<?php echo esc_html( $important ); ?>;
424 <?php } ?>
425 margin:0;
426 width:auto;
427 display:block;
428 }
429
430 .with_frm_style .frm_top_container .frm_primary_label,
431 .with_frm_style .frm_hidden_container .frm_primary_label,
432 .with_frm_style .frm_pos_top{
433 display:block;
434 float:none;
435 width:auto;
436 }
437
438 .with_frm_style .frm_inline_container .frm_primary_label{
439 margin-right:10px;
440 }
441
442 .with_frm_style .frm_right_container .frm_primary_label,
443 .with_frm_style .frm_pos_right{
444 display:inline;
445 float:right;
446 margin-left:10px;
447 }
448
449 .with_frm_style .frm_pos_center {
450 text-align: center;
451 }
452
453 .with_frm_style .frm_none_container .frm_primary_label,
454 .with_frm_style .frm_pos_none,
455 .frm_pos_none,
456 .frm_none_container .frm_primary_label{
457 display:none;
458 }
459
460 .with_frm_style .frm_section_heading.frm_hide_section{
461 margin-top:0 !important;
462 }
463
464 .with_frm_style .frm_hidden_container .frm_primary_label,
465 .with_frm_style .frm_pos_hidden,
466 .frm_hidden_container .frm_primary_label{
467 visibility:hidden;
468 white-space:nowrap;
469 }
470
471 .frm_visible{
472 opacity:1;
473 }
474
475 /* Floating labels */
476 .with_frm_style .frm_inside_container {
477 position: relative;
478 padding-top: 16px;
479 padding-top: calc(0.5 * var(--field-height));
480 }
481
482 .with_frm_style .frm_inside_container > input,
483 .with_frm_style .frm_inside_container > select,
484 .with_frm_style .frm_inside_container > textarea {
485 display: block;
486 }
487
488 /* These do not work if they are combined */
489 .with_frm_style .frm_inside_container > input::-moz-placeholder,
490 .with_frm_style .frm_inside_container > textarea::-moz-placeholder {
491 opacity: 0 !important;
492 transition: opacity 0.3s ease-in;
493 }
494
495 .with_frm_style .frm_inside_container > input:-ms-input-placeholder,
496 .with_frm_style .frm_inside_container > textarea:-ms-input-placeholder {
497 opacity: 0;
498 transition: opacity 0.3s ease-in;
499 }
500
501 .with_frm_style .frm_inside_container > input::placeholder,
502 .with_frm_style .frm_inside_container > textarea::placeholder {
503 opacity: 0;
504 transition: opacity 0.3s ease-in;
505 }
506
507 .with_frm_style .frm_inside_container > label {
508 transition: all 0.3s ease-in;
509
510 position: absolute;
511 top: 17px;
512 top: calc(1px + .5 * var(--field-height));
513 left: 3px;
514 width: 100%;
515
516 line-height: 1.3;
517 text-overflow: ellipsis;
518 overflow: hidden;
519 white-space: nowrap;
520
521 padding: 6px 10px;
522 padding: var(--field-pad);
523
524 font-size: 14px;
525 font-size: var(--field-font-size);
526 font-weight: normal;
527 font-weight: var(--field-weight);
528
529 -ms-pointer-events: none;
530 pointer-events: none;
531 }
532
533 .with_frm_style.frm_style_lines-no-boxes .frm_inside_container > label {
534 line-height: 1;
535 }
536
537 .with_frm_style .frm_inside_container.frm_label_float_top > label {
538 top: 0;
539 left: 0;
540 padding: 0;
541 font-size: 12px;
542 font-size: calc(0.85 * var(--field-font-size));
543 }
544
545 /* These do not work if they are combined */
546 .with_frm_style .frm_inside_container.frm_label_float_top > input::-moz-placeholder,
547 .with_frm_style .frm_inside_container.frm_label_float_top > textarea::-moz-placeholder {
548 opacity: 1 !important;
549 transition: opacity 0.3s ease-in;
550 }
551
552 .with_frm_style .frm_inside_container.frm_label_float_top > input:-ms-input-placeholder,
553 .with_frm_style .frm_inside_container.frm_label_float_top > textarea:-ms-input-placeholder {
554 opacity: 1;
555 transition: opacity 0.3s ease-in;
556 }
557
558 .with_frm_style .frm_inside_container.frm_label_float_top > input::placeholder,
559 .with_frm_style .frm_inside_container.frm_label_float_top > textarea::placeholder {
560 opacity: 1;
561 transition: opacity 0.3s ease-in;
562 }
563 /* End floating label */
564
565 .with_frm_style .frm_description,
566 .with_frm_style .frm_pro_max_limit_desc{
567 clear:both;
568 }
569
570 .with_frm_style input[type=number][readonly]{
571 -moz-appearance: textfield;
572 }
573
574 .with_frm_style select[multiple="multiple"]{
575 height:auto;
576 line-height:normal;
577 }
578
579 .with_frm_style .frm_catlevel_2,
580 .with_frm_style .frm_catlevel_3,
581 .with_frm_style .frm_catlevel_4,
582 .with_frm_style .frm_catlevel_5{
583 margin-left:18px;
584 }
585
586 .with_frm_style .wp-editor-container{
587 border:1px solid #e5e5e5;
588 }
589
590 .with_frm_style .quicktags-toolbar input{
591 font-size:12px !important;
592 }
593
594 .with_frm_style .wp-editor-container textarea{
595 border:none;
596 }
597
598 .with_frm_style .auto_width #loginform input,
599 .with_frm_style .auto_width input,
600 .with_frm_style input.auto_width,
601 .with_frm_style select.auto_width,
602 .with_frm_style textarea.auto_width{
603 width:auto<?php echo esc_html( $important ); ?>;
604 }
605
606 .with_frm_style .frm_repeat_buttons{
607 white-space:nowrap;
608 }
609
610 .with_frm_style .frm_button{
611 text-decoration:none !important;;
612 border:1px solid #eee;
613 display:inline-block;
614 <?php if ( ! empty( $defaults['submit_padding'] ) ) { ?>
615 padding:<?php echo esc_html( $defaults['submit_padding'] . $important ); ?>;
616 padding:var(--submit-padding)<?php echo esc_html( $important ); ?>;
617 <?php } else { ?>
618 padding:5px;
619 <?php } ?>
620 <?php if ( ! empty( $defaults['border_radius'] ) ) { ?>
621 -moz-border-radius:<?php echo esc_html( $defaults['border_radius'] . $important ); ?>;
622 -webkit-border-radius:<?php echo esc_html( $defaults['border_radius'] . $important ); ?>;
623 border-radius:<?php echo esc_html( $defaults['border_radius'] . $important ); ?>;
624 border-radius:var(--border-radius)<?php echo esc_html( $important ); ?>;
625 <?php } ?>
626 <?php if ( ! empty( $defaults['submit_font_size'] ) ) { ?>
627 font-size:<?php echo esc_html( $defaults['submit_font_size'] . $important ); ?>;
628 font-size:var(--submit-font-size)<?php echo esc_html( $important ); ?>;
629 <?php } ?>
630 <?php if ( ! empty( $defaults['font'] ) ) { ?>
631 font-family:<?php echo FrmAppHelper::kses( $defaults['font'] . $important ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>;
632 font-family:var(--font)<?php echo esc_html( $important ); ?>;
633 <?php } ?>
634 <?php if ( ! empty( $defaults['submit_weight'] ) ) { ?>
635 font-weight:<?php echo esc_html( $defaults['submit_weight'] . $important ); ?>;
636 font-weight:var(--submit-weight)<?php echo esc_html( $important ); ?>;
637 <?php } ?>
638 <?php if ( ! empty( $defaults['submit_text_color'] ) ) { ?>
639 color:<?php echo esc_html( $defaults['submit_text_color'] . $important ); ?>;
640 color:var(--submit-text-color)<?php echo esc_html( $important ); ?>;
641 <?php } ?>
642 <?php if ( ! empty( $defaults['submit_bg_color'] ) ) { ?>
643 background:<?php echo esc_html( $defaults['submit_bg_color'] . $important ); ?>;
644 background:var(--submit-bg-color)<?php echo esc_html( $important ); ?>;
645 <?php } ?>
646 <?php if ( ! empty( $defaults['submit_border_width'] ) ) { ?>
647 border-width:<?php echo esc_html( $defaults['submit_border_width'] ); ?>;
648 border-width:var(--submit-border-width)<?php echo esc_html( $important ); ?>;
649 <?php } ?>
650 <?php if ( ! empty( $defaults['submit_border_color'] ) ) { ?>
651 border-color:<?php echo esc_html( $defaults['submit_border_color'] . $important ); ?>;
652 border-color:var(--submit-border-color)<?php echo esc_html( $important ); ?>;
653 <?php } ?>
654 <?php if ( ! empty( $defaults['submit_height'] ) ) { ?>
655 height:<?php echo esc_html( $defaults['submit_height'] . $important ); ?>;
656 height:var(--submit-height)<?php echo esc_html( $important ); ?>;
657 <?php } ?>
658 }
659
660 <?php if ( ! empty( $defaults['submit_text_color'] ) ) { ?>
661 .with_frm_style .frm_button.frm_inverse{
662 color:var(--submit-bg-color)<?php echo esc_html( $important ); ?>;
663 background:var(--submit-text-color)<?php echo esc_html( $important ); ?>;
664 }
665 <?php } ?>
666
667 .with_frm_style .frm_submit{
668 clear:both;
669 }
670
671 .frm_inline_form .frm_form_field,
672 .frm_inline_form .frm_submit{
673 grid-column: span 1 / span 1;
674 }
675
676 .frm_inline_form .frm_submit{
677 margin:0;
678 }
679
680 .frm_submit.frm_inline_submit input[type=submit],
681 .frm_submit.frm_inline_submit button,
682 .frm_inline_form .frm_submit input[type=submit],
683 .frm_inline_form .frm_submit button{
684 margin-top:0;
685 }
686
687 .with_frm_style.frm_center_submit .frm_submit{
688 text-align:center;
689 }
690
691 .with_frm_style .frm_inline_success .frm_submit{
692 display: flex;
693 flex-direction: row;
694 align-items: center;
695 margin: 0;
696 }
697
698 .with_frm_style .frm_inline_success .frm_submit .frm_message{
699 flex: 1;
700 margin: 0;
701 padding-left: 10px;
702 }
703
704 .with_frm_style .frm_inline_success.frm_alignright_success .frm_submit .frm_message{
705 text-align: right;
706 }
707
708 .with_frm_style.frm_center_submit .frm_submit input[type=submit],
709 .with_frm_style.frm_center_submit .frm_submit input[type=button],
710 .with_frm_style.frm_center_submit .frm_submit button{
711 margin-bottom:8px !important;
712 }
713
714 .with_frm_style .frm-edit-page-btn,
715 .with_frm_style .frm_submit input[type=submit],
716 .with_frm_style .frm_submit input[type=button],
717 .with_frm_style .frm_submit button{
718 -webkit-appearance: none;
719 cursor: pointer;
720 }
721
722 .with_frm_style.frm_center_submit .frm_submit .frm_ajax_loading{
723 display: block;
724 margin: 0 auto;
725 }
726
727 .with_frm_style .frm_loading_prev .frm_ajax_loading,
728 .with_frm_style .frm_loading_form .frm_ajax_loading{
729 /* keep this for reverse compatibility for old HTML */
730 visibility:visible !important;
731 }
732
733 .with_frm_style .frm_loading_prev .frm_prev_page,
734 .with_frm_style .frm_loading_form .frm_button_submit {
735 position: relative;
736 opacity: .8;
737 color: transparent !important;
738 text-shadow: none !important;
739 }
740
741 .with_frm_style .frm_loading_prev .frm_prev_page:hover,
742 .with_frm_style .frm_loading_prev .frm_prev_page:active,
743 .with_frm_style .frm_loading_prev .frm_prev_page:focus,
744 .with_frm_style .frm_loading_form .frm_button_submit:hover,
745 .with_frm_style .frm_loading_form .frm_button_submit:active,
746 .with_frm_style .frm_loading_form .frm_button_submit:focus {
747 cursor: not-allowed;
748 color: transparent;
749 outline: none !important;
750 box-shadow: none;
751 }
752
753 .with_frm_style .frm_loading_prev .frm_prev_page::before,
754 .with_frm_style .frm_loading_form .frm_button_submit:before {
755 content: '';
756 display: inline-block;
757 position: absolute;
758 background: transparent;
759 border: 1px solid #fff;
760 border-top-color: transparent;
761 border-left-color: transparent;
762 border-radius: 50%;
763 box-sizing: border-box;
764 <?php $loader_size = 20; ?>
765 top: 50%;
766 left: 50%;
767 margin-top: -<?php echo absint( $loader_size / 2 ); ?>px;
768 margin-left: -<?php echo absint( $loader_size / 2 ); ?>px;
769 width: <?php echo absint( $loader_size ); ?>px;
770 height: <?php echo absint( $loader_size ); ?>px;
771 -webkit-animation: spin 2s linear infinite;
772 -moz-animation: spin 2s linear infinite;
773 -o-animation: spin 2s linear infinite;
774 animation: spin 2s linear infinite;
775 }
776
777 <?php
778 foreach ( $styles as $style ) {
779 include( dirname( __FILE__ ) . '/_single_theme.css.php' );
780 unset( $style );
781 }
782
783 // Set it again since it may have been overridden.
784 $important = empty( $defaults['important_style'] ) ? '' : ' !important';
785 ?>
786
787 .frm_ajax_loading{
788 visibility:hidden;
789 width:auto;
790 }
791
792 .frm_form_submit_style{
793 height:auto;
794 }
795
796 a.frm_save_draft{
797 cursor:pointer;
798 }
799
800 .with_frm_style a.frm_save_draft,
801 .with_frm_style a.frm_start_over{
802 <?php if ( ! empty( $defaults['font'] ) ) { ?>
803 font-family:<?php echo FrmAppHelper::kses( $defaults['font'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>;
804 font-family:var(--font);
805 <?php } ?>
806 font-size:<?php echo esc_html( $defaults['submit_font_size'] ); ?>;
807 font-size:var(--submit-font-size);
808 font-weight:<?php echo esc_html( $defaults['submit_weight'] ); ?>;
809 font-weight:var(--submit-weight);
810 }
811
812 .horizontal_radio .frm_radio{
813 margin:0 5px 0 0;
814 }
815
816 .horizontal_radio .frm_checkbox{
817 margin:0;
818 margin-right:5px;
819 }
820
821 .vertical_radio .frm_checkbox,
822 .vertical_radio .frm_radio,
823 .vertical_radio .frm_catlevel_1{
824 display:block;
825 }
826
827 .horizontal_radio .frm_checkbox,
828 .horizontal_radio .frm_radio,
829 .horizontal_radio .frm_catlevel_1{
830 display:inline-block;
831 padding-left: 0;
832 }
833
834 .with_frm_style .frm_radio{
835 display:<?php echo esc_html( $defaults['radio_align'] . $important ); ?>;
836 display:var(--radio-align)<?php echo esc_html( $important ); ?>;
837 }
838
839 .with_frm_style .frm_checkbox{
840 display:<?php echo esc_html( $defaults['check_align'] . $important ); ?>;
841 display:var(--check-align)<?php echo esc_html( $important ); ?>;
842 }
843
844 .with_frm_style .vertical_radio .frm_checkbox,
845 .with_frm_style .vertical_radio .frm_radio,
846 .vertical_radio .frm_catlevel_1{
847 display:block<?php echo esc_html( $important ); ?>;
848 }
849
850 .with_frm_style .horizontal_radio .frm_checkbox,
851 .with_frm_style .horizontal_radio .frm_radio,
852 .horizontal_radio .frm_catlevel_1{
853 display:inline-block<?php echo esc_html( $important ); ?>;
854 }
855
856 .with_frm_style .frm_checkbox label,
857 .with_frm_style .frm_radio label{
858 display: inline;
859 white-space:normal;
860 }
861
862 .with_frm_style .vertical_radio .frm_checkbox label,
863 .with_frm_style .vertical_radio .frm_radio label{
864 display: block;
865 padding-left: 20px;
866 text-indent: -20px;
867 }
868
869 .with_frm_style .frm_radio label,
870 .with_frm_style .frm_checkbox label{
871 <?php if ( ! empty( $defaults['font'] ) ) { ?>
872 font-family:<?php echo FrmAppHelper::kses( $defaults['font'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>;
873 font-family:var(--font);
874 <?php } ?>
875 font-size:<?php echo esc_html( $defaults['check_font_size'] . $important ); ?>;
876 font-size:var(--check-font-size)<?php echo esc_html( $important ); ?>;
877 color:<?php echo esc_html( $defaults['check_label_color'] . $important ); ?>;
878 color:var(--check-label-color)<?php echo esc_html( $important ); ?>;
879 font-weight:<?php echo esc_html( $defaults['check_weight'] . $important ); ?>;
880 font-weight:var(--check-weight)<?php echo esc_html( $important ); ?>;
881 line-height: 1.3;
882 }
883
884 .with_frm_style .frm_radio input[type=radio],
885 .with_frm_style .frm_checkbox input[type=checkbox] {
886 font-size:<?php echo esc_html( $defaults['check_font_size'] . $important ); ?>;
887 font-size:var(--check-font-size)<?php echo esc_html( $important ); ?>;
888 position:static<?php echo esc_html( $important ); ?>;
889 }
890
891 .frm_file_container .frm_file_link,
892 .with_frm_style .frm_radio label .frm_file_container,
893 .with_frm_style .frm_checkbox label .frm_file_container{
894 display:inline-block;
895 margin:5px;
896 vertical-align:middle;
897 }
898
899 .with_frm_style .frm_radio input[type=radio]
900 <?php if ( FrmAppHelper::pro_is_installed() ) : ?>
901 , .with_frm_style .frm_scale input[type=radio]
902 <?php endif; ?>
903 {
904 border-radius:50%;
905 }
906
907 .with_frm_style .frm_checkbox input[type=checkbox]{
908 border-radius:0;
909 }
910
911 .with_frm_style .frm_radio input[type=radio],
912 <?php if ( FrmAppHelper::pro_is_installed() ) : ?>
913 .with_frm_style .frm_scale input[type=radio],
914 <?php endif; ?>
915 .with_frm_style .frm_checkbox input[type=checkbox]{
916 -webkit-appearance: none;
917 appearance: none;
918 background-color: var(--bg-color);
919 flex: none;
920 display:inline-block !important;
921 margin: 0 5px 0 0;
922 color: var(--border-color);
923 width: 18px;
924 min-width: 18px;
925 height: 18px;
926 border: 1px solid currentColor;
927 border-color: var(--border-color);
928 vertical-align: middle;
929 position: initial; /* override Bootstrap */
930 padding: 0;
931 }
932
933 .with_frm_style .frm_radio input[type=radio]:before,
934 <?php if ( FrmAppHelper::pro_is_installed() ) : ?>
935 .with_frm_style .frm_scale input[type=radio]:before,
936 <?php endif; ?>
937 .with_frm_style .frm_checkbox input[type=checkbox]:before {
938 content: '';
939 width: 12px;
940 height: 12px;
941 border-radius: 50%;
942 transform: scale(0);
943 transition: 120ms transform ease-in-out;
944 box-shadow: inset 10px 10px var(--text-color);
945 display: block;
946 margin: 2px 0 0 2px;
947 }
948
949 .with_frm_style .frm_checkbox input[type=checkbox]:before{
950 clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
951 border-radius: 0;
952 }
953
954 .with_frm_style .frm_radio input[type=radio]:checked:before,
955 .with_frm_style .frm_checkbox input[type=checkbox]:checked:before {
956 transform: scale(1);
957 }
958
959 .with_frm_style :invalid,
960 .with_frm_style :-moz-submit-invalid,
961 .with_frm_style :-moz-ui-invalid{
962 box-shadow:none;
963 }
964
965 .with_frm_style .frm_error_style img{
966 padding-right:10px;
967 vertical-align:middle;
968 border:none;
969 }
970
971 .with_frm_style .frm_trigger{
972 cursor:pointer;
973 }
974
975 .with_frm_style .frm_error_style,
976 .with_frm_style .frm_message,
977 .frm_success_style{
978 -moz-border-radius:4px;
979 -webkit-border-radius:4px;
980 border-radius:4px;
981 padding:15px;
982 }
983
984 .with_frm_style .frm_message p{
985 margin-bottom:5px;
986 color:<?php echo esc_html( $defaults['success_text_color'] ); ?>;
987 color:var(--success-text-color)<?php echo esc_html( $important ); ?>;
988 }
989
990 .with_frm_style .frm_message,
991 .frm_success_style{
992 margin:5px 0 15px;
993 border:1px solid <?php echo esc_html( $defaults['success_border_color'] ); ?>;
994 border-color:var(--success-border-color);
995 background-color:<?php echo esc_html( $defaults['success_bg_color'] ); ?>;
996 background-color:var(--success-bg-color);
997 color:<?php echo esc_html( $defaults['success_text_color'] ); ?>;
998 color:var(--success-text-color)<?php echo esc_html( $important ); ?>;
999 border-radius:<?php echo esc_html( $defaults['border_radius'] ); ?>;
1000 border-radius:var(--border-radius);
1001 font-size:<?php echo esc_html( $defaults['success_font_size'] ); ?>;
1002 font-size:var(--success-font-size)<?php echo esc_html( $important ); ?>;
1003 }
1004
1005 .with_frm_style .frm_plain_success .frm_message {
1006 background-color: transparent;
1007 padding:0;
1008 border:none;
1009 font-size:inherit<?php echo esc_html( $important ); ?>;
1010 color:inherit<?php echo esc_html( $important ); ?>;
1011 }
1012
1013 .with_frm_style .frm_plain_success .frm_message p {
1014 color:inherit<?php echo esc_html( $important ); ?>;
1015 }
1016
1017 .frm_form_fields_style,
1018 .frm_form_fields_active_style,
1019 .frm_form_fields_error_style,
1020 .frm_form_submit_style{
1021 width:auto;
1022 }
1023
1024 .with_frm_style .frm_trigger span{
1025 float:left;
1026 }
1027
1028 .with_frm_style table.frm-grid,
1029 #content .with_frm_style table.frm-grid{
1030 border-collapse:collapse;
1031 border:none;
1032 }
1033
1034 .frm-grid td,
1035 .frm-grid th{
1036 padding:5px;
1037 border-width:1px;
1038 border-style:solid;
1039 <?php if ( ! empty( $defaults['border_color'] ) ) { ?>
1040 border-color:<?php echo esc_html( $defaults['border_color'] ); ?>;
1041 border-color:var(--border-color);
1042 <?php } ?>
1043 border-top:none;
1044 border-left:none;
1045 border-right:none;
1046 }
1047
1048 .frm-alt-table {
1049 width:100%;
1050 border-collapse:separate;
1051 margin-top:0.5em;
1052 font-size:15px;
1053 border-width:1px;
1054 }
1055
1056 <?php if ( ! empty( $defaults['border_color'] ) ) { ?>
1057 .with_frm_style .frm-alt-table{
1058 border-color:<?php echo esc_html( $defaults['border_color'] ); ?>;
1059 border-color:var(--border-color);
1060 }
1061 <?php } ?>
1062
1063 .frm-alt-table th {
1064 width:200px;
1065 }
1066
1067 .frm-alt-table tr {
1068 background-color:transparent;
1069 }
1070
1071 .frm-alt-table th,
1072 .frm-alt-table td {
1073 background-color:transparent;
1074 vertical-align:top;
1075 text-align:left;
1076 padding:20px;
1077 border-color:transparent;
1078 }
1079
1080 .frm-alt-table tr:nth-child(even) {
1081 background-color:<?php echo esc_html( FrmStylesHelper::adjust_brightness( $defaults['border_color'], 45 ) ); ?>;
1082 }
1083
1084 table.form_results.with_frm_style{
1085 border:<?php echo esc_html( $defaults['field_border_width'] ); ?> solid <?php echo esc_html( $defaults['border_color'] . $important ); ?>;
1086 border-width:var(--field-border-width)<?php echo esc_html( $important ); ?>;
1087 border-color:var(--border-color)<?php echo esc_html( $important ); ?>;
1088 }
1089
1090 table.form_results.with_frm_style tr td{
1091 text-align:left;
1092 padding:7px 9px;
1093 <?php if ( ! empty( $defaults['text_color'] ) ) { ?>
1094 color:<?php echo esc_html( $defaults['text_color'] ); ?>;
1095 color:var(--text-color)<?php echo esc_html( $important ); ?>;
1096 <?php } ?>
1097 <?php if ( ! empty( $defaults['border_color'] ) ) { ?>
1098 border-top:1px solid <?php echo esc_html( $defaults['border_color'] ); ?>;
1099 border-top-width:var(--field-border-width)<?php echo esc_html( $important ); ?>;
1100 border-top-color:var(--border-color)<?php echo esc_html( $important ); ?>;
1101 <?php } ?>
1102 }
1103
1104 table.form_results.with_frm_style tr.frm_even,
1105 .frm-grid .frm_even{
1106 background-color:#fff;
1107 background-color:var(--bg-color)<?php echo esc_html( $important ); ?>;
1108 }
1109
1110 <?php if ( ! empty( $defaults['bg_color'] ) ) { ?>
1111 table.form_results.with_frm_style tr.frm_odd,
1112 .frm-grid .frm_odd{
1113 background-color:<?php echo esc_html( $defaults['bg_color'] ); ?>;
1114 background-color:var(--bg-color)<?php echo esc_html( $important ); ?>;
1115 }
1116 <?php } ?>
1117
1118 <?php if ( ! empty( $defaults['border_color'] ) ) { ?>
1119 .frm_color_block {
1120 background-color:<?php echo esc_html( FrmStylesHelper::adjust_brightness( $defaults['border_color'], 45 ) ); ?>;
1121 padding: 40px;
1122 }
1123
1124 .with_frm_style .frm-show-form .frm_color_block.frm_section_heading h3,
1125 .frm_color_block.frm_section_heading h3 {
1126 border-width: 0 !important;
1127 }
1128 <?php } ?>
1129
1130 .frm_collapse .ui-icon{
1131 display:inline-block;
1132 }
1133
1134 .frm_toggle_container{
1135 /* Prevent the slide and bounce */
1136 border:1px solid transparent;
1137 }
1138
1139 .frm_toggle_container ul{
1140 margin:5px 0;
1141 padding-left:0;
1142 list-style-type:none;
1143 }
1144
1145 .frm_toggle_container .frm_month_heading{
1146 text-indent:15px;
1147 }
1148
1149 .frm_toggle_container .frm_month_listing{
1150 margin-left:40px;
1151 }
1152
1153 #frm_loading{
1154 display:none;
1155 position:fixed;
1156 top:0;
1157 left:0;
1158 width:100%;
1159 height:100%;
1160 z-index:99999;
1161 }
1162
1163 #frm_loading h3{
1164 font-weight:500;
1165 padding-bottom:15px;
1166 color:#fff;
1167 font-size:24px;
1168 }
1169
1170 #frm_loading_content{
1171 position:fixed;
1172 top:20%;
1173 left:33%;
1174 width:33%;
1175 text-align:center;
1176 padding-top:30px;
1177 font-weight:bold;
1178 z-index:9999999;
1179 }
1180
1181 #frm_loading img{
1182 max-width:100%;
1183 }
1184
1185 #frm_loading .progress{
1186 border-radius:4px;
1187 box-shadow:0 1px 2px rgba(0, 0, 0, 0.1) inset;
1188 height:20px;
1189 margin-bottom:20px;
1190 overflow:hidden;
1191 }
1192
1193 #frm_loading .progress.active .progress-bar{
1194 animation:2s linear 0s normal none infinite progress-bar-stripes;
1195 }
1196
1197 <?php if ( ! empty( $defaults['bg_color'] ) ) { ?>
1198 #frm_loading .progress-striped .progress-bar{
1199 <?php if ( ! empty( $defaults['border_color'] ) ) { ?>
1200 background-image:linear-gradient(45deg, <?php echo esc_html( $defaults['border_color'] ); ?> 25%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 50%, <?php echo esc_html( $defaults['border_color'] ); ?> 50%, <?php echo esc_html( $defaults['border_color'] ); ?> 75%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0));
1201 <?php } ?>
1202 background-size:40px 40px;
1203 }
1204 <?php } ?>
1205
1206 #frm_loading .progress-bar{
1207 background-color:<?php echo esc_html( $defaults['bg_color'] ); ?>;
1208 background-color:var(--bg-color);
1209 box-shadow:0 -1px 0 rgba(0, 0, 0, 0.15) inset;
1210 float:left;
1211 height:100%;
1212 line-height:20px;
1213 text-align:center;
1214 transition:width 0.6s ease 0s;
1215 width:100%;
1216 }
1217
1218 .frm_image_from_url{
1219 height:50px;
1220 }
1221
1222 .frm-loading-img{
1223 background:url(../images/ajax_loader.gif) no-repeat center center;
1224 padding:6px 12px;
1225 }
1226
1227 select.frm_loading_lookup{
1228 background-image: url(../images/ajax_loader.gif) !important;
1229 background-position: 10px;
1230 background-repeat: no-repeat;
1231 color: transparent !important;
1232 }
1233
1234 <?php readfile( dirname( __FILE__ ) . '/frm_grids.css' ); ?>
1235
1236 .frm_conf_field.frm_left_container .frm_primary_label{
1237 display:none;
1238 }
1239
1240 .wp-editor-wrap *,
1241 .wp-editor-wrap *:after,
1242 .wp-editor-wrap *:before{
1243 -webkit-box-sizing:content-box;
1244 -moz-box-sizing:content-box;
1245 box-sizing:content-box;
1246 }
1247
1248 .with_frm_style .frm_grid,
1249 .with_frm_style .frm_grid_first,
1250 .with_frm_style .frm_grid_odd{
1251 clear:both;
1252 margin-bottom:0 !important;
1253 padding:5px;
1254 border-width:1px;
1255 border-style:solid;
1256 <?php if ( ! empty( $defaults['border_color'] ) ) { ?>
1257 border-color:<?php echo esc_html( $defaults['border_color'] ); ?>;
1258 border-color:var(--border-color)<?php echo esc_html( $important ); ?>;
1259 <?php } ?>
1260 border-left:none;
1261 border-right:none;
1262 }
1263
1264 .with_frm_style .frm_grid,
1265 .with_frm_style .frm_grid_odd{
1266 border-top:none;
1267 }
1268
1269 .frm_grid .frm_error,
1270 .frm_grid_first .frm_error,
1271 .frm_grid_odd .frm_error,
1272 .frm_grid .frm_limit_error,
1273 .frm_grid_first .frm_limit_error,
1274 .frm_grid_odd .frm_limit_error{
1275 display:none;
1276 }
1277
1278 .frm_grid:after,
1279 .frm_grid_first:after,
1280 .frm_grid_odd:after{
1281 visibility:hidden;
1282 display:block;
1283 font-size:0;
1284 content:" ";
1285 clear:both;
1286 height:0;
1287 }
1288
1289 .frm_grid_first{
1290 margin-top:20px;
1291 }
1292
1293 <?php if ( ! empty( $defaults['bg_color'] ) ) { ?>
1294 .frm_grid_first,
1295 .frm_grid_odd{
1296 background-color:<?php echo esc_html( $defaults['bg_color'] ); ?>;
1297 background-color:var(--bg-color);
1298 }
1299 <?php } ?>
1300
1301 <?php if ( ! empty( $defaults['bg_color_active'] ) ) { ?>
1302 .frm_grid{
1303 background-color:<?php echo esc_html( $defaults['bg_color_active'] . $important ); ?>;
1304 background-color:var(--bg-color-active)<?php echo esc_html( $important ); ?>;
1305 }
1306 <?php } ?>
1307
1308 .with_frm_style .frm_grid.frm_blank_field,
1309 .with_frm_style .frm_grid_first.frm_blank_field,
1310 .with_frm_style .frm_grid_odd.frm_blank_field{
1311 background-color:<?php echo esc_html( $defaults['error_bg'] . $important ); ?>;
1312 background-color:var(--error-bg)<?php echo esc_html( $important ); ?>;
1313 border-color:<?php echo esc_html( $defaults['error_border'] ); ?>;
1314 border-color:var(--error-bg);
1315 }
1316
1317 .frm_grid .frm_primary_label,
1318 .frm_grid_first .frm_primary_label,
1319 .frm_grid_odd .frm_primary_label,
1320 .frm_grid .frm_radio,
1321 .frm_grid_first .frm_radio,
1322 .frm_grid_odd .frm_radio,
1323 .frm_grid .frm_checkbox,
1324 .frm_grid_first .frm_checkbox,
1325 .frm_grid_odd .frm_checkbox{
1326 float:left !important;
1327 display:block;
1328 margin-top:0;
1329 margin-left:0 !important;
1330 }
1331
1332 .frm_grid_first .frm_radio label,
1333 .frm_grid .frm_radio label,
1334 .frm_grid_odd .frm_radio label,
1335 .frm_grid_first .frm_checkbox label,
1336 .frm_grid .frm_checkbox label,
1337 .frm_grid_odd .frm_checkbox label{
1338 visibility:hidden;
1339 white-space:nowrap;
1340 text-align:left;
1341 }
1342
1343 .frm_grid_first .frm_radio label input,
1344 .frm_grid .frm_radio label input,
1345 .frm_grid_odd .frm_radio label input,
1346 .frm_grid_first .frm_checkbox label input,
1347 .frm_grid .frm_checkbox label input,
1348 .frm_grid_odd .frm_checkbox label input{
1349 visibility:visible;
1350 margin:2px 0 0;
1351 float:right;
1352 }
1353
1354 .frm_grid .frm_radio,
1355 .frm_grid_first .frm_radio,
1356 .frm_grid_odd .frm_radio,
1357 .frm_grid .frm_checkbox,
1358 .frm_grid_first .frm_checkbox,
1359 .frm_grid_odd .frm_checkbox{
1360 display:inline;
1361 }
1362
1363 .frm_grid_2 .frm_radio,
1364 .frm_grid_2 .frm_checkbox,
1365 .frm_grid_2 .frm_primary_label{
1366 width:48% !important;
1367 }
1368
1369 .frm_grid_2 .frm_radio,
1370 .frm_grid_2 .frm_checkbox{
1371 margin-right:4%;
1372 }
1373
1374 .frm_grid_3 .frm_radio,
1375 .frm_grid_3 .frm_checkbox,
1376 .frm_grid_3 .frm_primary_label{
1377 width:30% !important;
1378 }
1379
1380 .frm_grid_3 .frm_radio,
1381 .frm_grid_3 .frm_checkbox{
1382 margin-right:3%;
1383 }
1384
1385 .frm_grid_4 .frm_radio,
1386 .frm_grid_4 .frm_checkbox{
1387 width:20% !important;
1388 }
1389
1390 .frm_grid_4 .frm_primary_label{
1391 width:28% !important;
1392 }
1393
1394 .frm_grid_4 .frm_radio,
1395 .frm_grid_4 .frm_checkbox{
1396 margin-right:4%;
1397 }
1398
1399 .frm_grid_5 .frm_primary_label,
1400 .frm_grid_7 .frm_primary_label{
1401 width:24% !important;
1402 }
1403
1404 .frm_grid_5 .frm_radio,
1405 .frm_grid_5 .frm_checkbox{
1406 width:17% !important;
1407 margin-right:2%;
1408 }
1409
1410 .frm_grid_6 .frm_primary_label{
1411 width:25% !important;
1412 }
1413
1414 .frm_grid_6 .frm_radio,
1415 .frm_grid_6 .frm_checkbox{
1416 width:14% !important;
1417 margin-right:1%;
1418 }
1419
1420 .frm_grid_7 .frm_primary_label{
1421 width:22% !important;
1422 }
1423
1424 .frm_grid_7 .frm_radio,
1425 .frm_grid_7 .frm_checkbox{
1426 width:12% !important;
1427 margin-right:1%;
1428 }
1429
1430 .frm_grid_8 .frm_primary_label{
1431 width:23% !important;
1432 }
1433
1434 .frm_grid_8 .frm_radio,
1435 .frm_grid_8 .frm_checkbox{
1436 width:10% !important;
1437 margin-right:1%;
1438 }
1439
1440 .frm_grid_9 .frm_primary_label{
1441 width:20% !important;
1442 }
1443
1444 .frm_grid_9 .frm_radio,
1445 .frm_grid_9 .frm_checkbox{
1446 width:9% !important;
1447 margin-right:1%;
1448 }
1449
1450 .frm_grid_10 .frm_primary_label{
1451 width:19% !important;
1452 }
1453
1454 .frm_grid_10 .frm_radio,
1455 .frm_grid_10 .frm_checkbox{
1456 width:8% !important;
1457 margin-right:1%;
1458 }
1459
1460 .frm_form_field.frm_inline_container .frm_opt_container,
1461 .frm_form_field.frm_right_container .frm_opt_container,
1462 .frm_form_field.frm_left_container .frm_opt_container{
1463 padding-top:4px;
1464 }
1465
1466 .with_frm_style .frm_inline_container.frm_grid_first .frm_primary_label,
1467 .with_frm_style .frm_inline_container.frm_grid .frm_primary_label,
1468 .with_frm_style .frm_inline_container.frm_grid_odd .frm_primary_label,
1469 .with_frm_style .frm_inline_container.frm_grid_first .frm_opt_container,
1470 .with_frm_style .frm_inline_container.frm_grid .frm_opt_container,
1471 .with_frm_style .frm_inline_container.frm_grid_odd .frm_opt_container{
1472 margin-right:0;
1473 }
1474
1475 .frm_form_field.frm_two_col .frm_opt_container,
1476 .frm_form_field.frm_three_col .frm_opt_container,
1477 .frm_form_field.frm_four_col .frm_opt_container{
1478 display: grid;
1479 grid-template-columns: repeat(2, 1fr);
1480 grid-auto-rows: max-content;
1481 grid-gap: 0 2.5%;
1482 }
1483
1484 .frm_form_field.frm_three_col .frm_opt_container{
1485 grid-template-columns: repeat(3, 1fr);
1486 }
1487
1488 .frm_form_field.frm_four_col .frm_opt_container{
1489 grid-template-columns: repeat(4, 1fr);
1490 }
1491
1492 .frm_form_field.frm_two_col .frm_radio,
1493 .frm_form_field.frm_two_col .frm_checkbox,
1494 .frm_form_field.frm_three_col .frm_radio,
1495 .frm_form_field.frm_three_col .frm_checkbox,
1496 .frm_form_field.frm_four_col .frm_radio,
1497 .frm_form_field.frm_four_col .frm_checkbox{
1498 grid-column-end: span 1;
1499 }
1500
1501 .frm_form_field .frm_checkbox,
1502 .frm_form_field .frm_checkbox + .frm_checkbox,
1503 .frm_form_field .frm_radio,
1504 .frm_form_field .frm_radio + .frm_radio{
1505 margin-top: 0;
1506 margin-bottom: 0;
1507 }
1508
1509 .frm_form_field.frm_scroll_box .frm_opt_container{
1510 height:100px;
1511 overflow:auto;
1512 }
1513
1514 .frm_html_container.frm_scroll_box,
1515 .frm_form_field.frm_html_scroll_box{
1516 height:100px;
1517 overflow:auto;
1518 background-color:<?php echo esc_html( $defaults['bg_color'] ); ?>;
1519 background-color:var(--bg-color);
1520 border-color:<?php echo esc_html( $defaults['border_color'] ); ?>;
1521 border-color:var(--border-color);
1522 border-width:<?php echo esc_html( $defaults['field_border_width'] ); ?>;
1523 border-width:var(--field-border-width);
1524 border-style:<?php echo esc_html( $defaults['field_border_style'] ); ?>;
1525 border-style:var(--field-border-style);
1526 -moz-border-radius:<?php echo esc_html( $defaults['border_radius'] ); ?>;
1527 -webkit-border-radius:<?php echo esc_html( $defaults['border_radius'] ); ?>;
1528 border-radius:<?php echo esc_html( $defaults['border_radius'] ); ?>;
1529 border-radius:var(--border-radius);
1530 width:<?php echo esc_html( $defaults['field_width'] ); ?>;
1531 width:var(--field-width);
1532 max-width:100%;
1533 font-size:<?php echo esc_html( $defaults['field_font_size'] ); ?>;
1534 font-size:var(--field-font-size);
1535 padding:<?php echo esc_html( $defaults['field_pad'] ); ?>;
1536 padding:var(--field-pad);
1537 -webkit-box-sizing:border-box;
1538 -moz-box-sizing:border-box;
1539 box-sizing:border-box;
1540 outline:none<?php echo esc_html( $important ); ?>;
1541 font-weight:normal;
1542 box-shadow:var(--box-shadow);
1543 }
1544
1545 .frm_form_field.frm_total_big input,
1546 .frm_form_field.frm_total_big textarea,
1547 .frm_form_field.frm_total input,
1548 .frm_form_field.frm_total textarea{
1549 opacity:1;
1550 background-color:transparent !important;
1551 border:none !important;
1552 font-weight:bold;
1553 -moz-box-shadow:none;
1554 -webkit-box-shadow:none;
1555 width:auto !important;
1556 height:auto !important;
1557 box-shadow:none !important;
1558 display:inline;
1559 -moz-appearance:textfield;
1560 padding:0;
1561 }
1562
1563 .frm_form_field.frm_total_big input::-webkit-outer-spin-button,
1564 .frm_form_field.frm_total_big input::-webkit-inner-spin-button,
1565 .frm_form_field.frm_total input::-webkit-outer-spin-button,
1566 .frm_form_field.frm_total input::-webkit-inner-spin-button {
1567 -webkit-appearance: none;
1568 }
1569
1570 .frm_form_field.frm_total_big input:focus,
1571 .frm_form_field.frm_total_big textarea:focus,
1572 .frm_form_field.frm_total input:focus,
1573 .frm_form_field.frm_total textarea:focus{
1574 background-color:transparent;
1575 border:none;
1576 -moz-box-shadow:none;
1577 -webkit-box-shadow:none;
1578 box-shadow:none;
1579 }
1580
1581 .frm_form_field.frm_label_justify .frm_primary_label{
1582 text-align:justify !important;
1583 }
1584
1585 .frm_form_field.frm_capitalize input,
1586 .frm_form_field.frm_capitalize select,
1587 .frm_form_field.frm_capitalize .frm_opt_container label{
1588 text-transform:capitalize;
1589 }
1590
1591 .frm_clearfix:after{
1592 content:".";
1593 display:block;
1594 clear:both;
1595 visibility:hidden;
1596 line-height:0;
1597 height:0;
1598 }
1599
1600 .frm_clearfix{
1601 display:block;
1602 }
1603
1604 .with_frm_style .frm_repeat_sec .frm_form_field.frm_repeat_buttons .frm_icon_font::before {
1605 color:<?php echo esc_html( $defaults['repeat_icon_color'] . $important ); ?>;
1606 color:var(--repeat-icon-color)<?php echo esc_html( $important ); ?>;
1607 }
1608
1609 .with_frm_style .frm_combo_inputs_container > .frm_form_subfield-first,
1610 .with_frm_style .frm_combo_inputs_container > .frm_form_subfield-middle,
1611 .with_frm_style .frm_combo_inputs_container > .frm_form_subfield-last {
1612 margin-bottom: 0 !important;
1613 }
1614
1615 <?php
1616 FrmStylesHelper::maybe_include_font_icon_css();
1617
1618 /**
1619 * Call action so other plugins can add additional CSS.
1620 *
1621 * @param array $args {
1622 * @type array $defaults
1623 * }
1624 */
1625 do_action( 'frm_include_front_css', compact( 'defaults' ) );
1626 ?>
1627
1628 /* Responsive */
1629
1630 @media only screen and (max-width: 900px) {
1631 .frm_form_field .frm_repeat_grid .frm_form_field.frm_sixth .frm_primary_label,
1632 .frm_form_field .frm_repeat_grid .frm_form_field.frm_seventh .frm_primary_label,
1633 .frm_form_field .frm_repeat_grid .frm_form_field.frm_eighth .frm_primary_label{
1634 display: block !important;
1635 }
1636 }
1637
1638 @media only screen and (max-width: 600px) {
1639 .frm_form_field.frm_four_col .frm_opt_container{
1640 grid-template-columns: repeat(2, 1fr);
1641 }
1642
1643 .with_frm_style .frm_repeat_inline,
1644 .with_frm_style .frm_repeat_grid{
1645 margin: 20px 0;
1646 }
1647 }
1648
1649 @media only screen and (max-width: 500px) {
1650 .frm_form_field.frm_two_col .frm_radio,
1651 .frm_form_field.frm_two_col .frm_checkbox,
1652 .frm_form_field.frm_three_col .frm_radio,
1653 .frm_form_field.frm_three_col .frm_checkbox{
1654 width: auto;
1655 margin-right: 0;
1656 float: none;
1657 display:block;
1658 }
1659
1660 .frm_form_field input[type=file] {
1661 max-width:220px;
1662 }
1663
1664 .with_frm_style .frm-g-recaptcha > div > div,
1665 .with_frm_style .g-recaptcha > div > div{
1666 width:inherit !important;
1667 display:block;
1668 overflow:hidden;
1669 max-width:302px;
1670 border-right:1px solid #d3d3d3;
1671 border-radius:4px;
1672 box-shadow:2px 0px 4px -1px rgba(0,0,0,.08);
1673 -moz-box-shadow:2px 0px 4px -1px rgba(0,0,0,.08);
1674 }
1675
1676 .with_frm_style .g-recaptcha iframe,
1677 .with_frm_style .frm-g-recaptcha iframe{
1678 width:100%;
1679 }
1680 }
1681 <?php
1682
1683 echo strip_tags( FrmStylesController::get_custom_css() ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
1684