-
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.
- Loading branch information
Showing
32 changed files
with
22,070 additions
and
9,810 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,178 @@ | ||
--- | ||
title: Customizing Captcha | ||
description: "Refer to the list of the Kendo UI Bootstrap theme variables available for customization." | ||
slug: variables_kendothemebootstrap_captcha | ||
position: 9 | ||
--- | ||
|
||
# Customizing Captcha | ||
|
||
## 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-captcha-spacer</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 spacer of the Captcha.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-captcha-width</td> | ||
<td>Number</td> | ||
<td><code>335px</code></td> | ||
<td><code>335px</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 Captcha.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-captcha-font-family</td> | ||
<td>List</td> | ||
<td><code>$kendo-font-family</code></td> | ||
<td><code>system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"</code></td> | ||
</tr> | ||
<tr> | ||
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The font family of the Captcha.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-captcha-font-size</td> | ||
<td>Number</td> | ||
<td><code>$kendo-font-size-md</code></td> | ||
<td><code>1rem</code></td> | ||
</tr> | ||
<tr> | ||
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The font size of the Captcha.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-captcha-line-height</td> | ||
<td>Number</td> | ||
<td><code>$kendo-line-height-md</code></td> | ||
<td><code>1.5</code></td> | ||
</tr> | ||
<tr> | ||
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The line height of the Captcha.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-captcha-gap</td> | ||
<td>Number</td> | ||
<td><code>$kendo-captcha-spacer</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 gap of the Captcha.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-captcha-bg</td> | ||
<td>Color</td> | ||
<td><code>$kendo-component-bg</code></td> | ||
<td><span class="color-preview" style="background-color: #ffffff"></span><code>#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 Captcha.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-captcha-text</td> | ||
<td>Color</td> | ||
<td><code>$kendo-component-bg</code></td> | ||
<td><span class="color-preview" style="background-color: #ffffff"></span><code>#ffffff</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 Captcha.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-captcha-border</td> | ||
<td>Color</td> | ||
<td><code>$kendo-component-bg</code></td> | ||
<td><span class="color-preview" style="background-color: #ffffff"></span><code>#ffffff</code></td> | ||
</tr> | ||
<tr> | ||
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The border color of the Captcha.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-captcha-image-wrap-gap</td> | ||
<td>Number</td> | ||
<td><code>$kendo-captcha-spacer</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 gap of the Captcha image wrapper.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-captcha-image-controls-gap</td> | ||
<td>Number</td> | ||
<td><code>$kendo-captcha-spacer</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 gap of the Captcha image controls.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-captcha-validation-message-margin-top</td> | ||
<td>Number</td> | ||
<td><code>k-math-div( $kendo-captcha-spacer, 2 )</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 top margin of the Captcha validation message.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-captcha-validation-message-font-size</td> | ||
<td>Number</td> | ||
<td><code>$kendo-font-size-sm</code></td> | ||
<td><code>0.875rem</code></td> | ||
</tr> | ||
<tr> | ||
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The font size of the Captcha validation message.</div></div> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>$kendo-captcha-validation-message-font-style</td> | ||
<td>String</td> | ||
<td><code>italic</code></td> | ||
<td><code>italic</code></td> | ||
</tr> | ||
<tr> | ||
<td colspan="4" class="theme-variables-description-container"><div><b>Description</b><div class="theme-variables-description">The font style of the Captcha validation message.</div></div> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
## Suggested Links | ||
|
||
* [Styling Overview]({% slug themesandstyles %}) | ||
* [Web Font Icons]({% slug icons %}) | ||
* [Preview of the Themed Components](../) | ||
|
Oops, something went wrong.