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

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