| @@ -7,9 +7,8 @@ | ||
| 7 | 7 | header( 'Content-type: text/css' ); |
| 8 | 8 | |
| 9 | 9 | if ( ! empty( $css ) ) { |
| 10 | 10 | echo strip_tags( $css, 'all' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped |
| 11 | - FrmStylesController::maybe_hide_sample_form_error_message(); | |
| 12 | 11 | die(); |
| 13 | 12 | } |
| 14 | 13 | } |
| 15 | 14 | |
| @@ -86,9 +85,9 @@ | ||
| 86 | 85 | background-color:transparent; |
| 87 | 86 | } |
| 88 | 87 | |
| 89 | 88 | .with_frm_style .frm_form_fields > fieldset{ |
| 90 | -<?php if ( isset( $defaults['fieldset'] ) && ( $defaults['fieldset'] || '0' === $defaults['fieldset'] ) ) { ?> | |
| 89 | +<?php if ( ! empty( $defaults['fieldset'] ) ) { ?> | |
| 91 | 90 | border-width:<?php echo esc_html( $defaults['fieldset'] . $important ); ?>; |
| 92 | 91 | border-width:var(--fieldset)<?php echo esc_html( $important ); ?>; |
| 93 | 92 | <?php } ?> |
| 94 | 93 | border-style:solid; |
| @@ -865,13 +864,9 @@ | ||
| 865 | 864 | margin:5px; |
| 866 | 865 | vertical-align:middle; |
| 867 | 866 | } |
| 868 | 867 | |
| 869 | -.with_frm_style .frm_radio input[type=radio] | |
| 870 | -<?php if ( FrmAppHelper::pro_is_installed() ) : ?> | |
| 871 | -, .with_frm_style .frm_scale input[type=radio] | |
| 872 | -<?php endif; ?> | |
| 873 | -{ | |
| 868 | +.with_frm_style .frm_radio input[type=radio]{ | |
| 874 | 869 | border-radius:50%; |
| 875 | 870 | } |
| 876 | 871 | |
| 877 | 872 | .with_frm_style .frm_checkbox input[type=checkbox]{ |
| @@ -878,11 +873,8 @@ | ||
| 878 | 873 | border-radius:0; |
| 879 | 874 | } |
| 880 | 875 | |
| 881 | 876 | .with_frm_style .frm_radio input[type=radio], |
| 882 | -<?php if ( FrmAppHelper::pro_is_installed() ) : ?> | |
| 883 | -.with_frm_style .frm_scale input[type=radio], | |
| 884 | -<?php endif; ?> | |
| 885 | 877 | .with_frm_style .frm_checkbox input[type=checkbox]{ |
| 886 | 878 | -webkit-appearance: none; |
| 887 | 879 | appearance: none; |
| 888 | 880 | background-color: var(--bg-color); |
| @@ -900,11 +892,8 @@ | ||
| 900 | 892 | padding: 0; |
| 901 | 893 | } |
| 902 | 894 | |
| 903 | 895 | .with_frm_style .frm_radio input[type=radio]:before, |
| 904 | -<?php if ( FrmAppHelper::pro_is_installed() ) : ?> | |
| 905 | -.with_frm_style .frm_scale input[type=radio]:before, | |
| 906 | -<?php endif; ?> | |
| 907 | 896 | .with_frm_style .frm_checkbox input[type=checkbox]:before { |
| 908 | 897 | content: ''; |
| 909 | 898 | width: 12px; |
| 910 | 899 | height: 12px; |