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

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