PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 5.5
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v5.5
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
← All changes | css/custom_theme.css.php +15 -49 6.5.15.5 View file →
@@ -7,9 +7,8 @@
7 7 header( 'Content-type: text/css' );
8 8
9 9 if ( ! empty( $css ) ) {
10 10 echo strip_tags( $css, 'all' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
11 - FrmStylesController::maybe_hide_sample_form_error_message();
12 11 die();
13 12 }
14 13 }
15 14
@@ -68,12 +67,11 @@
68 67 padding:var(--form-desc-padding)<?php echo esc_html( $important ); ?>;
69 68 <?php } ?>
70 69 }
71 70
72 -form .<?php echo esc_html( FrmHoneypot::generate_class_name() ); ?> {
73 - overflow: hidden;
74 - width: 0;
75 - height: 0;
71 +form input.frm_verify{
72 + position:absolute;
73 + left:-3000px;
76 74 }
77 75
78 76 .with_frm_style fieldset{
79 77 min-width:0;
@@ -87,9 +85,9 @@
87 85 background-color:transparent;
88 86 }
89 87
90 88 .with_frm_style .frm_form_fields > fieldset{
91 -<?php if ( isset( $defaults['fieldset'] ) && ( $defaults['fieldset'] || '0' === $defaults['fieldset'] ) ) { ?>
89 +<?php if ( ! empty( $defaults['fieldset'] ) ) { ?>
92 90 border-width:<?php echo esc_html( $defaults['fieldset'] . $important ); ?>;
93 91 border-width:var(--fieldset)<?php echo esc_html( $important ); ?>;
94 92 <?php } ?>
95 93 border-style:solid;
@@ -265,18 +263,8 @@
265 263 font-weight:var(--field-weight);
266 264 box-shadow:var(--box-shadow)<?php echo esc_html( $important ); ?>;
267 265 }
268 266
269 -.with_frm_style select option {
270 - color:<?php echo esc_html( $defaults['text_color'] ); ?>;
271 - color:var(--text-color)<?php echo esc_html( $important ); ?>;
272 -}
273 -
274 -.with_frm_style select option.frm-select-placeholder {
275 - color:<?php echo esc_html( $defaults['text_color_disabled'] ); ?>;
276 - color:var(--text-color-disabled)<?php echo esc_html( $important ); ?>;
277 -}
278 -
279 267 .with_frm_style input[type=radio],
280 268 .with_frm_style input[type=checkbox]{
281 269 border-color:<?php echo esc_html( $defaults['border_color'] . $important ); ?>;
282 270 border-color:var(--border-color)<?php echo esc_html( $important ); ?>;
@@ -298,10 +286,10 @@
298 286 .with_frm_style input[type=file],
299 287 .with_frm_style input[type=search],
300 288 .with_frm_style select,
301 289 .with_frm_style .frm-card-element.StripeElement{
302 - min-height:<?php echo esc_html( $defaults['field_height'] ); ?>;
303 - min-height:var(--field-height)<?php echo esc_html( $important ); ?>;
290 + height:<?php echo esc_html( $defaults['field_height'] ); ?>;
291 + height:var(--field-height)<?php echo esc_html( $important ); ?>;
304 292 line-height:1.3<?php echo esc_html( $important ); ?>;
305 293 }
306 294
307 295 .with_frm_style select[multiple=multiple]{
@@ -339,9 +327,8 @@
339 327 }
340 328
341 329 .with_frm_style .wp-editor-container textarea{
342 330 border:none<?php echo esc_html( $important ); ?>;
343 - box-shadow:none !important;
344 331 }
345 332
346 333 .with_frm_style .mceIframeContainer{
347 334 background-color:<?php echo esc_html( $defaults['bg_color'] . $important ); ?>;
@@ -455,10 +442,10 @@
455 442
456 443 /* Floating labels */
457 444 .with_frm_style .frm_inside_container {
458 445 position: relative;
459 - padding-top: 16px;
460 - padding-top: calc(0.5 * var(--field-height));
446 + padding-top: 27px;
447 + padding-top: calc(0.85 * var(--field-height));
461 448 }
462 449
463 450 .with_frm_style .frm_inside_container > input,
464 451 .with_frm_style .frm_inside_container > select,
@@ -488,10 +475,10 @@
488 475 .with_frm_style .frm_inside_container > label {
489 476 transition: all 0.3s ease-in;
490 477
491 478 position: absolute;
492 - top: 17px;
493 - top: calc(1px + .5 * var(--field-height));
479 + top: 28px;
480 + top: calc(1px + 0.85 * var(--field-height));
494 481 left: 3px;
495 482 width: 100%;
496 483
497 484 line-height: 1.3;
@@ -517,9 +504,8 @@
517 504
518 505 .with_frm_style .frm_inside_container.frm_label_float_top > label {
519 506 top: 0;
520 507 left: 0;
521 - padding: 0;
522 508 font-size: 12px;
523 509 font-size: calc(0.85 * var(--field-font-size));
524 510 }
525 511
@@ -540,9 +526,8 @@
540 526 .with_frm_style .frm_inside_container.frm_label_float_top > textarea::placeholder {
541 527 opacity: 1;
542 528 transition: opacity 0.3s ease-in;
543 529 }
544 -/* End floating label */
545 530
546 531 .with_frm_style .frm_description,
547 532 .with_frm_style .frm_pro_max_limit_desc{
548 533 clear:both;
@@ -876,13 +861,9 @@
876 861 margin:5px;
877 862 vertical-align:middle;
878 863 }
879 864
880 -.with_frm_style .frm_radio input[type=radio]
881 -<?php if ( FrmAppHelper::pro_is_installed() ) : ?>
882 -, .with_frm_style .frm_scale input[type=radio]
883 -<?php endif; ?>
884 -{
865 +.with_frm_style .frm_radio input[type=radio]{
885 866 border-radius:50%;
886 867 }
887 868
888 869 .with_frm_style .frm_checkbox input[type=checkbox]{
@@ -889,11 +870,8 @@
889 870 border-radius:0;
890 871 }
891 872
892 873 .with_frm_style .frm_radio input[type=radio],
893 -<?php if ( FrmAppHelper::pro_is_installed() ) : ?>
894 -.with_frm_style .frm_scale input[type=radio],
895 -<?php endif; ?>
896 874 .with_frm_style .frm_checkbox input[type=checkbox]{
897 875 -webkit-appearance: none;
898 876 appearance: none;
899 877 background-color: var(--bg-color);
@@ -911,11 +889,8 @@
911 889 padding: 0;
912 890 }
913 891
914 892 .with_frm_style .frm_radio input[type=radio]:before,
915 -<?php if ( FrmAppHelper::pro_is_installed() ) : ?>
916 -.with_frm_style .frm_scale input[type=radio]:before,
917 -<?php endif; ?>
918 893 .with_frm_style .frm_checkbox input[type=checkbox]:before {
919 894 content: '';
920 895 width: 12px;
921 896 height: 12px;
@@ -1592,21 +1567,12 @@
1592 1567 .with_frm_style .frm_combo_inputs_container > .frm_form_subfield-last {
1593 1568 margin-bottom: 0 !important;
1594 1569 }
1595 1570
1596 -<?php
1597 -FrmStylesHelper::maybe_include_font_icon_css();
1571 +/* Fonts */
1572 +<?php readfile( FrmAppHelper::plugin_path() . '/css/font_icons.css' ); ?>
1573 +<?php do_action( 'frm_include_front_css', compact( 'defaults' ) ); ?>
1598 1574
1599 -/**
1600 - * Call action so other plugins can add additional CSS.
1601 - *
1602 - * @param array $args {
1603 - * @type array $defaults
1604 - * }
1605 - */
1606 -do_action( 'frm_include_front_css', compact( 'defaults' ) );
1607 -?>
1608 -
1609 1575 /* Responsive */
1610 1576
1611 1577 @media only screen and (max-width: 900px) {
1612 1578 .frm_form_field .frm_repeat_grid .frm_form_field.frm_sixth .frm_primary_label,
@@ -1660,5 +1626,5 @@
1660 1626 }
1661 1627 }
1662 1628 <?php
1663 1629
1664 -echo strip_tags( FrmStylesController::get_custom_css() ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
1630 +echo strip_tags( $defaults['custom_css'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped