%PDF-
%PDF-
Mini Shell
Mini Shell
<?php
/**
* @class FLSeparatorModule
*/
class FLSeparatorModule extends FLBuilderModule {
/**
* @since 1.0
* @return void
*/
public function __construct() {
parent::__construct(array(
'name' => __( 'Separator', 'fl-builder' ),
'description' => __( 'A divider line to separate content.', 'fl-builder' ),
'category' => __( 'Basic', 'fl-builder' ),
'editor_export' => false,
'partial_refresh' => true,
'icon' => 'minus.svg',
));
}
/**
* Ensure backwards compatibility with old settings.
*
* @since 2.2
* @param object $settings A module settings object.
* @param object $helper A settings compatibility helper.
* @return object
*/
public function filter_settings( $settings, $helper ) {
// Opacity
$helper->handle_opacity_inputs( $settings, 'opacity', 'color' );
// Width
if ( isset( $settings->custom_width ) ) {
if ( 'full' === $settings->width ) {
$settings->width = '100';
} else {
$settings->width = $settings->custom_width;
}
$settings->width_unit = '%';
unset( $settings->custom_width );
}
// Alignment
if ( 'center' == $settings->align ) {
$settings->align = 'auto';
} elseif ( 'left' == $settings->align ) {
$settings->align = '0 0 0 0';
} elseif ( 'right' == $settings->align ) {
$settings->align = '0 0 0 auto';
}
return $settings;
}
}
/**
* Register the module and its form settings.
*/
FLBuilder::register_module('FLSeparatorModule', array(
'general' => array( // Tab
'title' => __( 'General', 'fl-builder' ), // Tab title
'sections' => array( // Tab Sections
'general' => array( // Section
'title' => '', // Section Title
'fields' => array( // Section Fields
'color' => array(
'type' => 'color',
'connections' => array( 'color' ),
'label' => __( 'Color', 'fl-builder' ),
'default' => 'cccccc',
'show_alpha' => true,
'preview' => array(
'type' => 'css',
'selector' => '.fl-separator',
'property' => 'border-top-color',
),
),
'height' => array(
'type' => 'unit',
'label' => __( 'Height', 'fl-builder' ),
'default' => '1',
'maxlength' => '2',
'size' => '3',
'sanitize' => 'absint',
'slider' => true,
'units' => array(
'px',
),
'responsive' => true,
'preview' => array(
'type' => 'css',
'selector' => '.fl-separator',
'property' => 'border-top-width',
),
),
'width' => array(
'type' => 'unit',
'label' => __( 'Width', 'fl-builder' ),
'default' => '100',
'maxlength' => '3',
'size' => '4',
'units' => array(
'%',
'px',
'vw',
),
'slider' => array(
'px' => array(
'min' => 0,
'max' => 1000,
'step' => 10,
),
),
'responsive' => true,
'preview' => array(
'type' => 'css',
'selector' => '.fl-separator',
'property' => 'max-width',
),
),
'align' => array(
'type' => 'align',
'label' => __( 'Align', 'fl-builder' ),
'default' => 'center',
'values' => array(
'left' => '0 0 0 0',
'center' => 'auto',
'right' => '0 0 0 auto',
),
'responsive' => true,
'preview' => array(
'type' => 'css',
'selector' => '.fl-separator',
'property' => 'margin',
),
),
'style' => array(
'type' => 'select',
'label' => __( 'Style', 'fl-builder' ),
'default' => 'solid',
'options' => array(
'solid' => _x( 'Solid', 'Border type.', 'fl-builder' ),
'dashed' => _x( 'Dashed', 'Border type.', 'fl-builder' ),
'dotted' => _x( 'Dotted', 'Border type.', 'fl-builder' ),
'double' => _x( 'Double', 'Border type.', 'fl-builder' ),
),
'preview' => array(
'type' => 'css',
'selector' => '.fl-separator',
'property' => 'border-top-style',
),
'help' => __( 'The type of border to use. Double borders must have a height of at least 3px to render properly.', 'fl-builder' ),
),
),
),
),
),
));
Zerion Mini Shell 1.0
Reliable Trucking and Freight Services - CALZONA LLC
Skip to content
Transporting
Goods From Coast to Coast
A Trusted Provider of Exceptional Delivery Services
Transporting
Goods From Coast to Coast
A Trusted Provider of Exceptional Delivery Services
Rely on Us for
All Your Trucking Needs
Located in Fort Myers, Florida, CALZONA LLC is an exceptional intermodal freight service that has roots in the trucking industry. Our team works hard to provide you with superior services.
Rest easy knowing that we train all our employees to make sure that transfers are done seamlessly so that there is no time wasted during the delivery process. With our experienced drivers transporting your goods, we can efficiently send your packages and get them to their recipients on time and in the condition you sent them in.
We are searching for seasoned drivers to deliver freight safely and promptly. Our team will be a vital part of reaching an exceptional level of service. Become a part of our crew now to help us build excellence.
For additional information about our company and what we offer, contact us today. We look forward to hearing from you.
Scroll To Top