Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-admin
/
wp-content
/
plugins
/
formidable-pro
/
css
:
single-style.css.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php if ( ! defined( 'ABSPATH' ) ) { die( 'You are not allowed to call this page directly.' ); } ?> .<?php echo esc_html( $settings['style_class'] ); ?> { <?php if ( ! empty( $vars ) && is_callable( 'FrmStylesHelper::output_vars' ) ) { FrmStylesHelper::output_vars( $settings, $defaults, $vars ); } else { foreach ( $vars as $var ) { if ( isset( $settings[ $var ] ) && $settings[ $var ] !== '' && $settings[ $var ] !== $defaults[ $var ] ) { ?> --<?php echo esc_html( str_replace( '_', '-', $var ) ); ?>:<?php echo esc_html( $settings[ $var ] ); ?>; <?php } } } if ( isset( $settings['progress_border_color'] ) && $settings['progress_border_color'] !== $defaults['progress_border_color'] ) { ?> --progress-border-color-b: <?php echo esc_html( FrmStylesHelper::adjust_brightness( $settings['progress_border_color'], -10 ) ) ?>; <?php } ?> } /* Prefix */ <?php if ( ! isset( $settings['remove_box_shadow'] ) || ! $settings['remove_box_shadow'] ) { ?> .<?php echo esc_html( $settings['style_class'] ); ?> .frm_inline_box { box-shadow:0 1px 1px rgba(0, 0, 0, 0.075) inset; } <?php } ?> <?php if ( strpos( trim( $settings['field_border_width'] ), '0' ) === 0 ) { ?> .<?php echo esc_html( $settings['style_class'] ); ?> .frm_inline_box{ background: var(--bg-color)<?php esc_html( $important ); ?>; color:var(--text-color)<?php esc_html( $important ); ?>; } <?php } ?> <?php if ( ! empty( $important ) ) { ?> .<?php echo esc_html( $settings['style_class'] ); ?> .frm_input_group > input, .<?php echo esc_html( $settings['style_class'] ); ?> .frm_form_field.frm_total .frm_input_group input, .<?php echo esc_html( $settings['style_class'] ); ?> .frm_form_field.frm_total_big .frm_input_group input { width: 1% !important; } .<?php echo esc_html( $settings['style_class'] ); ?> .frm_input_group.frm_with_pre > select, .<?php echo esc_html( $settings['style_class'] ); ?> .frm_input_group.frm_with_pre > input { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; } .<?php echo esc_html( $settings['style_class'] ); ?> .frm_input_group.frm_with_post > select, .<?php echo esc_html( $settings['style_class'] ); ?> .frm_input_group.frm_with_post > input { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; } .<?php echo esc_html( $settings['style_class'] ); ?> .frm_total input, .<?php echo esc_html( $settings['style_class'] ); ?> .frm_total_big input { box-shadow: none !important; } .frm_form_field.frm_total_big .frm_total_formatted, .frm_form_field.frm_total_big input[type=text], .frm_form_field.frm_total_big input[type=number], .frm_form_field.frm_total_big input, .frm_form_field.frm_total_big textarea{ font-size: 32px !important; line-height: 44px !important; } <?php } ?> /* Start Chosen */ .<?php echo esc_html( $settings['style_class'] ); ?> .chosen-container-single .chosen-single{ padding-top:0 <?php esc_html( $important ); ?>; <?php if ( $settings['field_height'] != 'auto' && $settings['field_height'] != '' ) { ?> height:<?php echo esc_html( $settings['field_height'] . $important ); ?>; line-height:<?php echo esc_html( $settings['field_height'] . $important ); ?>; <?php } ?> } <?php if ( is_numeric( $top_margin ) && $pad_unit === 'px' ) { ?> .<?php echo esc_html( $settings['style_class'] ); ?> .chosen-container-single .chosen-single abbr{ top:<?php echo esc_attr( 6 + (int) $top_margin ); ?>px <?php esc_html( $important ); ?>; } .<?php echo esc_html( $settings['style_class'] ); ?> .chosen-container-single .chosen-single div{ top:<?php echo esc_html( $top_margin . $pad_unit . $important ); ?>; } <?php } ?> .<?php echo esc_html( $settings['style_class'] ); ?> .chosen-container-single .chosen-search input[type="text"]{ height:<?php echo esc_html( ( $settings['field_height'] == 'auto' || $settings['field_height'] == '' ) ? 'auto' : $settings['field_height'] ); ?>; } .<?php echo esc_html( $settings['style_class'] ); ?> .chosen-container-multi .chosen-choices li.search-field input[type="text"]{ height:15px<?php echo esc_html( $important ); ?>; } /* End Chosen */ <?php if ( isset( $settings['progress_color'] ) ) { ?> /* Progress Bars */ .<?php echo esc_html( $settings['style_class'] ); ?> .frm_page_bar .frm_current_page input[type="button"]{ background-color: <?php echo esc_html( $settings['progress_bg_color'] . $important ); ?>; border-color: <?php echo esc_html( $settings['progress_border_color'] . $important ); ?>; opacity:1<?php echo esc_html( $important ); ?>; } .<?php echo esc_html( $settings['style_class'] ); ?> .frm_progress_line input, .<?php echo esc_html( $settings['style_class'] ); ?> .frm_progress_line input:disabled { border-color: <?php echo esc_html( $settings['progress_border_color'] . $important ); ?>; } .<?php echo esc_html( $settings['style_class'] ); ?> .frm_progress_line.frm_show_lines input { border-left-color: <?php echo esc_html( FrmStylesHelper::adjust_brightness( $settings['progress_border_color'], -20 ) . $important ); ?>; border-right-color: <?php echo esc_html( FrmStylesHelper::adjust_brightness( $settings['progress_border_color'], -20 ) . $important ); ?>; border-left-width: 1px <?php echo esc_html( $important ); ?>; border-right-width: 1px <?php echo esc_html( $important ); ?>; } .<?php echo esc_html( $settings['style_class'] ); ?> .frm_progress_line li:first-of-type input { border-left-color: <?php echo esc_html( $settings['progress_active_bg_color'] . $important ); ?>; } .<?php echo esc_html( $settings['style_class'] ); ?> .frm_progress_line li:last-of-type input { border-right-color: <?php echo esc_html( $settings['progress_active_bg_color'] . $important ); ?>; } .<?php echo esc_html( $settings['style_class'] ); ?> .frm_progress_line li:last-of-type input.frm_page_skip { border-right-color: <?php echo esc_html( $settings['progress_border_color'] . $important ); ?>; } .<?php echo esc_html( $settings['style_class'] ); ?> .frm_progress_line .frm_current_page input[type="button"] { border-left-color: <?php echo esc_html( $settings['progress_border_color'] . $important ); ?>; } .<?php echo esc_html( $settings['style_class'] ); ?> .frm_progress_line.frm_show_lines .frm_current_page input[type="button"] { border-right-color: <?php echo esc_html( FrmStylesHelper::adjust_brightness( $settings['progress_border_color'], -20 ) . $important ); ?>; } .<?php echo esc_html( $settings['style_class'] ); ?> .frm_progress_line input.frm_page_back { border-color: <?php echo esc_html( $settings['progress_active_bg_color'] . $important ); ?>; } .<?php echo esc_html( $settings['style_class'] ); ?> .frm_progress_line.frm_show_lines input.frm_page_back{ border-left-color: <?php echo esc_html( $settings['progress_active_bg_color'] . $important ); ?>; border-right-color: <?php echo esc_html( FrmStylesHelper::adjust_brightness( $settings['progress_border_color'], -20 ) . $important ); ?>; } .<?php echo esc_html( $settings['style_class'] ); ?> .frm_rootline.frm_show_lines:before { border-color: <?php echo esc_html( $settings['progress_border_color'] . $important ); ?>; border-top-width: <?php echo esc_html( $settings['progress_border_size'] . $important ); ?>; top: <?php echo esc_html( absint( $settings['progress_size'] ) / 2 ); ?>px; } .<?php echo esc_html( $settings['style_class'] ); ?> .frm_rootline input, .<?php echo esc_html( $settings['style_class'] ); ?> .frm_rootline input:hover { width: <?php echo esc_html( $settings['progress_size'] . $important ); ?>; height: <?php echo esc_html( $settings['progress_size'] . $important ); ?>; border-radius: <?php echo esc_html( $settings['progress_size'] . $important ); ?>; padding: 0<?php echo esc_html( $important ); ?>; } .<?php echo esc_html( $settings['style_class'] ); ?> .frm_rootline .frm_current_page input[type="button"] { border-color: <?php echo esc_html( FrmStylesHelper::adjust_brightness( $settings['progress_active_bg_color'], -20 ) . $important ); ?>; background-color: <?php echo esc_html( $settings['progress_active_bg_color'] . $important ); ?>; color: <?php echo esc_html( $settings['progress_active_color'] . $important ); ?>; } <?php } ?> /* Start Range slider */ .<?php echo esc_html( $settings['style_class'] ); ?> .form-field input[type=range], .<?php echo esc_html( $settings['style_class'] ); ?> .form-field input[type=range]:focus { padding:0 <?php echo esc_html( $important ); ?>; background:transparent !important; } .<?php echo esc_html( $settings['style_class'] ); ?> input[type=range]::-webkit-slider-thumb { <?php $thumb_color = $settings['slider_color'] . $important; echo $thumb = 'border: 1px solid ' . esc_html( $thumb_color ) . '; color:' . esc_html( $settings['progress_active_color'] . $important ) . ';'; ?> } .<?php echo esc_html( $settings['style_class'] ); ?> input[type=range]::-ms-fill-lower { background-color: <?php echo esc_html( $thumb_color ) . $important; ?>; } .<?php echo esc_html( $settings['style_class'] ); ?> input[type=range]::-moz-range-progress { background-color: <?php echo esc_html( $thumb_color ) . $important; ?>; } .<?php echo esc_html( $settings['style_class'] ); ?> input[type=range]::-moz-range-thumb { <?php echo $thumb; ?> } .<?php echo esc_html( $settings['style_class'] ); ?> input[type=range]::-ms-thumb { <?php echo $thumb; ?> } /* End Range Slider */ /* Start other fields */ .<?php echo esc_html( $settings['style_class'] ); ?> input.frm_other_input:not(.frm_other_full){ width:auto <?php echo esc_html( $important ); ?>; } .<?php echo esc_html( $settings['style_class'] ); ?> .frm_checkbox input.frm_other_input:not(.frm_other_full), .<?php echo esc_html( $settings['style_class'] ); ?> .frm_radio input.frm_other_input:not(.frm_other_full){ margin-left:5px; } .<?php echo esc_html( $settings['style_class'] ); ?> .horizontal_radio input.frm_other_input:not(.frm_other_full):not(.frm_pos_none) { display:inline-block<?php echo esc_html( $important ); ?>; } .<?php echo esc_html( $settings['style_class'] ); ?> .frm_full input.frm_other_input:not(.frm_other_full){ margin-left:0 <?php echo esc_html( $important ); ?>; margin-top:8px; } /* End other */ /* Start Password field */ .<?php echo esc_html( $settings['style_class'] ); ?> span.frm-pass-verified::before { color:<?php echo esc_html( $settings['success_text_color'] . $important ); ?>; } .<?php echo esc_html( $settings['style_class'] ); ?> span.frm-pass-req::before { color:<?php echo esc_html( $settings['error_text'] . $important ); ?>; } /* End Password field */ /* Sections */ .<?php echo esc_html( $settings['style_class'] ); ?> .frm-show-form .frm_section_heading h3{ border<?php echo esc_html( $settings['section_border_loc'] ); ?>:<?php echo esc_html( $settings['section_border_width'] . ' ' . $settings['section_border_style'] . ' ' . $settings['section_border_color'] . $important ); ?>; } .<?php echo esc_html( $settings['style_class'] ); ?> h3 .frm_<?php echo esc_html( $settings['collapse_pos'] ); ?>_collapse{ display:inline; } .<?php echo esc_html( $settings['style_class'] ); ?> h3 .frm_<?php echo ( 'after' === $settings['collapse_pos'] ) ? 'before' : 'after'; ?>_collapse{ display:none; } .menu-edit #post-body-content .<?php echo esc_html( $settings['style_class'] ); ?> .frm_section_heading h3{ margin:0; } .<?php echo esc_html( $settings['style_class'] ); ?> .frm_section_heading{ margin-top:<?php echo esc_html( $settings['section_mar_top'] . $important ); ?>; } .<?php echo esc_html( $settings['style_class'] ); ?> .frm-show-form .frm_section_heading .frm_section_spacing, .menu-edit #post-body-content .<?php echo esc_html( $settings['style_class'] ); ?> .frm-show-form .frm_section_heading .frm_section_spacing{ margin-bottom:<?php echo esc_html( $settings['section_mar_bottom'] . $important ); ?>; } /* End Sections */ .<?php echo esc_html( $settings['style_class'] ); ?> .frm_single_product_label, .<?php echo esc_html( $settings['style_class'] ); ?> .frm_total_formatted { font-size:<?php echo esc_html( $settings['font_size'] ); ?>; color:<?php echo esc_html( $settings['label_color'] . $important ); ?>; } <?php if ( ! empty( $bg_image_url ) ) { ?> .<?php echo esc_html( $settings['style_class'] ); ?> { --bg-image-url: url( '<?php echo esc_html( $bg_image_url ); ?>' ); } <?php if ( ! empty( $bg_image_opacity ) ) { ?> .<?php echo esc_html( $settings['style_class'] ); ?> .frm_form_fields > fieldset:before { opacity: <?php echo esc_html( $bg_image_opacity ); ?>; } <?php } ?> <?php } ?> /* Datepicker */ .<?php echo esc_html( $settings['style_class'] ); ?> ~ .ui-datepicker .ui-datepicker-title > select, .<?php echo esc_html( $settings['style_class'] ); ?> .ui-datepicker .ui-datepicker-title > select{ color: <?php echo esc_html( $settings['text_color'] ) . esc_html( $important ); ?>; background-color:<?php echo esc_html( $settings['bg_color'] . $important ); ?>; } /* End Datepicker */