[ 'title' => __( 'General', 'blocksy' ), 'type' => 'tab', 'options' => [ 'footer_socials' => [ 'label' => false, 'type' => 'ct-layers', 'manageable' => true, 'desc' => sprintf( // translators: placeholder here means the actual URL. __( 'You can configure social URLs %shere%s.', 'blocksy' ), sprintf( '', admin_url('/customize.php?autofocus[section]=social_accounts') ), '' ), 'divider' => 'bottom', 'setting' => [ 'transport' => 'postMessage' ], 'value' => [ [ 'id' => 'facebook', 'enabled' => true, ], [ 'id' => 'twitter', 'enabled' => true, ], [ 'id' => 'instagram', 'enabled' => true, ], ], 'settings' => blocksy_get_social_networks_list() ], 'socialsIconSize' => [ 'label' => __( 'Icons Size', 'blocksy' ), 'type' => 'ct-slider', 'min' => 5, 'max' => 50, 'value' => 15, 'responsive' => true, 'setting' => [ 'transport' => 'postMessage' ], ], 'socialsIconSpacing' => [ 'label' => __( 'Icons Spacing', 'blocksy' ), 'type' => 'ct-slider', 'min' => 0, 'max' => 50, 'value' => 15, 'responsive' => true, 'divider' => 'bottom', 'setting' => [ 'transport' => 'postMessage' ], ], 'footerSocialsColor' => [ 'label' => __('Icons Color', 'blocksy'), 'type' => 'ct-radio', 'value' => 'custom', 'view' => 'text', 'design' => 'block', 'setting' => [ 'transport' => 'postMessage' ], 'choices' => [ 'custom' => __( 'Custom', 'blocksy' ), 'official' => __( 'Official', 'blocksy' ), ], ], 'socialsType' => [ 'label' => __('Icons Shape Type', 'blocksy'), 'type' => 'ct-radio', 'value' => 'simple', 'view' => 'text', 'design' => 'block', 'setting' => [ 'transport' => 'postMessage' ], 'choices' => [ 'simple' => __( 'None', 'blocksy' ), 'rounded' => __( 'Rounded', 'blocksy' ), 'square' => __( 'Square', 'blocksy' ), ], ], blocksy_rand_md5() => [ 'type' => 'ct-condition', 'condition' => [ 'socialsType' => '!simple' ], 'options' => [ 'socialsFillType' => [ 'label' => __('Shape Fill Type', 'blocksy'), 'type' => 'ct-radio', 'value' => 'solid', 'view' => 'text', 'design' => 'block', 'setting' => [ 'transport' => 'postMessage' ], 'choices' => [ 'solid' => __( 'Solid', 'blocksy' ), 'outline' => __( 'Outline', 'blocksy' ), ], ], ], ], blocksy_rand_md5() => [ 'type' => 'ct-divider', ], 'footerSocialsAlignment' => [ 'type' => 'ct-radio', 'label' => __( 'Horizontal Alignment', 'blocksy' ), 'view' => 'text', 'design' => 'block', 'disableRevertButton' => true, 'responsive' => true, 'attr' => [ 'data-type' => 'alignment' ], 'setting' => [ 'transport' => 'postMessage' ], 'choices' => [ 'flex-start' => '', 'center' => '', 'flex-end' => '', ], 'value' => [ 'desktop' => 'flex-start', 'tablet' => 'center', 'mobile' => 'center' ], ], 'footerSocialsVerticalAlignment' => [ 'type' => 'ct-radio', 'label' => __( 'Vertical Alignment', 'blocksy' ), 'view' => 'text', 'design' => 'block', 'divider' => 'top', 'disableRevertButton' => true, 'responsive' => true, 'attr' => [ 'data-type' => 'vertical-alignment' ], 'setting' => [ 'transport' => 'postMessage' ], 'choices' => [ 'flex-start' => '', 'center' => '', 'flex-end' => '', ], 'value' => [ 'desktop' => 'flex-start', 'tablet' => 'flex-start', 'mobile' => 'flex-start' ], ], blocksy_rand_md5() => [ 'type' => 'ct-divider', ], 'socialsLabelVisibility' => [ 'label' => __('Display Icons Label On', 'blocksy'), 'type' => 'ct-visibility', 'design' => 'block', 'allow_empty' => true, 'setting' => ['transport' => 'postMessage'], 'value' => [ 'desktop' => false, 'tablet' => false, 'mobile' => false, ], 'choices' => blocksy_ordered_keys([ 'desktop' => __('Desktop', 'blocksy'), 'tablet' => __('Tablet', 'blocksy'), 'mobile' => __('Mobile', 'blocksy'), ]), ], ], ], blocksy_rand_md5() => [ 'title' => __( 'Design', 'blocksy' ), 'type' => 'tab', 'options' => [ blocksy_rand_md5() => [ 'type' => 'ct-condition', 'condition' => [ 'footerSocialsColor' => 'custom' ], 'options' => [ 'footerSocialsIconColor' => [ 'label' => __( 'Icons Color', 'blocksy' ), 'type' => 'ct-color-picker', 'design' => 'block:right', 'divider' => 'bottom', 'responsive' => true, 'setting' => [ 'transport' => 'postMessage' ], 'value' => [ 'default' => [ 'color' => 'var(--color)', ], 'hover' => [ 'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'), ], ], 'pickers' => [ [ 'title' => __( 'Initial', 'blocksy' ), 'id' => 'default', ], [ 'title' => __( 'Hover', 'blocksy' ), 'id' => 'hover', 'inherit' => 'var(--linkHoverColor)' ], ], ], ], ], blocksy_rand_md5() => [ 'type' => 'ct-condition', 'condition' => [ 'socialsType' => '!simple' ], 'options' => [ 'footerSocialsIconBackground' => [ 'label' => [ __('Icons Background Color', 'blocksy') => [ 'socialsFillType' => 'solid' ], __('Icons Border Color', 'blocksy') => [ 'socialsFillType' => 'outline' ] ], 'type' => 'ct-color-picker', 'design' => 'block:right', 'divider' => 'bottom', 'responsive' => true, 'setting' => [ 'transport' => 'postMessage' ], 'value' => [ 'default' => [ 'color' => 'rgba(218, 222, 228, 0.3)', ], 'hover' => [ 'color' => 'var(--paletteColor1)', ], ], 'pickers' => [ [ 'title' => __( 'Initial', 'blocksy' ), 'id' => 'default', ], [ 'title' => __( 'Hover', 'blocksy' ), 'id' => 'hover', ], ], ], ], ], 'footerSocialsMargin' => [ 'label' => __( 'Margin', 'blocksy' ), 'type' => 'ct-spacing', 'setting' => [ 'transport' => 'postMessage' ], 'value' => blocksy_spacing_value([ 'linked' => true, ]), 'responsive' => true ], ], ], ];