Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
d0c75bbc
Commit
d0c75bbc
authored
12 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
fixes
#5742
: add cursor: pointer; to labels and selects
parent
d350f577
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/assets/css/bootstrap.css
+11
-1
docs/assets/css/bootstrap.css
less/forms.less
+0
-1
less/forms.less
less/reset.less
+10
-0
less/reset.less
with
21 additions
and
2 deletions
+21
-2
docs/assets/css/bootstrap.css
+
11
-
1
View file @
d0c75bbc
...
@@ -109,6 +109,17 @@ input[type="submit"] {
...
@@ -109,6 +109,17 @@ input[type="submit"] {
-webkit-appearance
:
button
;
-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"
]
{
input
[
type
=
"search"
]
{
-webkit-box-sizing
:
content-box
;
-webkit-box-sizing
:
content-box
;
-moz-box-sizing
:
content-box
;
-moz-box-sizing
:
content-box
;
...
@@ -1073,7 +1084,6 @@ input[type="checkbox"] {
...
@@ -1073,7 +1084,6 @@ input[type="checkbox"] {
margin-top
:
1px
\
9
;
margin-top
:
1px
\
9
;
*
margin-top
:
0
;
*
margin-top
:
0
;
line-height
:
normal
;
line-height
:
normal
;
cursor
:
pointer
;
}
}
input
[
type
=
"file"
],
input
[
type
=
"file"
],
...
...
This diff is collapsed.
Click to expand it.
less/forms.less
+
0
-
1
View file @
d0c75bbc
...
@@ -138,7 +138,6 @@ input[type="checkbox"] {
...
@@ -138,7 +138,6 @@ input[type="checkbox"] {
*margin-top: 0; /* IE7 */
*margin-top: 0; /* IE7 */
margin-top: 1px \9; /* IE8-9 */
margin-top: 1px \9; /* IE8-9 */
line-height: normal;
line-height: normal;
cursor: pointer;
}
}
// Reset width of input images, buttons, radios, checkboxes
// Reset width of input images, buttons, radios, checkboxes
...
...
This diff is collapsed.
Click to expand it.
less/reset.less
+
10
-
0
View file @
d0c75bbc
...
@@ -122,6 +122,16 @@ input[type="submit"] {
...
@@ -122,6 +122,16 @@ input[type="submit"] {
-webkit-appearance: button; // Corrects inability to style clickable `input` types in iOS.
-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.
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
input[type="search"] { // Appearance in Safari/Chrome
.box-sizing(content-box);
.box-sizing(content-box);
-webkit-appearance: textfield;
-webkit-appearance: textfield;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment