diff options
| author | Mark Otto <[email protected]> | 2016-05-08 16:05:27 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2016-05-08 16:05:27 -0700 |
| commit | dde85e9888ee7d4c8a39c2ea2dadba1dcf55edf1 (patch) | |
| tree | a62bc6f0db791d87b97fb789790875526c31449c /scss/_reboot.scss | |
| parent | bd904d70c9a8e24c524a6a78e6ac612d0598035d (diff) | |
| download | bootstrap-dde85e9888ee7d4c8a39c2ea2dadba1dcf55edf1.tar.xz bootstrap-dde85e9888ee7d4c8a39c2ea2dadba1dcf55edf1.zip | |
Redo checkboxes and radios
- Move disabled radio and checkbox styles to Reboot
- Collapse .radio and .checkbox into single class, .form-check
- Collapse .radio-inline and .checkbox-inline into single class, .form-check-inline
- Require classes for sub-elements in both new classes
Diffstat (limited to 'scss/_reboot.scss')
| -rw-r--r-- | scss/_reboot.scss | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scss/_reboot.scss b/scss/_reboot.scss index 8de53cf73..e30de2c1b 100644 --- a/scss/_reboot.scss +++ b/scss/_reboot.scss @@ -321,6 +321,17 @@ textarea { border-radius: 0; } +input[type="radio"], +input[type="checkbox"] { + // Apply a disabled cursor for radios and checkboxes. + // + // Note: Neither radios nor checkboxes can be readonly. + &:disabled { + cursor: $cursor-disabled; + } +} + + input[type="date"], input[type="time"], input[type="datetime-local"], |
