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

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