$css, 'tablet_css' => $tablet_css, 'mobile_css' => $mobile_css, 'selector' => blocksy_assemble_selector( blocksy_mutate_selector([ 'selector' => $root_selector, 'operation' => 'suffix', 'to_add' => '.site-logo-container' ]) ), 'variableName' => 'maxHeight', 'value' => $logo_max_height, ]); } // Site title font blocksy_output_font_css([ 'font_value' => blocksy_akg('siteTitle', $atts, blocksy_typography_default_values([ 'size' => '25px', 'variation' => 'n7', // 'line-height' => '1.5' ]) ), 'css' => $css, 'tablet_css' => $tablet_css, 'mobile_css' => $mobile_css, 'selector' => blocksy_assemble_selector( blocksy_mutate_selector([ 'selector' => $root_selector, 'operation' => 'suffix', 'to_add' => '.site-title' ]) ), ]); // Site title color blocksy_output_colors([ 'value' => blocksy_akg('siteTitleColor', $atts), 'default' => [ 'default' => [ 'color' => 'var(--paletteColor4)' ], 'hover' => [ 'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT') ], ], 'css' => $css, 'tablet_css' => $tablet_css, 'mobile_css' => $mobile_css, 'variables' => [ 'default' => [ 'selector' => blocksy_assemble_selector( blocksy_mutate_selector([ 'selector' => $root_selector, 'operation' => 'suffix', 'to_add' => '.site-title' ]) ), 'variable' => 'linkInitialColor' ], 'hover' => [ 'selector' => blocksy_assemble_selector( blocksy_mutate_selector([ 'selector' => $root_selector, 'operation' => 'suffix', 'to_add' => '.site-title' ]) ), 'variable' => 'linkHoverColor' ], ], 'responsive' => true ]); if (isset($has_transparent_header) && $has_transparent_header) { blocksy_output_colors([ 'value' => blocksy_akg('transparentSiteTitleColor', $atts), 'default' => [ 'default' => [ 'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT') ], 'hover' => [ 'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT') ], ], 'css' => $css, 'tablet_css' => $tablet_css, 'mobile_css' => $mobile_css, 'variables' => [ 'default' => [ 'selector' => blocksy_assemble_selector( blocksy_mutate_selector([ 'selector' => blocksy_mutate_selector([ 'selector' => $root_selector, 'operation' => 'suffix', 'to_add' => '.site-title' ]), 'operation' => 'between', 'to_add' => '[data-transparent-row="yes"]' ]) ), 'variable' => 'linkInitialColor' ], 'hover' => [ 'selector' => blocksy_assemble_selector( blocksy_mutate_selector([ 'selector' => blocksy_mutate_selector([ 'selector' => $root_selector, 'operation' => 'suffix', 'to_add' => '.site-title' ]), 'operation' => 'between', 'to_add' => '[data-transparent-row="yes"]' ]) ), 'variable' => 'linkHoverColor' ], ], 'responsive' => true ]); // Site tagline color blocksy_output_colors([ 'value' => blocksy_akg('transparentSiteTaglineColor', $atts), 'default' => [ 'default' => ['color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT')], ], 'css' => $css, 'tablet_css' => $tablet_css, 'mobile_css' => $mobile_css, 'variables' => [ 'default' => [ 'selector' => blocksy_assemble_selector( blocksy_mutate_selector([ 'selector' => blocksy_mutate_selector([ 'selector' => $root_selector, 'operation' => 'suffix', 'to_add' => '.site-description' ]), 'operation' => 'between', 'to_add' => '[data-transparent-row="yes"]' ]) ), 'variable' => 'color' ], ], 'responsive' => true ]); } // sticky state if (isset($has_sticky_header) && $has_sticky_header) { blocksy_output_colors([ 'value' => blocksy_akg('stickySiteTitleColor', $atts), 'default' => [ 'default' => ['color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT')], 'hover' => ['color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT')], ], 'css' => $css, 'tablet_css' => $tablet_css, 'mobile_css' => $mobile_css, 'variables' => [ 'default' => [ 'selector' => blocksy_assemble_selector( blocksy_mutate_selector([ 'selector' => blocksy_mutate_selector([ 'selector' => $root_selector, 'operation' => 'suffix', 'to_add' => '.site-title' ]), 'operation' => 'between', 'to_add' => '[data-sticky*="yes"]' ]) ), 'variable' => 'linkInitialColor' ], 'hover' => [ 'selector' => blocksy_assemble_selector( blocksy_mutate_selector([ 'selector' => blocksy_mutate_selector([ 'selector' => $root_selector, 'operation' => 'suffix', 'to_add' => '.site-title' ]), 'operation' => 'between', 'to_add' => '[data-sticky*="yes"]' ]) ), 'variable' => 'linkHoverColor' ], ], 'responsive' => true ]); // Site tagline color blocksy_output_colors([ 'value' => blocksy_akg('stickySiteTaglineColor', $atts), 'default' => [ 'default' => [ 'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT') ], ], 'css' => $css, 'tablet_css' => $tablet_css, 'mobile_css' => $mobile_css, 'variables' => [ 'default' => [ 'selector' => blocksy_assemble_selector( blocksy_mutate_selector([ 'selector' => blocksy_mutate_selector([ 'selector' => $root_selector, 'operation' => 'suffix', 'to_add' => '.site-description' ]), 'operation' => 'between', 'to_add' => '[data-sticky*="yes"]' ]) ), 'variable' => 'color' ], ], 'responsive' => true ]); if (blocksy_akg('has_sticky_logo_shrink', $atts, 'no') === 'yes') { blocksy_output_responsive([ 'css' => $css, 'tablet_css' => $tablet_css, 'mobile_css' => $mobile_css, 'selector' => blocksy_assemble_selector(blocksy_mutate_selector([ 'selector' => $root_selector, 'to_add' => '[data-sticky]' ])), 'variableName' => 'stickyShrink', 'value' => blocksy_akg('sticky_logo_shrink', $atts, 70), 'unit' => '%' ]); } } // Site tagline font $has_tagline = blocksy_akg('has_tagline', $atts, 'no'); if ($has_tagline === 'yes') { blocksy_output_font_css([ 'font_value' => blocksy_akg('siteTagline', $atts, blocksy_typography_default_values([ 'size' => '13px', 'variation' => 'n5', ]) ), 'css' => $css, 'tablet_css' => $tablet_css, 'mobile_css' => $mobile_css, 'selector' => blocksy_assemble_selector( blocksy_mutate_selector([ 'selector' => $root_selector, 'operation' => 'suffix', 'to_add' => '.site-description' ]) ), ]); blocksy_output_colors([ 'value' => blocksy_akg('siteTaglineColor', $atts), 'default' => [ 'default' => [ 'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT') ], ], 'css' => $css, 'tablet_css' => $tablet_css, 'mobile_css' => $mobile_css, 'variables' => [ 'default' => [ 'selector' => blocksy_assemble_selector( blocksy_mutate_selector([ 'selector' => $root_selector, 'operation' => 'suffix', 'to_add' => '.site-description' ]) ), 'variable' => 'color' ], ], 'responsive' => true ]); } blocksy_output_spacing([ 'css' => $css, 'tablet_css' => $tablet_css, 'mobile_css' => $mobile_css, 'selector' => blocksy_assemble_selector($root_selector), 'important' => true, 'value' => blocksy_default_akg( 'headerLogoMargin', $atts, blocksy_spacing_value([ 'linked' => true, ]) ) ]);