tcb_selection_root() . ' ', 'css_suffix' => [ ' span', ' span::before' ], 'important' => true ); $wrapper_cfg = array( 'css_prefix' => tcb_selection_root() . ' ', 'css_suffix' => ' .t-digit-part' ); return array( 'countdown_digit' => array( 'config' => array( 'FontColor' => array_merge( $digit_cfg, [ 'config' => [ 'default' => '000', 'label' => 'Color', 'options' => [ 'output' => 'object', ], ], 'extends' => 'ColorPicker', ] ), 'TextStyle' => $digit_cfg, 'FontFace' => array_merge( $digit_cfg, [ 'config' => [ 'template' => 'controls/font-manager', 'inline' => false, ], ] ), 'BorderColor' => array( 'config' => array( 'default' => '000', 'label' => __( 'Divider color', 'thrive-cb' ), 'options' => [ 'output' => 'object', ], ), 'extends' => 'ColorPicker', ), 'BorderSize' => array( 'config' => array( 'min' => '0', 'max' => '12', 'step' => '0.5', 'um' => [ 'px' ], 'label' => __( 'Divider size', 'thrive-cb' ), ), 'extends' => 'Slider', ), 'BorderStyle' => array( 'config' => array( 'name' => __( 'Divider style', 'thrive-cb' ), 'options' => array( 'solid' => __( 'Solid', 'thrive-cb' ), 'dotted' => __( 'Dotted', 'thrive-cb' ), 'dashed' => __( 'Dashed', 'thrive-cb' ), ), ), 'extends' => 'Select', ), ), ), 'layout' => array( 'disabled_controls' => [ 'Display', 'Alignment', '.tve-advanced-controls', 'Width', 'Height' ], 'config' => array( 'MarginAndPadding' => array( 'css_prefix' => tcb_selection_root() . ' ', 'important' => true, 'padding_suffix' => [ ' .t-digit-part > span' ], ), ), ), 'typography' => [ 'hidden' => true, ], 'background' => [ 'config' => [ 'ColorPicker' => $digit_cfg, 'PreviewList' => $digit_cfg, ], ], 'borders' => array( 'config' => array( 'Borders' => $wrapper_cfg, 'Corners' => array_merge( $wrapper_cfg, [ 'overflow' => false ] ), ), ), 'responsive' => [ 'hidden' => true, ], 'shadow' => [ 'config' => $wrapper_cfg ], 'animation' => [ 'hidden' => true, ], ); } public function hide() { return true; } }