From 2690a3dc3185e9666384cf6982354f0456473da7 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 15 Aug 2013 11:52:22 -0700 Subject: Add to #9578 and fix #9614: use cursor not-allowed on radios and checkboxes --- less/forms.less | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'less/forms.less') diff --git a/less/forms.less b/less/forms.less index adcb0dc32..c59cdd4d7 100644 --- a/less/forms.less +++ b/less/forms.less @@ -133,9 +133,9 @@ input[type="number"] { .form-control-focus(); // Disabled and read-only inputs - // Note: HTML5 says that controls under a fieldset > legend:first-child won't be - // disabled if the fieldset is disabled. Due to implementation difficulty, - // we don't honor that edge case; we style them as disabled anyway. + // Note: HTML5 says that controls under a fieldset > legend:first-child won't + // be disabled if the fieldset is disabled. Due to implementation difficulty, + // we don't honor that edge case; we style them as disabled anyway. &[disabled], &[readonly], fieldset[disabled] & { @@ -208,10 +208,10 @@ input[type="number"] { } // Apply same disabled cursor tweak as for inputs -// Note: HTML5 says that controls under a fieldset > legend:first-child won't be -// disabled if the fieldset is disabled. Due to implementation difficulty, -// we don't honor that edge case; we style them as disabled anyway. +// // Note: Neither radios nor checkboxes can be readonly. +input[type="radio"], +input[type="checkbox"], .radio, .radio-inline, .checkbox, -- cgit v1.2.3