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

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