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

1,641 lines 42.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 die( 'You are not allowed to call this page directly.' );
4 }
5
6 if ( ! isset( $saving ) ) {
7 header( 'Content-type: text/css' );
8
9 if ( ! empty( $css ) ) {
10 echo strip_tags( $css, 'all' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
11 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);
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-submit-invalid,
963 .with_frm_style :-moz-ui-invalid{
964 box-shadow:none;
965 }
966
967 .with_frm_style .frm_error_style img{
968 padding-right:10px;
969 vertical-align:middle;
970 border:none;
971 }
972
973 .with_frm_style .frm_trigger{
974 cursor:pointer;
975 }
976
977 .with_frm_style .frm_error_style,
978 .with_frm_style .frm_message,
979 .frm_success_style{
980 border-radius:4px;
981 padding:15px;
982 }
983
984 .with_frm_style .frm_message p {
985 margin-bottom: 5px;
986 color: var(--success-text-color)<?php echo esc_html( $important ); ?>;
987 }
988
989 .with_frm_style .frm_message,
990 .frm_success_style {
991 margin: 5px 0 15px;
992 border: 1px solid var(--success-border-color);
993 background-color: var(--success-bg-color);
994 color: var(--success-text-color)<?php echo esc_html( $important ); ?>;
995 border-radius: var(--border-radius);
996 font-size: var(--success-font-size)<?php echo esc_html( $important ); ?>;
997 }
998
999 .with_frm_style .frm_plain_success .frm_message {
1000 background-color: transparent;
1001 padding:0;
1002 border:none;
1003 font-size:inherit<?php echo esc_html( $important ); ?>;
1004 color:inherit<?php echo esc_html( $important ); ?>;
1005 }
1006
1007 .with_frm_style .frm_plain_success .frm_message p {
1008 color:inherit<?php echo esc_html( $important ); ?>;
1009 }
1010
1011 .frm_form_fields_style,
1012 .frm_form_fields_active_style,
1013 .frm_form_fields_error_style,
1014 .frm_form_submit_style{
1015 width:auto;
1016 }
1017
1018 .with_frm_style .frm_trigger span{
1019 float:left;
1020 }
1021
1022 .with_frm_style table.frm-grid,
1023 #content .with_frm_style table.frm-grid{
1024 border-collapse:collapse;
1025 border:none;
1026 }
1027
1028 .frm-grid td,
1029 .frm-grid th{
1030 padding:5px;
1031 border-width:1px;
1032 border-style:solid;
1033 <?php if ( ! empty( $defaults['border_color'] ) ) { ?>
1034 border-color: var(--border-color);
1035 <?php } ?>
1036 border-top:none;
1037 border-left:none;
1038 border-right:none;
1039 }
1040
1041 .frm-alt-table {
1042 width:100%;
1043 border-collapse:separate;
1044 margin-top:0.5em;
1045 font-size:15px;
1046 border-width:1px;
1047 }
1048
1049 <?php if ( ! empty( $defaults['border_color'] ) ) { ?>
1050 .with_frm_style .frm-alt-table{
1051 border-color: var(--border-color);
1052 }
1053 <?php } ?>
1054
1055 .frm-alt-table th {
1056 width:200px;
1057 }
1058
1059 .frm-alt-table tr {
1060 background-color:transparent;
1061 }
1062
1063 .frm-alt-table th,
1064 .frm-alt-table td {
1065 background-color:transparent;
1066 vertical-align:top;
1067 text-align:left;
1068 padding:20px;
1069 border-color:transparent;
1070 }
1071
1072 .frm-alt-table tr:nth-child(even) {
1073 background-color:<?php echo esc_html( FrmStylesHelper::adjust_brightness( $defaults['border_color'], 45 ) ); ?>;
1074 }
1075
1076 table.form_results.with_frm_style{
1077 border-style: solid;
1078 border-width: var(--field-border-width)<?php echo esc_html( $important ); ?>;
1079 border-color: var(--border-color)<?php echo esc_html( $important ); ?>;
1080 }
1081
1082 table.form_results.with_frm_style tr td{
1083 text-align:left;
1084 padding:7px 9px;
1085 <?php if ( ! empty( $defaults['text_color'] ) ) { ?>
1086 color: var(--text-color)<?php echo esc_html( $important ); ?>;
1087 <?php } ?>
1088 <?php if ( ! empty( $defaults['border_color'] ) ) { ?>
1089 border-top-style: solid;
1090 border-top-width: var(--field-border-width)<?php echo esc_html( $important ); ?>;
1091 border-top-color: var(--border-color)<?php echo esc_html( $important ); ?>;
1092 <?php } ?>
1093 }
1094
1095 table.form_results.with_frm_style tr.frm_even,
1096 .frm-grid .frm_even{
1097 background-color:#fff;
1098 background-color:var(--bg-color)<?php echo esc_html( $important ); ?>;
1099 }
1100
1101 <?php if ( ! empty( $defaults['bg_color'] ) ) { ?>
1102 table.form_results.with_frm_style tr.frm_odd,
1103 .frm-grid .frm_odd {
1104 background-color: var(--bg-color)<?php echo esc_html( $important ); ?>;
1105 }
1106 <?php } ?>
1107
1108 <?php if ( ! empty( $defaults['border_color'] ) ) { ?>
1109 .frm_color_block {
1110 background-color:<?php echo esc_html( FrmStylesHelper::adjust_brightness( $defaults['border_color'], 45 ) ); ?>;
1111 padding: 40px;
1112 }
1113
1114 .with_frm_style .frm-show-form .frm_color_block.frm_section_heading h3,
1115 .frm_color_block.frm_section_heading h3 {
1116 border-width: 0 !important;
1117 }
1118 <?php } ?>
1119
1120 .frm_collapse .ui-icon{
1121 display:inline-block;
1122 }
1123
1124 .frm_toggle_container{
1125 /* Prevent the slide and bounce */
1126 border:1px solid transparent;
1127 }
1128
1129 .frm_toggle_container ul{
1130 margin:5px 0;
1131 padding-left:0;
1132 list-style-type:none;
1133 }
1134
1135 .frm_toggle_container .frm_month_heading{
1136 text-indent:15px;
1137 }
1138
1139 .frm_toggle_container .frm_month_listing{
1140 margin-left:40px;
1141 }
1142
1143 #frm_loading{
1144 display:none;
1145 position:fixed;
1146 top:0;
1147 left:0;
1148 width:100%;
1149 height:100%;
1150 z-index:99999;
1151 }
1152
1153 #frm_loading h3{
1154 font-weight:500;
1155 padding-bottom:15px;
1156 color:#fff;
1157 font-size:24px;
1158 }
1159
1160 #frm_loading_content{
1161 position:fixed;
1162 top:20%;
1163 left:33%;
1164 width:33%;
1165 text-align:center;
1166 padding-top:30px;
1167 font-weight:bold;
1168 z-index:9999999;
1169 }
1170
1171 #frm_loading img{
1172 max-width:100%;
1173 }
1174
1175 #frm_loading .progress{
1176 border-radius:4px;
1177 box-shadow:0 1px 2px rgba(0, 0, 0, 0.1) inset;
1178 height:20px;
1179 margin-bottom:20px;
1180 overflow:hidden;
1181 }
1182
1183 #frm_loading .progress.active .progress-bar{
1184 animation:2s linear 0s normal none infinite progress-bar-stripes;
1185 }
1186
1187 <?php if ( ! empty( $defaults['bg_color'] ) ) { ?>
1188 #frm_loading .progress-striped .progress-bar {
1189 <?php if ( ! empty( $defaults['border_color'] ) ) { ?>
1190 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));
1191 <?php } ?>
1192 background-size:40px 40px;
1193 }
1194 <?php } ?>
1195
1196 #frm_loading .progress-bar {
1197 background-color: var(--bg-color);
1198 box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15) inset;
1199 float: left;
1200 height: 100%;
1201 line-height: 20px;
1202 text-align: center;
1203 transition: width 0.6s ease 0s;
1204 width: 100%;
1205 }
1206
1207 .frm_image_from_url{
1208 height:50px;
1209 }
1210
1211 .frm-loading-img{
1212 background:url(../images/ajax_loader.gif) no-repeat center center;
1213 padding:6px 12px;
1214 }
1215
1216 select.frm_loading_lookup{
1217 background-image: url(../images/ajax_loader.gif) !important;
1218 background-position: 10px;
1219 background-repeat: no-repeat;
1220 color: transparent !important;
1221 }
1222
1223 <?php readfile( __DIR__ . '/frm_grids.css' ); ?>
1224
1225 .frm_conf_field.frm_left_container .frm_primary_label{
1226 display:none;
1227 }
1228
1229 .wp-editor-wrap *,
1230 .wp-editor-wrap *:after,
1231 .wp-editor-wrap *:before{
1232 box-sizing:content-box;
1233 }
1234
1235 .with_frm_style .frm_grid,
1236 .with_frm_style .frm_grid_first,
1237 .with_frm_style .frm_grid_odd{
1238 clear:both;
1239 margin-bottom:0 !important;
1240 padding:5px;
1241 border-width:1px;
1242 border-style:solid;
1243 <?php if ( ! empty( $defaults['border_color'] ) ) { ?>
1244 border-color: var(--border-color)<?php echo esc_html( $important ); ?>;
1245 <?php } ?>
1246 border-left:none;
1247 border-right:none;
1248 }
1249
1250 .with_frm_style .frm_grid,
1251 .with_frm_style .frm_grid_odd{
1252 border-top:none;
1253 }
1254
1255 .frm_grid .frm_error,
1256 .frm_grid_first .frm_error,
1257 .frm_grid_odd .frm_error,
1258 .frm_grid .frm_limit_error,
1259 .frm_grid_first .frm_limit_error,
1260 .frm_grid_odd .frm_limit_error{
1261 display:none;
1262 }
1263
1264 .frm_grid:after,
1265 .frm_grid_first:after,
1266 .frm_grid_odd:after{
1267 visibility:hidden;
1268 display:block;
1269 font-size:0;
1270 content:" ";
1271 clear:both;
1272 height:0;
1273 }
1274
1275 .frm_grid_first{
1276 margin-top:20px;
1277 }
1278
1279 <?php if ( ! empty( $defaults['bg_color'] ) ) { ?>
1280 .frm_grid_first,
1281 .frm_grid_odd {
1282 background-color: var(--bg-color);
1283 }
1284 <?php } ?>
1285
1286 <?php if ( ! empty( $defaults['bg_color_active'] ) ) { ?>
1287 .frm_grid {
1288 background-color: var(--bg-color-active)<?php echo esc_html( $important ); ?>;
1289 }
1290 <?php } ?>
1291
1292 .with_frm_style .frm_grid.frm_blank_field,
1293 .with_frm_style .frm_grid_first.frm_blank_field,
1294 .with_frm_style .frm_grid_odd.frm_blank_field{
1295 background-color:var(--error-bg)<?php echo esc_html( $important ); ?>;
1296 border-color: var(--error-border);
1297 }
1298
1299 .frm_grid .frm_primary_label,
1300 .frm_grid_first .frm_primary_label,
1301 .frm_grid_odd .frm_primary_label,
1302 .frm_grid .frm_radio,
1303 .frm_grid_first .frm_radio,
1304 .frm_grid_odd .frm_radio,
1305 .frm_grid .frm_checkbox,
1306 .frm_grid_first .frm_checkbox,
1307 .frm_grid_odd .frm_checkbox{
1308 float:left !important;
1309 display:block;
1310 margin-top:0;
1311 margin-left:0 !important;
1312 }
1313
1314 .frm_grid_first .frm_radio label,
1315 .frm_grid .frm_radio label,
1316 .frm_grid_odd .frm_radio label,
1317 .frm_grid_first .frm_checkbox label,
1318 .frm_grid .frm_checkbox label,
1319 .frm_grid_odd .frm_checkbox label{
1320 visibility:hidden;
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_inline_container.frm_grid_first .frm_primary_label,
1449 .with_frm_style .frm_inline_container.frm_grid .frm_primary_label,
1450 .with_frm_style .frm_inline_container.frm_grid_odd .frm_primary_label,
1451 .with_frm_style .frm_inline_container.frm_grid_first .frm_opt_container,
1452 .with_frm_style .frm_inline_container.frm_grid .frm_opt_container,
1453 .with_frm_style .frm_inline_container.frm_grid_odd .frm_opt_container{
1454 margin-right:0;
1455 }
1456
1457 .frm_form_field.frm_two_col .frm_opt_container,
1458 .frm_form_field.frm_three_col .frm_opt_container,
1459 .frm_form_field.frm_four_col .frm_opt_container{
1460 display: grid;
1461 grid-template-columns: repeat(2, 1fr);
1462 grid-auto-rows: max-content;
1463 grid-gap: 0 2.5%;
1464 }
1465
1466 .frm_form_field.frm_three_col .frm_opt_container{
1467 grid-template-columns: repeat(3, 1fr);
1468 }
1469
1470 .frm_form_field.frm_four_col .frm_opt_container{
1471 grid-template-columns: repeat(4, 1fr);
1472 }
1473
1474 .frm_form_field.frm_two_col .frm_radio,
1475 .frm_form_field.frm_two_col .frm_checkbox,
1476 .frm_form_field.frm_three_col .frm_radio,
1477 .frm_form_field.frm_three_col .frm_checkbox,
1478 .frm_form_field.frm_four_col .frm_radio,
1479 .frm_form_field.frm_four_col .frm_checkbox{
1480 grid-column-end: span 1;
1481 }
1482
1483 .frm_form_field .frm_checkbox,
1484 .frm_form_field .frm_radio {
1485 margin-top: 0;
1486 margin-bottom: 0;
1487 }
1488
1489 .frm_form_field.frm_scroll_box .frm_opt_container{
1490 height:100px;
1491 overflow:auto;
1492 }
1493
1494 .frm_html_container.frm_scroll_box,
1495 .frm_form_field.frm_html_scroll_box {
1496 height: 100px;
1497 overflow: auto;
1498 background-color: var(--bg-color);
1499 border-color: var(--border-color);
1500 border-width: var(--field-border-width);
1501 border-style: var(--field-border-style);
1502 border-radius: var(--border-radius);
1503 width: var(--field-width);
1504 max-width: 100%;
1505 font-size: var(--field-font-size);
1506 padding: var(--field-pad);
1507 box-sizing: border-box;
1508 outline: none<?php echo esc_html( $important ); ?>;
1509 font-weight: normal;
1510 box-shadow: var(--box-shadow);
1511 }
1512
1513 .frm_form_field.frm_total_big input,
1514 .frm_form_field.frm_total_big textarea,
1515 .frm_form_field.frm_total input,
1516 .frm_form_field.frm_total textarea{
1517 opacity:1;
1518 background-color:transparent !important;
1519 border:none !important;
1520 font-weight:bold;
1521 width:auto !important;
1522 height:auto !important;
1523 box-shadow:none !important;
1524 display:inline;
1525 -moz-appearance:textfield;
1526 padding:0;
1527 }
1528
1529 .frm_form_field.frm_total_big input::-webkit-outer-spin-button,
1530 .frm_form_field.frm_total_big input::-webkit-inner-spin-button,
1531 .frm_form_field.frm_total input::-webkit-outer-spin-button,
1532 .frm_form_field.frm_total input::-webkit-inner-spin-button {
1533 -webkit-appearance: none;
1534 }
1535
1536 .frm_form_field.frm_total_big input:focus,
1537 .frm_form_field.frm_total_big textarea:focus,
1538 .frm_form_field.frm_total input:focus,
1539 .frm_form_field.frm_total textarea:focus{
1540 background-color:transparent;
1541 border:none;
1542 box-shadow:none;
1543 }
1544
1545 .frm_form_field.frm_label_justify .frm_primary_label{
1546 text-align:justify !important;
1547 }
1548
1549 .frm_form_field.frm_capitalize input,
1550 .frm_form_field.frm_capitalize select,
1551 .frm_form_field.frm_capitalize .frm_opt_container label{
1552 text-transform:capitalize;
1553 }
1554
1555 .frm_clearfix:after{
1556 content:".";
1557 display:block;
1558 clear:both;
1559 visibility:hidden;
1560 line-height:0;
1561 height:0;
1562 }
1563
1564 .frm_clearfix{
1565 display:block;
1566 }
1567
1568 .with_frm_style .frm_combo_inputs_container > .frm_form_subfield-first,
1569 .with_frm_style .frm_combo_inputs_container > .frm_form_subfield-middle,
1570 .with_frm_style .frm_combo_inputs_container > .frm_form_subfield-last {
1571 margin-bottom: 0 !important;
1572 }
1573
1574
1575 <?php
1576 /**
1577 * Call action so other plugins can add additional CSS.
1578 *
1579 * @param array $args {
1580 * @type array $defaults
1581 * }
1582 */
1583 do_action( 'frm_include_front_css', compact( 'defaults' ) );
1584 ?>
1585
1586 /* Responsive */
1587
1588 @media only screen and (max-width: 900px) {
1589 .frm_form_field .frm_repeat_grid .frm_form_field.frm_sixth .frm_primary_label,
1590 .frm_form_field .frm_repeat_grid .frm_form_field.frm_seventh .frm_primary_label,
1591 .frm_form_field .frm_repeat_grid .frm_form_field.frm_eighth .frm_primary_label{
1592 display: block !important;
1593 }
1594 }
1595
1596 @media only screen and (max-width: 600px) {
1597 .frm_form_field.frm_four_col .frm_opt_container{
1598 grid-template-columns: repeat(2, 1fr);
1599 }
1600
1601 .with_frm_style .frm_repeat_inline,
1602 .with_frm_style .frm_repeat_grid{
1603 margin: 20px 0;
1604 }
1605 }
1606
1607 @media only screen and (max-width: 500px) {
1608 .frm_form_field.frm_two_col .frm_radio,
1609 .frm_form_field.frm_two_col .frm_checkbox,
1610 .frm_form_field.frm_three_col .frm_radio,
1611 .frm_form_field.frm_three_col .frm_checkbox{
1612 width: auto;
1613 margin-right: 0;
1614 float: none;
1615 display:block;
1616 }
1617
1618 .frm_form_field input[type=file] {
1619 max-width:220px;
1620 }
1621
1622 .with_frm_style .frm-g-recaptcha > div > div,
1623 .with_frm_style .g-recaptcha > div > div{
1624 width:inherit !important;
1625 display:block;
1626 overflow:hidden;
1627 max-width:302px;
1628 border-right:1px solid #d3d3d3;
1629 border-radius:4px;
1630 box-shadow:2px 0px 4px -1px rgba(0,0,0,.08);
1631 }
1632
1633 .with_frm_style .g-recaptcha iframe,
1634 .with_frm_style .frm-g-recaptcha iframe{
1635 width:100%;
1636 }
1637 }
1638 <?php
1639
1640 echo strip_tags( FrmStylesController::get_custom_css() ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
1641