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

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