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

952 lines 19.9 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
19 ?>
20
21 .frm_hidden,
22 .frm_add_form_row.frm_hidden,
23 .frm_remove_form_row.frm_hidden,
24 .with_frm_style .frm_button.frm_hidden{
25 display:none;
26 }
27
28 form input.frm_verify{
29 display:none !important;
30 }
31
32 .with_frm_style fieldset{
33 min-width:0;
34 }
35
36 .with_frm_style fieldset fieldset{
37 border:none;
38 margin:0;
39 padding:0;
40 background-color:transparent;
41 }
42
43 legend.frm_hidden{
44 display:none !important;
45 }
46
47 .with_frm_style .frm_form_fields{
48 opacity:1;
49 transition: opacity 0.1s linear;
50 }
51 .with_frm_style .frm_doing_ajax{
52 opacity:.5;
53 }
54
55 .frm_transparent{
56 color:transparent;
57 }
58
59 .input[type=file].frm_transparent:focus, .with_frm_style input[type=file]{
60 background-color:transparent;
61 border:none;
62 outline:none;
63 box-shadow:none;
64 }
65
66 .with_frm_style input[type=file]{
67 display:initial;
68 }
69
70 .frm_preview_page:before{
71 content:normal !important;
72 }
73
74 .frm_preview_page{
75 padding:25px;
76 }
77
78 .with_frm_style .frm_primary_label{
79 max-width:100%;
80 }
81
82 .with_frm_style .frm_top_container .frm_primary_label,
83 .with_frm_style .frm_hidden_container .frm_primary_label,
84 .with_frm_style .frm_pos_top{
85 display:block;
86 float:none;
87 width:auto;
88 }
89
90 .with_frm_style .frm_inline_container .frm_primary_label{
91 margin-right:10px;
92 }
93
94 .with_frm_style .frm_right_container .frm_primary_label,
95 .with_frm_style .frm_pos_right{
96 display:inline;
97 float:right;
98 margin-left:10px;
99 }
100
101 .with_frm_style .frm_none_container .frm_primary_label,
102 .with_frm_style .frm_pos_none,
103 .frm_pos_none,
104 .frm_none_container .frm_primary_label{
105 display:none;
106 }
107
108 .with_frm_style .frm_section_heading.frm_hide_section{
109 margin-top:0 !important;
110 }
111
112 .with_frm_style .frm_hidden_container .frm_primary_label,
113 .with_frm_style .frm_pos_hidden,
114 .frm_hidden_container .frm_primary_label{
115 visibility:hidden;
116 white-space:nowrap;
117 }
118
119 .with_frm_style .frm_inside_container .frm_primary_label{
120 opacity:0;
121 transition: opacity 0.1s linear;
122 }
123
124 .with_frm_style .frm_inside_container label.frm_visible,
125 .frm_visible{
126 opacity:1;
127 }
128
129 .with_frm_style .frm_description{
130 clear:both;
131 }
132
133 .with_frm_style input[type=number][readonly]{
134 -moz-appearance: textfield;
135 }
136
137 .with_frm_style select[multiple="multiple"]{
138 height:auto;
139 line-height:normal;
140 }
141
142 .with_frm_style .frm_catlevel_2,
143 .with_frm_style .frm_catlevel_3,
144 .with_frm_style .frm_catlevel_4,
145 .with_frm_style .frm_catlevel_5{
146 margin-left:18px;
147 }
148
149 .with_frm_style .wp-editor-container{
150 border:1px solid #e5e5e5;
151 }
152
153 .with_frm_style .quicktags-toolbar input{
154 font-size:12px !important;
155 }
156
157 .with_frm_style .wp-editor-container textarea{
158 border:none;
159 }
160
161 .with_frm_style textarea{
162 height:auto;
163 }
164
165 .with_frm_style .auto_width #loginform input,
166 .with_frm_style .auto_width input,
167 .with_frm_style input.auto_width,
168 .with_frm_style select.auto_width,
169 .with_frm_style textarea.auto_width{
170 width:auto;
171 }
172
173 .with_frm_style .frm_repeat_buttons{
174 white-space:nowrap;
175 }
176
177 .with_frm_style .frm_button{
178 text-decoration:none;
179 border:1px solid #eee;
180 padding:5px;
181 display:inline;
182 }
183
184 .with_frm_style .frm_submit{
185 clear:both;
186 }
187
188 .frm_inline_form .frm_form_field,
189 .frm_inline_form .frm_submit{
190 grid-column: span 1 / span 1;
191 }
192
193 .frm_inline_form .frm_submit{
194 margin:0;
195 }
196
197 .frm_submit.frm_inline_submit input[type=submit],
198 .frm_submit.frm_inline_submit button,
199 .frm_inline_form .frm_submit input[type=submit],
200 .frm_inline_form .frm_submit button{
201 margin-top:0;
202 }
203
204 .with_frm_style.frm_center_submit .frm_submit{
205 text-align:center;
206 }
207
208 .with_frm_style.frm_center_submit .frm_submit input[type=submit],
209 .with_frm_style.frm_center_submit .frm_submit input[type=button],
210 .with_frm_style.frm_center_submit .frm_submit button{
211 margin-bottom:8px !important;
212 }
213
214 .with_frm_style .frm_submit input[type=submit],
215 .with_frm_style .frm_submit input[type=button],
216 .with_frm_style .frm_submit button{
217 -webkit-appearance: none;
218 cursor: pointer;
219 }
220
221 .with_frm_style.frm_center_submit .frm_submit .frm_ajax_loading{
222 display: block;
223 margin: 0 auto;
224 }
225
226 .with_frm_style .frm_loading_form .frm_ajax_loading{
227 /* keep this for reverse compatibility for old HTML */
228 visibility:visible !important;
229 }
230
231 .with_frm_style .frm_loading_form .frm_button_submit {
232 position: relative;
233 opacity: .8;
234 color: transparent !important;
235 text-shadow: none !important;
236 }
237
238 .with_frm_style .frm_loading_form .frm_button_submit:hover,
239 .with_frm_style .frm_loading_form .frm_button_submit:active,
240 .with_frm_style .frm_loading_form .frm_button_submit:focus {
241 cursor: not-allowed;
242 color: transparent;
243 outline: none !important;
244 box-shadow: none;
245 }
246
247 .with_frm_style .frm_loading_form .frm_button_submit:before {
248 content: '';
249 display: inline-block;
250 position: absolute;
251 background: transparent;
252 border: 1px solid #fff;
253 border-top-color: transparent;
254 border-left-color: transparent;
255 border-radius: 50%;
256 box-sizing: border-box;
257 <?php $loader_size = 20; ?>
258 top: 50%;
259 left: 50%;
260 margin-top: -<?php echo absint( $loader_size / 2 ); ?>px;
261 margin-left: -<?php echo absint( $loader_size / 2 ); ?>px;
262 width: <?php echo absint( $loader_size ); ?>px;
263 height: <?php echo absint( $loader_size ); ?>px;
264 -webkit-animation: spin 2s linear infinite;
265 -moz-animation: spin 2s linear infinite;
266 -o-animation: spin 2s linear infinite;
267 animation: spin 2s linear infinite;
268 }
269
270 <?php
271 foreach ( $styles as $style ) {
272 include( dirname( __FILE__ ) . '/_single_theme.css.php' );
273 unset( $style );
274 }
275 ?>
276
277 .frm_ajax_loading{
278 visibility:hidden;
279 width:auto;
280 }
281
282 .frm_form_submit_style{
283 height:auto;
284 }
285
286 a.frm_save_draft{
287 cursor:pointer;
288 }
289
290 .horizontal_radio .frm_radio{
291 margin:0 5px 0 0;
292 }
293
294 .horizontal_radio .frm_checkbox{
295 margin:0;
296 margin-right:5px;
297 }
298
299 .vertical_radio .frm_checkbox,
300 .vertical_radio .frm_radio,
301 .vertical_radio .frm_catlevel_1{
302 display:block;
303 }
304
305 .horizontal_radio .frm_checkbox,
306 .horizontal_radio .frm_radio,
307 .horizontal_radio .frm_catlevel_1{
308 display:inline-block;
309 }
310
311 .with_frm_style .frm_checkbox label,
312 .with_frm_style .frm_radio label{
313 display: inline;
314 white-space:normal;
315 }
316
317 .with_frm_style .vertical_radio .frm_checkbox label,
318 .with_frm_style .vertical_radio .frm_radio label{
319 display: block;
320 padding-left: 20px;
321 text-indent: -20px;
322 }
323
324 .frm_file_container .frm_file_link,
325 .with_frm_style .frm_radio label .frm_file_container,
326 .with_frm_style .frm_checkbox label .frm_file_container{
327 display:inline-block;
328 margin:5px;
329 vertical-align:middle;
330 }
331
332 .with_frm_style .frm_radio input[type=radio]{
333 -webkit-appearance:radio;
334 border-radius:50%;
335 }
336
337 .with_frm_style .frm_checkbox input[type=checkbox]{
338 -webkit-appearance:checkbox;
339 border-radius:0;
340 }
341
342 .with_frm_style .frm_radio input[type=radio],
343 .with_frm_style .frm_checkbox input[type=checkbox]{
344 flex: none;
345 display:inline-block;
346 margin:4px 5px 0 0;
347 width:auto;
348 border:none;
349 vertical-align:baseline;
350 position: initial; /* override Bootstrap */
351 }
352
353 .with_frm_style :invalid,
354 .with_frm_style :-moz-submit-invalid,
355 .with_frm_style :-moz-ui-invalid{
356 box-shadow:none;
357 }
358
359 .with_frm_style .frm_error_style img{
360 padding-right:10px;
361 vertical-align:middle;
362 border:none;
363 }
364
365 .with_frm_style .frm_trigger{
366 cursor:pointer;
367 }
368
369 .with_frm_style .frm_error_style,
370 .with_frm_style .frm_message,
371 .frm_success_style{
372 -moz-border-radius:4px;
373 -webkit-border-radius:4px;
374 border-radius:4px;
375 padding:15px;
376 }
377
378 .with_frm_style .frm_message p{
379 margin-bottom:5px;
380 }
381
382 .frm_form_fields_style,
383 .frm_form_fields_active_style,
384 .frm_form_fields_error_style,
385 .frm_form_submit_style{
386 width:auto;
387 }
388
389 .with_frm_style .frm_trigger span{
390 float:left;
391 }
392
393 .with_frm_style table.frm-grid,
394 #content .with_frm_style table.frm-grid{
395 border-collapse:collapse;
396 border:none;
397 }
398
399 .frm-grid td,
400 .frm-grid th{
401 padding:5px;
402 border-width:1px;
403 border-style:solid;
404 border-color:<?php echo esc_html( $defaults['border_color'] ); ?>;
405 border-top:none;
406 border-left:none;
407 border-right:none;
408 }
409
410 .frm-alt-table {
411 width:100%;
412 border-collapse:collapse;
413 margin-top:0.5em;
414 font-size:15px;
415 }
416
417 .frm-alt-table th {
418 width:200px;
419 }
420
421 .frm-alt-table tr {
422 background-color:transparent;
423 }
424
425 .frm-alt-table th,
426 .frm-alt-table td {
427 background-color:transparent;
428 vertical-align:top;
429 text-align:left;
430 padding:20px;
431 }
432
433 .frm-alt-table tr:nth-child(even) {
434 background-color:<?php echo esc_html( FrmStylesHelper::adjust_brightness( $defaults['border_color'], 45 ) ); ?>;
435 }
436
437 table.form_results.with_frm_style{
438 border:1px solid #ccc;
439 }
440
441 table.form_results.with_frm_style tr td{
442 text-align:left;
443 color:<?php echo esc_html( $defaults['text_color'] ); ?>;
444 padding:7px 9px;
445 border-top:1px solid <?php echo esc_html( $defaults['border_color'] ); ?>;
446 }
447
448 table.form_results.with_frm_style tr.frm_even,
449 .frm-grid .frm_even{
450 background-color:#fff;
451 }
452
453 table.form_results.with_frm_style tr.frm_odd,
454 .frm-grid .frm_odd{
455 background-color:<?php echo esc_html( FrmStylesHelper::adjust_brightness( $defaults['border_color'], 45 ) ); ?>;
456 }
457
458 .frm_collapse .ui-icon{
459 display:inline-block;
460 }
461
462 .frm_toggle_container{
463 /* Prevent the slide and bounce */
464 border:1px solid transparent;
465 }
466
467 .frm_toggle_container ul{
468 margin:5px 0;
469 padding-left:0;
470 list-style-type:none;
471 }
472
473 .frm_toggle_container .frm_month_heading{
474 text-indent:15px;
475 }
476
477 .frm_toggle_container .frm_month_listing{
478 margin-left:40px;
479 }
480
481 #frm_loading{
482 display:none;
483 position:fixed;
484 top:0;
485 left:0;
486 width:100%;
487 height:100%;
488 z-index:99999;
489 }
490
491 #frm_loading h3{
492 font-weight:500;
493 padding-bottom:15px;
494 color:#fff;
495 font-size:24px;
496 }
497
498 #frm_loading_content{
499 position:fixed;
500 top:20%;
501 left:33%;
502 width:33%;
503 text-align:center;
504 padding-top:30px;
505 font-weight:bold;
506 z-index:9999999;
507 }
508
509 #frm_loading img{
510 max-width:100%;
511 }
512
513 #frm_loading .progress{
514 border-radius:4px;
515 box-shadow:0 1px 2px rgba(0, 0, 0, 0.1) inset;
516 height:20px;
517 margin-bottom:20px;
518 overflow:hidden;
519 }
520
521 #frm_loading .progress.active .progress-bar{
522 animation:2s linear 0s normal none infinite progress-bar-stripes;
523 }
524
525 <?php if ( ! empty( $defaults['bg_color'] ) ) { ?>
526 #frm_loading .progress-striped .progress-bar{
527 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));
528 background-size:40px 40px;
529 }
530 <?php } ?>
531
532 #frm_loading .progress-bar{
533 background-color:<?php echo esc_html( empty( $defaults['bg_color'] ) ? 'transparent' : $defaults['bg_color'] ); ?>;
534 box-shadow:0 -1px 0 rgba(0, 0, 0, 0.15) inset;
535 float:left;
536 height:100%;
537 line-height:20px;
538 text-align:center;
539 transition:width 0.6s ease 0s;
540 width:100%;
541 }
542
543 .frm_image_from_url{
544 height:50px;
545 }
546
547 .frm-loading-img{
548 background:url(../images/ajax_loader.gif) no-repeat center center;
549 padding:6px 12px;
550 }
551
552 select.frm_loading_lookup{
553 background-image: url(../images/ajax_loader.gif) !important;
554 background-position: 10px;
555 background-repeat: no-repeat;
556 color: transparent !important;
557 }
558
559 <?php readfile( dirname( __FILE__ ) . '/frm_grids.css' ); ?>
560
561 .frm_conf_field.frm_left_container .frm_primary_label{
562 display:none;
563 }
564
565 .wp-editor-wrap *,
566 .wp-editor-wrap *:after,
567 .wp-editor-wrap *:before{
568 -webkit-box-sizing:content-box;
569 -moz-box-sizing:content-box;
570 box-sizing:content-box;
571 }
572
573 .with_frm_style .frm_grid,
574 .with_frm_style .frm_grid_first,
575 .with_frm_style .frm_grid_odd{
576 clear:both;
577 margin-bottom:0 !important;
578 padding:5px;
579 border-width:1px;
580 border-style:solid;
581 border-color:<?php echo esc_html( $defaults['border_color'] ); ?>;
582 border-left:none;
583 border-right:none;
584 }
585
586 .with_frm_style .frm_grid,
587 .with_frm_style .frm_grid_odd{
588 border-top:none;
589 }
590
591 .frm_grid .frm_error,
592 .frm_grid_first .frm_error,
593 .frm_grid_odd .frm_error{
594 display:none;
595 }
596
597 .frm_grid:after,
598 .frm_grid_first:after,
599 .frm_grid_odd:after{
600 visibility:hidden;
601 display:block;
602 font-size:0;
603 content:" ";
604 clear:both;
605 height:0;
606 }
607
608 .frm_grid_first{
609 margin-top:20px;
610 }
611
612 .frm_grid_first,
613 .frm_grid_odd{
614 background-color:<?php echo esc_html( $defaults['bg_color'] ); ?>;
615 }
616
617 .frm_grid{
618 background-color:<?php echo esc_html( $defaults['bg_color_active'] ); ?>;
619 }
620
621 .frm_grid .frm_primary_label,
622 .frm_grid_first .frm_primary_label,
623 .frm_grid_odd .frm_primary_label,
624 .frm_grid .frm_radio,
625 .frm_grid_first .frm_radio,
626 .frm_grid_odd .frm_radio,
627 .frm_grid .frm_checkbox,
628 .frm_grid_first .frm_checkbox,
629 .frm_grid_odd .frm_checkbox{
630 float:left !important;
631 display:block;
632 margin-top:0;
633 margin-left:0 !important;
634 }
635
636 .frm_grid_first .frm_radio label,
637 .frm_grid .frm_radio label,
638 .frm_grid_odd .frm_radio label,
639 .frm_grid_first .frm_checkbox label,
640 .frm_grid .frm_checkbox label,
641 .frm_grid_odd .frm_checkbox label{
642 visibility:hidden;
643 white-space:nowrap;
644 text-align:left;
645 }
646
647 .frm_grid_first .frm_radio label input,
648 .frm_grid .frm_radio label input,
649 .frm_grid_odd .frm_radio label input,
650 .frm_grid_first .frm_checkbox label input,
651 .frm_grid .frm_checkbox label input,
652 .frm_grid_odd .frm_checkbox label input{
653 visibility:visible;
654 margin:2px 0 0;
655 float:right;
656 }
657
658 .frm_grid .frm_radio,
659 .frm_grid_first .frm_radio,
660 .frm_grid_odd .frm_radio,
661 .frm_grid .frm_checkbox,
662 .frm_grid_first .frm_checkbox,
663 .frm_grid_odd .frm_checkbox{
664 display:inline;
665 }
666
667 .frm_grid_2 .frm_radio,
668 .frm_grid_2 .frm_checkbox,
669 .frm_grid_2 .frm_primary_label{
670 width:48% !important;
671 }
672
673 .frm_grid_2 .frm_radio,
674 .frm_grid_2 .frm_checkbox{
675 margin-right:4%;
676 }
677
678 .frm_grid_3 .frm_radio,
679 .frm_grid_3 .frm_checkbox,
680 .frm_grid_3 .frm_primary_label{
681 width:30% !important;
682 }
683
684 .frm_grid_3 .frm_radio,
685 .frm_grid_3 .frm_checkbox{
686 margin-right:3%;
687 }
688
689 .frm_grid_4 .frm_radio,
690 .frm_grid_4 .frm_checkbox{
691 width:20% !important;
692 }
693
694 .frm_grid_4 .frm_primary_label{
695 width:28% !important;
696 }
697
698 .frm_grid_4 .frm_radio,
699 .frm_grid_4 .frm_checkbox{
700 margin-right:4%;
701 }
702
703 .frm_grid_5 .frm_primary_label,
704 .frm_grid_7 .frm_primary_label{
705 width:24% !important;
706 }
707
708 .frm_grid_5 .frm_radio,
709 .frm_grid_5 .frm_checkbox{
710 width:17% !important;
711 margin-right:2%;
712 }
713
714 .frm_grid_6 .frm_primary_label{
715 width:25% !important;
716 }
717
718 .frm_grid_6 .frm_radio,
719 .frm_grid_6 .frm_checkbox{
720 width:14% !important;
721 margin-right:1%;
722 }
723
724 .frm_grid_7 .frm_primary_label{
725 width:22% !important;
726 }
727
728 .frm_grid_7 .frm_radio,
729 .frm_grid_7 .frm_checkbox{
730 width:12% !important;
731 margin-right:1%;
732 }
733
734 .frm_grid_8 .frm_primary_label{
735 width:23% !important;
736 }
737
738 .frm_grid_8 .frm_radio,
739 .frm_grid_8 .frm_checkbox{
740 width:10% !important;
741 margin-right:1%;
742 }
743
744 .frm_grid_9 .frm_primary_label{
745 width:20% !important;
746 }
747
748 .frm_grid_9 .frm_radio,
749 .frm_grid_9 .frm_checkbox{
750 width:9% !important;
751 margin-right:1%;
752 }
753
754 .frm_grid_10 .frm_primary_label{
755 width:19% !important;
756 }
757
758 .frm_grid_10 .frm_radio,
759 .frm_grid_10 .frm_checkbox{
760 width:8% !important;
761 margin-right:1%;
762 }
763
764 .frm_form_field.frm_inline_container .frm_opt_container,
765 .frm_form_field.frm_right_container .frm_opt_container,
766 .frm_form_field.frm_left_container .frm_opt_container{
767 padding-top:4px;
768 }
769
770 .with_frm_style .frm_inline_container.frm_grid_first .frm_primary_label,
771 .with_frm_style .frm_inline_container.frm_grid .frm_primary_label,
772 .with_frm_style .frm_inline_container.frm_grid_odd .frm_primary_label,
773 .with_frm_style .frm_inline_container.frm_grid_first .frm_opt_container,
774 .with_frm_style .frm_inline_container.frm_grid .frm_opt_container,
775 .with_frm_style .frm_inline_container.frm_grid_odd .frm_opt_container{
776 margin-right:0;
777 }
778
779 .frm_form_field.frm_two_col .frm_opt_container,
780 .frm_form_field.frm_three_col .frm_opt_container,
781 .frm_form_field.frm_four_col .frm_opt_container{
782 display: grid;
783 grid-template-columns: repeat(2, 1fr);
784 grid-auto-rows: max-content;
785 grid-gap: 0 2.5%;
786 }
787
788 .frm_form_field.frm_three_col .frm_opt_container{
789 grid-template-columns: repeat(3, 1fr);
790 }
791
792 .frm_form_field.frm_four_col .frm_opt_container{
793 grid-template-columns: repeat(4, 1fr);
794 }
795
796 .frm_form_field.frm_two_col .frm_radio,
797 .frm_form_field.frm_two_col .frm_checkbox,
798 .frm_form_field.frm_three_col .frm_radio,
799 .frm_form_field.frm_three_col .frm_checkbox,
800 .frm_form_field.frm_four_col .frm_radio,
801 .frm_form_field.frm_four_col .frm_checkbox{
802 grid-column-end: span 1;
803 }
804
805 .frm_form_field .frm_checkbox,
806 .frm_form_field .frm_checkbox + .frm_checkbox,
807 .frm_form_field .frm_radio,
808 .frm_form_field .frm_radio + .frm_radio{
809 margin-top: 0;
810 margin-bottom: 0;
811 }
812
813 .frm_form_field.frm_scroll_box .frm_opt_container{
814 height:100px;
815 overflow:auto;
816 }
817
818 .frm_html_container.frm_scroll_box,
819 .frm_form_field.frm_html_scroll_box{
820 height:100px;
821 overflow:auto;
822 background-color:<?php echo esc_html( $defaults['bg_color'] ); ?>;
823 border-color:<?php echo esc_html( $defaults['border_color'] ); ?>;
824 border-width:<?php echo esc_html( $defaults['field_border_width'] ); ?>;
825 border-style:<?php echo esc_html( $defaults['field_border_style'] ); ?>;
826 -moz-border-radius:<?php echo esc_html( $defaults['border_radius'] ); ?>;
827 -webkit-border-radius:<?php echo esc_html( $defaults['border_radius'] ); ?>;
828 border-radius:<?php echo esc_html( $defaults['border_radius'] ); ?>;
829 width:<?php echo esc_html( $defaults['field_width'] == '' ? 'auto' : $defaults['field_width'] ); ?>;
830 max-width:100%;
831 font-size:<?php echo esc_html( $defaults['field_font_size'] ); ?>;
832 padding:<?php echo esc_html( $defaults['field_pad'] ); ?>;
833 -webkit-box-sizing:border-box;
834 -moz-box-sizing:border-box;
835 box-sizing:border-box;
836 outline:none;
837 font-weight:normal;
838 box-shadow:0 1px 1px rgba(0, 0, 0, 0.075) inset;
839 }
840
841 .frm_form_field.frm_total input,
842 .frm_form_field.frm_total textarea{
843 opacity:1;
844 background-color:transparent !important;
845 border:none !important;
846 font-weight:bold;
847 -moz-box-shadow:none;
848 -webkit-box-shadow:none;
849 width:auto !important;
850 box-shadow:none !important;
851 display:inline;
852 -moz-appearance:textfield;
853 padding:0;
854 }
855
856 .frm_form_field.frm_total input::-webkit-outer-spin-button,
857 .frm_form_field.frm_total input::-webkit-inner-spin-button {
858 -webkit-appearance: none;
859 }
860
861 .frm_form_field.frm_total input:focus,
862 .frm_form_field.frm_total textarea:focus{
863 background-color:transparent;
864 border:none;
865 -moz-box-shadow:none;
866 -webkit-box-shadow:none;
867 box-shadow:none;
868 }
869
870 .frm_form_field.frm_label_justify .frm_primary_label{
871 text-align:justify !important;
872 }
873
874 .frm_form_field.frm_capitalize input,
875 .frm_form_field.frm_capitalize select,
876 .frm_form_field.frm_capitalize .frm_opt_container label{
877 text-transform:capitalize;
878 }
879
880 .frm_clearfix:after{
881 content:".";
882 display:block;
883 clear:both;
884 visibility:hidden;
885 line-height:0;
886 height:0;
887 }
888
889 .frm_clearfix{
890 display:block;
891 }
892
893 /* Fonts */
894 <?php readfile( FrmAppHelper::plugin_path() . '/css/font_icons.css' ); ?>
895 <?php do_action( 'frm_include_front_css', compact( 'defaults' ) ); ?>
896
897 /* Responsive */
898 @media only screen and (max-width: 900px) {
899 .frm_form_field .frm_repeat_grid .frm_form_field.frm_sixth .frm_primary_label,
900 .frm_form_field .frm_repeat_grid .frm_form_field.frm_seventh .frm_primary_label,
901 .frm_form_field .frm_repeat_grid .frm_form_field.frm_eighth .frm_primary_label{
902 display: block !important;
903 }
904 }
905
906 @media only screen and (max-width: 600px) {
907 .frm_form_field.frm_four_col .frm_opt_container{
908 grid-template-columns: repeat(2, 1fr);
909 }
910 }
911
912 @media only screen and (max-width: 500px) {
913 .frm_form_field.frm_two_col .frm_radio,
914 .frm_form_field.frm_two_col .frm_checkbox,
915 .frm_form_field.frm_three_col .frm_radio,
916 .frm_form_field.frm_three_col .frm_checkbox{
917 width: auto;
918 margin-right: 0;
919 float: none;
920 display:block;
921 }
922
923 .frm_form_field input[type=file] {
924 max-width:220px;
925 }
926
927 .with_frm_style .frm-g-recaptcha > div > div,
928 .with_frm_style .g-recaptcha > div > div{
929 width:inherit !important;
930 display:block;
931 overflow:hidden;
932 max-width:302px;
933 border-right:1px solid #d3d3d3;
934 border-radius:4px;
935 box-shadow:2px 0px 4px -1px rgba(0,0,0,.08);
936 -moz-box-shadow:2px 0px 4px -1px rgba(0,0,0,.08);
937 }
938
939 .with_frm_style .g-recaptcha iframe,
940 .with_frm_style .frm-g-recaptcha iframe{
941 width:100%;
942 }
943 }
944 <?php
945
946 $frm_settings = FrmAppHelper::get_settings();
947 if ( $frm_settings->old_css ) {
948 readfile( dirname( __FILE__ ) . '/frm_old_grids.css' );
949 }
950
951 echo strip_tags( $defaults['custom_css'] ); // WPCS: XSS ok.
952