| @@ -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; |
| @@ -328,9 +327,8 @@ | ||
| 328 | 327 | } |
| 329 | 328 | |
| 330 | 329 | .with_frm_style .wp-editor-container textarea{ |
| 331 | 330 | border:none<?php echo esc_html( $important ); ?>; |
| 332 | - box-shadow:none !important; | |
| 333 | 331 | } |
| 334 | 332 | |
| 335 | 333 | .with_frm_style .mceIframeContainer{ |
| 336 | 334 | background-color:<?php echo esc_html( $defaults['bg_color'] . $important ); ?>; |
| @@ -865,13 +863,9 @@ | ||
| 865 | 863 | margin:5px; |
| 866 | 864 | vertical-align:middle; |
| 867 | 865 | } |
| 868 | 866 | |
| 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 | -{ | |
| 867 | +.with_frm_style .frm_radio input[type=radio]{ | |
| 874 | 868 | border-radius:50%; |
| 875 | 869 | } |
| 876 | 870 | |
| 877 | 871 | .with_frm_style .frm_checkbox input[type=checkbox]{ |
| @@ -878,11 +872,8 @@ | ||
| 878 | 872 | border-radius:0; |
| 879 | 873 | } |
| 880 | 874 | |
| 881 | 875 | .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 | 876 | .with_frm_style .frm_checkbox input[type=checkbox]{ |
| 886 | 877 | -webkit-appearance: none; |
| 887 | 878 | appearance: none; |
| 888 | 879 | background-color: var(--bg-color); |
| @@ -900,11 +891,8 @@ | ||
| 900 | 891 | padding: 0; |
| 901 | 892 | } |
| 902 | 893 | |
| 903 | 894 | .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 | 895 | .with_frm_style .frm_checkbox input[type=checkbox]:before { |
| 908 | 896 | content: ''; |
| 909 | 897 | width: 12px; |
| 910 | 898 | height: 12px; |
| @@ -1649,5 +1637,5 @@ | ||
| 1649 | 1637 | } |
| 1650 | 1638 | } |
| 1651 | 1639 | <?php |
| 1652 | 1640 | |
| 1653 | -echo strip_tags( FrmStylesController::get_custom_css() ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped | |
| 1641 | +echo strip_tags( $defaults['custom_css'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped | |