Skip to content

Commit

Permalink
#2694 adds disabled state for input
Browse files Browse the repository at this point in the history
  • Loading branch information
jlukic committed Aug 10, 2015
1 parent b42aac8 commit d6c6b68
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- **Label** - Added `basic` label variation, useful for item counts
- **Button** - Added `labeled button` variation for display a count next to a button.
- **Divider** - Vertical divider can now be used multiple times in a single column row (not just 50/50 split). #2808
- **Input** - Added `disabled` state for inputs #2694

**Additional Enhancements**
- **Menu** - `text menu` now uses padding for hitboxes to make target area for links larger
Expand Down
13 changes: 13 additions & 0 deletions src/definitions/elements/input.less
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,19 @@
States
*******************************/

/*--------------------
Disabled
---------------------*/

.ui.disabled.input,
.ui.input input[disabled] {
opacity: @disabledOpacity;
}

.ui.disabled.input input {
pointer-events: none;
}

/*--------------------
Active
---------------------*/
Expand Down

0 comments on commit d6c6b68

Please sign in to comment.