-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
1,520 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,138 @@ | ||
--- | ||
title: Customizing Panels | ||
description: "Refer to the list of the Kendo UI Bootstrap theme variables available for customization." | ||
slug: variables_kendothemebootstrap_panels | ||
position: 9 | ||
--- | ||
|
||
# Customizing Panels | ||
|
||
## Variables | ||
|
||
The following table lists the available variables for customization. | ||
|
||
<table class="theme-variables"> | ||
<colgroup> | ||
<col style="width: 200px; white-space:nowrap;" /> | ||
<col /> | ||
<col /> | ||
<col /> | ||
</colgroup> | ||
<thead> | ||
<tr> | ||
<th>Name</th> | ||
<th>Type</th> | ||
<th>Default value</th> | ||
<th>Computed value</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td>$kendo-panel-border-radius</td> | ||
<td>String</td> | ||
<td><code>k-border-radius(md)</code></td> | ||
<td><code>var(--kendo-border-radius-md, 0.375rem)</code></td> | ||
</tr> | ||
<tr> | ||
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The border radius of the Panel.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-panel-border-width</td> | ||
<td>Number</td> | ||
<td><code>1px</code></td> | ||
<td><code>1px</code></td> | ||
</tr> | ||
<tr> | ||
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The width of the border around the Panel.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-panel-border-style</td> | ||
<td>String</td> | ||
<td><code>solid</code></td> | ||
<td><code>solid</code></td> | ||
</tr> | ||
<tr> | ||
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The style of the border around the Panel.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-panel-header-padding-inline</td> | ||
<td>Number</td> | ||
<td><code>k-map-get($kendo-spacing, 2)</code></td> | ||
<td><code>0.5rem</code></td> | ||
</tr> | ||
<tr> | ||
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The inline padding of the Panel header.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-panel-header-padding-block</td> | ||
<td>Number</td> | ||
<td><code>k-map-get($kendo-spacing, 1)</code></td> | ||
<td><code>0.25rem</code></td> | ||
</tr> | ||
<tr> | ||
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The block padding of the Panel header.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-panel-content-padding-inline</td> | ||
<td>Number</td> | ||
<td><code>k-map-get($kendo-spacing, 2)</code></td> | ||
<td><code>0.5rem</code></td> | ||
</tr> | ||
<tr> | ||
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The inline padding of the Panel content.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-panel-content-padding-block</td> | ||
<td>Number</td> | ||
<td><code>k-map-get($kendo-spacing, 1)</code></td> | ||
<td><code>0.25rem</code></td> | ||
</tr> | ||
<tr> | ||
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The block padding of the Panel content.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-panel-text</td> | ||
<td>String</td> | ||
<td><code>var(--kendo-component-text, #{$kendo-component-text})</code></td> | ||
<td><code>var(--kendo-component-text, var(--kendo-color-on-app-surface, #212529))</code></td> | ||
</tr> | ||
<tr> | ||
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The text color of the Panel.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-panel-bg</td> | ||
<td>String</td> | ||
<td><code>var(--kendo-component-bg, #{$kendo-component-bg})</code></td> | ||
<td><code>var(--kendo-component-bg, var(--kendo-color-surface-alt, #ffffff))</code></td> | ||
</tr> | ||
<tr> | ||
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The background color of the Panel.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-panel-border</td> | ||
<td>String</td> | ||
<td><code>var(--kendo-component-border, #{$kendo-component-border})</code></td> | ||
<td><code>var(--kendo-component-border, var(--kendo-color-border, rgba(33, 37, 41, 0.13)))</code></td> | ||
</tr> | ||
<tr> | ||
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The color of the border around the Panel.</div></div> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
## Suggested Links | ||
|
||
* [Styling Overview]({% slug themesandstyles %}) | ||
* [Web Font Icons]({% slug icons %}) | ||
* [Preview of the Themed Components](../) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.