| @@ -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; |
| @@ -230,16 +232,14 @@ | ||
| 230 | 232 | .frm_form_fields_active_style, |
| 231 | 233 | .frm_form_fields_error_style, |
| 232 | 234 | .with_frm_style .frm-card-element.StripeElement, |
| 233 | 235 | .with_frm_style .chosen-container-multi .chosen-choices, |
| 234 | -.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 { | |
| 235 | 238 | color:<?php echo esc_html( $defaults['text_color'] ); ?>; |
| 236 | 239 | color:var(--text-color)<?php echo esc_html( $important ); ?>; |
| 237 | 240 | background-color:<?php echo esc_html( $defaults['bg_color'] . $important ); ?>; |
| 238 | 241 | background-color:var(--bg-color)<?php echo esc_html( $important ); ?>; |
| 239 | -<?php if ( ! empty( $important ) ) { ?> | |
| 240 | - background-image:none !important; | |
| 241 | -<?php } ?> | |
| 242 | 242 | border-color:<?php echo esc_html( $defaults['border_color'] ); ?>; |
| 243 | 243 | border-color:var(--border-color)<?php echo esc_html( $important ); ?>; |
| 244 | 244 | border-width:<?php echo esc_html( $defaults['field_border_width'] ); ?>; |
| 245 | 245 | border-width:var(--field-border-width)<?php echo esc_html( $important ); ?>; |
| @@ -264,8 +264,39 @@ | ||
| 264 | 264 | font-weight:var(--field-weight); |
| 265 | 265 | box-shadow:var(--box-shadow)<?php echo esc_html( $important ); ?>; |
| 266 | 266 | } |
| 267 | 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 | + | |
| 289 | +.with_frm_style select option { | |
| 290 | + color:<?php echo esc_html( $defaults['text_color'] ); ?>; | |
| 291 | + color:var(--text-color)<?php echo esc_html( $important ); ?>; | |
| 292 | +} | |
| 293 | + | |
| 294 | +.with_frm_style select option.frm-select-placeholder { | |
| 295 | + color:<?php echo esc_html( $defaults['text_color_disabled'] ); ?>; | |
| 296 | + color:var(--text-color-disabled)<?php echo esc_html( $important ); ?>; | |
| 297 | +} | |
| 298 | + | |
| 268 | 299 | .with_frm_style input[type=radio], |
| 269 | 300 | .with_frm_style input[type=checkbox]{ |
| 270 | 301 | border-color:<?php echo esc_html( $defaults['border_color'] . $important ); ?>; |
| 271 | 302 | border-color:var(--border-color)<?php echo esc_html( $important ); ?>; |
| @@ -287,10 +318,10 @@ | ||
| 287 | 318 | .with_frm_style input[type=file], |
| 288 | 319 | .with_frm_style input[type=search], |
| 289 | 320 | .with_frm_style select, |
| 290 | 321 | .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 ); ?>; | |
| 322 | + min-height:<?php echo esc_html( $defaults['field_height'] ); ?>; | |
| 323 | + min-height:var(--field-height)<?php echo esc_html( $important ); ?>; | |
| 293 | 324 | line-height:1.3<?php echo esc_html( $important ); ?>; |
| 294 | 325 | } |
| 295 | 326 | |
| 296 | 327 | .with_frm_style select[multiple=multiple]{ |
| @@ -340,9 +371,9 @@ | ||
| 340 | 371 | .with_frm_style select{ |
| 341 | 372 | width:<?php echo esc_html( $defaults['auto_width'] ); ?>; |
| 342 | 373 | width:var(--auto-width)<?php echo esc_html( $important ); ?>; |
| 343 | 374 | max-width:100%; |
| 344 | - background-position-y: center; | |
| 375 | + background-position-y: calc(50% + 3px); | |
| 345 | 376 | } |
| 346 | 377 | |
| 347 | 378 | .with_frm_style input[disabled], |
| 348 | 379 | .with_frm_style select[disabled], |
| @@ -657,8 +688,12 @@ | ||
| 657 | 688 | .with_frm_style.frm_center_submit .frm_submit{ |
| 658 | 689 | text-align:center; |
| 659 | 690 | } |
| 660 | 691 | |
| 692 | +.with_frm_style.frm_center_submit .frm_flex.frm_submit { | |
| 693 | + justify-content: center; | |
| 694 | +} | |
| 695 | + | |
| 661 | 696 | .with_frm_style .frm_inline_success .frm_submit{ |
| 662 | 697 | display: flex; |
| 663 | 698 | flex-direction: row; |
| 664 | 699 | align-items: center; |
| @@ -743,8 +778,17 @@ | ||
| 743 | 778 | -o-animation: spin 2s linear infinite; |
| 744 | 779 | animation: spin 2s linear infinite; |
| 745 | 780 | } |
| 746 | 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; | |
| 789 | +} | |
| 790 | + | |
| 747 | 791 | <?php |
| 748 | 792 | foreach ( $styles as $style ) { |
| 749 | 793 | include( dirname( __FILE__ ) . '/_single_theme.css.php' ); |
| 750 | 794 | unset( $style ); |
| @@ -865,9 +909,13 @@ | ||
| 865 | 909 | margin:5px; |
| 866 | 910 | vertical-align:middle; |
| 867 | 911 | } |
| 868 | 912 | |
| 869 | -.with_frm_style .frm_radio input[type=radio]{ | |
| 913 | +.with_frm_style .frm_radio input[type=radio] | |
| 914 | +<?php if ( FrmAppHelper::pro_is_installed() ) : ?> | |
| 915 | +, .with_frm_style .frm_scale input[type=radio] | |
| 916 | +<?php endif; ?> | |
| 917 | +{ | |
| 870 | 918 | border-radius:50%; |
| 871 | 919 | } |
| 872 | 920 | |
| 873 | 921 | .with_frm_style .frm_checkbox input[type=checkbox]{ |
| @@ -874,8 +922,11 @@ | ||
| 874 | 922 | border-radius:0; |
| 875 | 923 | } |
| 876 | 924 | |
| 877 | 925 | .with_frm_style .frm_radio input[type=radio], |
| 926 | +<?php if ( FrmAppHelper::pro_is_installed() ) : ?> | |
| 927 | +.with_frm_style .frm_scale input[type=radio], | |
| 928 | +<?php endif; ?> | |
| 878 | 929 | .with_frm_style .frm_checkbox input[type=checkbox]{ |
| 879 | 930 | -webkit-appearance: none; |
| 880 | 931 | appearance: none; |
| 881 | 932 | background-color: var(--bg-color); |
| @@ -893,8 +944,11 @@ | ||
| 893 | 944 | padding: 0; |
| 894 | 945 | } |
| 895 | 946 | |
| 896 | 947 | .with_frm_style .frm_radio input[type=radio]:before, |
| 948 | +<?php if ( FrmAppHelper::pro_is_installed() ) : ?> | |
| 949 | +.with_frm_style .frm_scale input[type=radio]:before, | |
| 950 | +<?php endif; ?> | |
| 897 | 951 | .with_frm_style .frm_checkbox input[type=checkbox]:before { |
| 898 | 952 | content: ''; |
| 899 | 953 | width: 12px; |
| 900 | 954 | height: 12px; |