New to Kendo UI for Angular? Start a free 30-day trial
Customizing Card
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-card-padding-x | map.get( $kendo-spacing, 3 ) | ||
Description
The horizontal padding of the Card. | |||
$kendo-card-padding-y | map.get( $kendo-spacing, 3 ) | ||
Description
The vertical padding of the Card. | |||
$kendo-card-border-width | 0px | ||
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-radius | calc( #{$kendo-card-border-radius} - #{$kendo-card-border-width} ) | ||
Description
The inner border radius of the Card. | |||
$kendo-card-font-family | var( --kendo-font-family, inherit ) | ||
Description
The font family of the Card. | |||
$kendo-card-font-size | var( --kendo-font-size-sm, inherit ) | ||
Description
The font size of the Card. | |||
$kendo-card-line-height | var( --kendo-line-height, normal ) | ||
Description
The line height of the Card. | |||
$kendo-card-deck-gap | map.get( $kendo-spacing, 4 ) | ||
Description
The spacing between the Cards in the Card deck. | |||
$kendo-card-bg | var( --kendo-component-bg, initial ) | ||
Description
The background color of the Card. | |||
$kendo-card-text | var( --kendo-component-text, initial ) | ||
Description
The text color of the Card. | |||
$kendo-card-border | var( --kendo-component-border, initial ) | ||
Description
The border color of the Card. | |||
$kendo-card-shadow | var( --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-text | null | ||
Description
The text color of the focused Card. | |||
$kendo-card-focus-border | var( --kendo-component-border, initial ) | ||
Description
The border color of the focused Card. | |||
$kendo-card-focus-shadow | var( --kendo-box-shadow-depth-3, none ) | ||
Description
The shadow of the focused Card. | |||
$kendo-card-header-font-size | var( --kendo-font-size-lg, inherit ) | ||
Description
The font size of the Card header. | |||
$kendo-card-header-font-family | var( --kendo-font-family, inherit ) | ||
Description
Тhe font family of the Card header. | |||
$kendo-card-header-font-weight | var( --kendo-font-weight, initial ) | ||
Description
The font weight of the Card header. | |||
$kendo-card-header-line-height | var( --kendo-line-height, normal ) | ||
Description
The line height of the Card header. | |||
$kendo-card-header-padding-x | map.get( $kendo-spacing, 3 ) | ||
Description
The horizontal padding of the Card header. | |||
$kendo-card-header-padding-y | map.get( $kendo-spacing, 3 ) | ||
Description
The vertical padding of the Card header. | |||
$kendo-card-header-border-width | 0 | ||
Description
The bottom border width of the Card header. | |||
$kendo-card-header-bg | inherit | ||
Description
The background color of the Card header. | |||
$kendo-card-header-text | k-get-theme-color-var( neutral-190 ) | ||
Description
The text color of the Card header. | |||
$kendo-card-header-border | inherit | ||
Description
The border color of the Card header. | |||
$kendo-card-body-padding-x | map.get( $kendo-spacing, 3 ) | ||
Description
The horizontal padding of the Card body. | |||
$kendo-card-body-padding-y | map.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-width | 0 | ||
Description
The top border width of the Card footer. | |||
$kendo-card-footer-bg | inherit | ||
Description
The background color of the Card footer. | |||
$kendo-card-footer-text | inherit | ||
Description
The text color of the Card footer. | |||
$kendo-card-footer-border | inherit | ||
Description
The border color of the Card footer. | |||
$kendo-card-title-font-size | var( --kendo-font-size-lg, inherit ) | ||
Description
The font size of the Card title. | |||
$kendo-card-title-font-family | var( --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-height | var( --kendo-line-height, normal ) | ||
Description
The line height of the Card title. | |||
$kendo-card-title-margin-bottom | map.get( $kendo-spacing, 3 ) | ||
Description
The bottom margin of the Card title. | |||
$kendo-card-subtitle-font-size | var( --kendo-font-size-sm, inherit ) | ||
Description
The font size of the Card subtitle. | |||
$kendo-card-subtitle-font-family | var( --kendo-font-family, inherit ) | ||
Description
The font family of the Card subtitle. | |||
$kendo-card-subtitle-line-height | var( --kendo-line-height, normal ) | ||
Description
The line height of the Card subtitle. | |||
$kendo-card-subtitle-margin-bottom | map.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-width | 100px | ||
Description
The maximum width of the Card image. | |||
$kendo-card-avatar-size | 3rem | ||
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-x | map.get( $kendo-spacing, 3 ) | ||
Description
The horizontal padding of the Card actions. | |||
$kendo-card-actions-padding-y | map.get( $kendo-spacing, 3 ) | ||
Description
The vertical padding of the Card actions. | |||
$kendo-card-actions-border-width | 0 | ||
Description
The top border width of the Card actions. | |||
$kendo-card-actions-gap | map.get( $kendo-spacing, 2 ) | ||
Description
The spacing between the Card actions. | |||
$kendo-card-deck-scroll-button-radius | 0 | ||
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-size | 20px | ||
Description
The size of the Card callout. |