| @@ -232,16 +232,14 @@ | ||
| 232 | 232 | .frm_form_fields_active_style, |
| 233 | 233 | .frm_form_fields_error_style, |
| 234 | 234 | .with_frm_style .frm-card-element.StripeElement, |
| 235 | 235 | .with_frm_style .chosen-container-multi .chosen-choices, |
| 236 | -.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 { | |
| 237 | 238 | color:<?php echo esc_html( $defaults['text_color'] ); ?>; |
| 238 | 239 | color:var(--text-color)<?php echo esc_html( $important ); ?>; |
| 239 | 240 | background-color:<?php echo esc_html( $defaults['bg_color'] . $important ); ?>; |
| 240 | 241 | background-color:var(--bg-color)<?php echo esc_html( $important ); ?>; |
| 241 | -<?php if ( ! empty( $important ) ) { ?> | |
| 242 | - background-image:none !important; | |
| 243 | -<?php } ?> | |
| 244 | 242 | border-color:<?php echo esc_html( $defaults['border_color'] ); ?>; |
| 245 | 243 | border-color:var(--border-color)<?php echo esc_html( $important ); ?>; |
| 246 | 244 | border-width:<?php echo esc_html( $defaults['field_border_width'] ); ?>; |
| 247 | 245 | border-width:var(--field-border-width)<?php echo esc_html( $important ); ?>; |
| @@ -266,8 +264,29 @@ | ||
| 266 | 264 | font-weight:var(--field-weight); |
| 267 | 265 | box-shadow:var(--box-shadow)<?php echo esc_html( $important ); ?>; |
| 268 | 266 | } |
| 269 | 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 | + | |
| 270 | 289 | .with_frm_style select option { |
| 271 | 290 | color:<?php echo esc_html( $defaults['text_color'] ); ?>; |
| 272 | 291 | color:var(--text-color)<?php echo esc_html( $important ); ?>; |
| 273 | 292 | } |
| @@ -352,9 +371,9 @@ | ||
| 352 | 371 | .with_frm_style select{ |
| 353 | 372 | width:<?php echo esc_html( $defaults['auto_width'] ); ?>; |
| 354 | 373 | width:var(--auto-width)<?php echo esc_html( $important ); ?>; |
| 355 | 374 | max-width:100%; |
| 356 | - background-position-y: center; | |
| 375 | + background-position-y: calc(50% + 3px); | |
| 357 | 376 | } |
| 358 | 377 | |
| 359 | 378 | .with_frm_style input[disabled], |
| 360 | 379 | .with_frm_style select[disabled], |
| @@ -669,8 +688,12 @@ | ||
| 669 | 688 | .with_frm_style.frm_center_submit .frm_submit{ |
| 670 | 689 | text-align:center; |
| 671 | 690 | } |
| 672 | 691 | |
| 692 | +.with_frm_style.frm_center_submit .frm_flex.frm_submit { | |
| 693 | + justify-content: center; | |
| 694 | +} | |
| 695 | + | |
| 673 | 696 | .with_frm_style .frm_inline_success .frm_submit{ |
| 674 | 697 | display: flex; |
| 675 | 698 | flex-direction: row; |
| 676 | 699 | align-items: center; |
| @@ -753,8 +776,17 @@ | ||
| 753 | 776 | -webkit-animation: spin 2s linear infinite; |
| 754 | 777 | -moz-animation: spin 2s linear infinite; |
| 755 | 778 | -o-animation: spin 2s linear infinite; |
| 756 | 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; | |
| 757 | 789 | } |
| 758 | 790 | |
| 759 | 791 | <?php |
| 760 | 792 | foreach ( $styles as $style ) { |