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

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