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
59b32586
Commit
59b32586
authored
13 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
close
#1628
to add padding to all inline checkboxes/radios
parent
91475c86
2 merge requests
!1882
[2.0.1-wip] black/dark button
,
!1894
[2.0.1 wip] -- fixing Issue #1893 - removing hardcoded color border from <hr/>
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/assets/bootstrap.zip
+0
-0
docs/assets/bootstrap.zip
docs/assets/css/bootstrap.css
+1
-3
docs/assets/css/bootstrap.css
less/forms.less
+2
-5
less/forms.less
with
3 additions
and
8 deletions
+3
-8
docs/assets/bootstrap.zip
+
0
-
0
View file @
59b32586
No preview for this file type
This diff is collapsed.
Click to expand it.
docs/assets/css/bootstrap.css
+
1
-
3
View file @
59b32586
...
...
@@ -625,15 +625,13 @@ input[type="hidden"] {
}
.radio.inline
,
.checkbox.inline
{
display
:
inline-block
;
padding-top
:
5px
;
margin-bottom
:
0
;
vertical-align
:
middle
;
}
.radio.inline
+
.radio.inline
,
.checkbox.inline
+
.checkbox.inline
{
margin-left
:
10px
;
}
.controls
>
.radio.inline
:first-child
,
.controls
>
.checkbox.inline
:first-child
{
padding-top
:
0
;
}
input
,
textarea
{
-webkit-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
);
-moz-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
);
...
...
This diff is collapsed.
Click to expand it.
less/forms.less
+
2
-
5
View file @
59b32586
...
...
@@ -166,9 +166,11 @@ input[type="hidden"] {
}
// Radios and checkboxes on same line
// TODO v3: Convert .inline to .control-inline
.radio.inline,
.checkbox.inline {
display: inline-block;
padding-top: 5px;
margin-bottom: 0;
vertical-align: middle;
}
...
...
@@ -176,11 +178,6 @@ input[type="hidden"] {
.checkbox.inline + .checkbox.inline {
margin-left: 10px; // space out consecutive inline controls
}
// But don't forget to remove their padding on first-child
.controls > .radio.inline:first-child,
.controls > .checkbox.inline:first-child {
padding-top: 0;
}
...
...
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