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

1,630 lines 41.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 die( 'You are not allowed to call this page directly.' );
4 }
5
6 if ( ! isset( $saving ) ) {
7 header( 'Content-type: text/css' );
8
9 if ( ! empty( $css ) ) {
10 echo strip_tags( $css, '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 .with_frm_style input::placeholder,
446 .with_frm_style textarea::placeholder {
447 font-size: var(--field-font-size)<?php echo esc_html( $important ); ?>;
448 }
449
450 .with_frm_style .frm_inside_container > input::placeholder,
451 .with_frm_style .frm_inside_container > textarea::placeholder {
452 opacity: 0;
453 transition: opacity 0.3s ease-in;
454 }
455
456 .with_frm_style .frm_inside_container > label {
457 transition: all 0.3s ease-in;
458
459 position: absolute;
460 top: 19px;
461 top: calc(1px + .5 * var(--field-height));
462 left: 3px;
463 width: 100%;
464
465 line-height: 1.3;
466 text-overflow: ellipsis;
467 overflow: hidden;
468 white-space: nowrap;
469
470 padding: 8px 12px;
471 padding: var(--field-pad);
472
473 font-size: 14px;
474 font-size: var(--field-font-size);
475 font-weight: normal;
476 font-weight: var(--field-weight);
477
478 pointer-events: none;
479 }
480
481 .with_frm_style.frm_style_lines-no-boxes .frm_inside_container > label {
482 line-height: 1;
483 }
484
485 .with_frm_style .frm_inside_container.frm_label_float_top > label {
486 top: 0;
487 left: 0;
488 padding: 0;
489 font-size: 12px;
490 font-size: calc(0.85 * var(--field-font-size));
491 }
492
493 .with_frm_style .frm_inside_container.frm_label_float_top > input::placeholder,
494 .with_frm_style .frm_inside_container.frm_label_float_top > textarea::placeholder {
495 opacity: 1;
496 transition: opacity 0.3s ease-in;
497 }
498 /* End floating label */
499
500 .with_frm_style .frm_description,
501 .with_frm_style .frm_pro_max_limit_desc{
502 clear:both;
503 }
504
505 .with_frm_style input[type=number][readonly]{
506 -moz-appearance: textfield;
507 }
508
509 .with_frm_style select[multiple="multiple"]{
510 height:auto;
511 line-height:normal;
512 }
513
514 .with_frm_style .frm_catlevel_2,
515 .with_frm_style .frm_catlevel_3,
516 .with_frm_style .frm_catlevel_4,
517 .with_frm_style .frm_catlevel_5{
518 margin-left:18px;
519 }
520
521 .with_frm_style .wp-editor-container{
522 border:1px solid #e5e5e5;
523 }
524
525 .with_frm_style .quicktags-toolbar input{
526 font-size:12px !important;
527 }
528
529 .with_frm_style .wp-editor-container textarea{
530 border:none;
531 }
532
533 .with_frm_style .auto_width #loginform input,
534 .with_frm_style .auto_width input,
535 .with_frm_style input.auto_width,
536 .with_frm_style select.auto_width,
537 .with_frm_style textarea.auto_width{
538 width:auto<?php echo esc_html( $important ); ?>;
539 }
540
541 .with_frm_style .frm_repeat_buttons{
542 white-space:nowrap;
543 }
544
545 .with_frm_style .frm_button{
546 text-decoration:none !important;
547 border:1px solid #eee;
548 display:inline-block;
549 <?php if ( ! empty( $defaults['submit_padding'] ) ) { ?>
550 padding: var(--submit-padding)<?php echo esc_html( $important ); ?>;
551 <?php } else { ?>
552 padding:5px;
553 <?php } ?>
554 <?php if ( ! empty( $defaults['border_radius'] ) ) { ?>
555 border-radius:<?php echo esc_html( $defaults['border_radius'] . $important ); ?>;
556 border-radius:var(--border-radius)<?php echo esc_html( $important ); ?>;
557 <?php } ?>
558 <?php if ( ! empty( $defaults['submit_font_size'] ) ) { ?>
559 font-size: var(--submit-font-size)<?php echo esc_html( $important ); ?>;
560 <?php } ?>
561 <?php if ( ! empty( $defaults['font'] ) ) { ?>
562 font-family: var(--font)<?php echo esc_html( $important ); ?>;
563 <?php } ?>
564 <?php if ( ! empty( $defaults['submit_weight'] ) ) { ?>
565 font-weight: var(--submit-weight)<?php echo esc_html( $important ); ?>;
566 <?php } ?>
567 <?php if ( ! empty( $defaults['submit_text_color'] ) ) { ?>
568 color: var(--submit-text-color)<?php echo esc_html( $important ); ?>;
569 <?php } ?>
570 <?php if ( ! empty( $defaults['submit_bg_color'] ) ) { ?>
571 background: var(--submit-bg-color)<?php echo esc_html( $important ); ?>;
572 <?php } ?>
573 <?php if ( ! empty( $defaults['submit_border_width'] ) ) { ?>
574 border-width: var(--submit-border-width)<?php echo esc_html( $important ); ?>;
575 <?php } ?>
576 <?php if ( ! empty( $defaults['submit_border_color'] ) ) { ?>
577 border-color: var(--submit-border-color)<?php echo esc_html( $important ); ?>;
578 <?php } ?>
579 <?php if ( ! empty( $defaults['submit_height'] ) ) { ?>
580 height: var(--submit-height)<?php echo esc_html( $important ); ?>;
581 <?php } ?>
582 }
583
584 <?php if ( ! empty( $defaults['submit_text_color'] ) ) { ?>
585 .with_frm_style .frm_button.frm_inverse{
586 color:var(--submit-bg-color)<?php echo esc_html( $important ); ?>;
587 background:var(--submit-text-color)<?php echo esc_html( $important ); ?>;
588 }
589 <?php } ?>
590
591 .with_frm_style .frm_submit{
592 clear:both;
593 }
594
595 .frm_inline_form .frm_form_field,
596 .frm_inline_form .frm_submit{
597 grid-column: span 1 / span 1;
598 }
599
600 .frm_inline_form .frm_submit{
601 margin:0;
602 }
603
604 .frm_submit.frm_inline_submit input[type=submit],
605 .frm_submit.frm_inline_submit button,
606 .frm_inline_form .frm_submit input[type=submit],
607 .frm_inline_form .frm_submit button{
608 margin-top:0;
609 }
610
611 .with_frm_style.frm_center_submit .frm_submit{
612 text-align:center;
613 }
614
615 .with_frm_style.frm_center_submit .frm_flex.frm_submit {
616 justify-content: center;
617 }
618
619 .with_frm_style .frm_inline_success .frm_submit{
620 display: flex;
621 flex-direction: row;
622 align-items: center;
623 margin: 0;
624 }
625
626 .with_frm_style .frm_inline_success .frm_submit .frm_message{
627 flex: 1;
628 margin: 0;
629 padding-left: 10px;
630 }
631
632 .with_frm_style .frm_inline_success.frm_alignright_success .frm_submit .frm_message{
633 text-align: right;
634 }
635
636 .with_frm_style.frm_center_submit .frm_submit input[type=submit],
637 .with_frm_style.frm_center_submit .frm_submit input[type=button],
638 .with_frm_style.frm_center_submit .frm_submit button{
639 margin-bottom:8px !important;
640 }
641
642 .with_frm_style .frm-edit-page-btn,
643 .with_frm_style .frm_submit input[type=submit],
644 .with_frm_style .frm_submit input[type=button],
645 .with_frm_style .frm_submit button{
646 -webkit-appearance: none;
647 cursor: pointer;
648 }
649
650 .with_frm_style.frm_center_submit .frm_submit .frm_ajax_loading{
651 display: block;
652 margin: 0 auto;
653 }
654
655 .with_frm_style .frm_loading_prev .frm_ajax_loading,
656 .with_frm_style .frm_loading_form .frm_ajax_loading{
657 /* keep this for reverse compatibility for old HTML */
658 visibility:visible !important;
659 }
660
661 .with_frm_style .frm_loading_prev .frm_prev_page,
662 .with_frm_style .frm_loading_form .frm_button_submit {
663 position: relative;
664 color: transparent !important;
665 text-shadow: none !important;
666 }
667
668 .with_frm_style .frm_loading_prev .frm_prev_page:hover,
669 .with_frm_style .frm_loading_prev .frm_prev_page:active,
670 .with_frm_style .frm_loading_prev .frm_prev_page:focus,
671 .with_frm_style .frm_loading_form .frm_button_submit:hover,
672 .with_frm_style .frm_loading_form .frm_button_submit:active,
673 .with_frm_style .frm_loading_form .frm_button_submit:focus {
674 cursor: not-allowed;
675 color: transparent;
676 outline: none !important;
677 box-shadow: none;
678 }
679
680 .with_frm_style .frm_loading_prev .frm_prev_page::before,
681 .with_frm_style .frm_loading_form .frm_button_submit:before {
682 content: '';
683 display: inline-block;
684 position: absolute;
685 background: transparent;
686 border: 1px solid #fff;
687 border-top-color: transparent;
688 border-left-color: transparent;
689 border-radius: 50%;
690 box-sizing: border-box;
691 <?php $loader_size = 12; ?>
692 top: 50%;
693 left: 50%;
694 margin-top: -<?php echo absint( $loader_size / 2 ); ?>px;
695 margin-left: -<?php echo absint( $loader_size / 2 ); ?>px;
696 width: <?php echo absint( $loader_size ); ?>px;
697 height: <?php echo absint( $loader_size ); ?>px;
698 animation: spin 2s linear infinite;
699 }
700
701 .with_frm_style .frm_submit.frm_flex {
702 align-items: center;
703 gap: 2%;
704 }
705
706 .with_frm_style .frm_submit.frm_flex button.frm_button_submit ~ .frm_prev_page {
707 order: -1;
708 }
709
710 <?php
711 foreach ( $styles as $style ) {
712 include __DIR__ . '/_single_theme.css.php';
713 unset( $style );
714 }
715
716 // Set it again since it may have been overridden.
717 $important = empty( $defaults['important_style'] ) ? '' : ' !important';
718 ?>
719
720 .frm_ajax_loading{
721 visibility:hidden;
722 width:auto;
723 }
724
725 .frm_form_submit_style{
726 height:auto;
727 }
728
729 a.frm_save_draft{
730 cursor:pointer;
731 }
732
733 .with_frm_style a.frm_save_draft,
734 .with_frm_style a.frm_start_over{
735 <?php if ( ! empty( $defaults['font'] ) ) { ?>
736 font-family: var(--font);
737 <?php } ?>
738 font-size: var(--submit-font-size);
739 font-weight: var(--submit-weight);
740 }
741
742 .horizontal_radio .frm_radio{
743 margin:0 5px 0 0;
744 }
745
746 .horizontal_radio .frm_checkbox{
747 margin:0;
748 margin-right:12px;
749 }
750
751 .vertical_radio .frm_checkbox,
752 .vertical_radio .frm_radio,
753 .vertical_radio .frm_catlevel_1{
754 display:block;
755 }
756
757 .horizontal_radio .frm_checkbox,
758 .horizontal_radio .frm_radio,
759 .horizontal_radio .frm_catlevel_1{
760 display:inline-block;
761 padding-left: 0;
762 }
763
764 .with_frm_style .frm_radio{
765 display: var(--radio-align)<?php echo esc_html( $important ); ?>;
766 }
767
768 .with_frm_style .frm_checkbox{
769 display: var(--check-align)<?php echo esc_html( $important ); ?>;
770 }
771
772 .with_frm_style .vertical_radio .frm_checkbox,
773 .with_frm_style .vertical_radio .frm_radio,
774 .vertical_radio .frm_catlevel_1{
775 display:block<?php echo esc_html( $important ); ?>;
776 margin-bottom: 10px;
777 }
778
779 .with_frm_style .horizontal_radio .frm_checkbox,
780 .with_frm_style .horizontal_radio .frm_radio,
781 .horizontal_radio .frm_catlevel_1{
782 display:inline-block<?php echo esc_html( $important ); ?>;
783 }
784
785 .with_frm_style .frm_checkbox label,
786 .with_frm_style .frm_radio label {
787 display: inline-block;
788 vertical-align: middle;
789 white-space:normal;
790 }
791
792 .with_frm_style .frm_checkbox label input[type=checkbox],
793 .with_frm_style .frm_radio label input[type=radio] {
794 margin-right: 4px;
795 }
796
797 .with_frm_style .frm_checkbox label:not(.frm-label-disabled),
798 .with_frm_style .frm_radio label:not(.frm-label-disabled) {
799 cursor: pointer;
800 }
801
802 .with_frm_style .vertical_radio .frm_checkbox label,
803 .with_frm_style .vertical_radio .frm_radio label{
804 display: block;
805 width: 100%;
806 }
807
808 .with_frm_style .frm_radio label,
809 .with_frm_style .frm_checkbox label {
810 <?php if ( ! empty( $defaults['font'] ) ) { ?>
811 font-family: var(--font);
812 <?php } ?>
813 font-size: var(--check-font-size)<?php echo esc_html( $important ); ?>;
814 color: var(--check-label-color)<?php echo esc_html( $important ); ?>;
815 font-weight: var(--check-weight)<?php echo esc_html( $important ); ?>;
816 line-height: 1.3;
817 }
818
819 .with_frm_style .frm_radio input[type=radio],
820 .with_frm_style .frm_checkbox input[type=checkbox] {
821 font-size: var(--check-font-size)<?php echo esc_html( $important ); ?>;
822 position: static<?php echo esc_html( $important ); ?>;
823 }
824
825 .frm_file_container .frm_file_link,
826 .with_frm_style .frm_radio label .frm_file_container,
827 .with_frm_style .frm_checkbox label .frm_file_container{
828 display:inline-block;
829 margin:5px;
830 vertical-align:middle;
831 }
832
833 .with_frm_style .frm_radio input[type=radio]
834 <?php if ( $pro_is_installed ) : ?>
835 , .with_frm_style .frm_scale input[type=radio]
836 <?php endif; ?>
837 {
838 border-radius:50%;
839 }
840
841 .with_frm_style .frm_checkbox input[type=checkbox] {
842 border-radius: calc(var(--border-radius) / 2) !important;
843 }
844
845 .with_frm_style .frm_radio input[type=radio],
846 <?php if ( $pro_is_installed ) : ?>
847 .with_frm_style .frm_scale input[type=radio],
848 <?php endif; ?>
849 .with_frm_style .frm_checkbox input[type=checkbox]{
850 appearance: none;
851 background-color: var(--bg-color);
852 flex: none;
853 display:inline-block !important;
854 width: 16px !important;
855 min-width: 16px !important;
856 height: 16px !important;
857 color: var(--border-color);
858 border: 1px solid currentColor;
859 border-color: var(--border-color);
860 vertical-align: middle;
861 position: initial; /* override Bootstrap */
862 padding: 0;
863 margin: 0;
864 }
865
866 .frm_forms.with_frm_style .frm_fields_container .frm_radio input[type=radio]:not([disabled]):checked,
867 <?php if ( $pro_is_installed ) : ?>
868 .frm_forms.with_frm_style .frm_fields_container .frm_scale input[type=radio]:not([disabled]):checked,
869 <?php endif; ?>
870 .frm_forms.with_frm_style .frm_fields_container .frm_checkbox input[type=checkbox]:not([disabled]):checked {
871 border-color: var(--border-color-active) !important;
872 }
873
874 .frm_forms.with_frm_style .frm_fields_container .frm_checkbox input[type=checkbox]:not([disabled]):checked {
875 background-color: var(--border-color-active) !important;
876 }
877
878 .with_frm_style .frm_radio input[type=radio][disabled]:checked,
879 <?php if ( $pro_is_installed ) : ?>
880 .with_frm_style .frm_scale input[type=radio][disabled]:checked,
881 <?php endif; ?>
882 .with_frm_style .frm_checkbox input[type=checkbox][disabled]:checked {
883 border-color: var(--border-color) !important; /* Override Style Preview */
884 }
885
886 .with_frm_style .frm_checkbox input[type=checkbox][disabled]:checked {
887 background-color: var(--border-color) !important;
888 }
889
890 .with_frm_style .frm_radio input[type=radio]:checked:before,
891 <?php if ( $pro_is_installed ) { ?>
892 .with_frm_style .frm_scale input[type=radio]:checked:before,
893 <?php } ?>
894 .with_frm_style .frm_checkbox input[type=checkbox]:checked:before {
895 position: static !important; /* Override Style Preview */
896 content: '';
897 display: block;
898 }
899
900 .frm_forms.with_frm_style .frm_checkbox input[type=checkbox]:before {
901 width: 100% !important;
902 height: 100% !important;
903 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;
904 background-size: 9px !important;
905 background-repeat: no-repeat !important;
906 background-position: center !important;
907 margin: 0;
908 }
909
910 <?php if ( $pro_is_installed ) { ?>
911 .with_frm_style .frm_scale input[type=radio]:before,
912 <?php } ?>
913 .with_frm_style .frm_radio input[type=radio]:before {
914 width: 8px;
915 height: 8px;
916 border-radius: 50%;
917 background-color: var(--border-color-active);
918 margin: 3px;
919 }
920
921 <?php if ( $pro_is_installed ) { ?>
922 .with_frm_style .frm_scale input[type=radio][disabled]:before,
923 <?php } ?>
924 .with_frm_style .frm_radio input[type=radio][disabled]:before {
925 background-color: var(--border-color);
926 }
927
928 .with_frm_style :invalid,
929 .with_frm_style :-moz-ui-invalid{
930 box-shadow:none;
931 }
932
933 .with_frm_style .frm_error_style img{
934 padding-right:10px;
935 vertical-align:middle;
936 border:none;
937 }
938
939 .with_frm_style .frm_trigger{
940 cursor:pointer;
941 }
942
943 .with_frm_style .frm_error_style,
944 .with_frm_style .frm_message,
945 .frm_success_style{
946 border-radius:4px;
947 padding:15px;
948 }
949
950 .with_frm_style .frm_message p {
951 color: var(--success-text-color)<?php echo esc_html( $important ); ?>;
952 margin-bottom: 0;
953 }
954
955 .with_frm_style .frm_message > p:first-of-type {
956 margin-top: 0;
957 }
958
959 .with_frm_style .frm_message,
960 .frm_success_style {
961 margin: 5px 0 15px;
962 border: 1px solid var(--success-border-color);
963 background-color: var(--success-bg-color);
964 color: var(--success-text-color)<?php echo esc_html( $important ); ?>;
965 border-radius: var(--border-radius);
966 font-size: var(--success-font-size)<?php echo esc_html( $important ); ?>;
967 }
968
969 .with_frm_style .frm_plain_success .frm_message {
970 background-color: transparent;
971 padding:0;
972 border:none;
973 font-size:inherit<?php echo esc_html( $important ); ?>;
974 color:inherit<?php echo esc_html( $important ); ?>;
975 }
976
977 .with_frm_style .frm_plain_success .frm_message p {
978 color:inherit<?php echo esc_html( $important ); ?>;
979 }
980
981 .frm_form_fields_style,
982 .frm_form_fields_active_style,
983 .frm_form_fields_error_style,
984 .frm_form_submit_style{
985 width:auto;
986 }
987
988 .with_frm_style .frm_trigger span{
989 float:left;
990 }
991
992 .with_frm_style table.frm-grid,
993 #content .with_frm_style table.frm-grid{
994 border-collapse:collapse;
995 border:none;
996 }
997
998 .frm-grid td,
999 .frm-grid th{
1000 padding:5px;
1001 border-width:1px;
1002 border-style:solid;
1003 <?php if ( ! empty( $defaults['border_color'] ) ) { ?>
1004 border-color: var(--border-color);
1005 <?php } ?>
1006 border-top:none;
1007 border-left:none;
1008 border-right:none;
1009 }
1010
1011 .frm-alt-table {
1012 width:100%;
1013 border-collapse:separate;
1014 margin-top:0.5em;
1015 font-size:15px;
1016 border-width:1px;
1017 }
1018
1019 <?php if ( ! empty( $defaults['border_color'] ) ) { ?>
1020 .with_frm_style .frm-alt-table{
1021 border-color: var(--border-color);
1022 }
1023 <?php } ?>
1024
1025 .frm-alt-table th {
1026 width:200px;
1027 }
1028
1029 .frm-alt-table tr {
1030 background-color:transparent;
1031 }
1032
1033 .frm-alt-table th,
1034 .frm-alt-table td {
1035 background-color:transparent;
1036 vertical-align:top;
1037 text-align:left;
1038 padding:20px;
1039 border-color:transparent;
1040 }
1041
1042 .frm-alt-table tr:nth-child(even) {
1043 background-color:<?php echo esc_html( FrmStylesHelper::adjust_brightness( $defaults['border_color'], 45 ) ); ?>;
1044 }
1045
1046 table.form_results.with_frm_style{
1047 border-style: solid;
1048 border-width: var(--field-border-width)<?php echo esc_html( $important ); ?>;
1049 border-color: var(--border-color)<?php echo esc_html( $important ); ?>;
1050 }
1051
1052 table.form_results.with_frm_style tr td{
1053 text-align:left;
1054 padding:7px 9px;
1055 <?php if ( ! empty( $defaults['text_color'] ) ) { ?>
1056 color: var(--text-color)<?php echo esc_html( $important ); ?>;
1057 <?php } ?>
1058 <?php if ( ! empty( $defaults['border_color'] ) ) { ?>
1059 border-top-style: solid;
1060 border-top-width: var(--field-border-width)<?php echo esc_html( $important ); ?>;
1061 border-top-color: var(--border-color)<?php echo esc_html( $important ); ?>;
1062 <?php } ?>
1063 }
1064
1065 table.form_results.with_frm_style tr.frm_even,
1066 .frm-grid .frm_even{
1067 background-color:#fff;
1068 background-color:var(--bg-color)<?php echo esc_html( $important ); ?>;
1069 }
1070
1071 <?php if ( ! empty( $defaults['bg_color'] ) ) { ?>
1072 table.form_results.with_frm_style tr.frm_odd,
1073 .frm-grid .frm_odd {
1074 background-color: var(--bg-color)<?php echo esc_html( $important ); ?>;
1075 }
1076 <?php } ?>
1077
1078 <?php if ( ! empty( $defaults['border_color'] ) ) { ?>
1079 .frm_color_block {
1080 background-color:<?php echo esc_html( FrmStylesHelper::adjust_brightness( $defaults['border_color'], 45 ) ); ?>;
1081 padding: 40px;
1082 }
1083
1084 .with_frm_style .frm-show-form .frm_color_block.frm_section_heading h3,
1085 .frm_color_block.frm_section_heading h3 {
1086 border-width: 0 !important;
1087 }
1088 <?php } ?>
1089
1090 .frm_collapse .ui-icon{
1091 display:inline-block;
1092 }
1093
1094 .frm_toggle_container{
1095 /* Prevent the slide and bounce */
1096 border:1px solid transparent;
1097 }
1098
1099 .frm_toggle_container ul{
1100 margin:5px 0;
1101 padding-left:0;
1102 list-style-type:none;
1103 }
1104
1105 .frm_toggle_container .frm_month_heading{
1106 text-indent:15px;
1107 }
1108
1109 .frm_toggle_container .frm_month_listing{
1110 margin-left:40px;
1111 }
1112
1113 #frm_loading{
1114 display:none;
1115 position:fixed;
1116 top:0;
1117 left:0;
1118 width:100%;
1119 height:100%;
1120 z-index:99999;
1121 }
1122
1123 #frm_loading h3{
1124 font-weight:500;
1125 padding-bottom:15px;
1126 color:#fff;
1127 font-size:24px;
1128 }
1129
1130 #frm_loading_content{
1131 position:fixed;
1132 top:20%;
1133 left:33%;
1134 width:33%;
1135 text-align:center;
1136 padding-top:30px;
1137 font-weight:bold;
1138 z-index:9999999;
1139 }
1140
1141 #frm_loading img{
1142 max-width:100%;
1143 }
1144
1145 #frm_loading .progress{
1146 border-radius:4px;
1147 box-shadow:0 1px 2px rgba(0, 0, 0, 0.1) inset;
1148 height:20px;
1149 margin-bottom:20px;
1150 overflow:hidden;
1151 }
1152
1153 #frm_loading .progress.active .progress-bar{
1154 animation:2s linear 0s normal none infinite progress-bar-stripes;
1155 }
1156
1157 <?php if ( ! empty( $defaults['bg_color'] ) ) { ?>
1158 #frm_loading .progress-striped .progress-bar {
1159 <?php if ( ! empty( $defaults['border_color'] ) ) { ?>
1160 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));
1161 <?php } ?>
1162 background-size:40px 40px;
1163 }
1164 <?php } ?>
1165
1166 #frm_loading .progress-bar {
1167 background-color: var(--bg-color);
1168 box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15) inset;
1169 float: left;
1170 height: 100%;
1171 line-height: 20px;
1172 text-align: center;
1173 transition: width 0.6s ease 0s;
1174 width: 100%;
1175 }
1176
1177 .frm_image_from_url{
1178 height:50px;
1179 }
1180
1181 .frm-loading-img{
1182 background:url(../images/ajax_loader.gif) no-repeat center center;
1183 padding:6px 12px;
1184 }
1185
1186 select.frm_loading_lookup{
1187 background-image: url(../images/ajax_loader.gif) !important;
1188 background-position: 10px;
1189 background-repeat: no-repeat;
1190 color: transparent !important;
1191 }
1192
1193 <?php readfile( __DIR__ . '/frm_grids.css' ); ?>
1194
1195 .frm_conf_field.frm_left_container .frm_primary_label{
1196 display:none;
1197 }
1198
1199 .wp-editor-wrap *,
1200 .wp-editor-wrap *:after,
1201 .wp-editor-wrap *:before{
1202 box-sizing:content-box;
1203 }
1204
1205 .with_frm_style .frm_grid,
1206 .with_frm_style .frm_grid_first,
1207 .with_frm_style .frm_grid_odd{
1208 clear:both;
1209 margin-bottom:0 !important;
1210 padding:5px;
1211 border-width:1px;
1212 border-style:solid;
1213 <?php if ( ! empty( $defaults['border_color'] ) ) { ?>
1214 border-color: var(--border-color)<?php echo esc_html( $important ); ?>;
1215 <?php } ?>
1216 border-left:none;
1217 border-right:none;
1218 }
1219
1220 .with_frm_style .frm_grid,
1221 .with_frm_style .frm_grid_odd{
1222 border-top:none;
1223 }
1224
1225 .frm_grid .frm_error,
1226 .frm_grid_first .frm_error,
1227 .frm_grid_odd .frm_error,
1228 .frm_grid .frm_limit_error,
1229 .frm_grid_first .frm_limit_error,
1230 .frm_grid_odd .frm_limit_error{
1231 display:none;
1232 }
1233
1234 .frm_grid:after,
1235 .frm_grid_first:after,
1236 .frm_grid_odd:after{
1237 visibility:hidden;
1238 display:block;
1239 font-size:0;
1240 content:" ";
1241 clear:both;
1242 height:0;
1243 }
1244
1245 .frm_grid_first{
1246 margin-top:20px;
1247 }
1248
1249 <?php if ( ! empty( $defaults['bg_color'] ) ) { ?>
1250 .frm_grid_first,
1251 .frm_grid_odd {
1252 background-color: var(--bg-color);
1253 }
1254 <?php } ?>
1255
1256 <?php if ( ! empty( $defaults['bg_color_active'] ) ) { ?>
1257 .frm_grid {
1258 background-color: var(--bg-color-active)<?php echo esc_html( $important ); ?>;
1259 }
1260 <?php } ?>
1261
1262 .with_frm_style .frm_grid.frm_blank_field,
1263 .with_frm_style .frm_grid_first.frm_blank_field,
1264 .with_frm_style .frm_grid_odd.frm_blank_field{
1265 background-color:var(--error-bg)<?php echo esc_html( $important ); ?>;
1266 border-color: var(--error-border);
1267 }
1268
1269 .frm_grid .frm_primary_label,
1270 .frm_grid_first .frm_primary_label,
1271 .frm_grid_odd .frm_primary_label,
1272 .frm_grid .frm_radio,
1273 .frm_grid_first .frm_radio,
1274 .frm_grid_odd .frm_radio,
1275 .frm_grid .frm_checkbox,
1276 .frm_grid_first .frm_checkbox,
1277 .frm_grid_odd .frm_checkbox{
1278 float:left !important;
1279 display:block;
1280 margin-top:0;
1281 margin-left:0 !important;
1282 }
1283
1284 .frm_grid_first .frm_radio label,
1285 .frm_grid .frm_radio label,
1286 .frm_grid_odd .frm_radio label,
1287 .frm_grid_first .frm_checkbox label,
1288 .frm_grid .frm_checkbox label,
1289 .frm_grid_odd .frm_checkbox label{
1290 color:transparent;
1291 text-indent: -9999px;
1292 white-space:nowrap;
1293 text-align:left;
1294 }
1295
1296 .frm_grid_first .frm_radio label input,
1297 .frm_grid .frm_radio label input,
1298 .frm_grid_odd .frm_radio label input,
1299 .frm_grid_first .frm_checkbox label input,
1300 .frm_grid .frm_checkbox label input,
1301 .frm_grid_odd .frm_checkbox label input{
1302 visibility:visible;
1303 margin:2px 0 0;
1304 float:right;
1305 }
1306
1307 .frm_grid .frm_radio,
1308 .frm_grid_first .frm_radio,
1309 .frm_grid_odd .frm_radio,
1310 .frm_grid .frm_checkbox,
1311 .frm_grid_first .frm_checkbox,
1312 .frm_grid_odd .frm_checkbox{
1313 display:inline;
1314 }
1315
1316 .frm_grid_2 .frm_radio,
1317 .frm_grid_2 .frm_checkbox,
1318 .frm_grid_2 .frm_primary_label{
1319 width:48% !important;
1320 }
1321
1322 .frm_grid_2 .frm_radio,
1323 .frm_grid_2 .frm_checkbox{
1324 margin-right:4%;
1325 }
1326
1327 .frm_grid_3 .frm_radio,
1328 .frm_grid_3 .frm_checkbox,
1329 .frm_grid_3 .frm_primary_label{
1330 width:30% !important;
1331 }
1332
1333 .frm_grid_3 .frm_radio,
1334 .frm_grid_3 .frm_checkbox{
1335 margin-right:3%;
1336 }
1337
1338 .frm_grid_4 .frm_radio,
1339 .frm_grid_4 .frm_checkbox{
1340 width:20% !important;
1341 }
1342
1343 .frm_grid_4 .frm_primary_label{
1344 width:28% !important;
1345 }
1346
1347 .frm_grid_4 .frm_radio,
1348 .frm_grid_4 .frm_checkbox{
1349 margin-right:4%;
1350 }
1351
1352 .frm_grid_5 .frm_primary_label,
1353 .frm_grid_7 .frm_primary_label{
1354 width:24% !important;
1355 }
1356
1357 .frm_grid_5 .frm_radio,
1358 .frm_grid_5 .frm_checkbox{
1359 width:17% !important;
1360 margin-right:2%;
1361 }
1362
1363 .frm_grid_6 .frm_primary_label{
1364 width:25% !important;
1365 }
1366
1367 .frm_grid_6 .frm_radio,
1368 .frm_grid_6 .frm_checkbox{
1369 width:14% !important;
1370 margin-right:1%;
1371 }
1372
1373 .frm_grid_7 .frm_primary_label{
1374 width:22% !important;
1375 }
1376
1377 .frm_grid_7 .frm_radio,
1378 .frm_grid_7 .frm_checkbox{
1379 width:12% !important;
1380 margin-right:1%;
1381 }
1382
1383 .frm_grid_8 .frm_primary_label{
1384 width:23% !important;
1385 }
1386
1387 .frm_grid_8 .frm_radio,
1388 .frm_grid_8 .frm_checkbox{
1389 width:10% !important;
1390 margin-right:1%;
1391 }
1392
1393 .frm_grid_9 .frm_primary_label{
1394 width:20% !important;
1395 }
1396
1397 .frm_grid_9 .frm_radio,
1398 .frm_grid_9 .frm_checkbox{
1399 width:9% !important;
1400 margin-right:1%;
1401 }
1402
1403 .frm_grid_10 .frm_primary_label{
1404 width:19% !important;
1405 }
1406
1407 .frm_grid_10 .frm_radio,
1408 .frm_grid_10 .frm_checkbox{
1409 width:8% !important;
1410 margin-right:1%;
1411 }
1412
1413 .frm_form_field.frm_inline_container .frm_opt_container,
1414 .frm_form_field.frm_right_container .frm_opt_container,
1415 .frm_form_field.frm_left_container .frm_opt_container{
1416 padding-top:4px;
1417 }
1418
1419 .with_frm_style .frm_left_container > select.auto_width,
1420 .with_frm_style .frm_right_container > select.auto_width {
1421 width: max-content<?php echo esc_html( $important ); ?>;
1422 }
1423
1424 .with_frm_style .frm_right_container > .frm_primary_label,
1425 .with_frm_style .frm_right_container > select.auto_width {
1426 margin-left: auto<?php echo esc_html( $important ); ?>;
1427 }
1428
1429 .with_frm_style .frm_inline_container.frm_grid_first .frm_primary_label,
1430 .with_frm_style .frm_inline_container.frm_grid .frm_primary_label,
1431 .with_frm_style .frm_inline_container.frm_grid_odd .frm_primary_label,
1432 .with_frm_style .frm_inline_container.frm_grid_first .frm_opt_container,
1433 .with_frm_style .frm_inline_container.frm_grid .frm_opt_container,
1434 .with_frm_style .frm_inline_container.frm_grid_odd .frm_opt_container{
1435 margin-right:0;
1436 }
1437
1438 .frm_form_field.frm_two_col .frm_opt_container,
1439 .frm_form_field.frm_three_col .frm_opt_container,
1440 .frm_form_field.frm_four_col .frm_opt_container{
1441 display: grid;
1442 grid-template-columns: repeat(2, 1fr);
1443 grid-auto-rows: max-content;
1444 grid-gap: 0 2.5%;
1445 }
1446
1447 .frm_form_field.frm_three_col .frm_opt_container{
1448 grid-template-columns: repeat(3, 1fr);
1449 }
1450
1451 .frm_form_field.frm_four_col .frm_opt_container{
1452 grid-template-columns: repeat(4, 1fr);
1453 }
1454
1455 .frm_form_field.frm_two_col .frm_radio,
1456 .frm_form_field.frm_two_col .frm_checkbox,
1457 .frm_form_field.frm_three_col .frm_radio,
1458 .frm_form_field.frm_three_col .frm_checkbox,
1459 .frm_form_field.frm_four_col .frm_radio,
1460 .frm_form_field.frm_four_col .frm_checkbox{
1461 grid-column-end: span 1;
1462 }
1463
1464 .frm_form_field .frm_checkbox,
1465 .frm_form_field .frm_radio {
1466 margin-top: 0;
1467 margin-bottom: 0;
1468 }
1469
1470 .frm_form_field.frm_scroll_box .frm_opt_container{
1471 height:100px;
1472 overflow:auto;
1473 }
1474
1475 .frm_html_container.frm_scroll_box,
1476 .frm_form_field.frm_html_scroll_box {
1477 height: 100px;
1478 overflow: auto;
1479 background-color: var(--bg-color);
1480 border-color: var(--border-color);
1481 border-width: var(--field-border-width);
1482 border-style: var(--field-border-style);
1483 border-radius: var(--border-radius);
1484 width: var(--field-width);
1485 max-width: 100%;
1486 font-size: var(--field-font-size);
1487 padding: var(--field-pad);
1488 box-sizing: border-box;
1489 outline: none<?php echo esc_html( $important ); ?>;
1490 font-weight: normal;
1491 box-shadow: var(--box-shadow);
1492 }
1493
1494 .frm_form_field.frm_total_big input,
1495 .frm_form_field.frm_total_big textarea,
1496 .frm_form_field.frm_total input,
1497 .frm_form_field.frm_total textarea{
1498 opacity:1;
1499 background-color:transparent !important;
1500 border:none !important;
1501 font-weight:bold;
1502 width:auto !important;
1503 height:auto !important;
1504 box-shadow:none !important;
1505 display:inline;
1506 -moz-appearance:textfield;
1507 padding:0;
1508 }
1509
1510 .frm_form_field.frm_total_big input::-webkit-outer-spin-button,
1511 .frm_form_field.frm_total_big input::-webkit-inner-spin-button,
1512 .frm_form_field.frm_total input::-webkit-outer-spin-button,
1513 .frm_form_field.frm_total input::-webkit-inner-spin-button {
1514 -webkit-appearance: none;
1515 }
1516
1517 .frm_form_field.frm_total_big input:focus,
1518 .frm_form_field.frm_total_big textarea:focus,
1519 .frm_form_field.frm_total input:focus,
1520 .frm_form_field.frm_total textarea:focus{
1521 background-color:transparent;
1522 border:none;
1523 box-shadow:none;
1524 }
1525
1526 .frm_form_field.frm_label_justify .frm_primary_label{
1527 text-align:justify !important;
1528 }
1529
1530 .frm_form_field.frm_capitalize input,
1531 .frm_form_field.frm_capitalize select,
1532 .frm_form_field.frm_capitalize .frm_opt_container label{
1533 text-transform:capitalize;
1534 }
1535
1536 .frm_clearfix:after{
1537 content:".";
1538 display:block;
1539 clear:both;
1540 visibility:hidden;
1541 line-height:0;
1542 height:0;
1543 }
1544
1545 .frm_clearfix{
1546 display:block;
1547 }
1548
1549 .with_frm_style .frm_combo_inputs_container > .frm_form_subfield-first,
1550 .with_frm_style .frm_combo_inputs_container > .frm_form_subfield-middle,
1551 .with_frm_style .frm_combo_inputs_container > .frm_form_subfield-last {
1552 margin-bottom: 0 !important;
1553 }
1554
1555
1556 <?php
1557 /**
1558 * Call action so other plugins can add additional CSS.
1559 *
1560 * @param array $args {
1561 *
1562 * @type array $defaults
1563 * }
1564 */
1565 do_action( 'frm_include_front_css', compact( 'defaults' ) );
1566 ?>
1567
1568 /* Responsive */
1569
1570 @media only screen and (max-width: 900px) {
1571 .frm_form_field .frm_repeat_grid .frm_form_field.frm_sixth .frm_primary_label,
1572 .frm_form_field .frm_repeat_grid .frm_form_field.frm_seventh .frm_primary_label,
1573 .frm_form_field .frm_repeat_grid .frm_form_field.frm_eighth .frm_primary_label{
1574 display: block !important;
1575 }
1576 }
1577
1578 @media only screen and (max-width: 600px) {
1579 .frm_form_field.frm_four_col .frm_opt_container{
1580 grid-template-columns: repeat(2, 1fr);
1581 }
1582
1583 .with_frm_style .frm_repeat_inline,
1584 .with_frm_style .frm_repeat_grid{
1585 margin: 20px 0;
1586 }
1587 }
1588
1589 @media only screen and (max-width: 500px) {
1590 .frm_form_field.frm_two_col .frm_radio,
1591 .frm_form_field.frm_two_col .frm_checkbox,
1592 .frm_form_field.frm_three_col .frm_radio,
1593 .frm_form_field.frm_three_col .frm_checkbox{
1594 width: auto;
1595 margin-right: 0;
1596 float: none;
1597 display:block;
1598 }
1599
1600 .frm_form_field input[type=file] {
1601 max-width:220px;
1602 }
1603
1604 .with_frm_style .frm-g-recaptcha > div > div,
1605 .with_frm_style .g-recaptcha > div > div{
1606 width:inherit !important;
1607 display:block;
1608 overflow:hidden;
1609 max-width:302px;
1610 border-right:1px solid #d3d3d3;
1611 border-radius:4px;
1612 box-shadow:2px 0px 4px -1px rgba(0,0,0,.08);
1613 }
1614
1615 .with_frm_style .g-recaptcha iframe,
1616 .with_frm_style .frm-g-recaptcha iframe{
1617 width:100%;
1618 }
1619 }
1620
1621 .frm-card-element .sq-card-wrapper .sq-card-message {
1622 margin-bottom: 0;
1623 }
1624 .frm-card-errors:empty {
1625 margin: 0;
1626 }
1627 <?php
1628
1629 echo strip_tags( FrmStylesController::get_custom_css() ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
1630