PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 5.2.04
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v5.2.04
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 -126 6.55.2.04 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
@@ -86,9 +85,9 @@
86 85 background-color:transparent;
87 86 }
88 87
89 88 .with_frm_style .frm_form_fields > fieldset{
90 -<?php if ( isset( $defaults['fieldset'] ) && ( $defaults['fieldset'] || '0' === $defaults['fieldset'] ) ) { ?>
89 +<?php if ( ! empty( $defaults['fieldset'] ) ) { ?>
91 90 border-width:<?php echo esc_html( $defaults['fieldset'] . $important ); ?>;
92 91 border-width:var(--fieldset)<?php echo esc_html( $important ); ?>;
93 92 <?php } ?>
94 93 border-style:solid;
@@ -328,9 +327,8 @@
328 327 }
329 328
330 329 .with_frm_style .wp-editor-container textarea{
331 330 border:none<?php echo esc_html( $important ); ?>;
332 - box-shadow:none !important;
333 331 }
334 332
335 333 .with_frm_style .mceIframeContainer{
336 334 background-color:<?php echo esc_html( $defaults['bg_color'] . $important ); ?>;
@@ -340,9 +338,8 @@
340 338 .with_frm_style select{
341 339 width:<?php echo esc_html( $defaults['auto_width'] ); ?>;
342 340 width:var(--auto-width)<?php echo esc_html( $important ); ?>;
343 341 max-width:100%;
344 - background-position-y: center;
345 342 }
346 343
347 344 .with_frm_style input[disabled],
348 345 .with_frm_style select[disabled],
@@ -437,104 +434,19 @@
437 434 visibility:hidden;
438 435 white-space:nowrap;
439 436 }
440 437
438 +.with_frm_style .frm_inside_container .frm_primary_label{
439 + opacity:0;
440 + transition: opacity 0.1s linear;
441 +}
442 +
443 +.with_frm_style .frm_inside_container label.frm_visible,
441 444 .frm_visible{
442 445 opacity:1;
443 446 }
444 447
445 -/* Floating labels */
446 -.with_frm_style .frm_inside_container {
447 - position: relative;
448 - padding-top: 16px;
449 - padding-top: calc(0.5 * var(--field-height));
450 -}
451 -
452 -.with_frm_style .frm_inside_container > input,
453 -.with_frm_style .frm_inside_container > select,
454 -.with_frm_style .frm_inside_container > textarea {
455 - display: block;
456 -}
457 -
458 -/* These do not work if they are combined */
459 -.with_frm_style .frm_inside_container > input::-moz-placeholder,
460 -.with_frm_style .frm_inside_container > textarea::-moz-placeholder {
461 - opacity: 0 !important;
462 - transition: opacity 0.3s ease-in;
463 -}
464 -
465 -.with_frm_style .frm_inside_container > input:-ms-input-placeholder,
466 -.with_frm_style .frm_inside_container > textarea:-ms-input-placeholder {
467 - opacity: 0;
468 - transition: opacity 0.3s ease-in;
469 -}
470 -
471 -.with_frm_style .frm_inside_container > input::placeholder,
472 -.with_frm_style .frm_inside_container > textarea::placeholder {
473 - opacity: 0;
474 - transition: opacity 0.3s ease-in;
475 -}
476 -
477 -.with_frm_style .frm_inside_container > label {
478 - transition: all 0.3s ease-in;
479 -
480 - position: absolute;
481 - top: 17px;
482 - top: calc(1px + .5 * var(--field-height));
483 - left: 3px;
484 - width: 100%;
485 -
486 - line-height: 1.3;
487 - text-overflow: ellipsis;
488 - overflow: hidden;
489 - white-space: nowrap;
490 -
491 - padding: 6px 10px;
492 - padding: var(--field-pad);
493 -
494 - font-size: 14px;
495 - font-size: var(--field-font-size);
496 - font-weight: normal;
497 - font-weight: var(--field-weight);
498 -
499 - -ms-pointer-events: none;
500 - pointer-events: none;
501 -}
502 -
503 -.with_frm_style.frm_style_lines-no-boxes .frm_inside_container > label {
504 - line-height: 1;
505 -}
506 -
507 -.with_frm_style .frm_inside_container.frm_label_float_top > label {
508 - top: 0;
509 - left: 0;
510 - padding: 0;
511 - font-size: 12px;
512 - font-size: calc(0.85 * var(--field-font-size));
513 -}
514 -
515 -/* These do not work if they are combined */
516 -.with_frm_style .frm_inside_container.frm_label_float_top > input::-moz-placeholder,
517 -.with_frm_style .frm_inside_container.frm_label_float_top > textarea::-moz-placeholder {
518 - opacity: 1 !important;
519 - transition: opacity 0.3s ease-in;
520 -}
521 -
522 -.with_frm_style .frm_inside_container.frm_label_float_top > input:-ms-input-placeholder,
523 -.with_frm_style .frm_inside_container.frm_label_float_top > textarea:-ms-input-placeholder {
524 - opacity: 1;
525 - transition: opacity 0.3s ease-in;
526 -}
527 -
528 -.with_frm_style .frm_inside_container.frm_label_float_top > input::placeholder,
529 -.with_frm_style .frm_inside_container.frm_label_float_top > textarea::placeholder {
530 - opacity: 1;
531 - transition: opacity 0.3s ease-in;
532 -}
533 -/* End floating label */
534 -
535 -.with_frm_style .frm_description,
536 -.with_frm_style .frm_pro_max_limit_desc{
448 +.with_frm_style .frm_description{
537 449 clear:both;
538 450 }
539 451
540 452 .with_frm_style input[type=number][readonly]{
@@ -766,10 +678,9 @@
766 678 a.frm_save_draft{
767 679 cursor:pointer;
768 680 }
769 681
770 -.with_frm_style a.frm_save_draft,
771 -.with_frm_style a.frm_start_over{
682 +.with_frm_style a.frm_save_draft{
772 683 <?php if ( ! empty( $defaults['font'] ) ) { ?>
773 684 font-family:<?php echo FrmAppHelper::kses( $defaults['font'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>;
774 685 font-family:var(--font);
775 686 <?php } ?>
@@ -865,13 +776,9 @@
865 776 margin:5px;
866 777 vertical-align:middle;
867 778 }
868 779
869 -.with_frm_style .frm_radio input[type=radio]
870 -<?php if ( FrmAppHelper::pro_is_installed() ) : ?>
871 -, .with_frm_style .frm_scale input[type=radio]
872 -<?php endif; ?>
873 -{
780 +.with_frm_style .frm_radio input[type=radio]{
874 781 border-radius:50%;
875 782 }
876 783
877 784 .with_frm_style .frm_checkbox input[type=checkbox]{
@@ -878,11 +785,8 @@
878 785 border-radius:0;
879 786 }
880 787
881 788 .with_frm_style .frm_radio input[type=radio],
882 -<?php if ( FrmAppHelper::pro_is_installed() ) : ?>
883 -.with_frm_style .frm_scale input[type=radio],
884 -<?php endif; ?>
885 789 .with_frm_style .frm_checkbox input[type=checkbox]{
886 790 -webkit-appearance: none;
887 791 appearance: none;
888 792 background-color: var(--bg-color);
@@ -900,11 +804,8 @@
900 804 padding: 0;
901 805 }
902 806
903 807 .with_frm_style .frm_radio input[type=radio]:before,
904 -<?php if ( FrmAppHelper::pro_is_installed() ) : ?>
905 -.with_frm_style .frm_scale input[type=radio]:before,
906 -<?php endif; ?>
907 808 .with_frm_style .frm_checkbox input[type=checkbox]:before {
908 809 content: '';
909 810 width: 12px;
910 811 height: 12px;
@@ -1237,12 +1138,9 @@
1237 1138 }
1238 1139
1239 1140 .frm_grid .frm_error,
1240 1141 .frm_grid_first .frm_error,
1241 -.frm_grid_odd .frm_error,
1242 -.frm_grid .frm_limit_error,
1243 -.frm_grid_first .frm_limit_error,
1244 -.frm_grid_odd .frm_limit_error{
1142 +.frm_grid_odd .frm_error{
1245 1143 display:none;
1246 1144 }
1247 1145
1248 1146 .frm_grid:after,
@@ -1581,21 +1479,12 @@
1581 1479 .with_frm_style .frm_combo_inputs_container > .frm_form_subfield-last {
1582 1480 margin-bottom: 0 !important;
1583 1481 }
1584 1482
1585 -<?php
1586 -FrmStylesHelper::maybe_include_font_icon_css();
1483 +/* Fonts */
1484 +<?php readfile( FrmAppHelper::plugin_path() . '/css/font_icons.css' ); ?>
1485 +<?php do_action( 'frm_include_front_css', compact( 'defaults' ) ); ?>
1587 1486
1588 -/**
1589 - * Call action so other plugins can add additional CSS.
1590 - *
1591 - * @param array $args {
1592 - * @type array $defaults
1593 - * }
1594 - */
1595 -do_action( 'frm_include_front_css', compact( 'defaults' ) );
1596 -?>
1597 -
1598 1487 /* Responsive */
1599 1488
1600 1489 @media only screen and (max-width: 900px) {
1601 1490 .frm_form_field .frm_repeat_grid .frm_form_field.frm_sixth .frm_primary_label,
@@ -1649,5 +1538,5 @@
1649 1538 }
1650 1539 }
1651 1540 <?php
1652 1541
1653 -echo strip_tags( FrmStylesController::get_custom_css() ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
1542 +echo strip_tags( $defaults['custom_css'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped