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