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

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