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

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