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

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