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

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