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

1,635 lines 41.9 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: flex;
821 align-items: center;
822 gap: 9px;
823 white-space: normal;
824 }
825
826 .with_frm_style .frm_checkbox label:not(.frm-label-disabled),
827 .with_frm_style .frm_radio label:not(.frm-label-disabled) {
828 cursor: pointer;
829 }
830
831 .with_frm_style .vertical_radio .frm_checkbox label,
832 .with_frm_style .vertical_radio .frm_radio label{
833 width: 100%;
834 }
835
836 .with_frm_style .frm_radio label,
837 .with_frm_style .frm_checkbox label {
838 <?php if ( ! empty( $defaults['font'] ) ) { ?>
839 font-family: var(--font);
840 <?php } ?>
841 font-size: var(--check-font-size)<?php echo esc_html( $important ); ?>;
842 color: var(--check-label-color)<?php echo esc_html( $important ); ?>;
843 font-weight: var(--check-weight)<?php echo esc_html( $important ); ?>;
844 line-height: 1.3;
845 }
846
847 .with_frm_style .frm_radio input[type=radio],
848 .with_frm_style .frm_checkbox input[type=checkbox] {
849 font-size: var(--check-font-size)<?php echo esc_html( $important ); ?>;
850 position: static<?php echo esc_html( $important ); ?>;
851 }
852
853 .frm_file_container .frm_file_link,
854 .with_frm_style .frm_radio label .frm_file_container,
855 .with_frm_style .frm_checkbox label .frm_file_container{
856 display:inline-block;
857 margin:5px;
858 vertical-align:middle;
859 }
860
861 .with_frm_style .frm_radio input[type=radio]
862 <?php if ( $pro_is_installed ) : ?>
863 , .with_frm_style .frm_scale input[type=radio]
864 <?php endif; ?>
865 {
866 border-radius:50%;
867 }
868
869 .with_frm_style .frm_checkbox input[type=checkbox]{
870 border-radius: calc(var(--border-radius) / 2);
871 }
872
873 .with_frm_style .frm_radio input[type=radio],
874 <?php if ( $pro_is_installed ) : ?>
875 .with_frm_style .frm_scale input[type=radio],
876 <?php endif; ?>
877 .with_frm_style .frm_checkbox input[type=checkbox]{
878 appearance: none;
879 background-color: var(--bg-color);
880 flex: none;
881 display:inline-block !important;
882 width: 16px;
883 min-width: 16px;
884 height: 16px;
885 color: var(--border-color);
886 border: 1px solid currentColor;
887 border-color: var(--border-color);
888 vertical-align: middle;
889 position: initial; /* override Bootstrap */
890 padding: 0;
891 margin: 0;
892 }
893
894 .frm_forms.with_frm_style .frm_fields_container .frm_radio input[type=radio]:not([disabled]):checked,
895 <?php if ( $pro_is_installed ) : ?>
896 .frm_forms.with_frm_style .frm_fields_container .frm_scale input[type=radio]:not([disabled]):checked,
897 <?php endif; ?>
898 .frm_forms.with_frm_style .frm_fields_container .frm_checkbox input[type=checkbox]:not([disabled]):checked {
899 border-color: var(--border-color-active) !important;
900 }
901
902 .frm_forms.with_frm_style .frm_fields_container .frm_checkbox input[type=checkbox]:not([disabled]):checked {
903 background-color: var(--border-color-active) !important;
904 }
905
906 .with_frm_style .frm_radio input[type=radio][disabled]:checked,
907 <?php if ( $pro_is_installed ) : ?>
908 .with_frm_style .frm_scale input[type=radio][disabled]:checked,
909 <?php endif; ?>
910 .with_frm_style .frm_checkbox input[type=checkbox][disabled]:checked {
911 border-color: var(--border-color) !important; /* Override Style Preview */
912 }
913
914 .with_frm_style .frm_checkbox input[type=checkbox][disabled]:checked {
915 background-color: var(--border-color) !important;
916 }
917
918 .with_frm_style .frm_radio input[type=radio]:checked:before,
919 <?php if ( $pro_is_installed ) { ?>
920 .with_frm_style .frm_scale input[type=radio]:checked:before,
921 <?php } ?>
922 .with_frm_style .frm_checkbox input[type=checkbox]:checked:before {
923 position: static !important; /* Override Style Preview */
924 content: '';
925 display: block;
926 }
927
928 .frm_forms.with_frm_style .frm_checkbox input[type=checkbox]:before {
929 width: 100% !important;
930 height: 100% !important;
931 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;
932 background-size: 9px !important;
933 background-repeat: no-repeat !important;
934 background-position: center !important;
935 }
936
937 <?php if ( $pro_is_installed ) { ?>
938 .with_frm_style .frm_scale input[type=radio]:before,
939 <?php } ?>
940 .with_frm_style .frm_radio input[type=radio]:before {
941 width: 8px;
942 height: 8px;
943 border-radius: 50%;
944 background-color: var(--border-color-active);
945 margin: 3px;
946 }
947
948 <?php if ( $pro_is_installed ) { ?>
949 .with_frm_style .frm_scale input[type=radio][disabled]:before,
950 <?php } ?>
951 .with_frm_style .frm_radio input[type=radio][disabled]:before {
952 background-color: var(--border-color);
953 }
954
955 .with_frm_style :invalid,
956 .with_frm_style :-moz-submit-invalid,
957 .with_frm_style :-moz-ui-invalid{
958 box-shadow:none;
959 }
960
961 .with_frm_style .frm_error_style img{
962 padding-right:10px;
963 vertical-align:middle;
964 border:none;
965 }
966
967 .with_frm_style .frm_trigger{
968 cursor:pointer;
969 }
970
971 .with_frm_style .frm_error_style,
972 .with_frm_style .frm_message,
973 .frm_success_style{
974 border-radius:4px;
975 padding:15px;
976 }
977
978 .with_frm_style .frm_message p {
979 margin-bottom: 5px;
980 color: var(--success-text-color)<?php echo esc_html( $important ); ?>;
981 }
982
983 .with_frm_style .frm_message,
984 .frm_success_style {
985 margin: 5px 0 15px;
986 border: 1px solid var(--success-border-color);
987 background-color: var(--success-bg-color);
988 color: var(--success-text-color)<?php echo esc_html( $important ); ?>;
989 border-radius: var(--border-radius);
990 font-size: var(--success-font-size)<?php echo esc_html( $important ); ?>;
991 }
992
993 .with_frm_style .frm_plain_success .frm_message {
994 background-color: transparent;
995 padding:0;
996 border:none;
997 font-size:inherit<?php echo esc_html( $important ); ?>;
998 color:inherit<?php echo esc_html( $important ); ?>;
999 }
1000
1001 .with_frm_style .frm_plain_success .frm_message p {
1002 color:inherit<?php echo esc_html( $important ); ?>;
1003 }
1004
1005 .frm_form_fields_style,
1006 .frm_form_fields_active_style,
1007 .frm_form_fields_error_style,
1008 .frm_form_submit_style{
1009 width:auto;
1010 }
1011
1012 .with_frm_style .frm_trigger span{
1013 float:left;
1014 }
1015
1016 .with_frm_style table.frm-grid,
1017 #content .with_frm_style table.frm-grid{
1018 border-collapse:collapse;
1019 border:none;
1020 }
1021
1022 .frm-grid td,
1023 .frm-grid th{
1024 padding:5px;
1025 border-width:1px;
1026 border-style:solid;
1027 <?php if ( ! empty( $defaults['border_color'] ) ) { ?>
1028 border-color: var(--border-color);
1029 <?php } ?>
1030 border-top:none;
1031 border-left:none;
1032 border-right:none;
1033 }
1034
1035 .frm-alt-table {
1036 width:100%;
1037 border-collapse:separate;
1038 margin-top:0.5em;
1039 font-size:15px;
1040 border-width:1px;
1041 }
1042
1043 <?php if ( ! empty( $defaults['border_color'] ) ) { ?>
1044 .with_frm_style .frm-alt-table{
1045 border-color: var(--border-color);
1046 }
1047 <?php } ?>
1048
1049 .frm-alt-table th {
1050 width:200px;
1051 }
1052
1053 .frm-alt-table tr {
1054 background-color:transparent;
1055 }
1056
1057 .frm-alt-table th,
1058 .frm-alt-table td {
1059 background-color:transparent;
1060 vertical-align:top;
1061 text-align:left;
1062 padding:20px;
1063 border-color:transparent;
1064 }
1065
1066 .frm-alt-table tr:nth-child(even) {
1067 background-color:<?php echo esc_html( FrmStylesHelper::adjust_brightness( $defaults['border_color'], 45 ) ); ?>;
1068 }
1069
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
1089 table.form_results.with_frm_style tr.frm_even,
1090 .frm-grid .frm_even{
1091 background-color:#fff;
1092 background-color:var(--bg-color)<?php echo esc_html( $important ); ?>;
1093 }
1094
1095 <?php if ( ! empty( $defaults['bg_color'] ) ) { ?>
1096 table.form_results.with_frm_style tr.frm_odd,
1097 .frm-grid .frm_odd {
1098 background-color: var(--bg-color)<?php echo esc_html( $important ); ?>;
1099 }
1100 <?php } ?>
1101
1102 <?php if ( ! empty( $defaults['border_color'] ) ) { ?>
1103 .frm_color_block {
1104 background-color:<?php echo esc_html( FrmStylesHelper::adjust_brightness( $defaults['border_color'], 45 ) ); ?>;
1105 padding: 40px;
1106 }
1107
1108 .with_frm_style .frm-show-form .frm_color_block.frm_section_heading h3,
1109 .frm_color_block.frm_section_heading h3 {
1110 border-width: 0 !important;
1111 }
1112 <?php } ?>
1113
1114 .frm_collapse .ui-icon{
1115 display:inline-block;
1116 }
1117
1118 .frm_toggle_container{
1119 /* Prevent the slide and bounce */
1120 border:1px solid transparent;
1121 }
1122
1123 .frm_toggle_container ul{
1124 margin:5px 0;
1125 padding-left:0;
1126 list-style-type:none;
1127 }
1128
1129 .frm_toggle_container .frm_month_heading{
1130 text-indent:15px;
1131 }
1132
1133 .frm_toggle_container .frm_month_listing{
1134 margin-left:40px;
1135 }
1136
1137 #frm_loading{
1138 display:none;
1139 position:fixed;
1140 top:0;
1141 left:0;
1142 width:100%;
1143 height:100%;
1144 z-index:99999;
1145 }
1146
1147 #frm_loading h3{
1148 font-weight:500;
1149 padding-bottom:15px;
1150 color:#fff;
1151 font-size:24px;
1152 }
1153
1154 #frm_loading_content{
1155 position:fixed;
1156 top:20%;
1157 left:33%;
1158 width:33%;
1159 text-align:center;
1160 padding-top:30px;
1161 font-weight:bold;
1162 z-index:9999999;
1163 }
1164
1165 #frm_loading img{
1166 max-width:100%;
1167 }
1168
1169 #frm_loading .progress{
1170 border-radius:4px;
1171 box-shadow:0 1px 2px rgba(0, 0, 0, 0.1) inset;
1172 height:20px;
1173 margin-bottom:20px;
1174 overflow:hidden;
1175 }
1176
1177 #frm_loading .progress.active .progress-bar{
1178 animation:2s linear 0s normal none infinite progress-bar-stripes;
1179 }
1180
1181 <?php if ( ! empty( $defaults['bg_color'] ) ) { ?>
1182 #frm_loading .progress-striped .progress-bar {
1183 <?php if ( ! empty( $defaults['border_color'] ) ) { ?>
1184 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));
1185 <?php } ?>
1186 background-size:40px 40px;
1187 }
1188 <?php } ?>
1189
1190 #frm_loading .progress-bar {
1191 background-color: var(--bg-color);
1192 box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15) inset;
1193 float: left;
1194 height: 100%;
1195 line-height: 20px;
1196 text-align: center;
1197 transition: width 0.6s ease 0s;
1198 width: 100%;
1199 }
1200
1201 .frm_image_from_url{
1202 height:50px;
1203 }
1204
1205 .frm-loading-img{
1206 background:url(../images/ajax_loader.gif) no-repeat center center;
1207 padding:6px 12px;
1208 }
1209
1210 select.frm_loading_lookup{
1211 background-image: url(../images/ajax_loader.gif) !important;
1212 background-position: 10px;
1213 background-repeat: no-repeat;
1214 color: transparent !important;
1215 }
1216
1217 <?php readfile( __DIR__ . '/frm_grids.css' ); ?>
1218
1219 .frm_conf_field.frm_left_container .frm_primary_label{
1220 display:none;
1221 }
1222
1223 .wp-editor-wrap *,
1224 .wp-editor-wrap *:after,
1225 .wp-editor-wrap *:before{
1226 box-sizing:content-box;
1227 }
1228
1229 .with_frm_style .frm_grid,
1230 .with_frm_style .frm_grid_first,
1231 .with_frm_style .frm_grid_odd{
1232 clear:both;
1233 margin-bottom:0 !important;
1234 padding:5px;
1235 border-width:1px;
1236 border-style:solid;
1237 <?php if ( ! empty( $defaults['border_color'] ) ) { ?>
1238 border-color: var(--border-color)<?php echo esc_html( $important ); ?>;
1239 <?php } ?>
1240 border-left:none;
1241 border-right:none;
1242 }
1243
1244 .with_frm_style .frm_grid,
1245 .with_frm_style .frm_grid_odd{
1246 border-top:none;
1247 }
1248
1249 .frm_grid .frm_error,
1250 .frm_grid_first .frm_error,
1251 .frm_grid_odd .frm_error,
1252 .frm_grid .frm_limit_error,
1253 .frm_grid_first .frm_limit_error,
1254 .frm_grid_odd .frm_limit_error{
1255 display:none;
1256 }
1257
1258 .frm_grid:after,
1259 .frm_grid_first:after,
1260 .frm_grid_odd:after{
1261 visibility:hidden;
1262 display:block;
1263 font-size:0;
1264 content:" ";
1265 clear:both;
1266 height:0;
1267 }
1268
1269 .frm_grid_first{
1270 margin-top:20px;
1271 }
1272
1273 <?php if ( ! empty( $defaults['bg_color'] ) ) { ?>
1274 .frm_grid_first,
1275 .frm_grid_odd {
1276 background-color: var(--bg-color);
1277 }
1278 <?php } ?>
1279
1280 <?php if ( ! empty( $defaults['bg_color_active'] ) ) { ?>
1281 .frm_grid {
1282 background-color: var(--bg-color-active)<?php echo esc_html( $important ); ?>;
1283 }
1284 <?php } ?>
1285
1286 .with_frm_style .frm_grid.frm_blank_field,
1287 .with_frm_style .frm_grid_first.frm_blank_field,
1288 .with_frm_style .frm_grid_odd.frm_blank_field{
1289 background-color:var(--error-bg)<?php echo esc_html( $important ); ?>;
1290 border-color: var(--error-border);
1291 }
1292
1293 .frm_grid .frm_primary_label,
1294 .frm_grid_first .frm_primary_label,
1295 .frm_grid_odd .frm_primary_label,
1296 .frm_grid .frm_radio,
1297 .frm_grid_first .frm_radio,
1298 .frm_grid_odd .frm_radio,
1299 .frm_grid .frm_checkbox,
1300 .frm_grid_first .frm_checkbox,
1301 .frm_grid_odd .frm_checkbox{
1302 float:left !important;
1303 display:block;
1304 margin-top:0;
1305 margin-left:0 !important;
1306 }
1307
1308 .frm_grid_first .frm_radio label,
1309 .frm_grid .frm_radio label,
1310 .frm_grid_odd .frm_radio label,
1311 .frm_grid_first .frm_checkbox label,
1312 .frm_grid .frm_checkbox label,
1313 .frm_grid_odd .frm_checkbox label{
1314 visibility:hidden;
1315 white-space:nowrap;
1316 text-align:left;
1317 }
1318
1319 .frm_grid_first .frm_radio label input,
1320 .frm_grid .frm_radio label input,
1321 .frm_grid_odd .frm_radio label input,
1322 .frm_grid_first .frm_checkbox label input,
1323 .frm_grid .frm_checkbox label input,
1324 .frm_grid_odd .frm_checkbox label input{
1325 visibility:visible;
1326 margin:2px 0 0;
1327 float:right;
1328 }
1329
1330 .frm_grid .frm_radio,
1331 .frm_grid_first .frm_radio,
1332 .frm_grid_odd .frm_radio,
1333 .frm_grid .frm_checkbox,
1334 .frm_grid_first .frm_checkbox,
1335 .frm_grid_odd .frm_checkbox{
1336 display:inline;
1337 }
1338
1339 .frm_grid_2 .frm_radio,
1340 .frm_grid_2 .frm_checkbox,
1341 .frm_grid_2 .frm_primary_label{
1342 width:48% !important;
1343 }
1344
1345 .frm_grid_2 .frm_radio,
1346 .frm_grid_2 .frm_checkbox{
1347 margin-right:4%;
1348 }
1349
1350 .frm_grid_3 .frm_radio,
1351 .frm_grid_3 .frm_checkbox,
1352 .frm_grid_3 .frm_primary_label{
1353 width:30% !important;
1354 }
1355
1356 .frm_grid_3 .frm_radio,
1357 .frm_grid_3 .frm_checkbox{
1358 margin-right:3%;
1359 }
1360
1361 .frm_grid_4 .frm_radio,
1362 .frm_grid_4 .frm_checkbox{
1363 width:20% !important;
1364 }
1365
1366 .frm_grid_4 .frm_primary_label{
1367 width:28% !important;
1368 }
1369
1370 .frm_grid_4 .frm_radio,
1371 .frm_grid_4 .frm_checkbox{
1372 margin-right:4%;
1373 }
1374
1375 .frm_grid_5 .frm_primary_label,
1376 .frm_grid_7 .frm_primary_label{
1377 width:24% !important;
1378 }
1379
1380 .frm_grid_5 .frm_radio,
1381 .frm_grid_5 .frm_checkbox{
1382 width:17% !important;
1383 margin-right:2%;
1384 }
1385
1386 .frm_grid_6 .frm_primary_label{
1387 width:25% !important;
1388 }
1389
1390 .frm_grid_6 .frm_radio,
1391 .frm_grid_6 .frm_checkbox{
1392 width:14% !important;
1393 margin-right:1%;
1394 }
1395
1396 .frm_grid_7 .frm_primary_label{
1397 width:22% !important;
1398 }
1399
1400 .frm_grid_7 .frm_radio,
1401 .frm_grid_7 .frm_checkbox{
1402 width:12% !important;
1403 margin-right:1%;
1404 }
1405
1406 .frm_grid_8 .frm_primary_label{
1407 width:23% !important;
1408 }
1409
1410 .frm_grid_8 .frm_radio,
1411 .frm_grid_8 .frm_checkbox{
1412 width:10% !important;
1413 margin-right:1%;
1414 }
1415
1416 .frm_grid_9 .frm_primary_label{
1417 width:20% !important;
1418 }
1419
1420 .frm_grid_9 .frm_radio,
1421 .frm_grid_9 .frm_checkbox{
1422 width:9% !important;
1423 margin-right:1%;
1424 }
1425
1426 .frm_grid_10 .frm_primary_label{
1427 width:19% !important;
1428 }
1429
1430 .frm_grid_10 .frm_radio,
1431 .frm_grid_10 .frm_checkbox{
1432 width:8% !important;
1433 margin-right:1%;
1434 }
1435
1436 .frm_form_field.frm_inline_container .frm_opt_container,
1437 .frm_form_field.frm_right_container .frm_opt_container,
1438 .frm_form_field.frm_left_container .frm_opt_container{
1439 padding-top:4px;
1440 }
1441
1442 .with_frm_style .frm_inline_container.frm_grid_first .frm_primary_label,
1443 .with_frm_style .frm_inline_container.frm_grid .frm_primary_label,
1444 .with_frm_style .frm_inline_container.frm_grid_odd .frm_primary_label,
1445 .with_frm_style .frm_inline_container.frm_grid_first .frm_opt_container,
1446 .with_frm_style .frm_inline_container.frm_grid .frm_opt_container,
1447 .with_frm_style .frm_inline_container.frm_grid_odd .frm_opt_container{
1448 margin-right:0;
1449 }
1450
1451 .frm_form_field.frm_two_col .frm_opt_container,
1452 .frm_form_field.frm_three_col .frm_opt_container,
1453 .frm_form_field.frm_four_col .frm_opt_container{
1454 display: grid;
1455 grid-template-columns: repeat(2, 1fr);
1456 grid-auto-rows: max-content;
1457 grid-gap: 0 2.5%;
1458 }
1459
1460 .frm_form_field.frm_three_col .frm_opt_container{
1461 grid-template-columns: repeat(3, 1fr);
1462 }
1463
1464 .frm_form_field.frm_four_col .frm_opt_container{
1465 grid-template-columns: repeat(4, 1fr);
1466 }
1467
1468 .frm_form_field.frm_two_col .frm_radio,
1469 .frm_form_field.frm_two_col .frm_checkbox,
1470 .frm_form_field.frm_three_col .frm_radio,
1471 .frm_form_field.frm_three_col .frm_checkbox,
1472 .frm_form_field.frm_four_col .frm_radio,
1473 .frm_form_field.frm_four_col .frm_checkbox{
1474 grid-column-end: span 1;
1475 }
1476
1477 .frm_form_field .frm_checkbox,
1478 .frm_form_field .frm_radio {
1479 margin-top: 0;
1480 margin-bottom: 0;
1481 }
1482
1483 .frm_form_field.frm_scroll_box .frm_opt_container{
1484 height:100px;
1485 overflow:auto;
1486 }
1487
1488 .frm_html_container.frm_scroll_box,
1489 .frm_form_field.frm_html_scroll_box {
1490 height: 100px;
1491 overflow: auto;
1492 background-color: var(--bg-color);
1493 border-color: var(--border-color);
1494 border-width: var(--field-border-width);
1495 border-style: var(--field-border-style);
1496 border-radius: var(--border-radius);
1497 width: var(--field-width);
1498 max-width: 100%;
1499 font-size: var(--field-font-size);
1500 padding: var(--field-pad);
1501 box-sizing: border-box;
1502 outline: none<?php echo esc_html( $important ); ?>;
1503 font-weight: normal;
1504 box-shadow: var(--box-shadow);
1505 }
1506
1507 .frm_form_field.frm_total_big input,
1508 .frm_form_field.frm_total_big textarea,
1509 .frm_form_field.frm_total input,
1510 .frm_form_field.frm_total textarea{
1511 opacity:1;
1512 background-color:transparent !important;
1513 border:none !important;
1514 font-weight:bold;
1515 width:auto !important;
1516 height:auto !important;
1517 box-shadow:none !important;
1518 display:inline;
1519 -moz-appearance:textfield;
1520 padding:0;
1521 }
1522
1523 .frm_form_field.frm_total_big input::-webkit-outer-spin-button,
1524 .frm_form_field.frm_total_big input::-webkit-inner-spin-button,
1525 .frm_form_field.frm_total input::-webkit-outer-spin-button,
1526 .frm_form_field.frm_total input::-webkit-inner-spin-button {
1527 -webkit-appearance: none;
1528 }
1529
1530 .frm_form_field.frm_total_big input:focus,
1531 .frm_form_field.frm_total_big textarea:focus,
1532 .frm_form_field.frm_total input:focus,
1533 .frm_form_field.frm_total textarea:focus{
1534 background-color:transparent;
1535 border:none;
1536 box-shadow:none;
1537 }
1538
1539 .frm_form_field.frm_label_justify .frm_primary_label{
1540 text-align:justify !important;
1541 }
1542
1543 .frm_form_field.frm_capitalize input,
1544 .frm_form_field.frm_capitalize select,
1545 .frm_form_field.frm_capitalize .frm_opt_container label{
1546 text-transform:capitalize;
1547 }
1548
1549 .frm_clearfix:after{
1550 content:".";
1551 display:block;
1552 clear:both;
1553 visibility:hidden;
1554 line-height:0;
1555 height:0;
1556 }
1557
1558 .frm_clearfix{
1559 display:block;
1560 }
1561
1562 .with_frm_style .frm_combo_inputs_container > .frm_form_subfield-first,
1563 .with_frm_style .frm_combo_inputs_container > .frm_form_subfield-middle,
1564 .with_frm_style .frm_combo_inputs_container > .frm_form_subfield-last {
1565 margin-bottom: 0 !important;
1566 }
1567
1568
1569 <?php
1570 /**
1571 * Call action so other plugins can add additional CSS.
1572 *
1573 * @param array $args {
1574 * @type array $defaults
1575 * }
1576 */
1577 do_action( 'frm_include_front_css', compact( 'defaults' ) );
1578 ?>
1579
1580 /* Responsive */
1581
1582 @media only screen and (max-width: 900px) {
1583 .frm_form_field .frm_repeat_grid .frm_form_field.frm_sixth .frm_primary_label,
1584 .frm_form_field .frm_repeat_grid .frm_form_field.frm_seventh .frm_primary_label,
1585 .frm_form_field .frm_repeat_grid .frm_form_field.frm_eighth .frm_primary_label{
1586 display: block !important;
1587 }
1588 }
1589
1590 @media only screen and (max-width: 600px) {
1591 .frm_form_field.frm_four_col .frm_opt_container{
1592 grid-template-columns: repeat(2, 1fr);
1593 }
1594
1595 .with_frm_style .frm_repeat_inline,
1596 .with_frm_style .frm_repeat_grid{
1597 margin: 20px 0;
1598 }
1599 }
1600
1601 @media only screen and (max-width: 500px) {
1602 .frm_form_field.frm_two_col .frm_radio,
1603 .frm_form_field.frm_two_col .frm_checkbox,
1604 .frm_form_field.frm_three_col .frm_radio,
1605 .frm_form_field.frm_three_col .frm_checkbox{
1606 width: auto;
1607 margin-right: 0;
1608 float: none;
1609 display:block;
1610 }
1611
1612 .frm_form_field input[type=file] {
1613 max-width:220px;
1614 }
1615
1616 .with_frm_style .frm-g-recaptcha > div > div,
1617 .with_frm_style .g-recaptcha > div > div{
1618 width:inherit !important;
1619 display:block;
1620 overflow:hidden;
1621 max-width:302px;
1622 border-right:1px solid #d3d3d3;
1623 border-radius:4px;
1624 box-shadow:2px 0px 4px -1px rgba(0,0,0,.08);
1625 }
1626
1627 .with_frm_style .g-recaptcha iframe,
1628 .with_frm_style .frm-g-recaptcha iframe{
1629 width:100%;
1630 }
1631 }
1632 <?php
1633
1634 echo strip_tags( FrmStylesController::get_custom_css() ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
1635