| @@ -237,11 +237,8 @@ | ||
| 237 | 237 | color:<?php echo esc_html( $defaults['text_color'] ); ?>; |
| 238 | 238 | color:var(--text-color)<?php echo esc_html( $important ); ?>; |
| 239 | 239 | background-color:<?php echo esc_html( $defaults['bg_color'] . $important ); ?>; |
| 240 | 240 | background-color:var(--bg-color)<?php echo esc_html( $important ); ?>; |
| 241 | -<?php if ( ! empty( $important ) ) { ?> | |
| 242 | - background-image:none !important; | |
| 243 | -<?php } ?> | |
| 244 | 241 | border-color:<?php echo esc_html( $defaults['border_color'] ); ?>; |
| 245 | 242 | border-color:var(--border-color)<?php echo esc_html( $important ); ?>; |
| 246 | 243 | border-width:<?php echo esc_html( $defaults['field_border_width'] ); ?>; |
| 247 | 244 | border-width:var(--field-border-width)<?php echo esc_html( $important ); ?>; |
| @@ -266,8 +263,29 @@ | ||
| 266 | 263 | font-weight:var(--field-weight); |
| 267 | 264 | box-shadow:var(--box-shadow)<?php echo esc_html( $important ); ?>; |
| 268 | 265 | } |
| 269 | 266 | |
| 267 | +<?php if ( ! empty( $important ) ) { ?> | |
| 268 | +.with_frm_style input[type=text], | |
| 269 | +.with_frm_style input[type=password], | |
| 270 | +.with_frm_style input[type=email], | |
| 271 | +.with_frm_style input[type=number], | |
| 272 | +.with_frm_style input[type=url], | |
| 273 | +.with_frm_style input[type=tel], | |
| 274 | +.with_frm_style input[type=phone], | |
| 275 | +.with_frm_style input[type=search], | |
| 276 | +.with_frm_style textarea, | |
| 277 | +.frm_form_fields_style, | |
| 278 | +.with_frm_style .frm_scroll_box .frm_opt_container, | |
| 279 | +.frm_form_fields_active_style, | |
| 280 | +.frm_form_fields_error_style, | |
| 281 | +.with_frm_style .frm-card-element.StripeElement, | |
| 282 | +.with_frm_style .chosen-container-multi .chosen-choices, | |
| 283 | +.with_frm_style .chosen-container-single .chosen-single{ | |
| 284 | + background-image:none !important; | |
| 285 | +} | |
| 286 | +<?php } ?> | |
| 287 | + | |
| 270 | 288 | .with_frm_style select option { |
| 271 | 289 | color:<?php echo esc_html( $defaults['text_color'] ); ?>; |
| 272 | 290 | color:var(--text-color)<?php echo esc_html( $important ); ?>; |
| 273 | 291 | } |
| @@ -352,9 +370,9 @@ | ||
| 352 | 370 | .with_frm_style select{ |
| 353 | 371 | width:<?php echo esc_html( $defaults['auto_width'] ); ?>; |
| 354 | 372 | width:var(--auto-width)<?php echo esc_html( $important ); ?>; |
| 355 | 373 | max-width:100%; |
| 356 | - background-position-y: center; | |
| 374 | + background-position-y: calc(50% + 3px); | |
| 357 | 375 | } |
| 358 | 376 | |
| 359 | 377 | .with_frm_style input[disabled], |
| 360 | 378 | .with_frm_style select[disabled], |
| @@ -669,8 +687,12 @@ | ||
| 669 | 687 | .with_frm_style.frm_center_submit .frm_submit{ |
| 670 | 688 | text-align:center; |
| 671 | 689 | } |
| 672 | 690 | |
| 691 | +.with_frm_style.frm_center_submit .frm_flex.frm_submit { | |
| 692 | + justify-content: center; | |
| 693 | +} | |
| 694 | + | |
| 673 | 695 | .with_frm_style .frm_inline_success .frm_submit{ |
| 674 | 696 | display: flex; |
| 675 | 697 | flex-direction: row; |
| 676 | 698 | align-items: center; |
| @@ -753,8 +775,17 @@ | ||
| 753 | 775 | -webkit-animation: spin 2s linear infinite; |
| 754 | 776 | -moz-animation: spin 2s linear infinite; |
| 755 | 777 | -o-animation: spin 2s linear infinite; |
| 756 | 778 | animation: spin 2s linear infinite; |
| 779 | +} | |
| 780 | + | |
| 781 | +.with_frm_style .frm_submit.frm_flex { | |
| 782 | + align-items: center; | |
| 783 | + gap: 2%; | |
| 784 | +} | |
| 785 | + | |
| 786 | +.with_frm_style .frm_submit.frm_flex button.frm_button_submit ~ .frm_prev_page { | |
| 787 | + order: -1; | |
| 757 | 788 | } |
| 758 | 789 | |
| 759 | 790 | <?php |
| 760 | 791 | foreach ( $styles as $style ) { |