From: Mark Otto Date: Tue, 28 Oct 2014 03:37:52 +0000 (-0700) Subject: swap cursor not-allow for default, and use a variable for all disabled elements X-Git-Tag: v3.3.0~9^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf3be5a456b3f6699a7832957dc0d1fbf6ac1590;p=thirdparty%2Fbootstrap.git swap cursor not-allow for default, and use a variable for all disabled elements --- diff --git a/less/buttons.less b/less/buttons.less index d32c4e2d80..40553c6386 100644 --- a/less/buttons.less +++ b/less/buttons.less @@ -46,7 +46,7 @@ &.disabled, &[disabled], fieldset[disabled] & { - cursor: not-allowed; + cursor: @cursor-disabled; pointer-events: none; // Future-proof disabling of clicks .opacity(.65); .box-shadow(none); diff --git a/less/dropdowns.less b/less/dropdowns.less index 742c912658..84a48c1413 100644 --- a/less/dropdowns.less +++ b/less/dropdowns.less @@ -111,7 +111,7 @@ background-color: transparent; background-image: none; // Remove CSS gradient .reset-filter(); - cursor: not-allowed; + cursor: @cursor-disabled; } } diff --git a/less/forms.less b/less/forms.less index aefc0dea5c..38e4ce6d64 100644 --- a/less/forms.less +++ b/less/forms.less @@ -141,7 +141,7 @@ output { &[disabled], &[readonly], fieldset[disabled] & { - cursor: not-allowed; + cursor: @cursor-disabled; background-color: @input-bg-disabled; opacity: 1; // iOS fix for unreadable disabled content } @@ -275,7 +275,7 @@ input[type="checkbox"] { &[disabled], &.disabled, fieldset[disabled] & { - cursor: not-allowed; + cursor: @cursor-disabled; } } // These classes are used directly on