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

936 lines 20.6 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_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
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
258 box-sizing: border-box;
259 <?php $loader_size = 20; ?>
260 top: 50%;
261 left: 50%;
262 margin-top: -<?php echo absint( $loader_size / 2 ) ?>px;
263 margin-left: -<?php echo absint( $loader_size / 2 ) ?>px;
264 width: <?php echo absint( $loader_size ) ?>px;
265 height: <?php echo absint( $loader_size ) ?>px;
266
267 -webkit-animation: spin 2s linear infinite;
268 -moz-animation: spin 2s linear infinite;
269 -o-animation: spin 2s linear infinite;
270 animation: spin 2s linear infinite;
271 }
272
273 <?php
274 foreach ( $styles as $style ) {
275 include( dirname( __FILE__ ) . '/_single_theme.css.php' );
276 unset( $style );
277 }
278 ?>
279
280 .frm_ajax_loading{
281 visibility:hidden;
282 width:auto;
283 }
284
285 .frm_form_submit_style{
286 height:auto;
287 }
288
289 a.frm_save_draft{
290 cursor:pointer;
291 }
292
293 .horizontal_radio .frm_radio{
294 margin:0 5px 0 0;
295 }
296
297 .horizontal_radio .frm_checkbox{
298 margin:0;
299 margin-right:5px;
300 }
301
302 .vertical_radio .frm_checkbox,
303 .vertical_radio .frm_radio,
304 .vertical_radio .frm_catlevel_1{
305 display:block;
306 }
307
308 .horizontal_radio .frm_checkbox,
309 .horizontal_radio .frm_radio,
310 .horizontal_radio .frm_catlevel_1{
311 display:inline-block;
312 }
313
314 .with_frm_style .frm_checkbox label,
315 .with_frm_style .frm_radio label{
316 display: inline;
317 white-space:normal;
318 }
319
320 .with_frm_style .vertical_radio .frm_checkbox label,
321 .with_frm_style .vertical_radio .frm_radio label{
322 display: block;
323 padding-left: 20px;
324 text-indent: -20px;
325 }
326
327 .frm_file_container .frm_file_link,
328 .with_frm_style .frm_radio label .frm_file_container,
329 .with_frm_style .frm_checkbox label .frm_file_container{
330 display:inline-block;
331 margin:5px;
332 vertical-align:middle;
333 }
334
335 .with_frm_style .frm_radio input[type=radio]{
336 -webkit-appearance:radio;
337 border-radius:50%;
338 }
339
340 .with_frm_style .frm_checkbox input[type=checkbox]{
341 -webkit-appearance:checkbox;
342 border-radius:initial;
343 }
344
345 .with_frm_style .frm_radio input[type=radio],
346 .with_frm_style .frm_checkbox input[type=checkbox]{
347 flex: none;
348 display:inline-block;
349 margin:4px 5px 0 0;
350 width:auto;
351 border:none;
352 vertical-align:baseline;
353 position: initial; /* override Bootstrap */
354 }
355
356 .with_frm_style :invalid,
357 .with_frm_style :-moz-submit-invalid,
358 .with_frm_style :-moz-ui-invalid{
359 box-shadow:none;
360 }
361
362 .with_frm_style .frm_error_style img{
363 padding-right:10px;
364 vertical-align:middle;
365 border:none;
366 }
367
368 .with_frm_style .frm_trigger{
369 cursor:pointer;
370 }
371
372 .with_frm_style .frm_error_style,
373 .with_frm_style .frm_message,
374 .frm_success_style{
375 -moz-border-radius:4px;
376 -webkit-border-radius:4px;
377 border-radius:4px;
378 padding:15px;
379 }
380
381 .with_frm_style .frm_message p{
382 margin-bottom:5px;
383 }
384
385 .frm_form_fields_style,
386 .frm_form_fields_active_style,
387 .frm_form_fields_error_style,
388 .frm_form_submit_style{
389 width:auto;
390 }
391
392 .with_frm_style .frm_trigger span{
393 float:left;
394 }
395
396 .with_frm_style table.frm-grid,
397 #content .with_frm_style table.frm-grid{
398 border-collapse:collapse;
399 border:none;
400 }
401
402 .frm-grid td,
403 .frm-grid th{
404 padding:5px;
405 border-width:1px;
406 border-style:solid;
407 border-color:<?php echo esc_html( $defaults['border_color'] ) ?>;
408 border-top:none;
409 border-left:none;
410 border-right:none;
411 }
412
413 table.form_results.with_frm_style{
414 border:1px solid #ccc;
415 }
416
417 table.form_results.with_frm_style tr td{
418 text-align:left;
419 color:<?php echo esc_html( $defaults['text_color'] ) ?>;
420 padding:7px 9px;
421 border-top:1px solid <?php echo esc_html( $defaults['border_color'] ) ?>;
422 }
423
424 table.form_results.with_frm_style tr.frm_even,
425 .frm-grid .frm_even{
426 background-color:#fff;
427 }
428
429 table.form_results.with_frm_style tr.frm_odd,
430 .frm-grid .frm_odd{
431 background-color:<?php echo esc_html( $defaults['bg_color_active'] ); ?>;
432 }
433
434 .frm_collapse .ui-icon{
435 display:inline-block;
436 }
437
438 .frm_toggle_container{
439 /* Prevent the slide and bounce */
440 border:1px solid transparent;
441 }
442
443 .frm_toggle_container ul{
444 margin:5px 0;
445 padding-left:0;
446 list-style-type:none;
447 }
448
449 .frm_toggle_container .frm_month_heading{
450 text-indent:15px;
451 }
452
453 .frm_toggle_container .frm_month_listing{
454 margin-left:40px;
455 }
456
457 #frm_loading{
458 display:none;
459 position:fixed;
460 top:0;
461 left:0;
462 width:100%;
463 height:100%;
464 z-index:99999;
465 }
466
467 #frm_loading h3{
468 font-weight:500;
469 padding-bottom:15px;
470 color:#fff;
471 font-size:24px;
472 }
473
474 #frm_loading_content{
475 position:fixed;
476 top:20%;
477 left:33%;
478 width:33%;
479 text-align:center;
480 padding-top:30px;
481 font-weight:bold;
482 z-index:9999999;
483 }
484
485 #frm_loading img{
486 max-width:100%;
487 }
488
489 #frm_loading .progress{
490 border-radius:4px;
491 box-shadow:0 1px 2px rgba(0, 0, 0, 0.1) inset;
492 height:20px;
493 margin-bottom:20px;
494 overflow:hidden;
495 }
496
497 #frm_loading .progress.active .progress-bar{
498 animation:2s linear 0s normal none infinite progress-bar-stripes;
499 }
500
501 <?php if ( ! empty( $defaults['bg_color'] ) ) { ?>
502 #frm_loading .progress-striped .progress-bar{
503 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));
504 background-size:40px 40px;
505 }
506 <?php } ?>
507
508 #frm_loading .progress-bar{
509 background-color:<?php echo esc_html( empty( $defaults['bg_color'] ) ? 'transparent' : $defaults['bg_color'] ); ?>;
510 box-shadow:0 -1px 0 rgba(0, 0, 0, 0.15) inset;
511 float:left;
512 height:100%;
513 line-height:20px;
514 text-align:center;
515 transition:width 0.6s ease 0s;
516 width:100%;
517 }
518
519 .frm_image_from_url{
520 height:50px;
521 }
522
523 .frm-loading-img{
524 background:url(../images/ajax_loader.gif) no-repeat center center;
525 padding:6px 12px;
526 }
527
528 select.frm_loading_lookup{
529 background-image: url(../images/ajax_loader.gif) !important;
530 background-position: 10px;
531 background-repeat: no-repeat;
532 color: transparent !important;
533 }
534
535 <?php readfile( dirname( __FILE__ ) . '/frm_grids.css' ); ?>
536
537 .frm_conf_field.frm_left_container .frm_primary_label{
538 display:none;
539 }
540
541 .wp-editor-wrap *,
542 .wp-editor-wrap *:after,
543 .wp-editor-wrap *:before{
544 -webkit-box-sizing:content-box;
545 -moz-box-sizing:content-box;
546 box-sizing:content-box;
547 }
548
549 .with_frm_style .frm_grid,
550 .with_frm_style .frm_grid_first,
551 .with_frm_style .frm_grid_odd{
552 clear:both;
553 margin-bottom:0 !important;
554 padding:5px;
555 border-width:1px;
556 border-style:solid;
557 border-color:<?php echo esc_html( $defaults['border_color'] ) ?>;
558 border-left:none;
559 border-right:none;
560 }
561
562 .with_frm_style .frm_grid,
563 .with_frm_style .frm_grid_odd{
564 border-top:none;
565 }
566
567 .frm_grid .frm_error,
568 .frm_grid_first .frm_error,
569 .frm_grid_odd .frm_error{
570 display:none;
571 }
572
573 .frm_grid:after,
574 .frm_grid_first:after,
575 .frm_grid_odd:after{
576 visibility:hidden;
577 display:block;
578 font-size:0;
579 content:" ";
580 clear:both;
581 height:0;
582 }
583
584 .frm_grid_first{
585 margin-top:20px;
586 }
587
588 .frm_grid_first,
589 .frm_grid_odd{
590 background-color:<?php echo esc_html( $defaults['bg_color'] ) ?>;
591 }
592
593 .frm_grid{
594 background-color:<?php echo esc_html( $defaults['bg_color_active'] ); ?>;
595 }
596
597 .frm_grid .frm_primary_label,
598 .frm_grid_first .frm_primary_label,
599 .frm_grid_odd .frm_primary_label,
600 .frm_grid .frm_radio,
601 .frm_grid_first .frm_radio,
602 .frm_grid_odd .frm_radio,
603 .frm_grid .frm_checkbox,
604 .frm_grid_first .frm_checkbox,
605 .frm_grid_odd .frm_checkbox{
606 float:left !important;
607 display:block;
608 margin-top:0;
609 margin-left:0 !important;
610 }
611
612 .frm_grid_first .frm_radio label,
613 .frm_grid .frm_radio label,
614 .frm_grid_odd .frm_radio label,
615 .frm_grid_first .frm_checkbox label,
616 .frm_grid .frm_checkbox label,
617 .frm_grid_odd .frm_checkbox label{
618 visibility:hidden;
619 white-space:nowrap;
620 text-align:left;
621 }
622
623 .frm_grid_first .frm_radio label input,
624 .frm_grid .frm_radio label input,
625 .frm_grid_odd .frm_radio label input,
626 .frm_grid_first .frm_checkbox label input,
627 .frm_grid .frm_checkbox label input,
628 .frm_grid_odd .frm_checkbox label input{
629 visibility:visible;
630 margin:2px 0 0;
631 float:right;
632 }
633
634 .frm_grid .frm_radio,
635 .frm_grid_first .frm_radio,
636 .frm_grid_odd .frm_radio,
637 .frm_grid .frm_checkbox,
638 .frm_grid_first .frm_checkbox,
639 .frm_grid_odd .frm_checkbox{
640 display:inline;
641 }
642
643 .frm_grid_2 .frm_radio,
644 .frm_grid_2 .frm_checkbox,
645 .frm_grid_2 .frm_primary_label{
646 width:48% !important;
647 }
648
649 .frm_grid_2 .frm_radio,
650 .frm_grid_2 .frm_checkbox{
651 margin-right:4%;
652 }
653
654 .frm_grid_3 .frm_radio,
655 .frm_grid_3 .frm_checkbox,
656 .frm_grid_3 .frm_primary_label{
657 width:30% !important;
658 }
659
660 .frm_grid_3 .frm_radio,
661 .frm_grid_3 .frm_checkbox{
662 margin-right:3%;
663 }
664
665 .frm_grid_4 .frm_radio,
666 .frm_grid_4 .frm_checkbox{
667 width:20% !important;
668 }
669
670 .frm_grid_4 .frm_primary_label{
671 width:28% !important;
672 }
673
674 .frm_grid_4 .frm_radio,
675 .frm_grid_4 .frm_checkbox{
676 margin-right:4%;
677 }
678
679 .frm_grid_5 .frm_primary_label,
680 .frm_grid_7 .frm_primary_label{
681 width:24% !important;
682 }
683
684 .frm_grid_5 .frm_radio,
685 .frm_grid_5 .frm_checkbox{
686 width:17% !important;
687 margin-right:2%;
688 }
689
690 .frm_grid_6 .frm_primary_label{
691 width:25% !important;
692 }
693
694 .frm_grid_6 .frm_radio,
695 .frm_grid_6 .frm_checkbox{
696 width:14% !important;
697 margin-right:1%;
698 }
699
700 .frm_grid_7 .frm_primary_label{
701 width:22% !important;
702 }
703
704 .frm_grid_7 .frm_radio,
705 .frm_grid_7 .frm_checkbox{
706 width:12% !important;
707 margin-right:1%;
708 }
709
710 .frm_grid_8 .frm_primary_label{
711 width:23% !important;
712 }
713
714 .frm_grid_8 .frm_radio,
715 .frm_grid_8 .frm_checkbox{
716 width:10% !important;
717 margin-right:1%;
718 }
719
720 .frm_grid_9 .frm_primary_label{
721 width:20% !important;
722 }
723
724 .frm_grid_9 .frm_radio,
725 .frm_grid_9 .frm_checkbox{
726 width:9% !important;
727 margin-right:1%;
728 }
729
730 .frm_grid_10 .frm_primary_label{
731 width:19% !important;
732 }
733
734 .frm_grid_10 .frm_radio,
735 .frm_grid_10 .frm_checkbox{
736 width:8% !important;
737 margin-right:1%;
738 }
739
740 .frm_form_field.frm_inline_container .frm_opt_container,
741 .frm_form_field.frm_right_container .frm_opt_container,
742 .frm_form_field.frm_left_container .frm_opt_container{
743 padding-top:4px;
744 }
745
746 .with_frm_style .frm_inline_container.frm_grid_first .frm_primary_label,
747 .with_frm_style .frm_inline_container.frm_grid .frm_primary_label,
748 .with_frm_style .frm_inline_container.frm_grid_odd .frm_primary_label,
749 .with_frm_style .frm_inline_container.frm_grid_first .frm_opt_container,
750 .with_frm_style .frm_inline_container.frm_grid .frm_opt_container,
751 .with_frm_style .frm_inline_container.frm_grid_odd .frm_opt_container{
752 margin-right:0;
753 }
754
755 .frm_form_field.frm_two_col .frm_opt_container,
756 .frm_form_field.frm_three_col .frm_opt_container,
757 .frm_form_field.frm_four_col .frm_opt_container{
758 display: grid;
759 grid-template-columns: repeat(2, 1fr);
760 grid-auto-rows: max-content;
761 grid-gap: 0 2.5%;
762 }
763
764 .frm_form_field.frm_three_col .frm_opt_container{
765 grid-template-columns: repeat(3, 1fr);
766 }
767
768 .frm_form_field.frm_four_col .frm_opt_container{
769 grid-template-columns: repeat(4, 1fr);
770 }
771
772 .frm_form_field.frm_two_col .frm_radio,
773 .frm_form_field.frm_two_col .frm_checkbox,
774 .frm_form_field.frm_three_col .frm_radio,
775 .frm_form_field.frm_three_col .frm_checkbox,
776 .frm_form_field.frm_four_col .frm_radio,
777 .frm_form_field.frm_four_col .frm_checkbox{
778 grid-column-end: span 1;
779 }
780
781 .frm_form_field .frm_checkbox,
782 .frm_form_field .frm_checkbox + .frm_checkbox,
783 .frm_form_field .frm_radio,
784 .frm_form_field .frm_radio + .frm_radio{
785 margin-top: 0;
786 margin-bottom: 0;
787 }
788
789 .frm_form_field.frm_scroll_box .frm_opt_container{
790 height:100px;
791 overflow:auto;
792 }
793
794 .frm_html_container.frm_scroll_box,
795 .frm_form_field.frm_html_scroll_box{
796 height:100px;
797 overflow:auto;
798 background-color:<?php echo esc_html( $defaults['bg_color'] ) ?>;
799 border-color:<?php echo esc_html( $defaults['border_color'] ) ?>;
800 border-width:<?php echo esc_html( $defaults['field_border_width'] ) ?>;
801 border-style:<?php echo esc_html( $defaults['field_border_style'] ) ?>;
802 -moz-border-radius:<?php echo esc_html( $defaults['border_radius'] ) ?>;
803 -webkit-border-radius:<?php echo esc_html( $defaults['border_radius'] ) ?>;
804 border-radius:<?php echo esc_html( $defaults['border_radius'] ) ?>;
805 width:<?php echo esc_html( $defaults['field_width'] == '' ? 'auto' : $defaults['field_width'] ) ?>;
806 max-width:100%;
807 font-size:<?php echo esc_html( $defaults['field_font_size'] ) ?>;
808 padding:<?php echo esc_html( $defaults['field_pad'] ) ?>;
809 -webkit-box-sizing:border-box;
810 -moz-box-sizing:border-box;
811 box-sizing:border-box;
812 outline:none;
813 font-weight:normal;
814 box-shadow:0 1px 1px rgba(0, 0, 0, 0.075) inset;
815 }
816
817 .frm_form_field.frm_total input,
818 .frm_form_field.frm_total textarea{
819 opacity:1;
820 background-color:transparent !important;
821 border:none !important;
822 font-weight:bold;
823 -moz-box-shadow:none;
824 -webkit-box-shadow:none;
825 width:auto !important;
826 box-shadow:none !important;
827 display:inline;
828 -moz-appearance:textfield;
829 padding:0;
830 }
831
832 .frm_form_field.frm_total input::-webkit-outer-spin-button,
833 .frm_form_field.frm_total input::-webkit-inner-spin-button {
834 -webkit-appearance: none;
835 }
836
837 .frm_form_field.frm_total input:focus,
838 .frm_form_field.frm_total textarea:focus{
839 background-color:transparent;
840 border:none;
841 -moz-box-shadow:none;
842 -webkit-box-shadow:none;
843 box-shadow:none;
844 }
845
846 .frm_form_field.frm_label_justify .frm_primary_label{
847 text-align:justify !important;
848 }
849
850 .frm_form_field.frm_capitalize input,
851 .frm_form_field.frm_capitalize select,
852 .frm_form_field.frm_capitalize .frm_opt_container label{
853 text-transform:capitalize;
854 }
855
856 .frm_clearfix:after{
857 content:".";
858 display:block;
859 clear:both;
860 visibility:hidden;
861 line-height:0;
862 height:0;
863 }
864
865 .frm_clearfix{
866 display:block;
867 }
868
869 /* Fonts */
870 @font-face {
871 font-family:'s11-fp';
872 src:url('../fonts/s11-fp.eot?v=<?php echo esc_attr( FrmAppHelper::$font_version ); ?>');
873 src:local(''), url('../fonts/s11-fp.woff?v=<?php echo esc_attr( FrmAppHelper::$font_version ); ?>') format('woff'), url('../fonts/s11-fp.ttf?v=<?php echo esc_attr( FrmAppHelper::$font_version ); ?>') format('truetype'), url('../fonts/s11-fp.svg?v=<?php echo esc_attr( FrmAppHelper::$font_version ); ?>') format('svg');
874 font-weight:normal;
875 font-style:normal;
876 }
877
878 <?php readfile( FrmAppHelper::plugin_path() . '/css/font_icons.css' ); ?>
879 <?php do_action( 'frm_include_front_css', compact( 'defaults' ) ); ?>
880
881 /* Responsive */
882 @media only screen and (max-width: 900px) {
883 .frm_form_field .frm_repeat_grid .frm_form_field.frm_sixth .frm_primary_label,
884 .frm_form_field .frm_repeat_grid .frm_form_field.frm_seventh .frm_primary_label,
885 .frm_form_field .frm_repeat_grid .frm_form_field.frm_eighth .frm_primary_label{
886 display: block !important;
887 }
888 }
889
890 @media only screen and (max-width: 600px) {
891 .frm_form_field.frm_four_col .frm_opt_container{
892 grid-template-columns: repeat(2, 1fr);
893 }
894 }
895
896 @media only screen and (max-width: 500px) {
897 .frm_form_field.frm_two_col .frm_radio,
898 .frm_form_field.frm_two_col .frm_checkbox,
899 .frm_form_field.frm_three_col .frm_radio,
900 .frm_form_field.frm_three_col .frm_checkbox{
901 width: auto;
902 margin-right: 0;
903 float: none;
904 display:block;
905 }
906
907 .frm_form_field input[type=file] {
908 max-width:220px;
909 }
910
911 .with_frm_style .frm-g-recaptcha > div > div,
912 .with_frm_style .g-recaptcha > div > div{
913 width:inherit !important;
914 display:block;
915 overflow:hidden;
916 max-width:302px;
917 border-right:1px solid #d3d3d3;
918 border-radius:4px;
919 box-shadow:2px 0px 4px -1px rgba(0,0,0,.08);
920 -moz-box-shadow:2px 0px 4px -1px rgba(0,0,0,.08);
921 }
922
923 .with_frm_style .g-recaptcha iframe,
924 .with_frm_style .frm-g-recaptcha iframe{
925 width:100%;
926 }
927 }
928 <?php
929
930 $frm_settings = FrmAppHelper::get_settings();
931 if ( $frm_settings->old_css ) {
932 readfile( dirname( __FILE__ ) . '/frm_old_grids.css' );
933 }
934
935 echo strip_tags( $defaults['custom_css'] ); // WPCS: XSS ok.
936