PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 5.4.2
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v5.4.2
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 5.4.2, at css/custom_theme.css.php

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