aboutsummaryrefslogtreecommitdiff
path: root/less/forms.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-10-27 20:37:52 -0700
committerMark Otto <[email protected]>2014-10-27 20:45:46 -0700
commitbf3be5a456b3f6699a7832957dc0d1fbf6ac1590 (patch)
tree782b8d5a503e02abf766fcdbb3eba41a29609c09 /less/forms.less
parenta5497da5bedf5aec842fbe26b764a0b5c1178942 (diff)
downloadbootstrap-bf3be5a456b3f6699a7832957dc0d1fbf6ac1590.tar.xz
bootstrap-bf3be5a456b3f6699a7832957dc0d1fbf6ac1590.zip
swap cursor not-allow for default, and use a variable for all disabled elements
Diffstat (limited to 'less/forms.less')
-rw-r--r--less/forms.less8
1 files changed, 4 insertions, 4 deletions
diff --git a/less/forms.less b/less/forms.less
index aefc0dea5..38e4ce6d6 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 <label>s
@@ -283,7 +283,7 @@ input[type="checkbox"] {
.checkbox-inline {
&.disabled,
fieldset[disabled] & {
- cursor: not-allowed;
+ cursor: @cursor-disabled;
}
}
// These classes are used on elements with <label> descendants
@@ -292,7 +292,7 @@ input[type="checkbox"] {
&.disabled,
fieldset[disabled] & {
label {
- cursor: not-allowed;
+ cursor: @cursor-disabled;
}
}
}