Archived
1911 lines
54 KiB
PHP
1911 lines
54 KiB
PHP
<?php
|
|
|
|
class DSLC_Text_Simple extends DSLC_Module {
|
|
|
|
var $module_id = 'DSLC_Text_Simple';
|
|
var $module_title = 'Text';
|
|
var $module_icon = 'pencil';
|
|
var $module_category = 'general';
|
|
|
|
function options() {
|
|
|
|
$dslc_options = array(
|
|
array(
|
|
'label' => __( 'Content', 'dslc_string' ),
|
|
'id' => 'content',
|
|
'std' => 'Click to edit. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.',
|
|
'type' => 'textarea',
|
|
'visibility' => 'hidden',
|
|
'section' => 'styling'
|
|
),
|
|
|
|
/**
|
|
* Styling Options
|
|
*/
|
|
|
|
array(
|
|
'label' => __( 'Enable/Disable Custom CSS', 'dslc_string' ),
|
|
'id' => 'css_custom',
|
|
'std' => 'enabled',
|
|
'type' => 'select',
|
|
'choices' => array(
|
|
array(
|
|
'label' => __( 'Enabled', 'dslc_string' ),
|
|
'value' => 'enabled'
|
|
),
|
|
array(
|
|
'label' => __( 'Disabled', 'dslc_string' ),
|
|
'value' => 'disabled'
|
|
),
|
|
),
|
|
'section' => 'styling',
|
|
),
|
|
array(
|
|
'label' => __( ' BG Color', 'dslc_string' ),
|
|
'id' => 'css_main_bg_color',
|
|
'std' => '',
|
|
'type' => 'color',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content',
|
|
'affect_on_change_rule' => 'background-color',
|
|
'section' => 'styling',
|
|
),
|
|
array(
|
|
'label' => __( 'Border Color', 'dslc_string' ),
|
|
'id' => 'css_main_border_color',
|
|
'std' => '',
|
|
'type' => 'color',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content',
|
|
'affect_on_change_rule' => 'border-color',
|
|
'section' => 'styling',
|
|
),
|
|
array(
|
|
'label' => __( 'Border Width', 'dslc_string' ),
|
|
'id' => 'css_main_border_width',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content',
|
|
'affect_on_change_rule' => 'border-width',
|
|
'section' => 'styling',
|
|
'ext' => 'px',
|
|
),
|
|
array(
|
|
'label' => __( 'Borders', 'dslc_string' ),
|
|
'id' => 'css_main_border_trbl',
|
|
'std' => 'top right bottom left',
|
|
'type' => 'checkbox',
|
|
'choices' => array(
|
|
array(
|
|
'label' => __( 'Top', 'dslc_string' ),
|
|
'value' => 'top'
|
|
),
|
|
array(
|
|
'label' => __( 'Right', 'dslc_string' ),
|
|
'value' => 'right'
|
|
),
|
|
array(
|
|
'label' => __( 'Bottom', 'dslc_string' ),
|
|
'value' => 'bottom'
|
|
),
|
|
array(
|
|
'label' => __( 'Left', 'dslc_string' ),
|
|
'value' => 'left'
|
|
),
|
|
),
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content',
|
|
'affect_on_change_rule' => 'border-style',
|
|
'section' => 'styling',
|
|
),
|
|
array(
|
|
'label' => __( 'Border Radius - Top', 'dslc_string' ),
|
|
'id' => 'css_main_border_radius_top',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content',
|
|
'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius',
|
|
'section' => 'styling',
|
|
'ext' => 'px',
|
|
),
|
|
array(
|
|
'label' => __( 'Border Radius - Bottom', 'dslc_string' ),
|
|
'id' => 'css_main_border_radius_bottom',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content',
|
|
'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius',
|
|
'section' => 'styling',
|
|
'ext' => 'px',
|
|
),
|
|
array(
|
|
'label' => __( 'Margin Bottom', 'dslc_string' ),
|
|
'id' => 'css_margin_bottom',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content',
|
|
'affect_on_change_rule' => 'margin-bottom',
|
|
'section' => 'styling',
|
|
'ext' => 'px',
|
|
),
|
|
array(
|
|
'label' => __( 'Padding Vertical', 'dslc_string' ),
|
|
'id' => 'css_main_padding_vertical',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content',
|
|
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
|
'section' => 'styling',
|
|
'ext' => 'px',
|
|
),
|
|
array(
|
|
'label' => __( 'Padding Horizontal', 'dslc_string' ),
|
|
'id' => 'css_main_padding_horizontal',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content',
|
|
'affect_on_change_rule' => 'padding-left,padding-right',
|
|
'section' => 'styling',
|
|
'ext' => 'px',
|
|
),
|
|
|
|
/**
|
|
* Content
|
|
*/
|
|
|
|
array(
|
|
'label' => __( 'Color', 'dslc_string' ),
|
|
'id' => 'css_main_color',
|
|
'std' => '',
|
|
'type' => 'color',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content',
|
|
'affect_on_change_rule' => 'color',
|
|
'section' => 'styling',
|
|
'tab' => 'Content'
|
|
),
|
|
array(
|
|
'label' => __( 'Font Size', 'dslc_string' ),
|
|
'id' => 'css_main_font_size',
|
|
'std' => '13',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content',
|
|
'affect_on_change_rule' => 'font-size',
|
|
'section' => 'styling',
|
|
'tab' => 'Content',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'Font Weight', 'dslc_string' ),
|
|
'id' => 'css_main_font_weight',
|
|
'std' => '400',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content',
|
|
'affect_on_change_rule' => 'font-weight',
|
|
'section' => 'styling',
|
|
'tab' => 'Content',
|
|
'ext' => '',
|
|
'min' => 100,
|
|
'max' => 900,
|
|
'increment' => 100
|
|
),
|
|
array(
|
|
'label' => __( 'Font Family', 'dslc_string' ),
|
|
'id' => 'css_main_font_family',
|
|
'std' => 'Open Sans',
|
|
'type' => 'font',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content',
|
|
'affect_on_change_rule' => 'font-family',
|
|
'section' => 'styling',
|
|
'tab' => 'Content',
|
|
),
|
|
array(
|
|
'label' => __( 'Line Height', 'dslc_string' ),
|
|
'id' => 'css_main_line_height',
|
|
'std' => '22',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content',
|
|
'affect_on_change_rule' => 'line-height',
|
|
'section' => 'styling',
|
|
'tab' => 'Content',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'Text Align', 'dslc_string' ),
|
|
'id' => 'css_main_text_align',
|
|
'std' => 'left',
|
|
'type' => 'select',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content',
|
|
'affect_on_change_rule' => 'text-align',
|
|
'section' => 'styling',
|
|
'tab' => 'Content',
|
|
'choices' => array(
|
|
array(
|
|
'label' => __( 'Left', 'dslc_string' ),
|
|
'value' => 'left',
|
|
),
|
|
array(
|
|
'label' => __( 'Center', 'dslc_string' ),
|
|
'value' => 'center',
|
|
),
|
|
array(
|
|
'label' => __( 'Right', 'dslc_string' ),
|
|
'value' => 'right',
|
|
),
|
|
)
|
|
),
|
|
|
|
/**
|
|
* Heading 2
|
|
*/
|
|
|
|
array(
|
|
'label' => __( ' BG Color', 'dslc_string' ),
|
|
'id' => 'css_h2_bg_color',
|
|
'std' => '',
|
|
'type' => 'color',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h2',
|
|
'affect_on_change_rule' => 'background-color',
|
|
'section' => 'styling',
|
|
'tab' => 'H2'
|
|
),
|
|
array(
|
|
'label' => __( 'Border Color', 'dslc_string' ),
|
|
'id' => 'css_h2_border_color',
|
|
'std' => '',
|
|
'type' => 'color',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h2',
|
|
'affect_on_change_rule' => 'border-color',
|
|
'section' => 'styling',
|
|
'tab' => 'H2'
|
|
),
|
|
array(
|
|
'label' => __( 'Border Width', 'dslc_string' ),
|
|
'id' => 'css_h2_border_width',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h2',
|
|
'affect_on_change_rule' => 'border-width',
|
|
'section' => 'styling',
|
|
'ext' => 'px',
|
|
'tab' => 'H2'
|
|
),
|
|
array(
|
|
'label' => __( 'Borders', 'dslc_string' ),
|
|
'id' => 'css_h2_border_trbl',
|
|
'std' => 'top right bottom left',
|
|
'type' => 'checkbox',
|
|
'choices' => array(
|
|
array(
|
|
'label' => __( 'Top', 'dslc_string' ),
|
|
'value' => 'top'
|
|
),
|
|
array(
|
|
'label' => __( 'Right', 'dslc_string' ),
|
|
'value' => 'right'
|
|
),
|
|
array(
|
|
'label' => __( 'Bottom', 'dslc_string' ),
|
|
'value' => 'bottom'
|
|
),
|
|
array(
|
|
'label' => __( 'Left', 'dslc_string' ),
|
|
'value' => 'left'
|
|
),
|
|
),
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h2',
|
|
'affect_on_change_rule' => 'border-style',
|
|
'section' => 'styling',
|
|
'tab' => 'H2'
|
|
),
|
|
array(
|
|
'label' => __( 'Border Radius - Top', 'dslc_string' ),
|
|
'id' => 'css_h2_border_radius_top',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h2',
|
|
'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius',
|
|
'section' => 'styling',
|
|
'ext' => 'px',
|
|
'tab' => 'H2'
|
|
),
|
|
array(
|
|
'label' => __( 'Border Radius - Bottom', 'dslc_string' ),
|
|
'id' => 'css_h2_border_radius_bottom',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h2',
|
|
'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius',
|
|
'section' => 'styling',
|
|
'ext' => 'px',
|
|
'tab' => 'H2'
|
|
),
|
|
array(
|
|
'label' => __( 'Color', 'dslc_string' ),
|
|
'id' => 'css_h2_color',
|
|
'std' => '',
|
|
'type' => 'color',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h2',
|
|
'affect_on_change_rule' => 'color',
|
|
'section' => 'styling',
|
|
'tab' => 'H2'
|
|
),
|
|
array(
|
|
'label' => __( 'Font Size', 'dslc_string' ),
|
|
'id' => 'css_h2_font_size',
|
|
'std' => '13',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h2',
|
|
'affect_on_change_rule' => 'font-size',
|
|
'section' => 'styling',
|
|
'tab' => 'H2',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'Font Weight', 'dslc_string' ),
|
|
'id' => 'css_h2_font_weight',
|
|
'std' => '400',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h2',
|
|
'affect_on_change_rule' => 'font-weight',
|
|
'section' => 'styling',
|
|
'tab' => 'H2',
|
|
'ext' => '',
|
|
'min' => 100,
|
|
'max' => 900,
|
|
'increment' => 100
|
|
),
|
|
array(
|
|
'label' => __( 'Font Family', 'dslc_string' ),
|
|
'id' => 'css_h2_font_family',
|
|
'std' => 'Open Sans',
|
|
'type' => 'font',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h2',
|
|
'affect_on_change_rule' => 'font-family',
|
|
'section' => 'styling',
|
|
'tab' => 'H2',
|
|
),
|
|
array(
|
|
'label' => __( 'Line Height', 'dslc_string' ),
|
|
'id' => 'css_h2_line_height',
|
|
'std' => '22',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h2',
|
|
'affect_on_change_rule' => 'line-height',
|
|
'section' => 'styling',
|
|
'tab' => 'H2',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'Margin Bottom', 'dslc_string' ),
|
|
'id' => 'css_h2_margin_bottom',
|
|
'std' => '15',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h2',
|
|
'affect_on_change_rule' => 'margin-bottom',
|
|
'section' => 'styling',
|
|
'tab' => 'H2',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'Padding Vertical', 'dslc_string' ),
|
|
'id' => 'css_h2_padding_vertical',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h2',
|
|
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
|
'section' => 'styling',
|
|
'ext' => 'px',
|
|
'tab' => 'H2'
|
|
),
|
|
array(
|
|
'label' => __( 'Padding Horizontal', 'dslc_string' ),
|
|
'id' => 'css_h2_padding_horizontal',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h2',
|
|
'affect_on_change_rule' => 'padding-left,padding-right',
|
|
'section' => 'styling',
|
|
'ext' => 'px',
|
|
'tab' => 'H2'
|
|
),
|
|
array(
|
|
'label' => __( 'Text Align', 'dslc_string' ),
|
|
'id' => 'css_h2_text_align',
|
|
'std' => 'left',
|
|
'type' => 'select',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h2',
|
|
'affect_on_change_rule' => 'text-align',
|
|
'section' => 'styling',
|
|
'tab' => 'H2',
|
|
'choices' => array(
|
|
array(
|
|
'label' => __( 'Left', 'dslc_string' ),
|
|
'value' => 'left',
|
|
),
|
|
array(
|
|
'label' => __( 'Center', 'dslc_string' ),
|
|
'value' => 'center',
|
|
),
|
|
array(
|
|
'label' => __( 'Right', 'dslc_string' ),
|
|
'value' => 'right',
|
|
),
|
|
)
|
|
),
|
|
|
|
/**
|
|
* Heading 3
|
|
*/
|
|
|
|
array(
|
|
'label' => __( ' BG Color', 'dslc_string' ),
|
|
'id' => 'css_h3_bg_color',
|
|
'std' => '',
|
|
'type' => 'color',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h3',
|
|
'affect_on_change_rule' => 'background-color',
|
|
'section' => 'styling',
|
|
'tab' => 'h3'
|
|
),
|
|
array(
|
|
'label' => __( 'Border Color', 'dslc_string' ),
|
|
'id' => 'css_h3_border_color',
|
|
'std' => '',
|
|
'type' => 'color',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h3',
|
|
'affect_on_change_rule' => 'border-color',
|
|
'section' => 'styling',
|
|
'tab' => 'h3'
|
|
),
|
|
array(
|
|
'label' => __( 'Border Width', 'dslc_string' ),
|
|
'id' => 'css_h3_border_width',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h3',
|
|
'affect_on_change_rule' => 'border-width',
|
|
'section' => 'styling',
|
|
'ext' => 'px',
|
|
'tab' => 'h3'
|
|
),
|
|
array(
|
|
'label' => __( 'Borders', 'dslc_string' ),
|
|
'id' => 'css_h3_border_trbl',
|
|
'std' => 'top right bottom left',
|
|
'type' => 'checkbox',
|
|
'choices' => array(
|
|
array(
|
|
'label' => __( 'Top', 'dslc_string' ),
|
|
'value' => 'top'
|
|
),
|
|
array(
|
|
'label' => __( 'Right', 'dslc_string' ),
|
|
'value' => 'right'
|
|
),
|
|
array(
|
|
'label' => __( 'Bottom', 'dslc_string' ),
|
|
'value' => 'bottom'
|
|
),
|
|
array(
|
|
'label' => __( 'Left', 'dslc_string' ),
|
|
'value' => 'left'
|
|
),
|
|
),
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h3',
|
|
'affect_on_change_rule' => 'border-style',
|
|
'section' => 'styling',
|
|
'tab' => 'h3'
|
|
),
|
|
array(
|
|
'label' => __( 'Border Radius - Top', 'dslc_string' ),
|
|
'id' => 'css_h3_border_radius_top',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h3',
|
|
'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius',
|
|
'section' => 'styling',
|
|
'ext' => 'px',
|
|
'tab' => 'h3'
|
|
),
|
|
array(
|
|
'label' => __( 'Border Radius - Bottom', 'dslc_string' ),
|
|
'id' => 'css_h3_border_radius_bottom',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h3',
|
|
'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius',
|
|
'section' => 'styling',
|
|
'ext' => 'px',
|
|
'tab' => 'h3'
|
|
),
|
|
array(
|
|
'label' => __( 'Color', 'dslc_string' ),
|
|
'id' => 'css_h3_color',
|
|
'std' => '',
|
|
'type' => 'color',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h3',
|
|
'affect_on_change_rule' => 'color',
|
|
'section' => 'styling',
|
|
'tab' => 'h3'
|
|
),
|
|
array(
|
|
'label' => __( 'Font Size', 'dslc_string' ),
|
|
'id' => 'css_h3_font_size',
|
|
'std' => '13',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h3',
|
|
'affect_on_change_rule' => 'font-size',
|
|
'section' => 'styling',
|
|
'tab' => 'h3',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'Font Weight', 'dslc_string' ),
|
|
'id' => 'css_h3_font_weight',
|
|
'std' => '400',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h3',
|
|
'affect_on_change_rule' => 'font-weight',
|
|
'section' => 'styling',
|
|
'tab' => 'h3',
|
|
'ext' => '',
|
|
'min' => 100,
|
|
'max' => 900,
|
|
'increment' => 100
|
|
),
|
|
array(
|
|
'label' => __( 'Font Family', 'dslc_string' ),
|
|
'id' => 'css_h3_font_family',
|
|
'std' => 'Open Sans',
|
|
'type' => 'font',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h3',
|
|
'affect_on_change_rule' => 'font-family',
|
|
'section' => 'styling',
|
|
'tab' => 'h3',
|
|
),
|
|
array(
|
|
'label' => __( 'Line Height', 'dslc_string' ),
|
|
'id' => 'css_h3_line_height',
|
|
'std' => '22',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h3',
|
|
'affect_on_change_rule' => 'line-height',
|
|
'section' => 'styling',
|
|
'tab' => 'h3',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'Margin Bottom', 'dslc_string' ),
|
|
'id' => 'css_h3_margin_bottom',
|
|
'std' => '15',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h3',
|
|
'affect_on_change_rule' => 'margin-bottom',
|
|
'section' => 'styling',
|
|
'tab' => 'h3',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'Padding Vertical', 'dslc_string' ),
|
|
'id' => 'css_h3_padding_vertical',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h3',
|
|
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
|
'section' => 'styling',
|
|
'ext' => 'px',
|
|
'tab' => 'h3'
|
|
),
|
|
array(
|
|
'label' => __( 'Padding Horizontal', 'dslc_string' ),
|
|
'id' => 'css_h3_padding_horizontal',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h3',
|
|
'affect_on_change_rule' => 'padding-left,padding-right',
|
|
'section' => 'styling',
|
|
'ext' => 'px',
|
|
'tab' => 'h3'
|
|
),
|
|
array(
|
|
'label' => __( 'Text Align', 'dslc_string' ),
|
|
'id' => 'css_h3_text_align',
|
|
'std' => 'left',
|
|
'type' => 'select',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h3',
|
|
'affect_on_change_rule' => 'text-align',
|
|
'section' => 'styling',
|
|
'tab' => 'h3',
|
|
'choices' => array(
|
|
array(
|
|
'label' => __( 'Left', 'dslc_string' ),
|
|
'value' => 'left',
|
|
),
|
|
array(
|
|
'label' => __( 'Center', 'dslc_string' ),
|
|
'value' => 'center',
|
|
),
|
|
array(
|
|
'label' => __( 'Right', 'dslc_string' ),
|
|
'value' => 'right',
|
|
),
|
|
)
|
|
),
|
|
|
|
/**
|
|
* Heading 4
|
|
*/
|
|
|
|
array(
|
|
'label' => __( ' BG Color', 'dslc_string' ),
|
|
'id' => 'css_h4_bg_color',
|
|
'std' => '',
|
|
'type' => 'color',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h4',
|
|
'affect_on_change_rule' => 'background-color',
|
|
'section' => 'styling',
|
|
'tab' => 'h4'
|
|
),
|
|
array(
|
|
'label' => __( 'Border Color', 'dslc_string' ),
|
|
'id' => 'css_h4_border_color',
|
|
'std' => '',
|
|
'type' => 'color',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h4',
|
|
'affect_on_change_rule' => 'border-color',
|
|
'section' => 'styling',
|
|
'tab' => 'h4'
|
|
),
|
|
array(
|
|
'label' => __( 'Border Width', 'dslc_string' ),
|
|
'id' => 'css_h4_border_width',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h4',
|
|
'affect_on_change_rule' => 'border-width',
|
|
'section' => 'styling',
|
|
'ext' => 'px',
|
|
'tab' => 'h4'
|
|
),
|
|
array(
|
|
'label' => __( 'Borders', 'dslc_string' ),
|
|
'id' => 'css_h4_border_trbl',
|
|
'std' => 'top right bottom left',
|
|
'type' => 'checkbox',
|
|
'choices' => array(
|
|
array(
|
|
'label' => __( 'Top', 'dslc_string' ),
|
|
'value' => 'top'
|
|
),
|
|
array(
|
|
'label' => __( 'Right', 'dslc_string' ),
|
|
'value' => 'right'
|
|
),
|
|
array(
|
|
'label' => __( 'Bottom', 'dslc_string' ),
|
|
'value' => 'bottom'
|
|
),
|
|
array(
|
|
'label' => __( 'Left', 'dslc_string' ),
|
|
'value' => 'left'
|
|
),
|
|
),
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h4',
|
|
'affect_on_change_rule' => 'border-style',
|
|
'section' => 'styling',
|
|
'tab' => 'h4'
|
|
),
|
|
array(
|
|
'label' => __( 'Border Radius - Top', 'dslc_string' ),
|
|
'id' => 'css_h4_border_radius_top',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h4',
|
|
'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius',
|
|
'section' => 'styling',
|
|
'ext' => 'px',
|
|
'tab' => 'h4'
|
|
),
|
|
array(
|
|
'label' => __( 'Border Radius - Bottom', 'dslc_string' ),
|
|
'id' => 'css_h4_border_radius_bottom',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h4',
|
|
'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius',
|
|
'section' => 'styling',
|
|
'ext' => 'px',
|
|
'tab' => 'h4'
|
|
),
|
|
array(
|
|
'label' => __( 'Color', 'dslc_string' ),
|
|
'id' => 'css_h4_color',
|
|
'std' => '',
|
|
'type' => 'color',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h4',
|
|
'affect_on_change_rule' => 'color',
|
|
'section' => 'styling',
|
|
'tab' => 'h4'
|
|
),
|
|
array(
|
|
'label' => __( 'Font Size', 'dslc_string' ),
|
|
'id' => 'css_h4_font_size',
|
|
'std' => '13',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h4',
|
|
'affect_on_change_rule' => 'font-size',
|
|
'section' => 'styling',
|
|
'tab' => 'h4',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'Font Weight', 'dslc_string' ),
|
|
'id' => 'css_h4_font_weight',
|
|
'std' => '400',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h4',
|
|
'affect_on_change_rule' => 'font-weight',
|
|
'section' => 'styling',
|
|
'tab' => 'h4',
|
|
'ext' => '',
|
|
'min' => 100,
|
|
'max' => 900,
|
|
'increment' => 100
|
|
),
|
|
array(
|
|
'label' => __( 'Font Family', 'dslc_string' ),
|
|
'id' => 'css_h4_font_family',
|
|
'std' => 'Open Sans',
|
|
'type' => 'font',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h4',
|
|
'affect_on_change_rule' => 'font-family',
|
|
'section' => 'styling',
|
|
'tab' => 'h4',
|
|
),
|
|
array(
|
|
'label' => __( 'Line Height', 'dslc_string' ),
|
|
'id' => 'css_h4_line_height',
|
|
'std' => '22',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h4',
|
|
'affect_on_change_rule' => 'line-height',
|
|
'section' => 'styling',
|
|
'tab' => 'h4',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'Margin Bottom', 'dslc_string' ),
|
|
'id' => 'css_h4_margin_bottom',
|
|
'std' => '15',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h4',
|
|
'affect_on_change_rule' => 'margin-bottom',
|
|
'section' => 'styling',
|
|
'tab' => 'h4',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'Padding Vertical', 'dslc_string' ),
|
|
'id' => 'css_h4_padding_vertical',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h4',
|
|
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
|
'section' => 'styling',
|
|
'ext' => 'px',
|
|
'tab' => 'h4'
|
|
),
|
|
array(
|
|
'label' => __( 'Padding Horizontal', 'dslc_string' ),
|
|
'id' => 'css_h4_padding_horizontal',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h4',
|
|
'affect_on_change_rule' => 'padding-left,padding-right',
|
|
'section' => 'styling',
|
|
'ext' => 'px',
|
|
'tab' => 'h4'
|
|
),
|
|
array(
|
|
'label' => __( 'Text Align', 'dslc_string' ),
|
|
'id' => 'css_h4_text_align',
|
|
'std' => 'left',
|
|
'type' => 'select',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h4',
|
|
'affect_on_change_rule' => 'text-align',
|
|
'section' => 'styling',
|
|
'tab' => 'h4',
|
|
'choices' => array(
|
|
array(
|
|
'label' => __( 'Left', 'dslc_string' ),
|
|
'value' => 'left',
|
|
),
|
|
array(
|
|
'label' => __( 'Center', 'dslc_string' ),
|
|
'value' => 'center',
|
|
),
|
|
array(
|
|
'label' => __( 'Right', 'dslc_string' ),
|
|
'value' => 'right',
|
|
),
|
|
)
|
|
),
|
|
|
|
/**
|
|
* Heading 5
|
|
*/
|
|
|
|
array(
|
|
'label' => __( ' BG Color', 'dslc_string' ),
|
|
'id' => 'css_h5_bg_color',
|
|
'std' => '',
|
|
'type' => 'color',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h5',
|
|
'affect_on_change_rule' => 'background-color',
|
|
'section' => 'styling',
|
|
'tab' => 'h5'
|
|
),
|
|
array(
|
|
'label' => __( 'Border Color', 'dslc_string' ),
|
|
'id' => 'css_h5_border_color',
|
|
'std' => '',
|
|
'type' => 'color',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h5',
|
|
'affect_on_change_rule' => 'border-color',
|
|
'section' => 'styling',
|
|
'tab' => 'h5'
|
|
),
|
|
array(
|
|
'label' => __( 'Border Width', 'dslc_string' ),
|
|
'id' => 'css_h5_border_width',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h5',
|
|
'affect_on_change_rule' => 'border-width',
|
|
'section' => 'styling',
|
|
'ext' => 'px',
|
|
'tab' => 'h5'
|
|
),
|
|
array(
|
|
'label' => __( 'Borders', 'dslc_string' ),
|
|
'id' => 'css_h5_border_trbl',
|
|
'std' => 'top right bottom left',
|
|
'type' => 'checkbox',
|
|
'choices' => array(
|
|
array(
|
|
'label' => __( 'Top', 'dslc_string' ),
|
|
'value' => 'top'
|
|
),
|
|
array(
|
|
'label' => __( 'Right', 'dslc_string' ),
|
|
'value' => 'right'
|
|
),
|
|
array(
|
|
'label' => __( 'Bottom', 'dslc_string' ),
|
|
'value' => 'bottom'
|
|
),
|
|
array(
|
|
'label' => __( 'Left', 'dslc_string' ),
|
|
'value' => 'left'
|
|
),
|
|
),
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h5',
|
|
'affect_on_change_rule' => 'border-style',
|
|
'section' => 'styling',
|
|
'tab' => 'h5'
|
|
),
|
|
array(
|
|
'label' => __( 'Border Radius - Top', 'dslc_string' ),
|
|
'id' => 'css_h5_border_radius_top',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h5',
|
|
'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius',
|
|
'section' => 'styling',
|
|
'ext' => 'px',
|
|
'tab' => 'h5'
|
|
),
|
|
array(
|
|
'label' => __( 'Border Radius - Bottom', 'dslc_string' ),
|
|
'id' => 'css_h5_border_radius_bottom',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h5',
|
|
'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius',
|
|
'section' => 'styling',
|
|
'ext' => 'px',
|
|
'tab' => 'h5'
|
|
),
|
|
array(
|
|
'label' => __( 'Color', 'dslc_string' ),
|
|
'id' => 'css_h5_color',
|
|
'std' => '',
|
|
'type' => 'color',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h5',
|
|
'affect_on_change_rule' => 'color',
|
|
'section' => 'styling',
|
|
'tab' => 'h5'
|
|
),
|
|
array(
|
|
'label' => __( 'Font Size', 'dslc_string' ),
|
|
'id' => 'css_h5_font_size',
|
|
'std' => '13',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h5',
|
|
'affect_on_change_rule' => 'font-size',
|
|
'section' => 'styling',
|
|
'tab' => 'h5',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'Font Weight', 'dslc_string' ),
|
|
'id' => 'css_h5_font_weight',
|
|
'std' => '400',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h5',
|
|
'affect_on_change_rule' => 'font-weight',
|
|
'section' => 'styling',
|
|
'tab' => 'h5',
|
|
'ext' => '',
|
|
'min' => 100,
|
|
'max' => 900,
|
|
'increment' => 100
|
|
),
|
|
array(
|
|
'label' => __( 'Font Family', 'dslc_string' ),
|
|
'id' => 'css_h5_font_family',
|
|
'std' => 'Open Sans',
|
|
'type' => 'font',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h5',
|
|
'affect_on_change_rule' => 'font-family',
|
|
'section' => 'styling',
|
|
'tab' => 'h5',
|
|
),
|
|
array(
|
|
'label' => __( 'Line Height', 'dslc_string' ),
|
|
'id' => 'css_h5_line_height',
|
|
'std' => '22',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h5',
|
|
'affect_on_change_rule' => 'line-height',
|
|
'section' => 'styling',
|
|
'tab' => 'h5',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'Margin Bottom', 'dslc_string' ),
|
|
'id' => 'css_h5_margin_bottom',
|
|
'std' => '15',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h5',
|
|
'affect_on_change_rule' => 'margin-bottom',
|
|
'section' => 'styling',
|
|
'tab' => 'h5',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'Padding Vertical', 'dslc_string' ),
|
|
'id' => 'css_h5_padding_vertical',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h5',
|
|
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
|
'section' => 'styling',
|
|
'ext' => 'px',
|
|
'tab' => 'h5'
|
|
),
|
|
array(
|
|
'label' => __( 'Padding Horizontal', 'dslc_string' ),
|
|
'id' => 'css_h5_padding_horizontal',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h5',
|
|
'affect_on_change_rule' => 'padding-left,padding-right',
|
|
'section' => 'styling',
|
|
'ext' => 'px',
|
|
'tab' => 'h5'
|
|
),
|
|
array(
|
|
'label' => __( 'Text Align', 'dslc_string' ),
|
|
'id' => 'css_h5_text_align',
|
|
'std' => 'left',
|
|
'type' => 'select',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h5',
|
|
'affect_on_change_rule' => 'text-align',
|
|
'section' => 'styling',
|
|
'tab' => 'h5',
|
|
'choices' => array(
|
|
array(
|
|
'label' => __( 'Left', 'dslc_string' ),
|
|
'value' => 'left',
|
|
),
|
|
array(
|
|
'label' => __( 'Center', 'dslc_string' ),
|
|
'value' => 'center',
|
|
),
|
|
array(
|
|
'label' => __( 'Right', 'dslc_string' ),
|
|
'value' => 'right',
|
|
),
|
|
)
|
|
),
|
|
|
|
/**
|
|
* Heading 6
|
|
*/
|
|
|
|
array(
|
|
'label' => __( ' BG Color', 'dslc_string' ),
|
|
'id' => 'css_h6_bg_color',
|
|
'std' => '',
|
|
'type' => 'color',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h6',
|
|
'affect_on_change_rule' => 'background-color',
|
|
'section' => 'styling',
|
|
'tab' => 'h6'
|
|
),
|
|
array(
|
|
'label' => __( 'Border Color', 'dslc_string' ),
|
|
'id' => 'css_h6_border_color',
|
|
'std' => '',
|
|
'type' => 'color',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h6',
|
|
'affect_on_change_rule' => 'border-color',
|
|
'section' => 'styling',
|
|
'tab' => 'h6'
|
|
),
|
|
array(
|
|
'label' => __( 'Border Width', 'dslc_string' ),
|
|
'id' => 'css_h6_border_width',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h6',
|
|
'affect_on_change_rule' => 'border-width',
|
|
'section' => 'styling',
|
|
'ext' => 'px',
|
|
'tab' => 'h6'
|
|
),
|
|
array(
|
|
'label' => __( 'Borders', 'dslc_string' ),
|
|
'id' => 'css_h6_border_trbl',
|
|
'std' => 'top right bottom left',
|
|
'type' => 'checkbox',
|
|
'choices' => array(
|
|
array(
|
|
'label' => __( 'Top', 'dslc_string' ),
|
|
'value' => 'top'
|
|
),
|
|
array(
|
|
'label' => __( 'Right', 'dslc_string' ),
|
|
'value' => 'right'
|
|
),
|
|
array(
|
|
'label' => __( 'Bottom', 'dslc_string' ),
|
|
'value' => 'bottom'
|
|
),
|
|
array(
|
|
'label' => __( 'Left', 'dslc_string' ),
|
|
'value' => 'left'
|
|
),
|
|
),
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h6',
|
|
'affect_on_change_rule' => 'border-style',
|
|
'section' => 'styling',
|
|
'tab' => 'h6'
|
|
),
|
|
array(
|
|
'label' => __( 'Border Radius - Top', 'dslc_string' ),
|
|
'id' => 'css_h6_border_radius_top',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h6',
|
|
'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius',
|
|
'section' => 'styling',
|
|
'ext' => 'px',
|
|
'tab' => 'h6'
|
|
),
|
|
array(
|
|
'label' => __( 'Border Radius - Bottom', 'dslc_string' ),
|
|
'id' => 'css_h6_border_radius_bottom',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h6',
|
|
'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius',
|
|
'section' => 'styling',
|
|
'ext' => 'px',
|
|
'tab' => 'h6'
|
|
),
|
|
array(
|
|
'label' => __( 'Color', 'dslc_string' ),
|
|
'id' => 'css_h6_color',
|
|
'std' => '',
|
|
'type' => 'color',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h6',
|
|
'affect_on_change_rule' => 'color',
|
|
'section' => 'styling',
|
|
'tab' => 'h6'
|
|
),
|
|
array(
|
|
'label' => __( 'Font Size', 'dslc_string' ),
|
|
'id' => 'css_h6_font_size',
|
|
'std' => '13',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h6',
|
|
'affect_on_change_rule' => 'font-size',
|
|
'section' => 'styling',
|
|
'tab' => 'h6',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'Font Weight', 'dslc_string' ),
|
|
'id' => 'css_h6_font_weight',
|
|
'std' => '400',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h6',
|
|
'affect_on_change_rule' => 'font-weight',
|
|
'section' => 'styling',
|
|
'tab' => 'h6',
|
|
'ext' => '',
|
|
'min' => 100,
|
|
'max' => 900,
|
|
'increment' => 100
|
|
),
|
|
array(
|
|
'label' => __( 'Font Family', 'dslc_string' ),
|
|
'id' => 'css_h6_font_family',
|
|
'std' => 'Open Sans',
|
|
'type' => 'font',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h6',
|
|
'affect_on_change_rule' => 'font-family',
|
|
'section' => 'styling',
|
|
'tab' => 'h6',
|
|
),
|
|
array(
|
|
'label' => __( 'Line Height', 'dslc_string' ),
|
|
'id' => 'css_h6_line_height',
|
|
'std' => '22',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h6',
|
|
'affect_on_change_rule' => 'line-height',
|
|
'section' => 'styling',
|
|
'tab' => 'h6',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'Margin Bottom', 'dslc_string' ),
|
|
'id' => 'css_h6_margin_bottom',
|
|
'std' => '15',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h6',
|
|
'affect_on_change_rule' => 'margin-bottom',
|
|
'section' => 'styling',
|
|
'tab' => 'h6',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'Padding Vertical', 'dslc_string' ),
|
|
'id' => 'css_h6_padding_vertical',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h6',
|
|
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
|
'section' => 'styling',
|
|
'ext' => 'px',
|
|
'tab' => 'h6'
|
|
),
|
|
array(
|
|
'label' => __( 'Padding Horizontal', 'dslc_string' ),
|
|
'id' => 'css_h6_padding_horizontal',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h6',
|
|
'affect_on_change_rule' => 'padding-left,padding-right',
|
|
'section' => 'styling',
|
|
'ext' => 'px',
|
|
'tab' => 'h6'
|
|
),
|
|
array(
|
|
'label' => __( 'Text Align', 'dslc_string' ),
|
|
'id' => 'css_h6_text_align',
|
|
'std' => 'left',
|
|
'type' => 'select',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h6',
|
|
'affect_on_change_rule' => 'text-align',
|
|
'section' => 'styling',
|
|
'tab' => 'h6',
|
|
'choices' => array(
|
|
array(
|
|
'label' => __( 'Left', 'dslc_string' ),
|
|
'value' => 'left',
|
|
),
|
|
array(
|
|
'label' => __( 'Center', 'dslc_string' ),
|
|
'value' => 'center',
|
|
),
|
|
array(
|
|
'label' => __( 'Right', 'dslc_string' ),
|
|
'value' => 'right',
|
|
),
|
|
)
|
|
),
|
|
|
|
/**
|
|
* Links
|
|
*/
|
|
|
|
array(
|
|
'label' => __( 'Link Color', 'dslc_string' ),
|
|
'id' => 'css_link_color',
|
|
'std' => '',
|
|
'type' => 'color',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content a',
|
|
'affect_on_change_rule' => 'color',
|
|
'section' => 'styling',
|
|
'tab' => 'links'
|
|
),
|
|
array(
|
|
'label' => __( 'Link - Hover Color', 'dslc_string' ),
|
|
'id' => 'css_link_color_hover',
|
|
'std' => '',
|
|
'type' => 'color',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content a:hover',
|
|
'affect_on_change_rule' => 'color',
|
|
'section' => 'styling',
|
|
'tab' => 'links'
|
|
),
|
|
|
|
/**
|
|
* Responsive Tablet
|
|
*/
|
|
|
|
array(
|
|
'label' => __( 'Responsive', 'dslc_string' ),
|
|
'id' => 'css_res_t',
|
|
'std' => 'disabled',
|
|
'type' => 'select',
|
|
'choices' => array(
|
|
array(
|
|
'label' => __( 'Disabled', 'dslc_string' ),
|
|
'value' => 'disabled'
|
|
),
|
|
array(
|
|
'label' => __( 'Enabled', 'dslc_string' ),
|
|
'value' => 'enabled'
|
|
),
|
|
),
|
|
'section' => 'responsive',
|
|
'tab' => 'tablet',
|
|
),
|
|
array(
|
|
'label' => __( 'Margin Bottom', 'dslc_string' ),
|
|
'id' => 'css_res_t_margin_bottom',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content',
|
|
'affect_on_change_rule' => 'margin-bottom',
|
|
'section' => 'responsive',
|
|
'tab' => 'tablet',
|
|
'ext' => 'px',
|
|
),
|
|
array(
|
|
'label' => __( 'Padding Vertical', 'dslc_string' ),
|
|
'id' => 'css_res_t_main_padding_vertical',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content',
|
|
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
|
'section' => 'responsive',
|
|
'tab' => 'tablet',
|
|
'ext' => 'px',
|
|
),
|
|
array(
|
|
'label' => __( 'Padding Horizontal', 'dslc_string' ),
|
|
'id' => 'css_res_t_main_padding_horizontal',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content',
|
|
'affect_on_change_rule' => 'padding-left,padding-right',
|
|
'section' => 'responsive',
|
|
'tab' => 'tablet',
|
|
'ext' => 'px',
|
|
),
|
|
array(
|
|
'label' => __( 'Font Size', 'dslc_string' ),
|
|
'id' => 'css_res_t_main_font_size',
|
|
'std' => '13',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content',
|
|
'affect_on_change_rule' => 'font-size',
|
|
'section' => 'responsive',
|
|
'tab' => 'tablet',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'Line Height', 'dslc_string' ),
|
|
'id' => 'css_res_t_main_line_height',
|
|
'std' => '22',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content',
|
|
'affect_on_change_rule' => 'line-height',
|
|
'section' => 'responsive',
|
|
'tab' => 'tablet',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'H2 - Font Size', 'dslc_string' ),
|
|
'id' => 'css_res_t_h2_font_size',
|
|
'std' => '13',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h2',
|
|
'affect_on_change_rule' => 'font-size',
|
|
'section' => 'responsive',
|
|
'tab' => 'tablet',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'H2 - Line Height', 'dslc_string' ),
|
|
'id' => 'css_res_t_h2_line_height',
|
|
'std' => '13',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h2',
|
|
'affect_on_change_rule' => 'line-height',
|
|
'section' => 'responsive',
|
|
'tab' => 'tablet',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'H2 - Margin Bottom', 'dslc_string' ),
|
|
'id' => 'css_res_t_h2_margin_bottom',
|
|
'std' => '15',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h2',
|
|
'affect_on_change_rule' => 'margin-bottom',
|
|
'section' => 'responsive',
|
|
'tab' => 'tablet',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'H3 - Font Size', 'dslc_string' ),
|
|
'id' => 'css_res_t_h3_font_size',
|
|
'std' => '13',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h3',
|
|
'affect_on_change_rule' => 'font-size',
|
|
'section' => 'responsive',
|
|
'tab' => 'tablet',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'H3 - Line Height', 'dslc_string' ),
|
|
'id' => 'css_res_t_h3_line_height',
|
|
'std' => '13',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h3',
|
|
'affect_on_change_rule' => 'line-height',
|
|
'section' => 'responsive',
|
|
'tab' => 'tablet',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'H3 - Margin Bottom', 'dslc_string' ),
|
|
'id' => 'css_res_t_h3_margin_bottom',
|
|
'std' => '15',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h3',
|
|
'affect_on_change_rule' => 'margin-bottom',
|
|
'section' => 'responsive',
|
|
'tab' => 'tablet',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'H4 - Font Size', 'dslc_string' ),
|
|
'id' => 'css_res_t_h4_font_size',
|
|
'std' => '13',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h4',
|
|
'affect_on_change_rule' => 'font-size',
|
|
'section' => 'responsive',
|
|
'tab' => 'tablet',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'H4 - Line Height', 'dslc_string' ),
|
|
'id' => 'css_res_t_h4_line_height',
|
|
'std' => '13',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h4',
|
|
'affect_on_change_rule' => 'line-height',
|
|
'section' => 'responsive',
|
|
'tab' => 'tablet',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'H4 - Margin Bottom', 'dslc_string' ),
|
|
'id' => 'css_res_t_h4_margin_bottom',
|
|
'std' => '15',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h4',
|
|
'affect_on_change_rule' => 'margin-bottom',
|
|
'section' => 'responsive',
|
|
'tab' => 'tablet',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'H5 - Font Size', 'dslc_string' ),
|
|
'id' => 'css_res_t_h5_font_size',
|
|
'std' => '13',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h5',
|
|
'affect_on_change_rule' => 'font-size',
|
|
'section' => 'responsive',
|
|
'tab' => 'tablet',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'H5 - Line Height', 'dslc_string' ),
|
|
'id' => 'css_res_t_h5_line_height',
|
|
'std' => '13',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h5',
|
|
'affect_on_change_rule' => 'line-height',
|
|
'section' => 'responsive',
|
|
'tab' => 'tablet',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'H5 - Margin Bottom', 'dslc_string' ),
|
|
'id' => 'css_res_t_h5_margin_bottom',
|
|
'std' => '15',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h5',
|
|
'affect_on_change_rule' => 'margin-bottom',
|
|
'section' => 'responsive',
|
|
'tab' => 'tablet',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'H6 - Font Size', 'dslc_string' ),
|
|
'id' => 'css_res_t_h6_font_size',
|
|
'std' => '13',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h6',
|
|
'affect_on_change_rule' => 'font-size',
|
|
'section' => 'responsive',
|
|
'tab' => 'tablet',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'H6 - Line Height', 'dslc_string' ),
|
|
'id' => 'css_res_t_h6_line_height',
|
|
'std' => '13',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h6',
|
|
'affect_on_change_rule' => 'line-height',
|
|
'section' => 'responsive',
|
|
'tab' => 'tablet',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'H6 - Margin Bottom', 'dslc_string' ),
|
|
'id' => 'css_res_t_h6_margin_bottom',
|
|
'std' => '15',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h6',
|
|
'affect_on_change_rule' => 'margin-bottom',
|
|
'section' => 'responsive',
|
|
'tab' => 'tablet',
|
|
'ext' => 'px'
|
|
),
|
|
|
|
|
|
|
|
/**
|
|
* Responsive Phone
|
|
*/
|
|
|
|
array(
|
|
'label' => __( 'Responsive', 'dslc_string' ),
|
|
'id' => 'css_res_p',
|
|
'std' => 'disabled',
|
|
'type' => 'select',
|
|
'choices' => array(
|
|
array(
|
|
'label' => __( 'Disabled', 'dslc_string' ),
|
|
'value' => 'disabled'
|
|
),
|
|
array(
|
|
'label' => __( 'Enabled', 'dslc_string' ),
|
|
'value' => 'enabled'
|
|
),
|
|
),
|
|
'section' => 'responsive',
|
|
'tab' => 'phone',
|
|
),
|
|
array(
|
|
'label' => __( 'Margin Bottom', 'dslc_string' ),
|
|
'id' => 'css_res_ph_margin_bottom',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content',
|
|
'affect_on_change_rule' => 'margin-bottom',
|
|
'section' => 'responsive',
|
|
'tab' => 'phone',
|
|
'ext' => 'px',
|
|
),
|
|
array(
|
|
'label' => __( 'Padding Vertical', 'dslc_string' ),
|
|
'id' => 'css_res_ph_main_padding_vertical',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content',
|
|
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
|
'section' => 'responsive',
|
|
'tab' => 'phone',
|
|
'ext' => 'px',
|
|
),
|
|
array(
|
|
'label' => __( 'Padding Horizontal', 'dslc_string' ),
|
|
'id' => 'css_res_ph_main_padding_horizontal',
|
|
'std' => '0',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content',
|
|
'affect_on_change_rule' => 'padding-left,padding-right',
|
|
'section' => 'responsive',
|
|
'tab' => 'phone',
|
|
'ext' => 'px',
|
|
),
|
|
array(
|
|
'label' => __( 'Font Size', 'dslc_string' ),
|
|
'id' => 'css_res_ph_main_font_size',
|
|
'std' => '13',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content',
|
|
'affect_on_change_rule' => 'font-size',
|
|
'section' => 'responsive',
|
|
'tab' => 'phone',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'Line Height', 'dslc_string' ),
|
|
'id' => 'css_res_ph_main_line_height',
|
|
'std' => '22',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content',
|
|
'affect_on_change_rule' => 'line-height',
|
|
'section' => 'responsive',
|
|
'tab' => 'phone',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'H2 - Font Size', 'dslc_string' ),
|
|
'id' => 'css_res_ph_h2_font_size',
|
|
'std' => '13',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h2',
|
|
'affect_on_change_rule' => 'font-size',
|
|
'section' => 'responsive',
|
|
'tab' => 'phone',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'H2 - Line Height', 'dslc_string' ),
|
|
'id' => 'css_res_ph_h2_line_height',
|
|
'std' => '13',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h2',
|
|
'affect_on_change_rule' => 'line-height',
|
|
'section' => 'responsive',
|
|
'tab' => 'phone',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'H2 - Margin Bottom', 'dslc_string' ),
|
|
'id' => 'css_res_p_h2_margin_bottom',
|
|
'std' => '15',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h2',
|
|
'affect_on_change_rule' => 'margin-bottom',
|
|
'section' => 'responsive',
|
|
'tab' => 'phone',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'H3 - Font Size', 'dslc_string' ),
|
|
'id' => 'css_res_ph_h3_font_size',
|
|
'std' => '13',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h3',
|
|
'affect_on_change_rule' => 'font-size',
|
|
'section' => 'responsive',
|
|
'tab' => 'phone',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'H3 - Line Height', 'dslc_string' ),
|
|
'id' => 'css_res_ph_h3_line_height',
|
|
'std' => '13',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h3',
|
|
'affect_on_change_rule' => 'line-height',
|
|
'section' => 'responsive',
|
|
'tab' => 'phone',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'H3 - Margin Bottom', 'dslc_string' ),
|
|
'id' => 'css_res_p_h3_margin_bottom',
|
|
'std' => '15',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h3',
|
|
'affect_on_change_rule' => 'margin-bottom',
|
|
'section' => 'responsive',
|
|
'tab' => 'phone',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'H4 - Font Size', 'dslc_string' ),
|
|
'id' => 'css_res_ph_h4_font_size',
|
|
'std' => '13',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h4',
|
|
'affect_on_change_rule' => 'font-size',
|
|
'section' => 'responsive',
|
|
'tab' => 'phone',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'H4 - Line Height', 'dslc_string' ),
|
|
'id' => 'css_res_ph_h4_line_height',
|
|
'std' => '13',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h4',
|
|
'affect_on_change_rule' => 'line-height',
|
|
'section' => 'responsive',
|
|
'tab' => 'phone',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'H4 - Margin Bottom', 'dslc_string' ),
|
|
'id' => 'css_res_p_h4_margin_bottom',
|
|
'std' => '15',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h4',
|
|
'affect_on_change_rule' => 'margin-bottom',
|
|
'section' => 'responsive',
|
|
'tab' => 'phone',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'H5 - Font Size', 'dslc_string' ),
|
|
'id' => 'css_res_ph_h5_font_size',
|
|
'std' => '13',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h5',
|
|
'affect_on_change_rule' => 'font-size',
|
|
'section' => 'responsive',
|
|
'tab' => 'phone',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'H5 - Line Height', 'dslc_string' ),
|
|
'id' => 'css_res_ph_h5_line_height',
|
|
'std' => '13',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h5',
|
|
'affect_on_change_rule' => 'line-height',
|
|
'section' => 'responsive',
|
|
'tab' => 'phone',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'H5 - Margin Bottom', 'dslc_string' ),
|
|
'id' => 'css_res_p_h5_margin_bottom',
|
|
'std' => '15',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h5',
|
|
'affect_on_change_rule' => 'margin-bottom',
|
|
'section' => 'responsive',
|
|
'tab' => 'phone',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'H6 - Font Size', 'dslc_string' ),
|
|
'id' => 'css_res_ph_h6_font_size',
|
|
'std' => '13',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h6',
|
|
'affect_on_change_rule' => 'font-size',
|
|
'section' => 'responsive',
|
|
'tab' => 'phone',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'H6 - Line Height', 'dslc_string' ),
|
|
'id' => 'css_res_ph_h6_line_height',
|
|
'std' => '13',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h6',
|
|
'affect_on_change_rule' => 'line-height',
|
|
'section' => 'responsive',
|
|
'tab' => 'phone',
|
|
'ext' => 'px'
|
|
),
|
|
array(
|
|
'label' => __( 'H6 - Margin Bottom', 'dslc_string' ),
|
|
'id' => 'css_res_p_h6_margin_bottom',
|
|
'std' => '15',
|
|
'type' => 'slider',
|
|
'refresh_on_change' => false,
|
|
'affect_on_change_el' => '.dslc-text-module-content h6',
|
|
'affect_on_change_rule' => 'margin-bottom',
|
|
'section' => 'responsive',
|
|
'tab' => 'phone',
|
|
'ext' => 'px'
|
|
),
|
|
|
|
);
|
|
|
|
return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
|
|
|
|
}
|
|
|
|
function output( $options ) {
|
|
|
|
global $dslc_active;
|
|
|
|
$this->module_start( $options );
|
|
|
|
/* Module output starts here */
|
|
|
|
?><div class="dslc-text-module-content"><?php
|
|
|
|
if ( $dslc_active ) {
|
|
?><div class="dslca-editable-content" data-id="content"><?php
|
|
}
|
|
|
|
$output_content = stripslashes( $options['content'] );
|
|
$output_content = preg_replace('/(<[^>]+) style=".*?"/i', '$1', $output_content);
|
|
$output_content = do_shortcode( $output_content );
|
|
echo $output_content;
|
|
|
|
if ( $dslc_active ) {
|
|
?></div><!-- .dslca-editable-content --><?php
|
|
}
|
|
|
|
?></div><?php
|
|
|
|
/* Module output ends here */
|
|
|
|
$this->module_end( $options );
|
|
|
|
}
|
|
|
|
}
|