@if $text_type === 'standard' { .$_el.x-text { @if $text_width !== 'auto' { width: $text_width; } @unless $text_max_width?? { max-width: $text_max_width; } margin: $text_margin; @unless $text_border_width?? || $text_border_style?? { border-width: $text_border_width; border-style: $text_border_style; border-color: $text_border_color; } @unless $text_border_radius?? { border-radius: $text_border_radius; } padding: $text_padding; font-family: $text_font_family; font-size: $text_font_size; font-style: $text_font_style; font-weight: $text_font_weight; line-height: $text_line_height; letter-spacing: $text_letter_spacing; @unless $text_text_align?? { text-align: $text_text_align; } @unless $text_text_decoration?? { text-decoration: $text_text_decoration; } @unless $text_text_shadow_dimensions?? { text-shadow: $text_text_shadow_dimensions $text_text_shadow_color; } text-transform: $text_text_transform; color: $text_text_color; @unless $text_text_bg_color === 'transparent' { background-color: $text_bg_color; } @unless $text_box_shadow_dimensions?? { box-shadow: $text_box_shadow_dimensions $text_box_shadow_color; } @if $text_columns === true { -webkit-columns: $text_columns_width $text_columns_count; columns: $text_columns_width $text_columns_count; -webkit-column-gap: $text_columns_gap; column-gap: $text_columns_gap; -webkit-column-rule: $text_columns_rule_width $text_columns_rule_style $text_columns_rule_color; column-rule: $text_columns_rule_width $text_columns_rule_style $text_columns_rule_color; } } .$_el.x-text > :first-child { margin-top: 0; } .$_el.x-text > :last-child { margin-bottom: 0; } @if $text_columns === true && $text_columns_break_inside === 'avoid' { .$_el.x-text > * { -webkit-column-break-inside: avoid; page-break-inside: avoid; break-inside: avoid; } } } @if $text_type === 'headline' { .$_el.x-text { @if $text_width !== 'auto' { width: $text_width; } @unless $text_max_width?? { max-width: $text_max_width; } margin: $text_margin; @unless $text_border_width?? || $text_border_style?? { border-width: $text_border_width; border-style: $text_border_style; border-color: $text_border_color; } @unless $text_border_radius?? { border-radius: $text_border_radius; } padding: $text_padding; font-size: $text_base_font_size; @unless $text_text_bg_color === 'transparent' { background-color: $text_bg_color; } @unless $text_box_shadow_dimensions?? { box-shadow: $text_box_shadow_dimensions $text_box_shadow_color; } } .$_el.x-text .x-text-content { @if $text_graphic === true { flex-direction: $text_flex_direction; justify-content: $text_flex_justify; align-items: $text_flex_align; @if $text_flex_wrap === true { flex-wrap: wrap; align-content: $text_flex_align; } } } .$_el.x-text .x-text-content-text { @if $text_graphic === true && $text_overflow === true && $text_flex_direction === 'column' { width: 100%; } @unless $text_content_margin?? { margin: $text_content_margin; } } .$_el.x-text .x-text-content-text-primary { margin: 0 calc($text_letter_spacing * -1) 0 0; font-family: $text_font_family; font-size: $text_font_size; font-style: $text_font_style; font-weight: $text_font_weight; line-height: $text_line_height; letter-spacing: $text_letter_spacing; @unless $text_text_align?? { text-align: $text_text_align; } @unless $text_text_decoration?? { text-decoration: $text_text_decoration; } @unless $text_text_shadow_dimensions?? { text-shadow: $text_text_shadow_dimensions $text_text_shadow_color; } text-transform: $text_text_transform; color: $text_text_color; @if $text_overflow === true { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } } @if $text_typing === true { @unless $text_typing_color === 'inherit' { .$_el.x-text .x-text-typing { color: $text_typing_color; } } @if $text_typing_cursor === true { @unless $text_typing_cursor_color === 'inherit' { .$_el.x-text .typed-cursor { color: $text_typing_cursor_color; } } } } @if $text_subheadline === true { .$_el.x-text .x-text-content-text-subheadline { @if $text_subheadline_reverse === false { margin: $text_subheadline_spacing calc($text_subheadline_letter_spacing * -1) 0 0; } @if $text_subheadline_reverse === true { margin: 0 calc($text_subheadline_letter_spacing * -1) $text_subheadline_spacing 0; } font-family: $text_subheadline_font_family; font-size: $text_subheadline_font_size; font-style: $text_subheadline_font_style; font-weight: $text_subheadline_font_weight; line-height: $text_subheadline_line_height; letter-spacing: $text_subheadline_letter_spacing; @unless $text_subheadline_text_align?? { text-align: $text_subheadline_text_align; } @unless $text_subheadline_text_decoration?? { text-decoration: $text_subheadline_text_decoration; } @unless $text_subheadline_text_shadow_dimensions?? { text-shadow: $text_subheadline_text_shadow_dimensions $text_subheadline_text_shadow_color; } text-transform: $text_subheadline_text_transform; color: $text_subheadline_text_color; @if $text_overflow === true { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } } } @if $text_graphic === true {
Fatal error: Uncaught Error: Call to undefined function cs_get_partial_style() in /home/ioscotland/public_html/wp-content/plugins/cornerstone/includes/views/styles/partials/text-css.php:311 Stack trace: #0 {main} thrown in /home/ioscotland/public_html/wp-content/plugins/cornerstone/includes/views/styles/partials/text-css.php on line 311