PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / trunk
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More vtrunk
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
← All changes | css/_single_theme.css.php +17 -7 6.28 → trunk View file →
@@ -8,9 +8,9 @@
8 8
9 9 $is_loaded_via_ajax = $is_loaded_via_ajax ?? false;
10 10 FrmStylesPreviewHelper::get_additional_preview_style( $settings, $is_loaded_via_ajax );
11 11
12 -$important = empty( $important_style ) ? '' : ' !important';
12 +$important = ! empty( $important_style ) ? ' !important' : '';
13 13 $submit_bg_img = FrmStylesHelper::get_submit_image_bg_url( $settings );
14 14 $use_chosen_js = $use_chosen_js ?? FrmStylesHelper::use_chosen_js();
15 15 $pro_is_installed = $pro_is_installed ?? FrmAppHelper::pro_is_installed();
16 16 ?>
@@ -108,12 +108,8 @@
108 108 .<?php echo esc_html( $style_class ); ?> .frm_form_field.frm_right_container{
109 109 grid-template-columns: auto <?php echo esc_html( $width ); ?>;
110 110 }
111 111
112 -.frm_form_field.frm_right_container{
113 - grid-template-columns: auto 25%;
114 -}
115 -
116 112 .<?php echo esc_html( $style_class ); ?> .frm_inline_container.frm_dynamic_select_container .frm_data_container,
117 113 .<?php echo esc_html( $style_class ); ?> .frm_inline_container.frm_dynamic_select_container .frm_opt_container{
118 114 display:inline<?php echo esc_html( $important ); ?>;
119 115 }
@@ -188,8 +184,16 @@
188 184 box-shadow:0px 0px 5px 0px rgba(<?php echo esc_html( FrmStylesHelper::hex2rgb( $border_color_active ) ); ?>, 0.6);
189 185 <?php } ?>
190 186 }
191 187
188 +.<?php echo esc_html( $style_class ); ?> input:-webkit-autofill {
189 + <?php if ( ! empty( $remove_box_shadow_active ) ) { ?>
190 + -webkit-box-shadow: none<?php echo esc_html( $important ); ?>;
191 + <?php } else { ?>
192 + -webkit-box-shadow: 0px 0px 5px 0px rgba(<?php echo esc_html( FrmStylesHelper::hex2rgb( $border_color_active ) ); ?>, 0.6);
193 + <?php } ?>
194 +}
195 +
192 196 <?php if ( ! $submit_style ) { ?>
193 197 <?php if ( $pro_is_installed ) { ?>
194 198 .<?php echo esc_html( $style_class ); ?> .frm_compact .frm_dropzone.dz-clickable .dz-message,
195 199 .<?php echo esc_html( $style_class ); ?> .frm-edit-page-btn,
@@ -209,9 +213,9 @@
209 213 background:
210 214 <?php
211 215 echo esc_html( $submit_bg_color );
212 216
213 - if ( ! empty( $submit_bg_img ) ) {
217 + if ( $submit_bg_img ) {
214 218 echo esc_html( ' url(' . $submit_bg_img . ')' );
215 219 }
216 220 echo esc_html( $important );
217 221 ?>
@@ -247,9 +251,9 @@
247 251 margin:0;
248 252 }
249 253 <?php } ?>
250 254
251 - <?php if ( empty( $submit_bg_img ) ) { ?>
255 + <?php if ( ! $submit_bg_img ) { ?>
252 256 <?php if ( $pro_is_installed ) { ?>
253 257 .<?php echo esc_html( $style_class ); ?> .frm-edit-page-btn:hover,
254 258 <?php } ?>
255 259 .<?php echo esc_html( $style_class ); ?> input[type=submit]:hover,
@@ -305,8 +309,14 @@
305 309 <?php } ?>
306 310 <?php if ( $submit_width !== 'auto' ) { ?>
307 311 max-width:var(--submit-width)<?php echo esc_html( $important ); ?>;
308 312 <?php } ?>
313 +}
314 +.<?php echo esc_html( $style_class ); ?> input[type=submit][disabled],
315 +.<?php echo esc_html( $style_class ); ?> .frm_submit input[type=button][disabled],
316 +.<?php echo esc_html( $style_class ); ?> .frm_submit button[disabled] {
317 + opacity: 0.5;
318 + cursor: not-allowed;
309 319 }
310 320 <?php
311 321 }//end if
312 322 }//end if