| @@ -68,11 +68,13 @@ | ||
| 68 | 68 | padding:var(--form-desc-padding)<?php echo esc_html( $important ); ?>; |
| 69 | 69 | <?php } ?> |
| 70 | 70 | } |
| 71 | 71 | |
| 72 | -form input.frm_verify{ | |
| 73 | - position:absolute; | |
| 74 | - left:-3000px; | |
| 72 | +form .<?php echo esc_html( FrmHoneypot::generate_class_name() ); ?> { | |
| 73 | + overflow: hidden; | |
| 74 | + width: 0; | |
| 75 | + height: 0; | |
| 76 | + position: absolute; | |
| 75 | 77 | } |
| 76 | 78 | |
| 77 | 79 | .with_frm_style fieldset{ |
| 78 | 80 | min-width:0; |
| @@ -235,11 +237,8 @@ | ||
| 235 | 237 | color:<?php echo esc_html( $defaults['text_color'] ); ?>; |
| 236 | 238 | color:var(--text-color)<?php echo esc_html( $important ); ?>; |
| 237 | 239 | background-color:<?php echo esc_html( $defaults['bg_color'] . $important ); ?>; |
| 238 | 240 | background-color:var(--bg-color)<?php echo esc_html( $important ); ?>; |
| 239 | -<?php if ( ! empty( $important ) ) { ?> | |
| 240 | - background-image:none !important; | |
| 241 | -<?php } ?> | |
| 242 | 241 | border-color:<?php echo esc_html( $defaults['border_color'] ); ?>; |
| 243 | 242 | border-color:var(--border-color)<?php echo esc_html( $important ); ?>; |
| 244 | 243 | border-width:<?php echo esc_html( $defaults['field_border_width'] ); ?>; |
| 245 | 244 | border-width:var(--field-border-width)<?php echo esc_html( $important ); ?>; |
| @@ -264,8 +263,39 @@ | ||
| 264 | 263 | font-weight:var(--field-weight); |
| 265 | 264 | box-shadow:var(--box-shadow)<?php echo esc_html( $important ); ?>; |
| 266 | 265 | } |
| 267 | 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 | + | |
| 288 | +.with_frm_style select option { | |
| 289 | + color:<?php echo esc_html( $defaults['text_color'] ); ?>; | |
| 290 | + color:var(--text-color)<?php echo esc_html( $important ); ?>; | |
| 291 | +} | |
| 292 | + | |
| 293 | +.with_frm_style select option.frm-select-placeholder { | |
| 294 | + color:<?php echo esc_html( $defaults['text_color_disabled'] ); ?>; | |
| 295 | + color:var(--text-color-disabled)<?php echo esc_html( $important ); ?>; | |
| 296 | +} | |
| 297 | + | |
| 268 | 298 | .with_frm_style input[type=radio], |
| 269 | 299 | .with_frm_style input[type=checkbox]{ |
| 270 | 300 | border-color:<?php echo esc_html( $defaults['border_color'] . $important ); ?>; |
| 271 | 301 | border-color:var(--border-color)<?php echo esc_html( $important ); ?>; |
| @@ -287,10 +317,10 @@ | ||
| 287 | 317 | .with_frm_style input[type=file], |
| 288 | 318 | .with_frm_style input[type=search], |
| 289 | 319 | .with_frm_style select, |
| 290 | 320 | .with_frm_style .frm-card-element.StripeElement{ |
| 291 | - height:<?php echo esc_html( $defaults['field_height'] ); ?>; | |
| 292 | - height:var(--field-height)<?php echo esc_html( $important ); ?>; | |
| 321 | + min-height:<?php echo esc_html( $defaults['field_height'] ); ?>; | |
| 322 | + min-height:var(--field-height)<?php echo esc_html( $important ); ?>; | |
| 293 | 323 | line-height:1.3<?php echo esc_html( $important ); ?>; |
| 294 | 324 | } |
| 295 | 325 | |
| 296 | 326 | .with_frm_style select[multiple=multiple]{ |
| @@ -340,9 +370,9 @@ | ||
| 340 | 370 | .with_frm_style select{ |
| 341 | 371 | width:<?php echo esc_html( $defaults['auto_width'] ); ?>; |
| 342 | 372 | width:var(--auto-width)<?php echo esc_html( $important ); ?>; |
| 343 | 373 | max-width:100%; |
| 344 | - background-position-y: center; | |
| 374 | + background-position-y: calc(50% + 3px); | |
| 345 | 375 | } |
| 346 | 376 | |
| 347 | 377 | .with_frm_style input[disabled], |
| 348 | 378 | .with_frm_style select[disabled], |
| @@ -657,8 +687,12 @@ | ||
| 657 | 687 | .with_frm_style.frm_center_submit .frm_submit{ |
| 658 | 688 | text-align:center; |
| 659 | 689 | } |
| 660 | 690 | |
| 691 | +.with_frm_style.frm_center_submit .frm_flex.frm_submit { | |
| 692 | + justify-content: center; | |
| 693 | +} | |
| 694 | + | |
| 661 | 695 | .with_frm_style .frm_inline_success .frm_submit{ |
| 662 | 696 | display: flex; |
| 663 | 697 | flex-direction: row; |
| 664 | 698 | align-items: center; |
| @@ -743,8 +777,17 @@ | ||
| 743 | 777 | -o-animation: spin 2s linear infinite; |
| 744 | 778 | animation: spin 2s linear infinite; |
| 745 | 779 | } |
| 746 | 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; | |
| 788 | +} | |
| 789 | + | |
| 747 | 790 | <?php |
| 748 | 791 | foreach ( $styles as $style ) { |
| 749 | 792 | include( dirname( __FILE__ ) . '/_single_theme.css.php' ); |
| 750 | 793 | unset( $style ); |
| @@ -879,9 +922,9 @@ | ||
| 879 | 922 | } |
| 880 | 923 | |
| 881 | 924 | .with_frm_style .frm_radio input[type=radio], |
| 882 | 925 | <?php if ( FrmAppHelper::pro_is_installed() ) : ?> |
| 883 | -.with_frm_style .frm_scale input[type=radio], | |
| 926 | +.with_frm_style .frm_scale input[type=radio], | |
| 884 | 927 | <?php endif; ?> |
| 885 | 928 | .with_frm_style .frm_checkbox input[type=checkbox]{ |
| 886 | 929 | -webkit-appearance: none; |
| 887 | 930 | appearance: none; |