Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
8f1db432
Commit
8f1db432
authored
Feb 11, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix inline form checkbox/radios
parent
60ee7685
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
2 deletions
+23
-2
docs/assets/bootstrap.zip
docs/assets/bootstrap.zip
+0
-0
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+7
-0
docs/base-css.html
docs/base-css.html
+4
-1
docs/templates/pages/base-css.mustache
docs/templates/pages/base-css.mustache
+4
-1
less/forms.less
less/forms.less
+8
-0
No files found.
docs/assets/bootstrap.zip
View file @
8f1db432
No preview for this file type
docs/assets/css/bootstrap.css
View file @
8f1db432
...
...
@@ -964,6 +964,13 @@ input:focus:required:invalid:focus, textarea:focus:required:invalid:focus, selec
.form-inline
.input-prepend
.add-on
{
vertical-align
:
middle
;
}
.form-search
.radio
,
.form-inline
.radio
,
.form-search
.checkbox
,
.form-inline
.checkbox
{
margin-bottom
:
0
;
vertical-align
:
middle
;
}
.control-group
{
margin-bottom
:
9px
;
}
...
...
docs/base-css.html
View file @
8f1db432
...
...
@@ -907,7 +907,10 @@ For example, <code>section</code> should be wrapped as inline.
<form
class=
"well form-inline"
>
<input
type=
"text"
class=
"input-small"
placeholder=
"Email"
>
<input
type=
"password"
class=
"input-small"
placeholder=
"Password"
>
<button
type=
"submit"
class=
"btn"
>
Go
</button>
<label
class=
"checkbox"
>
<input
type=
"checkbox"
>
Remember?
</label>
<button
type=
"submit"
class=
"btn"
>
Sign in
</button>
</form>
<pre
class=
"prettyprint linenums"
>
<
form class="well form-inline"
>
...
...
docs/templates/pages/base-css.mustache
View file @
8f1db432
...
...
@@ -831,7 +831,10 @@
<form
class=
"well form-inline"
>
<input
type=
"text"
class=
"input-small"
placeholder=
"
{{
_i
}}
Email
{{/
i
}}
"
>
<input
type=
"password"
class=
"input-small"
placeholder=
"
{{
_i
}}
Password
{{/
i
}}
"
>
<button
type=
"submit"
class=
"btn"
>
{{
_i
}}
Go
{{/
i
}}
</button>
<label
class=
"checkbox"
>
<input
type=
"checkbox"
>
{{
_i
}}
Remember?
{{/
i
}}
</label>
<button
type=
"submit"
class=
"btn"
>
{{
_i
}}
Sign in
{{/
i
}}
</button>
</form>
<pre
class=
"prettyprint linenums"
>
<
form class="well form-inline"
>
...
...
less/forms.less
View file @
8f1db432
...
...
@@ -453,6 +453,14 @@ select:focus:required:invalid {
.form-inline .input-prepend .add-on {
vertical-align: middle;
}
// Inline checkbox/radio labels
.form-search .radio,
.form-inline .radio,
.form-search .checkbox,
.form-inline .checkbox {
margin-bottom: 0;
vertical-align: middle;
}
// Margin to space out fieldsets
.control-group {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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