-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into toolbar-adaptive
- Loading branch information
Showing
128 changed files
with
7,804 additions
and
107 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
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
158 changes: 158 additions & 0 deletions
158
packages/bootstrap/docs/customization-one-time-password.md
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,158 @@ | ||
--- | ||
title: Customizing OneTimePassword | ||
description: "Refer to the list of the Kendo UI Bootstrap theme variables available for customization." | ||
slug: variables_kendothemebootstrap_one-time-password | ||
position: 9 | ||
--- | ||
|
||
# Customizing OneTimePassword | ||
|
||
## 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-otp-gap</td> | ||
<td>String</td> | ||
<td><code>k-spacing(1.5)</code></td> | ||
<td><code>var(--kendo-spacing-1\.5, 0.375rem)</code></td> | ||
</tr> | ||
<tr> | ||
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The gap between the items in the OTP.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-otp-sm-gap</td> | ||
<td>String</td> | ||
<td><code>k-spacing(1)</code></td> | ||
<td><code>var(--kendo-spacing-1, 0.25rem)</code></td> | ||
</tr> | ||
<tr> | ||
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The gap between the items in the small OTP.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-otp-md-gap</td> | ||
<td>String</td> | ||
<td><code>$kendo-otp-gap</code></td> | ||
<td><code>var(--kendo-spacing-1\.5, 0.375rem)</code></td> | ||
</tr> | ||
<tr> | ||
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The gap between the items in the medium OTP.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-otp-lg-gap</td> | ||
<td>String</td> | ||
<td><code>k-spacing(2)</code></td> | ||
<td><code>var(--kendo-spacing-2, 0.5rem)</code></td> | ||
</tr> | ||
<tr> | ||
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The gap between the items in the large OTP.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-otp-separator-padding-x</td> | ||
<td>String</td> | ||
<td><code>$kendo-otp-gap</code></td> | ||
<td><code>var(--kendo-spacing-1\.5, 0.375rem)</code></td> | ||
</tr> | ||
<tr> | ||
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The horizontal padding of the OTP separator.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-otp-sm-separator-padding-x</td> | ||
<td>String</td> | ||
<td><code>$kendo-otp-sm-gap</code></td> | ||
<td><code>var(--kendo-spacing-1, 0.25rem)</code></td> | ||
</tr> | ||
<tr> | ||
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The horizontal padding of the small OTP separator.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-otp-md-separator-padding-x</td> | ||
<td>String</td> | ||
<td><code>$kendo-otp-separator-padding-x</code></td> | ||
<td><code>var(--kendo-spacing-1\.5, 0.375rem)</code></td> | ||
</tr> | ||
<tr> | ||
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The horizontal padding of the medium OTP separator.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-otp-lg-separator-padding-x</td> | ||
<td>String</td> | ||
<td><code>$kendo-otp-lg-gap</code></td> | ||
<td><code>var(--kendo-spacing-2, 0.5rem)</code></td> | ||
</tr> | ||
<tr> | ||
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The horizontal padding of the large OTP separator.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-otp-input-width</td> | ||
<td>Calculation</td> | ||
<td><code>$kendo-input-calc-size</code></td> | ||
<td><code>calc(1.5 * 1em + var(--kendo-spacing-1\.5, 0.375rem) * 2 + (2px))</code></td> | ||
</tr> | ||
<tr> | ||
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The horizontal padding of the OTP separator.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-otp-sm-input-width</td> | ||
<td>Calculation</td> | ||
<td><code>$kendo-input-sm-calc-size</code></td> | ||
<td><code>calc(1.4285714286 * 1em + var(--kendo-spacing-1, 0.25rem) * 2 + (2px))</code></td> | ||
</tr> | ||
<tr> | ||
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The horizontal padding of the small OTP separator.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-otp-md-input-width</td> | ||
<td>Calculation</td> | ||
<td><code>$kendo-otp-input-width</code></td> | ||
<td><code>calc(1.5 * 1em + var(--kendo-spacing-1\.5, 0.375rem) * 2 + (2px))</code></td> | ||
</tr> | ||
<tr> | ||
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The horizontal padding of the medium OTP separator.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-otp-lg-input-width</td> | ||
<td>Calculation</td> | ||
<td><code>$kendo-input-lg-calc-size</code></td> | ||
<td><code>calc(var(--kendo-line-height, normal) * 1em + var(--kendo-spacing-2, 0.5rem) * 2 + (2px))</code></td> | ||
</tr> | ||
<tr> | ||
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The horizontal padding of the large OTP separator.</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
Oops, something went wrong.