Skip to content

Commit

Permalink
Merge branch '3.0.0-wip' of github.com:twbs/bootstrap into 3.0.0-wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Aug 12, 2013
2 parents 55cfa8d + 1f74517 commit a9a27d3
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 17 deletions.
16 changes: 8 additions & 8 deletions components.html
Original file line number Diff line number Diff line change
Expand Up @@ -1285,8 +1285,8 @@ <h2 id="navbar-responsive">Responsive navbar</h2>
</ul>
</li>
</ul>
<form class="navbar-form pull-left" action="" role="form">
<input type="text" class="form-control col-lg-8" placeholder="Search" role="search">
<form class="navbar-form pull-left" action="" role="search">
<input type="text" class="form-control col-lg-8" placeholder="Search">
</form>
<ul class="nav navbar-nav pull-right">
<li><a href="#">Link</a></li>
Expand Down Expand Up @@ -1355,8 +1355,8 @@ <h2 id="navbar-scrollable">Scrollable responsive navbar</h2>
<li><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
</ul>
<form class="navbar-form pull-left" action="" role="form">
<input type="text" class="form-control col-lg-8" placeholder="Search" role="search">
<form class="navbar-form pull-left" action="" role="search">
<input type="text" class="form-control col-lg-8" placeholder="Search">
</form>
</div><!-- /.nav-collapse -->
</div><!-- /.container -->
Expand Down Expand Up @@ -1405,8 +1405,8 @@ <h2 id="navbar-inverted">Inverted variation</h2>
</ul>
</li>
</ul>
<form class="navbar-form pull-left" action="" role="form">
<input type="text" class="form-control col-lg-8" placeholder="Search" role="search">
<form class="navbar-form pull-left" action="" role="search">
<input type="text" class="form-control col-lg-8" placeholder="Search">
</form>
<ul class="nav navbar-nav pull-right">
<li><a href="#">Link</a></li>
Expand Down Expand Up @@ -1917,13 +1917,13 @@ <h2 id="alerts-dismissable">Dismissable alerts</h2>
<p>Build on any alert by adding an optional <code>.alert-dismissable</code> and close button.</p>
<div class="bs-example">
<div class="alert alert-dismissable">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
<strong>Warning!</strong> Best check yo self, you're not looking too good.
</div>
</div>
{% highlight html %}
<div class="alert alert-dismissable">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
<strong>Warning!</strong> Best check yo self, you're not looking too good.
</div>
{% endhighlight %}
Expand Down
4 changes: 2 additions & 2 deletions css.html
Original file line number Diff line number Diff line change
Expand Up @@ -2032,10 +2032,10 @@ <h1 id="helper-classes">Helper classes</h1>
<h3>Close icon</h3>
<p>Use the generic close icon for dismissing content like modals and alerts.</p>
<div class="bs-example">
<p><button type="button" class="close">&times;</button></p>
<p><button type="button" class="close" aria-hidden="true">&times;</button></p>
</div>
{% highlight html %}
<button type="button" class="close">&times;</button>
<button type="button" class="close" aria-hidden="true">&times;</button>
{% endhighlight %}

<h3>.pull-left</h3>
Expand Down
43 changes: 38 additions & 5 deletions javascript.html
Original file line number Diff line number Diff line change
Expand Up @@ -478,9 +478,42 @@ <h3>Options</h3>
<h3>Methods</h3>
<h4>$().dropdown('toggle')</h4>
<p>Toggles the dropdown menu of a given navbar or tabbed navigation.</p>
</div>


<h3>Events</h3>
<div class="bs-table-scrollable">
<table class="table table-bordered table-striped">
<thead>
<tr>
<th style="width: 150px;">Event Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>show.bs.dropdown</td>
<td>This event fires immediately when the show instance method is called.</td>
</tr>
<tr>
<td>shown.bs.dropdown</td>
<td>This event is fired when the dropdown has been made visible to the user (will wait for CSS transitions, to complete).</td>
</tr>
<tr>
<td>hide.bs.dropdown</td>
<td>This event is fired immediately when the hide instance method has been called.</td>
</tr>
<tr>
<td>hidden.bs.dropdown</td>
<td>This event is fired when the dropdown has finished being hidden from the user (will wait for CSS transitions, to complete).</td>
</tr>
</tbody>
</table>
</div><!-- ./bs-table-scrollable -->
{% highlight js %}
$('#myDropdown').on('show.bs.dropdown', function () {
// do something…
})
{% endhighlight %}
</div>

<!-- ScrollSpy
================================================== -->
Expand Down Expand Up @@ -1144,14 +1177,14 @@ <h2 id="alerts-examples">Example alerts</h2>
<p>Add dismiss functionality to all alert messages with this plugin.</p>
<div class="bs-example">
<div class="alert fade in">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
<strong>Holy guacamole!</strong> Best check yo self, you're not looking too good.
</div>
</div><!-- /example -->

<div class="bs-example">
<div class="alert alert-block alert-error fade in">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
<h4>Oh snap! You got an error!</h4>
<p>Change this and that and try again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.</p>
<p>
Expand All @@ -1167,7 +1200,7 @@ <h2 id="alerts-usage">Usage</h2>

<h3>Markup</h3>
<p>Just add <code>data-dismiss="alert"</code> to your close button to automatically give an alert close functionality.</p>
{% highlight html %}<a class="close" data-dismiss="alert" href="#">&times;</a>{% endhighlight %}
{% highlight html %}<a class="close" data-dismiss="alert" href="#" aria-hidden="true">&times;</a>{% endhighlight %}

<h3>Methods</h3>

Expand Down
3 changes: 1 addition & 2 deletions less/carousel.less
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
margin-left: -10px;
font-family: serif;
}
// Non-glyphicon toggles

.icon-prev {
&:before {
content: '\2039';// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039)
Expand Down Expand Up @@ -181,7 +181,6 @@
@media screen and (min-width: @screen-tablet) {

// Scale up the controls a smidge
.carousel-control .glyphicon,
.carousel-control .icon-prev,
.carousel-control .icon-next {
width: 30px;
Expand Down

0 comments on commit a9a27d3

Please sign in to comment.