text_width ) ? $settings->text_width : '50'; $text_position = isset( $settings->text_position ) ? $settings->text_position : 'left'; $thumb_text_position = isset( $settings->thumb_text_position ) && 'right' == $settings->thumb_text_position ? 'left' : 'right'; $padding = ! empty( $settings->text_padding ) ? $settings->text_padding : '50'; $text_bg_height = ! empty( $settings->text_bg_height ) ? $settings->text_bg_height : '100%'; ?> responsive_enabled ) : ?> image_type ) && 'background' == $settings->image_type ) : ?> .fl-node- .fl-post-slider-background .fl-post-slider-content{ position: relative; z-index: 10; padding: px; text_bg_color ) ) : ?> background-color: text_bg_color ); ?>; } .fl-node- .fl-post-slider-background .fl-post-slider-content-bg{ display: none; position: absolute; top: 0; z-index: 5; } image_type ) && 'thumb' == $settings->image_type ) : ?> .fl-node- .fl-post-slider-thumb{ text_bg_color ) ) : ?> background-color: text_bg_color ); ?>; padding: px; } .fl-node- .fl-photo-content{ display: block; } .fl-node- .fl-post-slider-img{ padding: 0 0 px 0; } .fl-node- .fl-photo-content img{ max-width: 100%; vertical-align: top; } .fl-node- .fl-post-slider-no-thumb{ padding: px; text_bg_color ) ) : ?> background-color: text_bg_color ); ?>; } @media ( min-width: responsive_breakpoint; ?>px ) { .fl-node- .fl-post-slider-post { min-height: height; ?>px; } .fl-node- .fl-slide-bg-photo { display: block; } .fl-node- .fl-post-slider-mobile-img { display: none; } image_type ) && 'background' == $settings->image_type ) : ?> .fl-node- .fl-post-slider-background .fl-post-slider-content{ width: %; float: ; background: transparent; } .fl-node- .fl-post-slider-background .fl-post-slider-content-bg{ display: block; : 0; width: %; height: 100%; render_slider_gradient_bg(); ?> } .fl-node- .fl-post-slider-background .fl-post-slider-content{ width: %; float: ; min-height: ; position: absolute; left: 0; right: 0; bottom: 0; render_slider_gradient_bg(); ?> } image_type ) && 'thumb' == $settings->image_type ) : ?> .fl-node- .fl-post-slider-thumb{ min-height: height; ?>px; overflow: hidden; } .fl-node- .fl-post-slider-thumb .fl-post-slider-content{ thumb_text_position, array( 'left', 'right' ) ) ) : ?> width: %; float: ; } .fl-node- .fl-post-slider-img{ thumb_text_position, array( 'left', 'right' ) ) ) : ?> width: %; float: ; padding: 0 px 0 0; padding: 0 0 0 px; } } .fl-node- .fl-post-slider-post { min-height: height; ?>px; } image_type ) && 'background' == $settings->image_type ) : ?> .fl-node- .fl-post-slider-background .fl-post-slider-content{ position: relative; width: %; float: ; position: absolute; left: 0; right: 0; bottom: 0; height: ; padding: px; render_slider_gradient_bg(); ?> } .fl-node- .fl-post-slider-background .fl-post-slider-content{ position: relative; width: %; float: ; background: transparent; } .fl-node- .fl-post-slider-background .fl-post-slider-content-bg{ display: block; position: absolute; top: 0; : 0; width: %; height: 100%; render_slider_gradient_bg(); ?> } .fl-node- .fl-post-slider-background .fl-post-slider-content{ position: relative; width: %; float: ; height: ; position: absolute; left: 0; right: 0; bottom: 0; padding: px; render_slider_gradient_bg(); ?> } image_type ) && 'thumb' == $settings->image_type ) : ?> .fl-node- .fl-post-slider-thumb{ min-height: height; ?>px; padding: px; overflow: hidden; text_bg_color ) ) : ?> background-color: text_bg_color ); ?>; } .fl-node- .fl-post-slider-thumb .fl-post-slider-content{ thumb_text_position, array( 'left', 'right' ) ) ) : ?> width: %; float: ; } .fl-node- .fl-photo-content{ display: block; } .fl-node- .fl-post-slider-img{ thumb_text_position, array( 'left', 'right' ) ) ) : ?> width: %; float: ; padding: 0 px 0 0; padding: 0 0 0 px; } .fl-node- .fl-photo-content img{ width: 100% !important; vertical-align: top; } .fl-node- .fl-post-slider-no-thumb{ padding: px; text_bg_color ) ) : ?> background-color: text_bg_color ); ?>; } navigation ) : ?> .fl-node- .fl-post-slider-navigation path{ arrows_text_color ) && ! empty( $settings->arrows_text_color ) ) : ?> fill: arrows_text_color ); ?>; } arrows_bg_color ) && ! empty( $settings->arrows_bg_color ) ) : ?> .fl-node- .fl-post-slider-svg-container { background-color: arrows_bg_color ); ?>; width: 40px; height: 40px; arrows_bg_style ) && 'circle' == $settings->arrows_bg_style ) : ?> -webkit-border-radius: 50%; -moz-border-radius: 50%; -ms-border-radius: 50%; -o-border-radius: 50%; border-radius: 50%; } .fl-node- .fl-post-slider-navigation svg { height: 100%; width: 100%; padding: 5px; } ".fl-node-$id .fl-post-slider-title a", 'props' => array( 'color' => $settings->title_color, ), ) ); FLBuilderCSS::rule( array( 'selector' => ".fl-node-$id .fl-post-slider-title a:hover", 'props' => array( 'color' => $settings->title_hover_color, ), ) ); FLBuilderCSS::typography_field_rule( array( 'settings' => $settings, 'setting_name' => 'title_typography', 'selector' => ".fl-node-$id .fl-post-slider-title, .fl-node-$id .fl-post-slider-title a", ) ); // post meta FLBuilderCSS::rule( array( 'selector' => ".fl-node-$id .fl-post-slider-feed-meta", 'props' => array( 'color' => $settings->meta_color, ), ) ); FLBuilderCSS::rule( array( 'selector' => ".fl-node-$id .fl-post-slider-feed-meta a", 'props' => array( 'color' => $settings->meta_link_color, ), ) ); FLBuilderCSS::rule( array( 'selector' => ".fl-node-$id .fl-post-slider-feed-meta a:hover", 'props' => array( 'color' => $settings->meta_link_hover_color, ), ) ); FLBuilderCSS::typography_field_rule( array( 'settings' => $settings, 'setting_name' => 'meta_typography', 'selector' => ".fl-node-$id .fl-post-slider-feed-meta, .fl-node-$id .fl-post-slider-feed-meta a", ) ); // post content FLBuilderCSS::rule( array( 'selector' => ".fl-node-$id .fl-post-slider-feed-content", 'enabled' => '1' == $settings->show_content, 'props' => array( 'color' => $settings->content_color, ), ) ); FLBuilderCSS::rule( array( 'selector' => ".fl-node-$id .fl-post-slider-feed-content a:not(.fl-post-slider-feed-more)", 'enabled' => '1' == $settings->show_content, 'props' => array( 'color' => $settings->content_link_color, ), ) ); FLBuilderCSS::rule( array( 'selector' => ".fl-node-$id .fl-post-slider-feed-content a:not(.fl-post-slider-feed-more):hover", 'enabled' => '1' == $settings->show_content, 'props' => array( 'color' => $settings->content_link_hover_color, ), ) ); FLBuilderCSS::typography_field_rule( array( 'settings' => $settings, 'setting_name' => 'content_typography', 'enabled' => '1' == $settings->show_content, 'selector' => ".fl-node-$id .fl-post-slider-feed-content", ) ); // more link FLBuilderCSS::rule( array( 'selector' => ".fl-node-$id .fl-post-slider-feed-more", 'enabled' => '1' == $settings->show_more_link, 'props' => array( 'color' => $settings->more_link_color, ), ) ); FLBuilderCSS::rule( array( 'selector' => ".fl-node-$id .fl-post-slider-feed-more:hover", 'enabled' => '1' == $settings->show_more_link, 'props' => array( 'color' => $settings->more_link_hover_color, ), ) ); FLBuilderCSS::typography_field_rule( array( 'settings' => $settings, 'setting_name' => 'more_link_typography', 'enabled' => '1' == $settings->show_more_link, 'selector' => ".fl-node-$id .fl-post-slider-feed-more", ) );