array( 'config' => array( 'Visibility' => array( 'config' => array( 'name' => '', 'label' => __( 'Visibility', 'thrive-cb' ), 'default' => true, ), 'extends' => 'Switch', ), 'InheritContentSize' => array( 'config' => array( 'name' => '', 'label' => __( 'Inherit content size from layout', 'thrive-cb' ), 'default' => true, ), 'extends' => 'Switch', ), 'StretchBackground' => array( 'config' => array( 'name' => '', 'label' => __( 'Stretch background to full width', 'thrive-cb' ), 'default' => true, ), 'extends' => 'Switch', ), 'ContentWidth' => array( 'config' => array( 'default' => '1080', 'min' => '1', 'max' => '1980', 'label' => __( 'Content Width', 'thrive-cb' ), 'um' => [ 'px' ], 'css' => 'max-width', ), 'extends' => 'Slider', ), 'StretchContent' => array( 'config' => array( 'name' => '', 'label' => __( 'Stretch content to full width', 'thrive-cb' ), 'default' => true, ), 'extends' => 'Switch', ), 'Height' => array( 'config' => array( 'default' => '1024', 'min' => '1', 'max' => '1000', 'label' => __( 'Footer Minimum Height', 'thrive-cb' ), 'um' => [ 'px', 'vh' ], 'css' => 'min-height', ), 'to' => $content_selector, 'extends' => 'Slider', ), 'FullHeight' => array( 'config' => array( 'name' => '', 'label' => __( 'Match height to screen', 'thrive-cb' ), 'default' => true, ), 'to' => $content_selector, 'extends' => 'Switch', ), 'VerticalPosition' => array( 'config' => array( 'name' => __( 'Vertical Position', 'thrive-cb' ), 'buttons' => [ [ 'icon' => 'top', 'default' => true, 'value' => '', ], [ 'icon' => 'vertical', 'value' => 'center', ], [ 'icon' => 'bot', 'value' => 'flex-end', ], ], ), 'to' => $content_selector, 'extends' => 'ButtonGroup', ), ), ), 'background' => [ 'config' => [ 'css_suffix' => ' .symbol-section-out', ], 'disabled_controls' => [], ], 'shadow' => [ 'config' => [ 'to' => $background_selector, ], ], 'layout' => [ 'disabled_controls' => [ '.tve-advanced-controls', 'Float', 'hr', 'Position', 'PositionFrom', 'zIndex', 'Width', 'Height', 'Alignment', 'Display' ], ], 'borders' => [ 'config' => [ 'Borders' => [], 'Corners' => [], 'css_suffix' => ' .thrive-symbol-shortcode', ], ], 'typography' => [ 'disabled_controls' => [], 'config' => [ 'to' => $content_selector, ], ], 'decoration' => [ 'config' => [ 'to' => $background_selector, ], ], 'animation' => [ 'hidden' => true ], 'styles-templates' => [ 'hidden' => true ], ); $components['layout']['config']['MarginAndPadding']['padding_to'] = $content_selector; return $components; } }