-
-
Notifications
You must be signed in to change notification settings - Fork 79k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '2.2.2-wip' into exploratory
Conflicts: docs/assets/css/bootstrap.css less/buttons.less less/forms.less
- Loading branch information
Showing
9 changed files
with
144 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1321,6 +1321,54 @@ <h4>Button dropdowns</h4> | |
</ul> | ||
</div> | ||
</div> | ||
</pre> | ||
|
||
<h4>Segmented dropdown groups</h4> | ||
<form class="bs-docs-example"> | ||
<div class="input-prepend"> | ||
<div class="btn-group"> | ||
<button class="btn" tabindex="-1">Action</button> | ||
<button class="btn dropdown-toggle" data-toggle="dropdown" tabindex="-1"> | ||
<span class="caret"></span> | ||
</button> | ||
<ul class="dropdown-menu"> | ||
<li><a href="#">Action</a></li> | ||
<li><a href="#">Another action</a></li> | ||
<li><a href="#">Something else here</a></li> | ||
<li class="divider"></li> | ||
<li><a href="#">Separated link</a></li> | ||
</ul> | ||
</div> | ||
<input type="text"> | ||
</div> | ||
<div class="input-append"> | ||
<input type="text"> | ||
<div class="btn-group"> | ||
<button class="btn" tabindex="-1">Action</button> | ||
<button class="btn dropdown-toggle" data-toggle="dropdown" tabindex="-1"> | ||
<span class="caret"></span> | ||
</button> | ||
<ul class="dropdown-menu"> | ||
<li><a href="#">Action</a></li> | ||
<li><a href="#">Another action</a></li> | ||
<li><a href="#">Something else here</a></li> | ||
<li class="divider"></li> | ||
<li><a href="#">Separated link</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
</form> | ||
<pre class="prettyprint linenums"> | ||
<form> | ||
<div class="input-prepend"> | ||
<div class="btn-group">...</div> | ||
<input type="text"> | ||
</div> | ||
<div class="input-append"> | ||
<input type="text"> | ||
<div class="btn-group">...</div> | ||
</div> | ||
</form> | ||
</pre> | ||
|
||
<h4>Search form</h4> | ||
|
@@ -1511,6 +1559,15 @@ <h3>Input focus</h3> | |
</form> | ||
<pre class="prettyprint linenums"> | ||
<input class="input-xlarge" id="focusedInput" type="text" value="This is focused..."> | ||
</pre> | ||
|
||
<h3>Invalid inputs</h3> | ||
<p>Style inputs via default browser functionality with <code>:invalid</code>. Specify a <code>type</code> and add the <code>required</code> attribute.</p> | ||
<form class="bs-docs-example form-inline"> | ||
<input class="span3" type="email" placeholder="[email protected]" required> | ||
</form> | ||
<pre class="prettyprint linenums"> | ||
<input class="span3" type="email" required> | ||
</pre> | ||
|
||
<h3>Disabled inputs</h3> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1261,6 +1261,54 @@ | |
</ul> | ||
</div> | ||
</div> | ||
</pre> | ||
|
||
<h4>{{_i}}Segmented dropdown groups{{/i}}</h4> | ||
<form class="bs-docs-example"> | ||
<div class="input-prepend"> | ||
<div class="btn-group"> | ||
<button class="btn" tabindex="-1">Action</button> | ||
<button class="btn dropdown-toggle" data-toggle="dropdown" tabindex="-1"> | ||
<span class="caret"></span> | ||
</button> | ||
<ul class="dropdown-menu"> | ||
<li><a href="#">{{_i}}Action{{/i}}</a></li> | ||
<li><a href="#">{{_i}}Another action{{/i}}</a></li> | ||
<li><a href="#">{{_i}}Something else here{{/i}}</a></li> | ||
<li class="divider"></li> | ||
<li><a href="#">{{_i}}Separated link{{/i}}</a></li> | ||
</ul> | ||
</div> | ||
<input type="text"> | ||
</div> | ||
<div class="input-append"> | ||
<input type="text"> | ||
<div class="btn-group"> | ||
<button class="btn" tabindex="-1">Action</button> | ||
<button class="btn dropdown-toggle" data-toggle="dropdown" tabindex="-1"> | ||
<span class="caret"></span> | ||
</button> | ||
<ul class="dropdown-menu"> | ||
<li><a href="#">{{_i}}Action{{/i}}</a></li> | ||
<li><a href="#">{{_i}}Another action{{/i}}</a></li> | ||
<li><a href="#">{{_i}}Something else here{{/i}}</a></li> | ||
<li class="divider"></li> | ||
<li><a href="#">{{_i}}Separated link{{/i}}</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
</form> | ||
<pre class="prettyprint linenums"> | ||
<form> | ||
<div class="input-prepend"> | ||
<div class="btn-group">...</div> | ||
<input type="text"> | ||
</div> | ||
<div class="input-append"> | ||
<input type="text"> | ||
<div class="btn-group">...</div> | ||
</div> | ||
</form> | ||
</pre> | ||
|
||
<h4>{{_i}}Search form{{/i}}</h4> | ||
|
@@ -1451,6 +1499,15 @@ | |
</form> | ||
<pre class="prettyprint linenums"> | ||
<input class="input-xlarge" id="focusedInput" type="text" value="{{_i}}This is focused...{{/i}}"> | ||
</pre> | ||
|
||
<h3>{{_i}}Invalid inputs{{/i}}</h3> | ||
<p>{{_i}}Style inputs via default browser functionality with <code>:invalid</code>. Specify a <code>type</code> and add the <code>required</code> attribute.{{/i}}</p> | ||
<form class="bs-docs-example form-inline"> | ||
<input class="span3" type="email" placeholder="[email protected]" required> | ||
</form> | ||
<pre class="prettyprint linenums"> | ||
<input class="span3" type="email" required> | ||
</pre> | ||
|
||
<h3>{{_i}}Disabled inputs{{/i}}</h3> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -214,5 +214,6 @@ | |
// Typeahead | ||
// --------- | ||
.typeahead { | ||
z-index: 1051; | ||
margin-top: 2px; // give it some space to breathe | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters