is_lightbox(); } /** * Component and control config * * @return array */ public function own_components() { return array( 'lightbox' => array( 'config' => array( 'Switch' => array( 'to' => '> .tve_p_lb_close', 'config' => array( 'label' => __( 'Show "close" icon', 'thrive-cb' ), ), ), 'CloseColor' => array( 'to' => '> .tve_p_lb_close', 'config' => array( 'label' => __( 'Icon color', 'thrive-cb' ), ), 'extends' => 'ColorPicker', ), 'BorderColor' => array( 'to' => '> .tve_p_lb_close', 'config' => array( 'label' => __( 'Icon border', 'thrive-cb' ), ), 'extends' => 'ColorPicker', ), 'IconBg' => array( 'to' => '> .tve_p_lb_close', 'config' => array( 'label' => __( 'Icon background', 'thrive-cb' ), ), 'extends' => 'ColorPicker', ), 'OverlayColor' => array( 'to' => 'main::.tve_p_lb_overlay', 'config' => array( 'label' => __( 'Overlay color', 'thrive-cb' ), ), 'extends' => 'ColorPicker', ), ), ), 'borders' => [ 'config' => [ 'Borders' => [ 'important' => true, ], 'Corners' => [ 'important' => true, ], ], ], 'shadow' => [ 'config' => [ 'important' => true, ], ], 'animation' => [ 'hidden' => true, ], 'typography' => [ 'hidden' => true, ], 'responsive' => [ 'hidden' => true, ], 'styles-templates' => [ 'hidden' => true, ], 'layout' => [ 'config' => [ 'Width' => [ 'important' => true, ], ], 'disabled_controls' => [ 'Alignment', '.tve-advanced-controls', ], ], ); } }