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

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