Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Commit

Permalink
Move button readme to doc folder and sym link for template README.md [#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ebollens committed Oct 16, 2012
1 parent 6c0a1b1 commit 32b103d
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 38 deletions.
38 changes: 38 additions & 0 deletions doc/module/entity/Button.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Button

## Definition

A button is a user interface element that a User can "press" to cause some action within the application.

## Usages

A button has many uses, including:

* Submit a form
* Toggle state
* Close a dialog

## Features

A button can be created using three different HTML elements:

1. `a`
2. `button`
3. `input` (with `type` equal to "submit", "button", or "reset")

To style the element as a button, simply add the CSS class "button." The semantic color classes (e.g., "success",
"warning", and "inverse") can also be added to style the button appopriately.

### Disabled State

You can indicate that a button is disabled by either adding the "disabled" CSS class or adding the
"disabled" attribute to the element. Although both methods will work, adding the attribute should be preferred unless
it is not possible (as in the case of the `a` element).

### Button Size

Button size can be controlled via using one of the CSS utility classes ("large", "small", and "mini").

## Responsive Considerations

The button should not require any responsive adaptation since it is more or less an inline element.
38 changes: 0 additions & 38 deletions template/entity/button/README.md

This file was deleted.

1 change: 1 addition & 0 deletions template/entity/button/README.md

0 comments on commit 32b103d

Please sign in to comment.