Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
ecf84bda
Commit
ecf84bda
authored
12 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
correct regressions against 2.0.3
parent
87f6e426
2 merge requests
!3609
2.0.4 wip fix make docs
,
!3549
Clear tooltips delayed show timer when leave event is triggered. ALSO when hide delay is 0.
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/assets/css/bootstrap.css
+28
-0
docs/assets/css/bootstrap.css
less/forms.less
+25
-12
less/forms.less
with
53 additions
and
12 deletions
+53
-12
docs/assets/css/bootstrap.css
+
28
-
0
View file @
ecf84bda
...
...
@@ -796,6 +796,11 @@ input[type="color"] {
color
:
#555555
;
}
input
,
textarea
{
width
:
210px
;
}
textarea
,
input
[
type
=
"text"
],
input
[
type
=
"password"
],
...
...
@@ -826,6 +831,24 @@ input[type="color"] {
transition
:
border
linear
0.2s
,
box-shadow
linear
0.2s
;
}
input
[
type
=
"radio"
],
input
[
type
=
"checkbox"
]
{
margin
:
3px
0
;
*
margin-top
:
0
;
/* IE7 */
line-height
:
normal
;
cursor
:
pointer
;
}
input
[
type
=
"submit"
],
input
[
type
=
"reset"
],
input
[
type
=
"button"
],
input
[
type
=
"radio"
],
input
[
type
=
"checkbox"
]
{
width
:
auto
;
}
.uneditable-textarea
{
width
:
auto
;
height
:
auto
;
...
...
@@ -842,6 +865,11 @@ input[type="file"] {
line-height
:
28px
;
}
select
{
width
:
220px
;
border
:
1px
solid
#bbb
;
}
select
[
multiple
],
select
[
size
]
{
height
:
auto
;
...
...
This diff is collapsed.
Click to expand it.
less/forms.less
+
25
-
12
View file @
ecf84bda
...
...
@@ -87,7 +87,13 @@ input[type="color"] {
color: @gray;
}
// Reset background, border, and box-shadow for textual inputs and textarea
// Reset appearance properties for textual inputs and textarea
// Declare width for legacy (can't be on input[type=*] selectors or it's too specific)
input,
textarea {
width: 210px;
}
// Everything else
textarea,
input[type="text"],
input[type="password"],
...
...
@@ -111,21 +117,22 @@ input[type="color"] {
.transition(@transition);
}
//
Unused selectors
//
Position radios and checkboxes better
input[type="radio"],
input[type="checkbox"] {
margin: 3px 0;
*margin-top: 0; /* IE7 */
line-height: normal;
cursor: pointer;
}
input[type="button"],
// Reset width of input buttons, radios, checkboxes
input[type="submit"],
input[type="reset"] {
}
input[type="file"] {
}
input[type="hidden"] {
}
input[type="image"] {
}
input[type="range"] {
input[type="reset"],
input[type="button"],
input[type="radio"],
input[type="checkbox"] {
width: auto; // Override of generic input selector
}
// Make uneditable textareas behave like a textarea
...
...
@@ -142,6 +149,12 @@ input[type="file"] {
line-height: 28px;
}
// Make select elements obey height by applying a border
select {
width: 220px; // default input width + 10px of padding that doesn't get applied
border: 1px solid #bbb;
}
// Make multiple select elements height not fixed
select[multiple],
select[size] {
...
...
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
Menu
Explore
Projects
Groups
Snippets