$infoBoxAlign ] ); $infoBoxStyle::addStyle( "$infoBoxSl", [ 'text-align' => $textAlign, 'width' => '0px' === $width || '0%' === $width || '0em' === $width ? '100%' : $width, GetCSS::getBackgroundCSS( $background ) => '', 'padding' => GetCSS::getSpaceCSS( $padding ), GetCSS::getBorderCSS( $border ) => '', 'box-shadow' => GetCSS::getShadowCSS( $shadow ) ] ); $infoBoxStyle::addStyle( "$infoBoxSl .infoBoxIcon", [ 'margin' => GetCSS::getSpaceCSS( $iconMargin ) ] ); $infoBoxStyle::addStyle( "$infoBoxSl .infoBoxIcon i", [ GetCSS::getIconCSS( $icon ) => '' ] ); $infoBoxStyle::addStyle( "$infoBoxSl .infoBoxTitle", [ 'color' => $titleColor, 'margin' => GetCSS::getSpaceCSS( $titleMargin ) ] ); $infoBoxStyle::addStyle( "$infoBoxSl .infoBoxDescription", [ 'color' => $descColor, 'margin' => GetCSS::getSpaceCSS( $descMargin ) ] ); $infoBoxStyle::addStyle( "$infoBoxSl .infoBoxButton", [ GetCSS::getColorsCSS( $btnColors ) => '', 'padding' => GetCSS::getSpaceCSS( $btnPadding ), GetCSS::getBorderCSS( $btnBorder ) => '' ] ); $infoBoxStyle::addStyle( "$infoBoxSl .infoBoxButton:hover", [ GetCSS::getColorsCSS( $btnHovColors ) => '' ] ); return GetCSS::getTypoCSS( '', $titleTypo )['googleFontLink'] . GetCSS::getTypoCSS( '', $descTypo )['googleFontLink'] . GetCSS::getTypoCSS( '', $btnTypo )['googleFontLink'] . GetCSS::getTypoCSS( "$infoBoxSl .infoBoxTitle", $titleTypo )['styles'] . GetCSS::getTypoCSS( "$infoBoxSl .infoBoxDescription", $descTypo )['styles'] . GetCSS::getTypoCSS( "$infoBoxSl .infoBoxButton", $btnTypo )['styles'] . $infoBoxStyle::renderStyle(); } } extract( $attributes ); $btnTab = $isLinkNewTab ? '_blank' : ''; ?>