diff options
| author | Mark Otto <[email protected]> | 2012-11-01 09:44:51 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-11-01 09:44:51 -0700 |
| commit | d0c75bbc8324a552b93817b1f565fa798f6574cf (patch) | |
| tree | 81d2e2becfac30da586e4392ca5758fbf8633f5b | |
| parent | d350f577e9aed350bf82f3937f68d11d613773d1 (diff) | |
| download | bootstrap-d0c75bbc8324a552b93817b1f565fa798f6574cf.tar.xz bootstrap-d0c75bbc8324a552b93817b1f565fa798f6574cf.zip | |
fixes #5742: add cursor: pointer; to labels and selects
| -rw-r--r-- | docs/assets/css/bootstrap.css | 12 | ||||
| -rw-r--r-- | less/forms.less | 1 | ||||
| -rw-r--r-- | less/reset.less | 10 |
3 files changed, 21 insertions, 2 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 4be2aeebe..142df455a 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -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"], 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; |
