]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fixes #5742: add cursor: pointer; to labels and selects
authorMark Otto <otto@github.com>
Thu, 1 Nov 2012 16:44:51 +0000 (09:44 -0700)
committerMark Otto <otto@github.com>
Thu, 1 Nov 2012 16:44:51 +0000 (09:44 -0700)
docs/assets/css/bootstrap.css
less/forms.less
less/reset.less

index 4be2aeebea2dab9e038ff2d9ace92774f44be98e..142df455aa529913ac7fe4949114d81c4c009922 100644 (file)
@@ -109,6 +109,17 @@ input[type="submit"] {
   -webkit-appearance: button;
 }
 
+label,
+select,
+button,
+input[type="button"],
+input[type="reset"],
+input[type="submit"],
+input[type="radio"],
+input[type="checkbox"] {
+  cursor: pointer;
+}
+
 input[type="search"] {
   -webkit-box-sizing: content-box;
      -moz-box-sizing: content-box;
@@ -1073,7 +1084,6 @@ input[type="checkbox"] {
   margin-top: 1px \9;
   *margin-top: 0;
   line-height: normal;
-  cursor: pointer;
 }
 
 input[type="file"],
index e142f2ac378e5d9ef534948e7fe0dc93a51e51ae..0f3f425edcfc86faf9060ee618194b4c36db379a 100644 (file)
@@ -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
index e2c7cab004db9c03e7b3b8e7600e997db25e6de3..fa2a3724b831d6acc9cf751f7f108aaff21cd5e0 100644 (file)
@@ -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;