| @@ -65,8 +65,15 @@ | ||
| 65 | 65 | padding: var(--form-desc-padding)<?php echo esc_html( $important ); ?>; |
| 66 | 66 | <?php } ?> |
| 67 | 67 | } |
| 68 | 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 | + | |
| 69 | 76 | .with_frm_style fieldset{ |
| 70 | 77 | min-width:0; |
| 71 | 78 | display: block; /* Override 2021 theme */ |
| 72 | 79 | } |
| @@ -808,19 +815,15 @@ | ||
| 808 | 815 | display:inline-block<?php echo esc_html( $important ); ?>; |
| 809 | 816 | } |
| 810 | 817 | |
| 811 | 818 | .with_frm_style .frm_checkbox label, |
| 812 | -.with_frm_style .frm_radio label { | |
| 813 | - display: inline-block; | |
| 814 | - vertical-align: middle; | |
| 815 | - white-space:normal; | |
| 819 | +.with_frm_style .frm_radio label{ | |
| 820 | + display: flex; | |
| 821 | + align-items: center; | |
| 822 | + gap: 9px; | |
| 823 | + white-space: normal; | |
| 816 | 824 | } |
| 817 | 825 | |
| 818 | -.with_frm_style .frm_checkbox label input[type=checkbox], | |
| 819 | -.with_frm_style .frm_radio label input[type=radio] { | |
| 820 | - margin-right: 4px; | |
| 821 | -} | |
| 822 | - | |
| 823 | 826 | .with_frm_style .frm_checkbox label:not(.frm-label-disabled), |
| 824 | 827 | .with_frm_style .frm_radio label:not(.frm-label-disabled) { |
| 825 | 828 | cursor: pointer; |
| 826 | 829 | } |
| @@ -826,9 +829,8 @@ | ||
| 826 | 829 | } |
| 827 | 830 | |
| 828 | 831 | .with_frm_style .vertical_radio .frm_checkbox label, |
| 829 | 832 | .with_frm_style .vertical_radio .frm_radio label{ |
| 830 | - display: block; | |
| 831 | 833 | width: 100%; |
| 832 | 834 | } |
| 833 | 835 | |
| 834 | 836 | .with_frm_style .frm_radio label, |
| @@ -863,10 +865,10 @@ | ||
| 863 | 865 | { |
| 864 | 866 | border-radius:50%; |
| 865 | 867 | } |
| 866 | 868 | |
| 867 | -.with_frm_style .frm_checkbox input[type=checkbox] { | |
| 868 | - border-radius: calc(var(--border-radius) / 2) !important; | |
| 869 | +.with_frm_style .frm_checkbox input[type=checkbox]{ | |
| 870 | + border-radius: calc(var(--border-radius) / 2); | |
| 869 | 871 | } |
| 870 | 872 | |
| 871 | 873 | .with_frm_style .frm_radio input[type=radio], |
| 872 | 874 | <?php if ( $pro_is_installed ) : ?> |
| @@ -876,11 +878,11 @@ | ||
| 876 | 878 | appearance: none; |
| 877 | 879 | background-color: var(--bg-color); |
| 878 | 880 | flex: none; |
| 879 | 881 | display:inline-block !important; |
| 880 | - width: 16px !important; | |
| 881 | - min-width: 16px !important; | |
| 882 | - height: 16px !important; | |
| 882 | + width: 16px; | |
| 883 | + min-width: 16px; | |
| 884 | + height: 16px; | |
| 883 | 885 | color: var(--border-color); |
| 884 | 886 | border: 1px solid currentColor; |
| 885 | 887 | border-color: var(--border-color); |
| 886 | 888 | vertical-align: middle; |
| @@ -929,9 +931,8 @@ | ||
| 929 | 931 | background-image: url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.6667 1.5L4.25001 7.91667L1.33334 5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A") !important; |
| 930 | 932 | background-size: 9px !important; |
| 931 | 933 | background-repeat: no-repeat !important; |
| 932 | 934 | background-position: center !important; |
| 933 | - margin: 0; | |
| 934 | 935 | } |
| 935 | 936 | |
| 936 | 937 | <?php if ( $pro_is_installed ) { ?> |
| 937 | 938 | .with_frm_style .frm_scale input[type=radio]:before, |
| @@ -951,8 +952,9 @@ | ||
| 951 | 952 | background-color: var(--border-color); |
| 952 | 953 | } |
| 953 | 954 | |
| 954 | 955 | .with_frm_style :invalid, |
| 956 | +.with_frm_style :-moz-submit-invalid, | |
| 955 | 957 | .with_frm_style :-moz-ui-invalid{ |
| 956 | 958 | box-shadow:none; |
| 957 | 959 | } |
| 958 | 960 | |
| @@ -973,16 +975,12 @@ | ||
| 973 | 975 | padding:15px; |
| 974 | 976 | } |
| 975 | 977 | |
| 976 | 978 | .with_frm_style .frm_message p { |
| 979 | + margin-bottom: 5px; | |
| 977 | 980 | color: var(--success-text-color)<?php echo esc_html( $important ); ?>; |
| 978 | - margin-bottom: 0; | |
| 979 | 981 | } |
| 980 | 982 | |
| 981 | -.with_frm_style .frm_message > p:first-of-type { | |
| 982 | - margin-top: 0; | |
| 983 | -} | |
| 984 | - | |
| 985 | 983 | .with_frm_style .frm_message, |
| 986 | 984 | .frm_success_style { |
| 987 | 985 | margin: 5px 0 15px; |
| 988 | 986 | border: 1px solid var(--success-border-color); |
| @@ -1312,10 +1310,9 @@ | ||
| 1312 | 1310 | .frm_grid_odd .frm_radio label, |
| 1313 | 1311 | .frm_grid_first .frm_checkbox label, |
| 1314 | 1312 | .frm_grid .frm_checkbox label, |
| 1315 | 1313 | .frm_grid_odd .frm_checkbox label{ |
| 1316 | - color:transparent; | |
| 1317 | - text-indent: -9999px; | |
| 1314 | + visibility:hidden; | |
| 1318 | 1315 | white-space:nowrap; |
| 1319 | 1316 | text-align:left; |
| 1320 | 1317 | } |
| 1321 | 1318 | |
| @@ -1441,18 +1438,8 @@ | ||
| 1441 | 1438 | .frm_form_field.frm_left_container .frm_opt_container{ |
| 1442 | 1439 | padding-top:4px; |
| 1443 | 1440 | } |
| 1444 | 1441 | |
| 1445 | -.with_frm_style .frm_left_container > select.auto_width, | |
| 1446 | -.with_frm_style .frm_right_container > select.auto_width { | |
| 1447 | - width: max-content<?php echo esc_html( $important ); ?>; | |
| 1448 | -} | |
| 1449 | - | |
| 1450 | -.with_frm_style .frm_right_container > .frm_primary_label, | |
| 1451 | -.with_frm_style .frm_right_container > select.auto_width { | |
| 1452 | - margin-left: auto<?php echo esc_html( $important ); ?>; | |
| 1453 | -} | |
| 1454 | - | |
| 1455 | 1442 | .with_frm_style .frm_inline_container.frm_grid_first .frm_primary_label, |
| 1456 | 1443 | .with_frm_style .frm_inline_container.frm_grid .frm_primary_label, |
| 1457 | 1444 | .with_frm_style .frm_inline_container.frm_grid_odd .frm_primary_label, |
| 1458 | 1445 | .with_frm_style .frm_inline_container.frm_grid_first .frm_opt_container, |
| @@ -1640,15 +1627,8 @@ | ||
| 1640 | 1627 | .with_frm_style .g-recaptcha iframe, |
| 1641 | 1628 | .with_frm_style .frm-g-recaptcha iframe{ |
| 1642 | 1629 | width:100%; |
| 1643 | 1630 | } |
| 1644 | -} | |
| 1645 | - | |
| 1646 | -.frm-card-element .sq-card-wrapper .sq-card-message { | |
| 1647 | - margin-bottom: 0; | |
| 1648 | -} | |
| 1649 | -.frm-card-errors:empty { | |
| 1650 | - margin: 0; | |
| 1651 | 1631 | } |
| 1652 | 1632 | <?php |
| 1653 | 1633 | |
| 1654 | 1634 | echo strip_tags( FrmStylesController::get_custom_css() ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped |