mirror of
https://github.com/Karaka-Management/Developer-Guide.git
synced 2026-01-11 20:38:42 +00:00
95 lines
2.4 KiB
Markdown
95 lines
2.4 KiB
Markdown
# Buttons
|
|
|
|
The following default button styles are available for the different user interactions. Buttons can be created with the `button` tag or the `a` link tag with a `button` class.
|
|
|
|
## Examples
|
|
|
|
### Normal
|
|
|
|

|
|
|
|

|
|
|
|
```html
|
|
<button>Test Button</button>
|
|
<button><i class="fa fa-lightbulb-o"></i> Test Button</button>
|
|
```
|
|
|
|
Alternative:
|
|
|
|
```html
|
|
<a href="#" class="button">Test Button</a>
|
|
<a href="#" class="button"><i class="fa fa-lightbulb-o"></i> Test Button</a>
|
|
```
|
|
|
|
### Cancel
|
|
|
|

|
|
|
|

|
|
|
|
```html
|
|
<button class="cancel">Test Button</button>
|
|
<button class="cancel"><i class="fa fa-lightbulb-o"></i> Test Button</button>
|
|
```
|
|
|
|
Alternative:
|
|
|
|
```html
|
|
<a href="#" class="button cancel">Test Button</a>
|
|
<a href="#" class="button cancel"><i class="fa fa-lightbulb-o"></i> Test Button</a>
|
|
```
|
|
|
|
### Save
|
|
|
|

|
|
|
|

|
|
|
|
```html
|
|
<button class="save">Test Button</button>
|
|
<button class="save"><i class="fa fa-lightbulb-o"></i> Test Button</button>
|
|
```
|
|
|
|
Alternative:
|
|
|
|
```html
|
|
<a href="#" class="button save">Test Button</a>
|
|
<a href="#" class="button save"><i class="fa fa-lightbulb-o"></i> Test Button</a>
|
|
```
|
|
|
|
### Close
|
|
|
|

|
|
|
|

|
|
|
|
```html
|
|
<button class="close">Test Button</button>
|
|
<button class="close"><i class="fa fa-lightbulb-o"></i> Test Button</button>
|
|
```
|
|
|
|
Alternative:
|
|
|
|
```html
|
|
<a href="#" class="button close">Test Button</a>
|
|
<a href="#" class="button close"><i class="fa fa-lightbulb-o"></i> Test Button</a>
|
|
```
|
|
|
|
### Disabled
|
|
|
|

|
|
|
|

|
|
|
|
```html
|
|
<button class="disabled">Test Button</button>
|
|
<button class="disabled"><i class="fa fa-lightbulb-o"></i> Test Button</button>
|
|
```
|
|
|
|
Alternative:
|
|
|
|
```html
|
|
<a href="#" class="button disabled">Test Button</a>
|
|
<a href="#" class="button disabled"><i class="fa fa-lightbulb-o"></i> Test Button</a>
|
|
``` |