aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorKevin Kirsche <[email protected]>2015-01-29 16:51:21 -0500
committerKevin Kirsche <[email protected]>2015-02-03 08:58:11 -0500
commit2dfc58fa5cff5b8d4776df6229a7294548426c06 (patch)
tree82c97abbce9b8437cf9529e2277cdde2cbd64a03 /less
parenta7747dedf24b1a7245bc3088f265280873acd627 (diff)
downloadbootstrap-2dfc58fa5cff5b8d4776df6229a7294548426c06.tar.xz
bootstrap-2dfc58fa5cff5b8d4776df6229a7294548426c06.zip
[Fix Issue #15683] `readonly` input should not have a not-allowed cursor
[Fix Issue #15683] `readonly` input should not have a `not-allowed` cursor. Instead, this pull request displays a standard cursor and only displays the not-allowed cursor on disabled items. Revise docs wording to clarify cursor display
Diffstat (limited to 'less')
-rw-r--r--less/forms.less6
1 files changed, 5 insertions, 1 deletions
diff --git a/less/forms.less b/less/forms.less
index 3138c2c51..e9d99c8db 100644
--- a/less/forms.less
+++ b/less/forms.less
@@ -141,10 +141,14 @@ output {
&[disabled],
&[readonly],
fieldset[disabled] & {
- cursor: @cursor-disabled;
background-color: @input-bg-disabled;
opacity: 1; // iOS fix for unreadable disabled content; see https://github.com/twbs/bootstrap/issues/11655
}
+
+ &[disabled],
+ fieldset[disabled] & {
+ cursor: @cursor-disabled;
+ }
// Reset height for `textarea`s
textarea& {