Customizing Orgchart
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-orgchart-spacer | Number | k-map-get( $kendo-spacing, 6 ) | 24px |
Description
The spacing index of the OrgChart. | |||
$kendo-orgchart-padding-y | Number | $kendo-orgchart-spacer | 24px |
Description
The vertical padding of the OrgChart. | |||
$kendo-orgchart-padding-x | Number | $kendo-orgchart-padding-y | 24px |
Description
The horizontal padding of the OrgChart. | |||
$kendo-orgchart-font-family | List | $kendo-font-family | Roboto, "Helvetica Neue", sans-serif |
Description
The font family of the OrgChart. | |||
$kendo-orgchart-font-size | Number | $kendo-font-size-md | 14px |
Description
The font size of the OrgChart. | |||
$kendo-orgchart-line-height | Number | $kendo-line-height-md | 2 |
Description
The line height of the OrgChart. | |||
$kendo-orgchart-bg | Color | $kendo-component-bg | #ffffff |
Description
The background color of the OrgChart. | |||
$kendo-orgchart-text | Color | $kendo-component-text | rgba(0, 0, 0, 0.87) |
Description
The text color of the OrgChart. | |||
$kendo-orgchart-border | Color | $kendo-component-border | rgba(0, 0, 0, 0.12) |
Description
The border color of the OrgChart. | |||
$kendo-orgchart-node-gap | Number | $kendo-orgchart-spacer | 24px |
Description
The spacing of the OrgChart node. | |||
$kendo-orgchart-group-gap | Number | $kendo-orgchart-spacer | 24px |
Description
The spacing of the OrgChart group. | |||
$kendo-orgchart-node-container-gap | Number | $kendo-orgchart-spacer | 24px |
Description
The spacing of the OrgChart node container. | |||
$kendo-orgchart-node-group-padding-y | Number | $kendo-orgchart-spacer | 24px |
Description
The vertical padding of the OrgChart node group. | |||
$kendo-orgchart-node-group-padding-x | Number | $kendo-orgchart-node-group-padding-y | 24px |
Description
The horizontal padding of the OrgChart node group. | |||
$kendo-orgchart-node-group-border-width | Number | 1px | 1px |
Description
The border width of the OrgChart node group. | |||
$kendo-orgchart-node-group-border-radius | Number | $kendo-border-radius-md | 4px |
Description
The border radius of the OrgChart node group. | |||
$kendo-orgchart-node-group-bg | Color | if($kendo-enable-color-system, k-color( surface ), if( $kendo-is-dark-theme, $kendo-color-dark, $kendo-color-light)) | #f5f5f5 |
Description
The background color of the OrgChart node group. | |||
$kendo-orgchart-node-group-text | Color | $kendo-base-text | rgba(0, 0, 0, 0.87) |
Description
The text color of the OrgChart node group. | |||
$kendo-orgchart-node-group-border | Color | $kendo-base-border | rgba(0, 0, 0, 0.08) |
Description
The border color of the OrgChart node group. | |||
$kendo-orgchart-node-group-focus-border | Null | $kendo-card-focus-border | null |
Description
The border color of the focused OrgChart node group. | |||
$kendo-orgchart-node-group-focus-shadow | List | 0 2px 4px -1px if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 20%, transparent), rgba( $elevation, .2 )), 0 4px 5px 0 if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 14%, transparent), rgba( $elevation, .14 )), 0 1px 10px 0 if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 12%, transparent), rgba( $elevation, .12 )) | 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12) |
Description
The shadow of the focused OrgChart node group. | |||
$kendo-orgchart-node-group-title-font-size | Number | $kendo-font-size-xl | 20px |
Description
The font size of the OrgChart node group title. | |||
$kendo-orgchart-node-group-title-margin-bottom | Number | k-math-div( $kendo-orgchart-spacer, 4 ) | 6px |
Description
The bottom margin of the OrgChart node group title. | |||
$kendo-orgchart-node-group-title-line-height | Number | $kendo-line-height-sm | 1.2 |
Description
The line height of the OrgChart node group title. | |||
$kendo-orgchart-node-group-subtitle-font-size | Number | $kendo-font-size-md | 14px |
Description
The font size of the OrgChart node group subtitle. | |||
$kendo-orgchart-node-group-subtitle-margin-bottom | Number | $kendo-orgchart-spacer | 24px |
Description
The bottom margin of the OrgChart node group subtitle. | |||
$kendo-orgchart-node-group-subtitle-text | Color | rgba( black, .54 ) | rgba(0, 0, 0, 0.54) |
Description
The line height of the OrgChart node group subtitle. | |||
$kendo-orgchart-card-width | Number | 300px | 300px |
Description
The width of the OrgChart Card. | |||
$kendo-orgchart-card-padding-y | Number | $kendo-card-padding-y | 12px |
Description
The vertical padding of the OrgChart Card. | |||
$kendo-orgchart-card-padding-x | Number | $kendo-orgchart-card-padding-y | 12px |
Description
The horizontal padding of the OrgChart Card. | |||
$kendo-orgchart-card-border-width | Number | 1px | 1px |
Description
The border width of the OrgChart Card. | |||
$kendo-orgchart-card-shadow | String | none | none |
Description
The shadow of the OrgChart Card. | |||
$kendo-orgchart-card-focus-shadow | List | $kendo-orgchart-node-group-focus-shadow | 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12) |
Description
The shadow of the focused OrgChart Card. | |||
$kendo-orgchart-card-title-margin-bottom | Number | 0px | 0px |
Description
The bottom margin of the OrgChart Card title. | |||
$kendo-orgchart-card-title-font-size | Null | null | null |
Description
The font size of the OrgChart Card title. | |||
$kendo-orgchart-card-subtitle-margin-bottom | Number | 0px | 0px |
Description
The bottom margin of the OrgChart Card subtitle. | |||
$kendo-orgchart-card-subtitle-font-size | Null | null | null |
Description
The font size of the OrgChart Card subtitle. | |||
$kendo-orgchart-card-body-border-width | List | 2px 0 0 | 2px 0 0 |
Description
The border width of the OrgChart Card body. | |||
$kendo-orgchart-card-body-border-color | Color | transparent | transparent |
Description
The border color of the OrgChart Card body. | |||
$kendo-orgchart-card-body-vbox-margin-right | Number | k-math-div( $kendo-orgchart-spacer, 2 ) | 12px |
Description
The right margin of the OrgChart Card body title wrap. | |||
$kendo-orgchart-card-body-vbox-min-height | Number | $kendo-card-avatar-size | 45px |
Description
The min height of the OrgChart Card body title wrap. | |||
$kendo-orgchart-line-size | Number | 1px | 1px |
Description
The size of the OrgChart connecting line. | |||
$kendo-orgchart-line-fill | Color | $kendo-base-border | rgba(0, 0, 0, 0.08) |
Description
The fill color of the OrgChart connecting line. | |||
$kendo-orgchart-line-v-height | Number | 25px | 25px |
Description
The height of the OrgChart connecting line. |