Customizing Card

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-card-padding-xmap.get( $kendo-spacing, 3 )
Description
The horizontal padding of the Card.
$kendo-card-padding-ymap.get( $kendo-spacing, 3 )
Description
The vertical padding of the Card.
$kendo-card-border-width0px
Description
The width of the border around the Card.
$kendo-card-border-radius$kendo-border-radius-md
Description
The border radius of the Card.
$kendo-card-inner-border-radiuscalc( #{$kendo-card-border-radius} - #{$kendo-card-border-width} )
Description
The inner border radius of the Card.
$kendo-card-font-familyvar( --kendo-font-family, inherit )
Description
The font family of the Card.
$kendo-card-font-sizevar( --kendo-font-size-sm, inherit )
Description
The font size of the Card.
$kendo-card-line-heightvar( --kendo-line-height, normal )
Description
The line height of the Card.
$kendo-card-deck-gapmap.get( $kendo-spacing, 4 )
Description
The spacing between the Cards in the Card deck.
$kendo-card-bgvar( --kendo-component-bg, initial )
Description
The background color of the Card.
$kendo-card-textvar( --kendo-component-text, initial )
Description
The text color of the Card.
$kendo-card-bordervar( --kendo-component-border, initial )
Description
The border color of the Card.
$kendo-card-shadowvar( --kendo-box-shadow-depth-1, none )
Description
The shadow of the Card.
$kendo-card-focus-bg$kendo-card-bg
Description
The background color of the focused Card.
$kendo-card-focus-textnull
Description
The text color of the focused Card.
$kendo-card-focus-bordervar( --kendo-component-border, initial )
Description
The border color of the focused Card.
$kendo-card-focus-shadowvar( --kendo-box-shadow-depth-3, none )
Description
The shadow of the focused Card.
$kendo-card-header-font-sizevar( --kendo-font-size-lg, inherit )
Description
The font size of the Card header.
$kendo-card-header-font-familyvar( --kendo-font-family, inherit )
Description
Тhe font family of the Card header.
$kendo-card-header-font-weightvar( --kendo-font-weight, initial )
Description
The font weight of the Card header.
$kendo-card-header-line-heightvar( --kendo-line-height, normal )
Description
The line height of the Card header.
$kendo-card-header-padding-xmap.get( $kendo-spacing, 3 )
Description
The horizontal padding of the Card header.
$kendo-card-header-padding-ymap.get( $kendo-spacing, 3 )
Description
The vertical padding of the Card header.
$kendo-card-header-border-width0
Description
The bottom border width of the Card header.
$kendo-card-header-bginherit
Description
The background color of the Card header.
$kendo-card-header-textif($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-190 ))
Description
The text color of the Card header.
$kendo-card-header-borderinherit
Description
The border color of the Card header.
$kendo-card-body-padding-xmap.get( $kendo-spacing, 3 )
Description
The horizontal padding of the Card body.
$kendo-card-body-padding-ymap.get( $kendo-spacing, 3 )
Description
The vertical padding of the Card body.
$kendo-card-footer-padding-x$kendo-card-padding-x
Description
The horizontal padding of the Card footer.
$kendo-card-footer-padding-y$kendo-card-padding-y
Description
The vertical padding of the Card footer.
$kendo-card-footer-border-width0
Description
The top border width of the Card footer.
$kendo-card-footer-bginherit
Description
The background color of the Card footer.
$kendo-card-footer-textinherit
Description
The text color of the Card footer.
$kendo-card-footer-borderinherit
Description
The border color of the Card footer.
$kendo-card-title-font-sizevar( --kendo-font-size-lg, inherit )
Description
The font size of the Card title.
$kendo-card-title-font-familyvar( --kendo-font-family, inherit )
Description
The font family of the Card title.
$kendo-card-title-font-weight$kendo-card-header-font-weight
Description
The font weight of the Card title.
$kendo-card-title-line-heightvar( --kendo-line-height, normal )
Description
The line height of the Card title.
$kendo-card-title-margin-bottommap.get( $kendo-spacing, 3 )
Description
The bottom margin of the Card title.
$kendo-card-subtitle-font-sizevar( --kendo-font-size-sm, inherit )
Description
The font size of the Card subtitle.
$kendo-card-subtitle-font-familyvar( --kendo-font-family, inherit )
Description
The font family of the Card subtitle.
$kendo-card-subtitle-line-heightvar( --kendo-line-height, normal )
Description
The line height of the Card subtitle.
$kendo-card-subtitle-margin-bottommap.get( $kendo-spacing, 3 )
Description
The bottom margin of the Card subtitle.
$kendo-card-subtitle-text$kendo-subtle-text
Description
The text color of the Card subtitle.
$kendo-card-img-max-width100px
Description
The maximum width of the Card image.
$kendo-card-avatar-size3rem
Description
The size of the Avatar in the Card.
$kendo-card-avatar-spacing$kendo-card-header-padding-x
Description
The spacing between the Avatar and the text in the Card.
$kendo-card-actions-padding-xmap.get( $kendo-spacing, 3 )
Description
The horizontal padding of the Card actions.
$kendo-card-actions-padding-ymap.get( $kendo-spacing, 3 )
Description
The vertical padding of the Card actions.
$kendo-card-actions-border-width0
Description
The top border width of the Card actions.
$kendo-card-actions-gapmap.get( $kendo-spacing, 2 )
Description
The spacing between the Card actions.
$kendo-card-deck-scroll-button-radius0
Description
The border radius of the scroll button in the Card deck.
$kendo-card-deck-scroll-button-offset( -1 * $kendo-button-border-width )
Description
The border radius of the scroll button in the Card deck.
$kendo-card-callout-size20px
Description
The size of the Card callout.

In this article

Not finding the help you need?