Browse Source

#2694 adds disabled state for input

pull/2755/merge
jlukic 9 years ago
parent
commit
d6c6b6896b
2 changed files with 14 additions and 0 deletions
  1. 1
      RELEASE-NOTES.md
  2. 13
      src/definitions/elements/input.less

1
RELEASE-NOTES.md

@ -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

13
src/definitions/elements/input.less

@ -78,6 +78,19 @@
States
*******************************/
/*--------------------
Disabled
---------------------*/
.ui.disabled.input,
.ui.input input[disabled] {
opacity: @disabledOpacity;
}
.ui.disabled.input input {
pointer-events: none;
}
/*--------------------
Active
---------------------*/

Loading…
Cancel
Save