PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.16
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.16
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
← All changes | css/custom_theme.css.php +158 -110 6.356.16 View file →
@@ -6,9 +6,9 @@
6 6 if ( ! isset( $saving ) ) {
7 7 header( 'Content-type: text/css' );
8 8
9 9 if ( ! empty( $css ) ) {
10 - echo strip_tags( FrmStylesHelper::maybe_scope_custom_css_in_cached_output( $css ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
10 + echo strip_tags( $css, 'all' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
11 11 FrmStylesController::maybe_hide_sample_form_error_message();
12 12 die();
13 13 }
14 14 }
@@ -18,19 +18,13 @@
18 18 }
19 19
20 20 $styles = $frm_style->get_all();
21 21 $default_style = $frm_style->get_default_style( $styles );
22 +$defaults = FrmStylesHelper::get_settings_for_output( $default_style );
23 +$important = empty( $defaults['important_style'] ) ? '' : ' !important';
22 24 $pro_is_installed = FrmAppHelper::pro_is_installed();
25 +$use_chosen_js = FrmStylesHelper::use_chosen_js();
23 26
24 -if ( ! $pro_is_installed && $default_style ) {
25 - // Per-form styles are a Pro feature, so only the default style is ever used without Pro.
26 - $styles = array( $default_style->ID => $default_style );
27 -}
28 -
29 -$defaults = FrmStylesHelper::get_settings_for_output( $default_style );
30 -$important = ! empty( $defaults['important_style'] ) ? ' !important' : '';
31 -$use_chosen_js = FrmStylesHelper::use_chosen_js();
32 -
33 27 ?>
34 28 .with_frm_style{
35 29 <?php FrmStylesHelper::output_vars( $defaults ); ?>
36 30 }
@@ -71,8 +65,15 @@
71 65 padding: var(--form-desc-padding)<?php echo esc_html( $important ); ?>;
72 66 <?php } ?>
73 67 }
74 68
69 +form .<?php echo esc_html( FrmHoneypot::generate_class_name() ); ?> {
70 + overflow: hidden;
71 + width: 0;
72 + height: 0;
73 + position: absolute;
74 +}
75 +
75 76 .with_frm_style fieldset{
76 77 min-width:0;
77 78 display: block; /* Override 2021 theme */
78 79 }
@@ -148,14 +149,13 @@
148 149 color: var(--form-desc-color)<?php echo esc_html( $important ); ?>;
149 150 <?php } ?>
150 151 }
151 152
153 +<?php if ( ! empty( $defaults['form_desc_size'] ) ) { ?>
152 154 .with_frm_style .frm_form_field.frm_html_container{
153 -<?php if ( ! empty( $defaults['form_desc_size'] ) ) { ?>
154 155 font-size: var(--form-desc-size)<?php echo esc_html( $important ); ?>;
156 +}
155 157 <?php } ?>
156 - overflow-wrap: break-word<?php echo esc_html( $important ); ?>;
157 -}
158 158
159 159 .with_frm_style .frm_form_field .frm_show_it{
160 160 <?php if ( ! empty( $defaults['field_font_size'] ) ) { ?>
161 161 font-size: var(--field-font-size)<?php echo esc_html( $important ); ?>;
@@ -198,14 +198,8 @@
198 198 vertical-align:top;
199 199 height:auto;
200 200 }
201 201
202 -<?php if ( $use_chosen_js ) { ?>
203 -.with_frm_style .chosen-container-multi .chosen-choices,
204 -.with_frm_style .chosen-container-single .chosen-single,
205 -<?php } elseif ( $pro_is_installed ) { ?>
206 -.with_frm_style .frm_slimselect.ss-main,
207 -<?php } ?>
208 202 .with_frm_style input[type=text],
209 203 .with_frm_style input[type=password],
210 204 .with_frm_style input[type=email],
211 205 .with_frm_style input[type=number],
@@ -218,9 +212,14 @@
218 212 .frm_form_fields_style,
219 213 .with_frm_style .frm_scroll_box .frm_opt_container,
220 214 .frm_form_fields_active_style,
221 215 .frm_form_fields_error_style,
222 -.with_frm_style .frm-card-element.StripeElement {
216 +.with_frm_style .frm-card-element.StripeElement,
217 +<?php if ( $use_chosen_js ) { ?>
218 +.with_frm_style .chosen-container-multi .chosen-choices,
219 +.with_frm_style .chosen-container-single .chosen-single,
220 +<?php } ?>
221 +.with_frm_style .frm_slimselect.ss-main {
223 222 color: var(--text-color)<?php echo esc_html( $important ); ?>;
224 223 background-color: var(--bg-color)<?php echo esc_html( $important ); ?>;
225 224 border-color: var(--border-color)<?php echo esc_html( $important ); ?>;
226 225 border-width: var(--field-border-width)<?php echo esc_html( $important ); ?>;
@@ -234,14 +233,9 @@
234 233 outline: none<?php echo esc_html( $important ); ?>;
235 234 font-weight: var(--field-weight);
236 235 }
237 236
238 -.with_frm_style input:-webkit-autofill:focus {
239 - /* Prevent the user agent autofill background color from taking effect on focus. */
240 - transition: background-color 5000s ease-in-out 0s<?php echo esc_html( $important ); ?>;
241 -}
242 -
243 -<?php if ( $important ) : ?>
237 +<?php if ( ! empty( $important ) ) : ?>
244 238 <?php if ( $use_chosen_js ) { ?>
245 239 .with_frm_style .chosen-container-multi .chosen-choices,
246 240 .with_frm_style .chosen-container-single .chosen-single,
247 241 <?php } ?>
@@ -332,9 +326,8 @@
332 326 .with_frm_style input[type=file].frm_transparent{
333 327 color:transparent<?php echo esc_html( $important ); ?>;
334 328 }
335 329
336 -<?php if ( $pro_is_installed ) { ?>
337 330 .with_frm_style .wp-editor-wrap{
338 331 width: var(--field-width)<?php echo esc_html( $important ); ?>;
339 332 max-width:100%;
340 333 }
@@ -346,9 +339,8 @@
346 339
347 340 .with_frm_style .mceIframeContainer{
348 341 background-color: var(--bg-color)<?php echo esc_html( $important ); ?>;
349 342 }
350 -<?php } ?>
351 343
352 344 .with_frm_style select{
353 345 width: var(--auto-width)<?php echo esc_html( $important ); ?>;
354 346 max-width:100%;
@@ -428,13 +420,11 @@
428 420 .frm_none_container .frm_primary_label{
429 421 display:none;
430 422 }
431 423
432 -<?php if ( $pro_is_installed ) { ?>
433 424 .with_frm_style .frm_section_heading.frm_hide_section{
434 425 margin-top:0 !important;
435 426 }
436 -<?php } ?>
437 427
438 428 .with_frm_style .frm_hidden_container .frm_primary_label,
439 429 .with_frm_style .frm_pos_hidden,
440 430 .frm_hidden_container .frm_primary_label{
@@ -458,13 +448,26 @@
458 448 .with_frm_style .frm_inside_container > textarea {
459 449 display: block;
460 450 }
461 451
452 +/* These do not work if they are combined */
462 453 .with_frm_style input::placeholder,
463 454 .with_frm_style textarea::placeholder {
464 455 font-size: var(--field-font-size)<?php echo esc_html( $important ); ?>;
465 456 }
466 457
458 +.with_frm_style .frm_inside_container > input::-moz-placeholder,
459 +.with_frm_style .frm_inside_container > textarea::-moz-placeholder {
460 + opacity: 0 !important;
461 + transition: opacity 0.3s ease-in;
462 +}
463 +
464 +.with_frm_style .frm_inside_container > input:-ms-input-placeholder,
465 +.with_frm_style .frm_inside_container > textarea:-ms-input-placeholder {
466 + opacity: 0;
467 + transition: opacity 0.3s ease-in;
468 +}
469 +
467 470 .with_frm_style .frm_inside_container > input::placeholder,
468 471 .with_frm_style .frm_inside_container > textarea::placeholder {
469 472 opacity: 0;
470 473 transition: opacity 0.3s ease-in;
@@ -506,8 +509,21 @@
506 509 font-size: 12px;
507 510 font-size: calc(0.85 * var(--field-font-size));
508 511 }
509 512
513 +/* These do not work if they are combined */
514 +.with_frm_style .frm_inside_container.frm_label_float_top > input::-moz-placeholder,
515 +.with_frm_style .frm_inside_container.frm_label_float_top > textarea::-moz-placeholder {
516 + opacity: 1 !important;
517 + transition: opacity 0.3s ease-in;
518 +}
519 +
520 +.with_frm_style .frm_inside_container.frm_label_float_top > input:-ms-input-placeholder,
521 +.with_frm_style .frm_inside_container.frm_label_float_top > textarea:-ms-input-placeholder {
522 + opacity: 1;
523 + transition: opacity 0.3s ease-in;
524 +}
525 +
510 526 .with_frm_style .frm_inside_container.frm_label_float_top > input::placeholder,
511 527 .with_frm_style .frm_inside_container.frm_label_float_top > textarea::placeholder {
512 528 opacity: 1;
513 529 transition: opacity 0.3s ease-in;
@@ -518,9 +534,9 @@
518 534 .with_frm_style .frm_pro_max_limit_desc{
519 535 clear:both;
520 536 }
521 537
522 -.with_frm_style input[type=number][readonly] {
538 +.with_frm_style input[type=number][readonly]{
523 539 -moz-appearance: textfield;
524 540 }
525 541
526 542 .with_frm_style select[multiple="multiple"]{
@@ -527,9 +543,8 @@
527 543 height:auto;
528 544 line-height:normal;
529 545 }
530 546
531 -<?php if ( $pro_is_installed ) { ?>
532 547 .with_frm_style .frm_catlevel_2,
533 548 .with_frm_style .frm_catlevel_3,
534 549 .with_frm_style .frm_catlevel_4,
535 550 .with_frm_style .frm_catlevel_5{
@@ -534,11 +549,9 @@
534 549 .with_frm_style .frm_catlevel_4,
535 550 .with_frm_style .frm_catlevel_5{
536 551 margin-left:18px;
537 552 }
538 -<?php } ?>
539 553
540 -<?php if ( $pro_is_installed ) { ?>
541 554 .with_frm_style .wp-editor-container{
542 555 border:1px solid #e5e5e5;
543 556 }
544 557
@@ -548,9 +561,8 @@
548 561
549 562 .with_frm_style .wp-editor-container textarea{
550 563 border:none;
551 564 }
552 -<?php } ?>
553 565
554 566 .with_frm_style .auto_width #loginform input,
555 567 .with_frm_style .auto_width input,
556 568 .with_frm_style input.auto_width,
@@ -558,16 +570,14 @@
558 570 .with_frm_style textarea.auto_width{
559 571 width:auto<?php echo esc_html( $important ); ?>;
560 572 }
561 573
562 -<?php if ( $pro_is_installed ) { ?>
563 574 .with_frm_style .frm_repeat_buttons{
564 575 white-space:nowrap;
565 576 }
566 -<?php } ?>
567 577
568 578 .with_frm_style .frm_button{
569 - text-decoration:none !important;
579 + text-decoration:none !important;;
570 580 border:1px solid #eee;
571 581 display:inline-block;
572 582 <?php if ( ! empty( $defaults['submit_padding'] ) ) { ?>
573 583 padding: var(--submit-padding)<?php echo esc_html( $important ); ?>;
@@ -574,8 +584,9 @@
574 584 <?php } else { ?>
575 585 padding:5px;
576 586 <?php } ?>
577 587 <?php if ( ! empty( $defaults['border_radius'] ) ) { ?>
588 + border-radius:<?php echo esc_html( $defaults['border_radius'] . $important ); ?>;
578 589 border-radius:var(--border-radius)<?php echo esc_html( $important ); ?>;
579 590 <?php } ?>
580 591 <?php if ( ! empty( $defaults['submit_font_size'] ) ) { ?>
581 592 font-size: var(--submit-font-size)<?php echo esc_html( $important ); ?>;
@@ -660,11 +671,9 @@
660 671 .with_frm_style.frm_center_submit .frm_submit button{
661 672 margin-bottom:8px !important;
662 673 }
663 674
664 -<?php if ( $pro_is_installed ) { ?>
665 675 .with_frm_style .frm-edit-page-btn,
666 -<?php } ?>
667 676 .with_frm_style .frm_submit input[type=submit],
668 677 .with_frm_style .frm_submit input[type=button],
669 678 .with_frm_style .frm_submit button{
670 679 -webkit-appearance: none;
@@ -681,11 +690,9 @@
681 690 /* keep this for reverse compatibility for old HTML */
682 691 visibility:visible !important;
683 692 }
684 693
685 -<?php if ( $pro_is_installed ) { ?>
686 694 .with_frm_style .frm_loading_prev .frm_prev_page,
687 -<?php } ?>
688 695 .with_frm_style .frm_loading_form .frm_button_submit {
689 696 position: relative;
690 697 color: transparent !important;
691 698 text-shadow: none !important;
@@ -690,13 +697,11 @@
690 697 color: transparent !important;
691 698 text-shadow: none !important;
692 699 }
693 700
694 -<?php if ( $pro_is_installed ) { ?>
695 701 .with_frm_style .frm_loading_prev .frm_prev_page:hover,
696 702 .with_frm_style .frm_loading_prev .frm_prev_page:active,
697 703 .with_frm_style .frm_loading_prev .frm_prev_page:focus,
698 -<?php } ?>
699 704 .with_frm_style .frm_loading_form .frm_button_submit:hover,
700 705 .with_frm_style .frm_loading_form .frm_button_submit:active,
701 706 .with_frm_style .frm_loading_form .frm_button_submit:focus {
702 707 cursor: not-allowed;
@@ -704,11 +709,9 @@
704 709 outline: none !important;
705 710 box-shadow: none;
706 711 }
707 712
708 -<?php if ( $pro_is_installed ) { ?>
709 713 .with_frm_style .frm_loading_prev .frm_prev_page::before,
710 -<?php } ?>
711 714 .with_frm_style .frm_loading_form .frm_button_submit:before {
712 715 content: '';
713 716 display: inline-block;
714 717 position: absolute;
@@ -732,13 +735,11 @@
732 735 align-items: center;
733 736 gap: 2%;
734 737 }
735 738
736 -<?php if ( $pro_is_installed ) { ?>
737 739 .with_frm_style .frm_submit.frm_flex button.frm_button_submit ~ .frm_prev_page {
738 740 order: -1;
739 741 }
740 -<?php } ?>
741 742
742 743 <?php
743 744 foreach ( $styles as $style ) {
744 745 include __DIR__ . '/_single_theme.css.php';
@@ -745,9 +746,9 @@
745 746 unset( $style );
746 747 }
747 748
748 749 // Set it again since it may have been overridden.
749 -$important = ! empty( $defaults['important_style'] ) ? ' !important' : '';
750 +$important = empty( $defaults['important_style'] ) ? '' : ' !important';
750 751 ?>
751 752
752 753 .frm_ajax_loading{
753 754 visibility:hidden;
@@ -761,18 +762,16 @@
761 762 a.frm_save_draft{
762 763 cursor:pointer;
763 764 }
764 765
765 -<?php if ( $pro_is_installed ) { ?>
766 766 .with_frm_style a.frm_save_draft,
767 767 .with_frm_style a.frm_start_over{
768 - <?php if ( ! empty( $defaults['font'] ) ) { ?>
768 +<?php if ( ! empty( $defaults['font'] ) ) { ?>
769 769 font-family: var(--font);
770 770 <?php } ?>
771 771 font-size: var(--submit-font-size);
772 772 font-weight: var(--submit-weight);
773 773 }
774 -<?php } ?>
775 774
776 775 .horizontal_radio .frm_radio{
777 776 margin:0 5px 0 0;
778 777 }
@@ -871,10 +870,10 @@
871 870 {
872 871 border-radius:50%;
873 872 }
874 873
875 -.with_frm_style .frm_checkbox input[type=checkbox] {
876 - border-radius: calc(var(--border-radius) / 2) !important;
874 +.with_frm_style .frm_checkbox input[type=checkbox]{
875 + border-radius: calc(var(--border-radius) / 2);
877 876 }
878 877
879 878 .with_frm_style .frm_radio input[type=radio],
880 879 <?php if ( $pro_is_installed ) : ?>
@@ -959,8 +958,9 @@
959 958 background-color: var(--border-color);
960 959 }
961 960
962 961 .with_frm_style :invalid,
962 +.with_frm_style :-moz-submit-invalid,
963 963 .with_frm_style :-moz-ui-invalid{
964 964 box-shadow:none;
965 965 }
966 966
@@ -981,16 +981,12 @@
981 981 padding:15px;
982 982 }
983 983
984 984 .with_frm_style .frm_message p {
985 + margin-bottom: 5px;
985 986 color: var(--success-text-color)<?php echo esc_html( $important ); ?>;
986 - margin-bottom: 0;
987 987 }
988 988
989 -.with_frm_style .frm_message > p:first-of-type {
990 - margin-top: 0;
991 -}
992 -
993 989 .with_frm_style .frm_message,
994 990 .frm_success_style {
995 991 margin: 5px 0 15px;
996 992 border: 1px solid var(--success-border-color);
@@ -1076,9 +1072,8 @@
1076 1072 .frm-alt-table tr:nth-child(even) {
1077 1073 background-color:<?php echo esc_html( FrmStylesHelper::adjust_brightness( $defaults['border_color'], 45 ) ); ?>;
1078 1074 }
1079 1075
1080 -<?php if ( $pro_is_installed ) { ?>
1081 1076 table.form_results.with_frm_style{
1082 1077 border-style: solid;
1083 1078 border-width: var(--field-border-width)<?php echo esc_html( $important ); ?>;
1084 1079 border-color: var(--border-color)<?php echo esc_html( $important ); ?>;
@@ -1086,18 +1081,17 @@
1086 1081
1087 1082 table.form_results.with_frm_style tr td{
1088 1083 text-align:left;
1089 1084 padding:7px 9px;
1090 - <?php if ( ! empty( $defaults['text_color'] ) ) { ?>
1085 +<?php if ( ! empty( $defaults['text_color'] ) ) { ?>
1091 1086 color: var(--text-color)<?php echo esc_html( $important ); ?>;
1092 1087 <?php } ?>
1093 - <?php if ( ! empty( $defaults['border_color'] ) ) { ?>
1088 +<?php if ( ! empty( $defaults['border_color'] ) ) { ?>
1094 1089 border-top-style: solid;
1095 1090 border-top-width: var(--field-border-width)<?php echo esc_html( $important ); ?>;
1096 1091 border-top-color: var(--border-color)<?php echo esc_html( $important ); ?>;
1097 1092 <?php } ?>
1098 1093 }
1099 -<?php } ?>
1100 1094
1101 1095 table.form_results.with_frm_style tr.frm_even,
1102 1096 .frm-grid .frm_even{
1103 1097 background-color:#fff;
@@ -1116,23 +1110,18 @@
1116 1110 background-color:<?php echo esc_html( FrmStylesHelper::adjust_brightness( $defaults['border_color'], 45 ) ); ?>;
1117 1111 padding: 40px;
1118 1112 }
1119 1113
1120 - <?php if ( $pro_is_installed ) { ?>
1121 1114 .with_frm_style .frm-show-form .frm_color_block.frm_section_heading h3,
1122 1115 .frm_color_block.frm_section_heading h3 {
1123 1116 border-width: 0 !important;
1124 1117 }
1125 - <?php } ?>
1126 1118 <?php } ?>
1127 1119
1128 -<?php if ( $pro_is_installed ) { ?>
1129 1120 .frm_collapse .ui-icon{
1130 1121 display:inline-block;
1131 1122 }
1132 -<?php } ?>
1133 1123
1134 -<?php if ( $pro_is_installed ) { ?>
1135 1124 .frm_toggle_container{
1136 1125 /* Prevent the slide and bounce */
1137 1126 border:1px solid transparent;
1138 1127 }
@@ -1149,11 +1138,9 @@
1149 1138
1150 1139 .frm_toggle_container .frm_month_listing{
1151 1140 margin-left:40px;
1152 1141 }
1153 -<?php } ?>
1154 1142
1155 -<?php if ( $pro_is_installed ) { ?>
1156 1143 #frm_loading{
1157 1144 display:none;
1158 1145 position:fixed;
1159 1146 top:0;
@@ -1196,11 +1183,11 @@
1196 1183 #frm_loading .progress.active .progress-bar{
1197 1184 animation:2s linear 0s normal none infinite progress-bar-stripes;
1198 1185 }
1199 1186
1200 - <?php if ( ! empty( $defaults['bg_color'] ) ) { ?>
1187 +<?php if ( ! empty( $defaults['bg_color'] ) ) { ?>
1201 1188 #frm_loading .progress-striped .progress-bar {
1202 - <?php if ( ! empty( $defaults['border_color'] ) ) { ?>
1189 + <?php if ( ! empty( $defaults['border_color'] ) ) { ?>
1203 1190 background-image: linear-gradient(45deg, var(--border-color) 25%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 50%, var(--border-color) 50%, var(--border-color) 75%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0));
1204 1191 <?php } ?>
1205 1192 background-size:40px 40px;
1206 1193 }
@@ -1215,11 +1202,8 @@
1215 1202 text-align: center;
1216 1203 transition: width 0.6s ease 0s;
1217 1204 width: 100%;
1218 1205 }
1219 - <?php
1220 -}//end if
1221 -?>
1222 1206
1223 1207 .frm_image_from_url{
1224 1208 height:50px;
1225 1209 }
@@ -1228,9 +1212,8 @@
1228 1212 background:url(../images/ajax_loader.gif) no-repeat center center;
1229 1213 padding:6px 12px;
1230 1214 }
1231 1215
1232 -<?php if ( $pro_is_installed ) { ?>
1233 1216 select.frm_loading_lookup{
1234 1217 background-image: url(../images/ajax_loader.gif) !important;
1235 1218 background-position: 10px;
1236 1219 background-repeat: no-repeat;
@@ -1235,25 +1218,20 @@
1235 1218 background-position: 10px;
1236 1219 background-repeat: no-repeat;
1237 1220 color: transparent !important;
1238 1221 }
1239 -<?php } ?>
1240 1222
1241 1223 <?php readfile( __DIR__ . '/frm_grids.css' ); ?>
1242 1224
1243 -<?php if ( $pro_is_installed ) { ?>
1244 1225 .frm_conf_field.frm_left_container .frm_primary_label{
1245 1226 display:none;
1246 1227 }
1247 -<?php } ?>
1248 1228
1249 -<?php if ( $pro_is_installed ) { ?>
1250 1229 .wp-editor-wrap *,
1251 1230 .wp-editor-wrap *:after,
1252 1231 .wp-editor-wrap *:before{
1253 1232 box-sizing:content-box;
1254 1233 }
1255 -<?php } ?>
1256 1234
1257 1235 .with_frm_style .frm_grid,
1258 1236 .with_frm_style .frm_grid_first,
1259 1237 .with_frm_style .frm_grid_odd{
@@ -1338,10 +1316,9 @@
1338 1316 .frm_grid_odd .frm_radio label,
1339 1317 .frm_grid_first .frm_checkbox label,
1340 1318 .frm_grid .frm_checkbox label,
1341 1319 .frm_grid_odd .frm_checkbox label{
1342 - color:transparent;
1343 - text-indent: -9999px;
1320 + visibility:hidden;
1344 1321 white-space:nowrap;
1345 1322 text-align:left;
1346 1323 }
1347 1324
@@ -1364,8 +1341,105 @@
1364 1341 .frm_grid_odd .frm_checkbox{
1365 1342 display:inline;
1366 1343 }
1367 1344
1345 +.frm_grid_2 .frm_radio,
1346 +.frm_grid_2 .frm_checkbox,
1347 +.frm_grid_2 .frm_primary_label{
1348 + width:48% !important;
1349 +}
1350 +
1351 +.frm_grid_2 .frm_radio,
1352 +.frm_grid_2 .frm_checkbox{
1353 + margin-right:4%;
1354 +}
1355 +
1356 +.frm_grid_3 .frm_radio,
1357 +.frm_grid_3 .frm_checkbox,
1358 +.frm_grid_3 .frm_primary_label{
1359 + width:30% !important;
1360 +}
1361 +
1362 +.frm_grid_3 .frm_radio,
1363 +.frm_grid_3 .frm_checkbox{
1364 + margin-right:3%;
1365 +}
1366 +
1367 +.frm_grid_4 .frm_radio,
1368 +.frm_grid_4 .frm_checkbox{
1369 + width:20% !important;
1370 +}
1371 +
1372 +.frm_grid_4 .frm_primary_label{
1373 + width:28% !important;
1374 +}
1375 +
1376 +.frm_grid_4 .frm_radio,
1377 +.frm_grid_4 .frm_checkbox{
1378 + margin-right:4%;
1379 +}
1380 +
1381 +.frm_grid_5 .frm_primary_label,
1382 +.frm_grid_7 .frm_primary_label{
1383 + width:24% !important;
1384 +}
1385 +
1386 +.frm_grid_5 .frm_radio,
1387 +.frm_grid_5 .frm_checkbox{
1388 + width:17% !important;
1389 + margin-right:2%;
1390 +}
1391 +
1392 +.frm_grid_6 .frm_primary_label{
1393 + width:25% !important;
1394 +}
1395 +
1396 +.frm_grid_6 .frm_radio,
1397 +.frm_grid_6 .frm_checkbox{
1398 + width:14% !important;
1399 + margin-right:1%;
1400 +}
1401 +
1402 +.frm_grid_7 .frm_primary_label{
1403 + width:22% !important;
1404 +}
1405 +
1406 +.frm_grid_7 .frm_radio,
1407 +.frm_grid_7 .frm_checkbox{
1408 + width:12% !important;
1409 + margin-right:1%;
1410 +}
1411 +
1412 +.frm_grid_8 .frm_primary_label{
1413 + width:23% !important;
1414 +}
1415 +
1416 +.frm_grid_8 .frm_radio,
1417 +.frm_grid_8 .frm_checkbox{
1418 + width:10% !important;
1419 + margin-right:1%;
1420 +}
1421 +
1422 +.frm_grid_9 .frm_primary_label{
1423 + width:20% !important;
1424 +}
1425 +
1426 +.frm_grid_9 .frm_radio,
1427 +.frm_grid_9 .frm_checkbox{
1428 + width:9% !important;
1429 + margin-right:1%;
1430 +}
1431 +
1432 +.frm_grid_10 .frm_primary_label{
1433 + width:19% !important;
1434 +}
1435 +
1436 +.frm_grid_10 .frm_radio,
1437 +.frm_grid_10 .frm_checkbox{
1438 + width:8% !important;
1439 + margin-right:1%;
1440 +}
1441 +
1368 1442 .frm_form_field.frm_inline_container .frm_opt_container,
1369 1443 .frm_form_field.frm_right_container .frm_opt_container,
1370 1444 .frm_form_field.frm_left_container .frm_opt_container{
1371 1445 padding-top:4px;
@@ -1370,18 +1444,8 @@
1370 1444 .frm_form_field.frm_left_container .frm_opt_container{
1371 1445 padding-top:4px;
1372 1446 }
1373 1447
1374 -.with_frm_style .frm_left_container > select.auto_width,
1375 -.with_frm_style .frm_right_container > select.auto_width {
1376 - width: max-content<?php echo esc_html( $important ); ?>;
1377 -}
1378 -
1379 -.with_frm_style .frm_right_container > .frm_primary_label,
1380 -.with_frm_style .frm_right_container > select.auto_width {
1381 - margin-left: auto<?php echo esc_html( $important ); ?>;
1382 -}
1383 -
1384 1448 .with_frm_style .frm_inline_container.frm_grid_first .frm_primary_label,
1385 1449 .with_frm_style .frm_inline_container.frm_grid .frm_primary_label,
1386 1450 .with_frm_style .frm_inline_container.frm_grid_odd .frm_primary_label,
1387 1451 .with_frm_style .frm_inline_container.frm_grid_first .frm_opt_container,
@@ -1512,9 +1576,8 @@
1512 1576 /**
1513 1577 * Call action so other plugins can add additional CSS.
1514 1578 *
1515 1579 * @param array $args {
1516 - *
1517 1580 * @type array $defaults
1518 1581 * }
1519 1582 */
1520 1583 do_action( 'frm_include_front_css', compact( 'defaults' ) );
@@ -1521,9 +1584,8 @@
1521 1584 ?>
1522 1585
1523 1586 /* Responsive */
1524 1587
1525 -<?php if ( $pro_is_installed ) { ?>
1526 1588 @media only screen and (max-width: 900px) {
1527 1589 .frm_form_field .frm_repeat_grid .frm_form_field.frm_sixth .frm_primary_label,
1528 1590 .frm_form_field .frm_repeat_grid .frm_form_field.frm_seventh .frm_primary_label,
1529 1591 .frm_form_field .frm_repeat_grid .frm_form_field.frm_eighth .frm_primary_label{
@@ -1529,9 +1591,8 @@
1529 1591 .frm_form_field .frm_repeat_grid .frm_form_field.frm_eighth .frm_primary_label{
1530 1592 display: block !important;
1531 1593 }
1532 1594 }
1533 -<?php } ?>
1534 1595
1535 1596 @media only screen and (max-width: 600px) {
1536 1597 .frm_form_field.frm_four_col .frm_opt_container{
1537 1598 grid-template-columns: repeat(2, 1fr);
@@ -1536,14 +1597,12 @@
1536 1597 .frm_form_field.frm_four_col .frm_opt_container{
1537 1598 grid-template-columns: repeat(2, 1fr);
1538 1599 }
1539 1600
1540 - <?php if ( $pro_is_installed ) { ?>
1541 1601 .with_frm_style .frm_repeat_inline,
1542 1602 .with_frm_style .frm_repeat_grid{
1543 1603 margin: 20px 0;
1544 1604 }
1545 - <?php } ?>
1546 1605 }
1547 1606
1548 1607 @media only screen and (max-width: 500px) {
1549 1608 .frm_form_field.frm_two_col .frm_radio,
@@ -1575,18 +1634,7 @@
1575 1634 .with_frm_style .frm-g-recaptcha iframe{
1576 1635 width:100%;
1577 1636 }
1578 1637 }
1579 -
1580 -.frm-card-element .sq-card-wrapper .sq-card-message {
1581 - margin-bottom: 0;
1582 -}
1583 -.frm-card-errors:empty {
1584 - margin: 0;
1585 -}
1586 1638 <?php
1587 1639
1588 -$frm_custom_css = strip_tags( FrmStylesController::get_custom_css() );
1589 -
1590 -if ( $frm_custom_css ) {
1591 - echo FrmStylesHelper::maybe_scope_css_for_admin( $frm_custom_css ) . PHP_EOL; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
1592 -}
1640 +echo strip_tags( FrmStylesController::get_custom_css() ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped