New to Kendo UI for Angular? Start a free 30-day trial
Customizing Panelbar
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-panelbar-padding-x | String | k-spacing(0) | var(--kendo-spacing-0, 0px) |
Description
The horizontal padding of the PanelBar. | |||
$kendo-panelbar-padding-y | String | k-spacing(0) | var(--kendo-spacing-0, 0px) |
Description
The vertical padding of the PanelBar. | |||
$kendo-panelbar-font-family | String | var( --kendo-font-family, inherit ) | var(--kendo-font-family, inherit) |
Description
The font family of the PanelBar. | |||
$kendo-panelbar-font-size | String | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) |
Description
The font size of the PanelBar. | |||
$kendo-panelbar-line-height | String | var( --kendo-line-height, inherit ) | var(--kendo-line-height, inherit) |
Description
The line height of the PanelBar. | |||
$kendo-panelbar-border-width | Number | 1px | 1px |
Description
The width of the border around the PanelBar. | |||
$kendo-panelbar-border-style | String | solid | solid |
Description
The border style around the the PanelBar. | |||
$kendo-panelbar-item-border-width | Number | 0 | 0 |
Description
The width of the border around the PanelBar items. | |||
$kendo-panelbar-item-border-style | String | solid | solid |
Description
The style of the border around the PanelBar items. | |||
$kendo-panelbar-icon-spacing | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The spacing around the PanelBar items icon. | |||
$kendo-panelbar-header-padding-x-start | Calculation | calc( var( --kendo-panelbar-icon-spacing, #{$kendo-panelbar-icon-spacing} ) * 2 + var( --kendo-icon-size, 1rem ) ) | calc(var(--kendo-panelbar-icon-spacing, var(--kendo-spacing-2, 0.5rem)) * 2 + var(--kendo-icon-size, 1rem)) |
Description
The horizontal start padding of the PanelBar header. | |||
$kendo-panelbar-header-padding-x-end | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The horizontal end padding of the PanelBar header. | |||
$kendo-panelbar-header-padding-y | String | k-spacing(3) | var(--kendo-spacing-3, 0.75rem) |
Description
The vertical padding of the PanelBar header. | |||
$kendo-panelbar-item-padding-x-start | Calculation | calc( var( --kendo-panelbar-icon-spacing, #{$kendo-panelbar-icon-spacing} ) * 2 + var( --kendo-icon-size, 1rem ) ) | calc(var(--kendo-panelbar-icon-spacing, var(--kendo-spacing-2, 0.5rem)) * 2 + var(--kendo-icon-size, 1rem)) |
Description
The horizontal padding of the PanelBar items. | |||
$kendo-panelbar-item-padding-x-end | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The horizontal end padding of the PanelBar items. | |||
$kendo-panelbar-item-padding-y | String | k-spacing(3) | var(--kendo-spacing-3, 0.75rem) |
Description
The vertical padding of the PanelBar items. | |||
$kendo-panelbar-item-level-count | Number | 4 | 4 |
Description
The maximum nesting of the PanelBar items. | |||
$kendo-panelbar-bg | String | var( --kendo-component-bg, initial ) | var(--kendo-component-bg, initial) |
Description
The background color of the PanelBar. | |||
$kendo-panelbar-text | String | var( --kendo-component-text, initial ) | var(--kendo-component-text, initial) |
Description
The text color of the PanelBar. | |||
$kendo-panelbar-border | String | var( --kendo-component-border, initial ) | var(--kendo-component-border, initial) |
Description
The border color of the PanelBar. | |||
$kendo-panelbar-header-bg | String | var( --kendo-panelbar-bg, #{$kendo-panelbar-bg} ) | var(--kendo-panelbar-bg, var(--kendo-component-bg, initial)) |
Description
The background color of the PanelBar header. | |||
$kendo-panelbar-header-text | String | var( --kendo-panelbar-text, #{$kendo-panelbar-text} ) | var(--kendo-panelbar-text, var(--kendo-component-text, initial)) |
Description
The text color of the PanelBar header. | |||
$kendo-panelbar-header-border | String | inherit | inherit |
Description
The border color of the PanelBar header. | |||
$kendo-panelbar-header-hover-bg | String | var( --kendo-hover-bg, inherit ) | var(--kendo-hover-bg, inherit) |
Description
The background color of the hovered PanelBar header. | |||
$kendo-panelbar-header-hover-text | String | if($kendo-enable-color-system, k-color( primary-hover ), k-get-theme-color-var( primary-110 )) | var(--kendo-color-primary-hover, #106ebe) |
Description
The text color of the hovered PanelBar header. | |||
$kendo-panelbar-header-hover-border | String | inherit | inherit |
Description
The border color of the hovered PanelBar header. | |||
$kendo-panelbar-header-focus-bg | String | inherit | inherit |
Description
The background color of the focused PanelBar header. | |||
$kendo-panelbar-header-focus-text | String | inherit | inherit |
Description
The text color of the focused PanelBar header. | |||
$kendo-panelbar-header-focus-border | String | inherit | inherit |
Description
The border color of the focused PanelBar header. | |||
$kendo-panelbar-header-focus-shadow | List | $kendo-list-item-focus-shadow | inset 0 0 0 1px var(--kendo-color-base-emphasis, #605e5c) |
Description
The shadow of the focused PanelBar header. | |||
$kendo-panelbar-header-hover-focus-bg | String | $kendo-panelbar-header-hover-bg | var(--kendo-hover-bg, inherit) |
Description
The background color of the focused and hovered PanelBar header. | |||
$kendo-panelbar-header-hover-focus-text | String | $kendo-panelbar-header-hover-text | var(--kendo-color-primary-hover, #106ebe) |
Description
The text color of the focused and hovered PanelBar header. | |||
$kendo-panelbar-header-hover-focus-border | Null | null | null |
Description
The border color of the focused and hovered PanelBar header. | |||
$kendo-panelbar-header-selected-bg | String | var( --kendo-selected-bg, inherit ) | var(--kendo-selected-bg, inherit) |
Description
The background color of the selected PanelBar header. | |||
$kendo-panelbar-header-selected-text | String | if($kendo-enable-color-system, k-color( on-app-surface ), $kendo-color-black) | var(--kendo-color-on-app-surface, #323130) |
Description
The text color of the selected PanelBar header. | |||
$kendo-panelbar-header-selected-border | String | inherit | inherit |
Description
The border color of the selected PanelBar header. | |||
$kendo-panelbar-selected-marker | String | if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) | var(--kendo-color-primary, #0078d4) |
Description
The color of the marker of the selected PanelBar header. | |||
$kendo-panelbar-header-selected-hover-bg | String | $kendo-panelbar-header-selected-bg | var(--kendo-selected-bg, inherit) |
Description
The background color of the selected and hovered PanelBar header. | |||
$kendo-panelbar-header-selected-hover-text | String | $kendo-panelbar-header-hover-text | var(--kendo-color-primary-hover, #106ebe) |
Description
The text color of the selected and hovered PanelBar header. | |||
$kendo-panelbar-header-selected-hover-border | String | inherit | inherit |
Description
The border color of the selected and hovered PanelBar header. | |||
$kendo-panelbar-header-selected-focus-bg | String | $kendo-panelbar-header-selected-bg | var(--kendo-selected-bg, inherit) |
Description
The background color of the selected and focused PanelBar header. | |||
$kendo-panelbar-header-selected-focus-text | String | $kendo-panelbar-header-selected-text | var(--kendo-color-on-app-surface, #323130) |
Description
The text color of the selected and focused PanelBar header. | |||
$kendo-panelbar-header-selected-focus-border | String | inherit | inherit |
Description
The border color of the selected and focused PanelBar header. | |||
$kendo-panelbar-header-selected-hover-focus-bg | String | $kendo-panelbar-header-selected-hover-bg | var(--kendo-selected-bg, inherit) |
Description
The background color of the selected, hovered and focused PanelBar header. | |||
$kendo-panelbar-header-selected-hover-focus-text | String | $kendo-panelbar-header-selected-hover-text | var(--kendo-color-primary-hover, #106ebe) |
Description
The text color of the selected, hovered and focused PanelBar header. | |||
$kendo-panelbar-header-selected-hover-focus-border | String | inherit | inherit |
Description
The border color of the selected, hovered and focused PanelBar header. | |||
$kendo-panelbar-header-expanded-bg | String | inherit | inherit |
Description
The background color of the expanded PanelBar header. | |||
$kendo-panelbar-header-expanded-text | String | inherit | inherit |
Description
The text color of the expanded PanelBar header. | |||
$kendo-panelbar-header-expanded-border | String | inherit | inherit |
Description
The border color of the expanded PanelBar header. | |||
$kendo-panelbar-item-hover-bg | String | var( --kendo-hover-bg, inherit ) | var(--kendo-hover-bg, inherit) |
Description
The background color of the hovered PanelBar items. | |||
$kendo-panelbar-item-hover-text | String | if($kendo-enable-color-system, k-color( primary-hover ), k-get-theme-color-var( primary-110 )) | var(--kendo-color-primary-hover, #106ebe) |
Description
The text color of the hovered PanelBar items. | |||
$kendo-panelbar-item-hover-border | String | inherit | inherit |
Description
The border color of the hovered PanelBar items. | |||
$kendo-panelbar-item-focus-bg | String | inherit | inherit |
Description
The background color of the focused PanelBar items. | |||
$kendo-panelbar-item-focus-text | String | inherit | inherit |
Description
The text color of the focused PanelBar items. | |||
$kendo-panelbar-item-focus-border | String | inherit | inherit |
Description
The border color of the focused PanelBar items. | |||
$kendo-panelbar-item-focus-shadow | List | $kendo-list-item-focus-shadow | inset 0 0 0 1px var(--kendo-color-base-emphasis, #605e5c) |
Description
The box shadow of the focused PanelBar items. | |||
$kendo-panelbar-item-hover-focus-bg | String | $kendo-panelbar-item-hover-bg | var(--kendo-hover-bg, inherit) |
Description
The background color of the focused and hovered PanelBar items. | |||
$kendo-panelbar-item-hover-focus-text | String | $kendo-panelbar-item-hover-text | var(--kendo-color-primary-hover, #106ebe) |
Description
The text color of the focused and hovered PanelBar items. | |||
$kendo-panelbar-item-hover-focus-border | String | inherit | inherit |
Description
The border color of the focused and hovered PanelBar items. | |||
$kendo-panelbar-item-selected-bg | String | var( --kendo-selected-bg, inherit ) | var(--kendo-selected-bg, inherit) |
Description
The background color of the selected PanelBar items. | |||
$kendo-panelbar-item-selected-text | String | if($kendo-enable-color-system, k-color( on-app-surface ), $kendo-color-black) | var(--kendo-color-on-app-surface, #323130) |
Description
The text color of the selected PanelBar items. | |||
$kendo-panelbar-item-selected-border | String | inherit | inherit |
Description
The border color of the selected PanelBar items. | |||
$kendo-panelbar-item-selected-hover-bg | String | $kendo-panelbar-item-selected-bg | var(--kendo-selected-bg, inherit) |
Description
The background color of the selected and hovered PanelBar items. | |||
$kendo-panelbar-item-selected-hover-text | String | $kendo-panelbar-item-hover-text | var(--kendo-color-primary-hover, #106ebe) |
Description
The text color of the selected and hovered PanelBar items. | |||
$kendo-panelbar-item-selected-hover-border | String | inherit | inherit |
Description
The border color of the selected and hovered PanelBar items. | |||
$kendo-panelbar-item-selected-focus-bg | String | $kendo-panelbar-item-selected-bg | var(--kendo-selected-bg, inherit) |
Description
The background color of the selected and focused PanelBar items. | |||
$kendo-panelbar-item-selected-focus-text | String | $kendo-panelbar-item-selected-text | var(--kendo-color-on-app-surface, #323130) |
Description
The text color of the selected and focused PanelBar items. | |||
$kendo-panelbar-item-selected-focus-border | String | inherit | inherit |
Description
The border color of the selected and focused PanelBar items. | |||
$kendo-panelbar-item-selected-hover-focus-bg | String | $kendo-panelbar-item-selected-hover-bg | var(--kendo-selected-bg, inherit) |
Description
The background color of the selected, hovered and focused PanelBar items. | |||
$kendo-panelbar-item-selected-hover-focus-text | String | $kendo-panelbar-item-selected-hover-text | var(--kendo-color-primary-hover, #106ebe) |
Description
The text color of the selected, hovered and focused PanelBar items. | |||
$kendo-panelbar-item-selected-hover-focus-border | String | inherit | inherit |
Description
The border color of the selected, hovered and focused PanelBar items. |