aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-11-01 09:44:51 -0700
committerMark Otto <[email protected]>2012-11-01 09:44:51 -0700
commitd0c75bbc8324a552b93817b1f565fa798f6574cf (patch)
tree81d2e2becfac30da586e4392ca5758fbf8633f5b /less
parentd350f577e9aed350bf82f3937f68d11d613773d1 (diff)
downloadbootstrap-d0c75bbc8324a552b93817b1f565fa798f6574cf.tar.xz
bootstrap-d0c75bbc8324a552b93817b1f565fa798f6574cf.zip
fixes #5742: add cursor: pointer; to labels and selects
Diffstat (limited to 'less')
-rw-r--r--less/forms.less1
-rw-r--r--less/reset.less10
2 files changed, 10 insertions, 1 deletions
diff --git a/less/forms.less b/less/forms.less
index e142f2ac3..0f3f425ed 100644
--- a/less/forms.less
+++ b/less/forms.less
@@ -138,7 +138,6 @@ input[type="checkbox"] {
*margin-top: 0; /* IE7 */
margin-top: 1px \9; /* IE8-9 */
line-height: normal;
- cursor: pointer;
}
// Reset width of input images, buttons, radios, checkboxes
diff --git a/less/reset.less b/less/reset.less
index e2c7cab00..fa2a3724b 100644
--- a/less/reset.less
+++ b/less/reset.less
@@ -122,6 +122,16 @@ input[type="submit"] {
-webkit-appearance: button; // Corrects inability to style clickable `input` types in iOS.
cursor: pointer; // Improves usability and consistency of cursor style between image-type `input` and others.
}
+label,
+select,
+button,
+input[type="button"],
+input[type="reset"],
+input[type="submit"],
+input[type="radio"],
+input[type="checkbox"] {
+ cursor: pointer; // Improves usability and consistency of cursor style between image-type `input` and others.
+}
input[type="search"] { // Appearance in Safari/Chrome
.box-sizing(content-box);
-webkit-appearance: textfield;