| @@ -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 | } |
| @@ -863,10 +870,10 @@ | ||
| 863 | 870 | { |
| 864 | 871 | border-radius:50%; |
| 865 | 872 | } |
| 866 | 873 | |
| 867 | -.with_frm_style .frm_checkbox input[type=checkbox] { | |
| 868 | - 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); | |
| 869 | 876 | } |
| 870 | 877 | |
| 871 | 878 | .with_frm_style .frm_radio input[type=radio], |
| 872 | 879 | <?php if ( $pro_is_installed ) : ?> |
| @@ -951,8 +958,9 @@ | ||
| 951 | 958 | background-color: var(--border-color); |
| 952 | 959 | } |
| 953 | 960 | |
| 954 | 961 | .with_frm_style :invalid, |
| 962 | +.with_frm_style :-moz-submit-invalid, | |
| 955 | 963 | .with_frm_style :-moz-ui-invalid{ |
| 956 | 964 | box-shadow:none; |
| 957 | 965 | } |
| 958 | 966 | |
| @@ -973,16 +981,12 @@ | ||
| 973 | 981 | padding:15px; |
| 974 | 982 | } |
| 975 | 983 | |
| 976 | 984 | .with_frm_style .frm_message p { |
| 985 | + margin-bottom: 5px; | |
| 977 | 986 | color: var(--success-text-color)<?php echo esc_html( $important ); ?>; |
| 978 | - margin-bottom: 0; | |
| 979 | 987 | } |
| 980 | 988 | |
| 981 | -.with_frm_style .frm_message > p:first-of-type { | |
| 982 | - margin-top: 0; | |
| 983 | -} | |
| 984 | - | |
| 985 | 989 | .with_frm_style .frm_message, |
| 986 | 990 | .frm_success_style { |
| 987 | 991 | margin: 5px 0 15px; |
| 988 | 992 | border: 1px solid var(--success-border-color); |
| @@ -1312,10 +1316,9 @@ | ||
| 1312 | 1316 | .frm_grid_odd .frm_radio label, |
| 1313 | 1317 | .frm_grid_first .frm_checkbox label, |
| 1314 | 1318 | .frm_grid .frm_checkbox label, |
| 1315 | 1319 | .frm_grid_odd .frm_checkbox label{ |
| 1316 | - color:transparent; | |
| 1317 | - text-indent: -9999px; | |
| 1320 | + visibility:hidden; | |
| 1318 | 1321 | white-space:nowrap; |
| 1319 | 1322 | text-align:left; |
| 1320 | 1323 | } |
| 1321 | 1324 | |
| @@ -1441,18 +1444,8 @@ | ||
| 1441 | 1444 | .frm_form_field.frm_left_container .frm_opt_container{ |
| 1442 | 1445 | padding-top:4px; |
| 1443 | 1446 | } |
| 1444 | 1447 | |
| 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 | 1448 | .with_frm_style .frm_inline_container.frm_grid_first .frm_primary_label, |
| 1456 | 1449 | .with_frm_style .frm_inline_container.frm_grid .frm_primary_label, |
| 1457 | 1450 | .with_frm_style .frm_inline_container.frm_grid_odd .frm_primary_label, |
| 1458 | 1451 | .with_frm_style .frm_inline_container.frm_grid_first .frm_opt_container, |
| @@ -1640,15 +1633,8 @@ | ||
| 1640 | 1633 | .with_frm_style .g-recaptcha iframe, |
| 1641 | 1634 | .with_frm_style .frm-g-recaptcha iframe{ |
| 1642 | 1635 | width:100%; |
| 1643 | 1636 | } |
| 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 | 1637 | } |
| 1652 | 1638 | <?php |
| 1653 | 1639 | |
| 1654 | 1640 | echo strip_tags( FrmStylesController::get_custom_css() ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped |