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

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