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
2ef4fde0
Commit
2ef4fde0
authored
Dec 26, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop .input-block-level modifier as inputs are already width: 100%;
parent
12b738bf
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1 addition
and
45 deletions
+1
-45
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+0
-6
docs/css.html
docs/css.html
+0
-11
docs/templates/pages/css.mustache
docs/templates/pages/css.mustache
+0
-11
less/mixins.less
less/mixins.less
+0
-8
less/responsive-767px-max.less
less/responsive-767px-max.less
+1
-1
less/utilities.less
less/utilities.less
+0
-8
No files found.
docs/assets/css/bootstrap.css
View file @
2ef4fde0
...
@@ -4924,11 +4924,6 @@ a.badge:hover {
...
@@ -4924,11 +4924,6 @@ a.badge:hover {
position
:
fixed
;
position
:
fixed
;
}
}
.control-block-level
{
display
:
block
;
width
:
100%
;
}
@-ms-viewport
{
@-ms-viewport
{
width
:
device-width
;
width
:
device-width
;
}
}
...
@@ -5213,7 +5208,6 @@ a.badge:hover {
...
@@ -5213,7 +5208,6 @@ a.badge:hover {
select
[
class
*=
"span"
],
select
[
class
*=
"span"
],
textarea
[
class
*=
"span"
],
textarea
[
class
*=
"span"
],
.uneditable-input
{
.uneditable-input
{
display
:
block
;
width
:
100%
;
width
:
100%
;
}
}
.input-prepend
input
,
.input-prepend
input
,
...
...
docs/css.html
View file @
2ef4fde0
...
@@ -1468,17 +1468,6 @@ For example, <code>&lt;section&gt;</code> should be wrapped
...
@@ -1468,17 +1468,6 @@ For example, <code>&lt;section&gt;</code> should be wrapped
<h3
id=
"forms-extending-sizes"
>
Control sizing
</h3>
<h3
id=
"forms-extending-sizes"
>
Control sizing
</h3>
<p>
Use relative sizing classes like
<code>
.input-large
</code>
or match your inputs to the grid column sizes using
<code>
.span*
</code>
classes.
</p>
<p>
Use relative sizing classes like
<code>
.input-large
</code>
or match your inputs to the grid column sizes using
<code>
.span*
</code>
classes.
</p>
<h4>
Block level inputs
</h4>
<p>
Make any
<code>
<
input
>
</code>
or
<code>
<
textarea
>
</code>
element behave like a block level element.
</p>
<form
class=
"bs-docs-example"
style=
"padding-bottom: 15px;"
>
<div
class=
"controls"
>
<input
class=
"input-block-level"
type=
"text"
placeholder=
".input-block-level"
>
</div>
</form>
<pre
class=
"prettyprint linenums"
>
<
input class="input-block-level" type="text" placeholder=".input-block-level"
>
</pre>
<h4>
Relative sizing
</h4>
<h4>
Relative sizing
</h4>
<p>
Create larger or smaller form controls that match button sizes.
</p>
<p>
Create larger or smaller form controls that match button sizes.
</p>
<form
class=
"bs-docs-example"
style=
"padding-bottom: 15px;"
>
<form
class=
"bs-docs-example"
style=
"padding-bottom: 15px;"
>
...
...
docs/templates/pages/css.mustache
View file @
2ef4fde0
...
@@ -1408,17 +1408,6 @@ For example, <code>&lt;section&gt;</code> should be wrapped
...
@@ -1408,17 +1408,6 @@ For example, <code>&lt;section&gt;</code> should be wrapped
<h3
id=
"forms-extending-sizes"
>
Control sizing
</h3>
<h3
id=
"forms-extending-sizes"
>
Control sizing
</h3>
<p>
Use relative sizing classes like
<code>
.input-large
</code>
or match your inputs to the grid column sizes using
<code>
.span*
</code>
classes.
</p>
<p>
Use relative sizing classes like
<code>
.input-large
</code>
or match your inputs to the grid column sizes using
<code>
.span*
</code>
classes.
</p>
<h4>
Block level inputs
</h4>
<p>
Make any
<code>
<
input
>
</code>
or
<code>
<
textarea
>
</code>
element behave like a block level element.
</p>
<form
class=
"bs-docs-example"
style=
"padding-bottom: 15px;"
>
<div
class=
"controls"
>
<input
class=
"input-block-level"
type=
"text"
placeholder=
".input-block-level"
>
</div>
</form>
<pre
class=
"prettyprint linenums"
>
<
input class="input-block-level" type="text" placeholder=".input-block-level"
>
</pre>
<h4>
Relative sizing
</h4>
<h4>
Relative sizing
</h4>
<p>
Create larger or smaller form controls that match button sizes.
</p>
<p>
Create larger or smaller form controls that match button sizes.
</p>
<form
class=
"bs-docs-example"
style=
"padding-bottom: 15px;"
>
<form
class=
"bs-docs-example"
style=
"padding-bottom: 15px;"
>
...
...
less/mixins.less
View file @
2ef4fde0
...
@@ -122,14 +122,6 @@
...
@@ -122,14 +122,6 @@
// FORMS
// FORMS
// --------------------------------------------------
// --------------------------------------------------
// Block level inputs
.input-block-level() {
display: block;
width: 100%;
}
// Mixin for form field states
// Mixin for form field states
.formFieldState(@text-color: #555, @border-color: #ccc, @background-color: #f5f5f5) {
.formFieldState(@text-color: #555, @border-color: #ccc, @background-color: #f5f5f5) {
// Set the text color
// Set the text color
...
...
less/responsive-767px-max.less
View file @
2ef4fde0
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
select[class*="span"],
select[class*="span"],
textarea[class*="span"],
textarea[class*="span"],
.uneditable-input {
.uneditable-input {
.input-block-level()
;
width: 100%
;
}
}
// But don't let it screw up prepend/append inputs
// But don't let it screw up prepend/append inputs
.input-prepend input,
.input-prepend input,
...
...
less/utilities.less
View file @
2ef4fde0
...
@@ -40,11 +40,3 @@
...
@@ -40,11 +40,3 @@
.affix {
.affix {
position: fixed;
position: fixed;
}
}
// Forms
// -------------------------
.control-block-level {
.input-block-level();
}
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