| @@ -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 ) : ?> |
| @@ -973,16 +980,12 @@ | ||
| 973 | 980 | padding:15px; |
| 974 | 981 | } |
| 975 | 982 | |
| 976 | 983 | .with_frm_style .frm_message p { |
| 984 | + margin-bottom: 5px; | |
| 977 | 985 | color: var(--success-text-color)<?php echo esc_html( $important ); ?>; |
| 978 | - margin-bottom: 0; | |
| 979 | 986 | } |
| 980 | 987 | |
| 981 | -.with_frm_style .frm_message > p:first-of-type { | |
| 982 | - margin-top: 0; | |
| 983 | -} | |
| 984 | - | |
| 985 | 988 | .with_frm_style .frm_message, |
| 986 | 989 | .frm_success_style { |
| 987 | 990 | margin: 5px 0 15px; |
| 988 | 991 | border: 1px solid var(--success-border-color); |
| @@ -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 |