| @@ -40,8 +40,9 @@ | ||
| 40 | 40 | text-align:<?php echo esc_html( $defaults['form_align'] . $important ); ?>; |
| 41 | 41 | text-align:var(--form-align)<?php echo esc_html( $important ); ?>; |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | +/* Keep this. This is used for Honeypot */ | |
| 44 | 45 | input:-webkit-autofill { |
| 45 | 46 | -webkit-box-shadow: 0 0 0 30px white inset; |
| 46 | 47 | } |
| 47 | 48 | |
| @@ -232,9 +233,10 @@ | ||
| 232 | 233 | .frm_form_fields_active_style, |
| 233 | 234 | .frm_form_fields_error_style, |
| 234 | 235 | .with_frm_style .frm-card-element.StripeElement, |
| 235 | 236 | .with_frm_style .chosen-container-multi .chosen-choices, |
| 236 | -.with_frm_style .chosen-container-single .chosen-single{ | |
| 237 | +.with_frm_style .chosen-container-single .chosen-single, | |
| 238 | +.with_frm_style .frm_slimselect.ss-main { | |
| 237 | 239 | color:<?php echo esc_html( $defaults['text_color'] ); ?>; |
| 238 | 240 | color:var(--text-color)<?php echo esc_html( $important ); ?>; |
| 239 | 241 | background-color:<?php echo esc_html( $defaults['bg_color'] . $important ); ?>; |
| 240 | 242 | background-color:var(--bg-color)<?php echo esc_html( $important ); ?>; |
| @@ -243,10 +245,8 @@ | ||
| 243 | 245 | border-width:<?php echo esc_html( $defaults['field_border_width'] ); ?>; |
| 244 | 246 | border-width:var(--field-border-width)<?php echo esc_html( $important ); ?>; |
| 245 | 247 | border-style:<?php echo esc_html( $defaults['field_border_style'] ); ?>; |
| 246 | 248 | border-style:var(--field-border-style)<?php echo esc_html( $important ); ?>; |
| 247 | - -moz-border-radius:<?php echo esc_html( $defaults['border_radius'] . $important ); ?>; | |
| 248 | - -webkit-border-radius:<?php echo esc_html( $defaults['border_radius'] . $important ); ?>; | |
| 249 | 249 | border-radius:<?php echo esc_html( $defaults['border_radius'] ); ?>; |
| 250 | 250 | border-radius:var(--border-radius)<?php echo esc_html( $important ); ?>; |
| 251 | 251 | width:<?php echo esc_html( $defaults['field_width'] ); ?>; |
| 252 | 252 | width:var(--field-width)<?php echo esc_html( $important ); ?>; |
| @@ -254,10 +254,8 @@ | ||
| 254 | 254 | font-size:<?php echo esc_html( $defaults['field_font_size'] ); ?>; |
| 255 | 255 | font-size:var(--field-font-size)<?php echo esc_html( $important ); ?>; |
| 256 | 256 | padding:<?php echo esc_html( $defaults['field_pad'] ); ?>; |
| 257 | 257 | padding:var(--field-pad)<?php echo esc_html( $important ); ?>; |
| 258 | - -webkit-box-sizing:border-box; | |
| 259 | - -moz-box-sizing:border-box; | |
| 260 | 258 | box-sizing:border-box; |
| 261 | 259 | outline:none<?php echo esc_html( $important ); ?>; |
| 262 | 260 | font-weight:<?php echo esc_html( $defaults['field_weight'] ); ?>; |
| 263 | 261 | font-weight:var(--field-weight); |
| @@ -370,9 +368,9 @@ | ||
| 370 | 368 | .with_frm_style select{ |
| 371 | 369 | width:<?php echo esc_html( $defaults['auto_width'] ); ?>; |
| 372 | 370 | width:var(--auto-width)<?php echo esc_html( $important ); ?>; |
| 373 | 371 | max-width:100%; |
| 374 | - background-position-y: center; | |
| 372 | + background-position-y: calc(50% + 3px); | |
| 375 | 373 | } |
| 376 | 374 | |
| 377 | 375 | .with_frm_style input[disabled], |
| 378 | 376 | .with_frm_style select[disabled], |
| @@ -617,10 +615,8 @@ | ||
| 617 | 615 | <?php } else { ?> |
| 618 | 616 | padding:5px; |
| 619 | 617 | <?php } ?> |
| 620 | 618 | <?php if ( ! empty( $defaults['border_radius'] ) ) { ?> |
| 621 | - -moz-border-radius:<?php echo esc_html( $defaults['border_radius'] . $important ); ?>; | |
| 622 | - -webkit-border-radius:<?php echo esc_html( $defaults['border_radius'] . $important ); ?>; | |
| 623 | 619 | border-radius:<?php echo esc_html( $defaults['border_radius'] . $important ); ?>; |
| 624 | 620 | border-radius:var(--border-radius)<?php echo esc_html( $important ); ?>; |
| 625 | 621 | <?php } ?> |
| 626 | 622 | <?php if ( ! empty( $defaults['submit_font_size'] ) ) { ?> |
| @@ -687,8 +683,12 @@ | ||
| 687 | 683 | .with_frm_style.frm_center_submit .frm_submit{ |
| 688 | 684 | text-align:center; |
| 689 | 685 | } |
| 690 | 686 | |
| 687 | +.with_frm_style.frm_center_submit .frm_flex.frm_submit { | |
| 688 | + justify-content: center; | |
| 689 | +} | |
| 690 | + | |
| 691 | 691 | .with_frm_style .frm_inline_success .frm_submit{ |
| 692 | 692 | display: flex; |
| 693 | 693 | flex-direction: row; |
| 694 | 694 | align-items: center; |
| @@ -767,17 +767,23 @@ | ||
| 767 | 767 | margin-top: -<?php echo absint( $loader_size / 2 ); ?>px; |
| 768 | 768 | margin-left: -<?php echo absint( $loader_size / 2 ); ?>px; |
| 769 | 769 | width: <?php echo absint( $loader_size ); ?>px; |
| 770 | 770 | height: <?php echo absint( $loader_size ); ?>px; |
| 771 | - -webkit-animation: spin 2s linear infinite; | |
| 772 | - -moz-animation: spin 2s linear infinite; | |
| 773 | - -o-animation: spin 2s linear infinite; | |
| 774 | - animation: spin 2s linear infinite; | |
| 771 | + animation: spin 2s linear infinite; | |
| 775 | 772 | } |
| 776 | 773 | |
| 774 | +.with_frm_style .frm_submit.frm_flex { | |
| 775 | + align-items: center; | |
| 776 | + gap: 2%; | |
| 777 | +} | |
| 778 | + | |
| 779 | +.with_frm_style .frm_submit.frm_flex button.frm_button_submit ~ .frm_prev_page { | |
| 780 | + order: -1; | |
| 781 | +} | |
| 782 | + | |
| 777 | 783 | <?php |
| 778 | 784 | foreach ( $styles as $style ) { |
| 779 | - include( dirname( __FILE__ ) . '/_single_theme.css.php' ); | |
| 785 | + include __DIR__ . '/_single_theme.css.php'; | |
| 780 | 786 | unset( $style ); |
| 781 | 787 | } |
| 782 | 788 | |
| 783 | 789 | // Set it again since it may have been overridden. |
| @@ -912,9 +918,8 @@ | ||
| 912 | 918 | <?php if ( FrmAppHelper::pro_is_installed() ) : ?> |
| 913 | 919 | .with_frm_style .frm_scale input[type=radio], |
| 914 | 920 | <?php endif; ?> |
| 915 | 921 | .with_frm_style .frm_checkbox input[type=checkbox]{ |
| 916 | - -webkit-appearance: none; | |
| 917 | 922 | appearance: none; |
| 918 | 923 | background-color: var(--bg-color); |
| 919 | 924 | flex: none; |
| 920 | 925 | display:inline-block !important; |
| @@ -974,10 +979,8 @@ | ||
| 974 | 979 | |
| 975 | 980 | .with_frm_style .frm_error_style, |
| 976 | 981 | .with_frm_style .frm_message, |
| 977 | 982 | .frm_success_style{ |
| 978 | - -moz-border-radius:4px; | |
| 979 | - -webkit-border-radius:4px; | |
| 980 | 983 | border-radius:4px; |
| 981 | 984 | padding:15px; |
| 982 | 985 | } |
| 983 | 986 | |
| @@ -1230,9 +1233,9 @@ | ||
| 1230 | 1233 | background-repeat: no-repeat; |
| 1231 | 1234 | color: transparent !important; |
| 1232 | 1235 | } |
| 1233 | 1236 | |
| 1234 | -<?php readfile( dirname( __FILE__ ) . '/frm_grids.css' ); ?> | |
| 1237 | +<?php readfile( __DIR__ . '/frm_grids.css' ); ?> | |
| 1235 | 1238 | |
| 1236 | 1239 | .frm_conf_field.frm_left_container .frm_primary_label{ |
| 1237 | 1240 | display:none; |
| 1238 | 1241 | } |
| @@ -1239,10 +1242,8 @@ | ||
| 1239 | 1242 | |
| 1240 | 1243 | .wp-editor-wrap *, |
| 1241 | 1244 | .wp-editor-wrap *:after, |
| 1242 | 1245 | .wp-editor-wrap *:before{ |
| 1243 | - -webkit-box-sizing:content-box; | |
| 1244 | - -moz-box-sizing:content-box; | |
| 1245 | 1246 | box-sizing:content-box; |
| 1246 | 1247 | } |
| 1247 | 1248 | |
| 1248 | 1249 | .with_frm_style .frm_grid, |
| @@ -1522,10 +1523,8 @@ | ||
| 1522 | 1523 | border-width:<?php echo esc_html( $defaults['field_border_width'] ); ?>; |
| 1523 | 1524 | border-width:var(--field-border-width); |
| 1524 | 1525 | border-style:<?php echo esc_html( $defaults['field_border_style'] ); ?>; |
| 1525 | 1526 | border-style:var(--field-border-style); |
| 1526 | - -moz-border-radius:<?php echo esc_html( $defaults['border_radius'] ); ?>; | |
| 1527 | - -webkit-border-radius:<?php echo esc_html( $defaults['border_radius'] ); ?>; | |
| 1528 | 1527 | border-radius:<?php echo esc_html( $defaults['border_radius'] ); ?>; |
| 1529 | 1528 | border-radius:var(--border-radius); |
| 1530 | 1529 | width:<?php echo esc_html( $defaults['field_width'] ); ?>; |
| 1531 | 1530 | width:var(--field-width); |
| @@ -1533,10 +1532,8 @@ | ||
| 1533 | 1532 | font-size:<?php echo esc_html( $defaults['field_font_size'] ); ?>; |
| 1534 | 1533 | font-size:var(--field-font-size); |
| 1535 | 1534 | padding:<?php echo esc_html( $defaults['field_pad'] ); ?>; |
| 1536 | 1535 | padding:var(--field-pad); |
| 1537 | - -webkit-box-sizing:border-box; | |
| 1538 | - -moz-box-sizing:border-box; | |
| 1539 | 1536 | box-sizing:border-box; |
| 1540 | 1537 | outline:none<?php echo esc_html( $important ); ?>; |
| 1541 | 1538 | font-weight:normal; |
| 1542 | 1539 | box-shadow:var(--box-shadow); |
| @@ -1549,10 +1546,8 @@ | ||
| 1549 | 1546 | opacity:1; |
| 1550 | 1547 | background-color:transparent !important; |
| 1551 | 1548 | border:none !important; |
| 1552 | 1549 | font-weight:bold; |
| 1553 | - -moz-box-shadow:none; | |
| 1554 | - -webkit-box-shadow:none; | |
| 1555 | 1550 | width:auto !important; |
| 1556 | 1551 | height:auto !important; |
| 1557 | 1552 | box-shadow:none !important; |
| 1558 | 1553 | display:inline; |
| @@ -1572,10 +1567,8 @@ | ||
| 1572 | 1567 | .frm_form_field.frm_total input:focus, |
| 1573 | 1568 | .frm_form_field.frm_total textarea:focus{ |
| 1574 | 1569 | background-color:transparent; |
| 1575 | 1570 | border:none; |
| 1576 | - -moz-box-shadow:none; | |
| 1577 | - -webkit-box-shadow:none; | |
| 1578 | 1571 | box-shadow:none; |
| 1579 | 1572 | } |
| 1580 | 1573 | |
| 1581 | 1574 | .frm_form_field.frm_label_justify .frm_primary_label{ |
| @@ -1611,11 +1604,10 @@ | ||
| 1611 | 1604 | .with_frm_style .frm_combo_inputs_container > .frm_form_subfield-last { |
| 1612 | 1605 | margin-bottom: 0 !important; |
| 1613 | 1606 | } |
| 1614 | 1607 | |
| 1608 | + | |
| 1615 | 1609 | <?php |
| 1616 | -FrmStylesHelper::maybe_include_font_icon_css(); | |
| 1617 | - | |
| 1618 | 1610 | /** |
| 1619 | 1611 | * Call action so other plugins can add additional CSS. |
| 1620 | 1612 | * |
| 1621 | 1613 | * @param array $args { |
| @@ -1669,9 +1661,8 @@ | ||
| 1669 | 1661 | max-width:302px; |
| 1670 | 1662 | border-right:1px solid #d3d3d3; |
| 1671 | 1663 | border-radius:4px; |
| 1672 | 1664 | box-shadow:2px 0px 4px -1px rgba(0,0,0,.08); |
| 1673 | - -moz-box-shadow:2px 0px 4px -1px rgba(0,0,0,.08); | |
| 1674 | 1665 | } |
| 1675 | 1666 | |
| 1676 | 1667 | .with_frm_style .g-recaptcha iframe, |
| 1677 | 1668 | .with_frm_style .frm-g-recaptcha iframe{ |