mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
Merge pull request #2817 from andriijas/2.0.3-wip
Finish of a.close to button.close
This commit is contained in:
commit
155a7c1067
Binary file not shown.
@ -1879,8 +1879,10 @@
|
|||||||
<div class="span4">
|
<div class="span4">
|
||||||
<h2>Close icon</h2>
|
<h2>Close icon</h2>
|
||||||
<p>Use the generic close icon for dismissing content like modals and alerts.</p>
|
<p>Use the generic close icon for dismissing content like modals and alerts.</p>
|
||||||
<p><a class="close" style="float: none;">×</a></p>
|
<p><button class="close" style="float: none;">×</button></p>
|
||||||
<pre class="prettyprint linenums"><a class="close">&times;</a></pre>
|
<pre class="prettyprint linenums"><button class="close">&times;</button></pre>
|
||||||
|
<p>iOS devices require an href="#" for click events if you rather use an anchor.</p>
|
||||||
|
<pre class="prettyprint linenums"><a class="close" href="#">&times;</a></pre>
|
||||||
</div><!--/span-->
|
</div><!--/span-->
|
||||||
</div><!--/row-->
|
</div><!--/row-->
|
||||||
</section>
|
</section>
|
||||||
|
@ -208,7 +208,7 @@
|
|||||||
<div class="well modal-example" style="background-color: #888; border: none;">
|
<div class="well modal-example" style="background-color: #888; border: none;">
|
||||||
<div class="modal" style="position: relative; top: auto; left: auto; margin: 0 auto; z-index: 1">
|
<div class="modal" style="position: relative; top: auto; left: auto; margin: 0 auto; z-index: 1">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<a href="#" class="close" data-dismiss="modal">×</a>
|
<button class="close" data-dismiss="modal">×</button>
|
||||||
<h3>Modal header</h3>
|
<h3>Modal header</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
@ -226,7 +226,7 @@
|
|||||||
<!-- sample modal content -->
|
<!-- sample modal content -->
|
||||||
<div id="myModal" class="modal hide fade">
|
<div id="myModal" class="modal hide fade">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<a class="close" data-dismiss="modal" >×</a>
|
<button class="close" data-dismiss="modal">×</button>
|
||||||
<h3>Modal Heading</h3>
|
<h3>Modal Heading</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
@ -303,7 +303,7 @@
|
|||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<div class="modal" id="myModal">
|
<div class="modal" id="myModal">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<a class="close" data-dismiss="modal">×</a>
|
<button class="close" data-dismiss="modal">×</button>
|
||||||
<h3>Modal header</h3>
|
<h3>Modal header</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
@ -964,11 +964,11 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
|
|||||||
<h2>Example alerts</h2>
|
<h2>Example alerts</h2>
|
||||||
<p>The alerts plugin works on regular alert messages, and block messages.</p>
|
<p>The alerts plugin works on regular alert messages, and block messages.</p>
|
||||||
<div class="alert fade in">
|
<div class="alert fade in">
|
||||||
<a class="close" data-dismiss="alert" href="#">×</a>
|
<button class="close" data-dismiss="alert">×</button>
|
||||||
<strong>Holy guacamole!</strong> Best check yo self, you're not looking too good.
|
<strong>Holy guacamole!</strong> Best check yo self, you're not looking too good.
|
||||||
</div>
|
</div>
|
||||||
<div class="alert alert-block alert-error fade in">
|
<div class="alert alert-block alert-error fade in">
|
||||||
<a class="close" data-dismiss="alert" href="#">×</a>
|
<button class="close" data-dismiss="alert">×</button>
|
||||||
<h4 class="alert-heading">Oh snap! You got an error!</h4>
|
<h4 class="alert-heading">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>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>
|
<p>
|
||||||
|
6
docs/templates/pages/components.mustache
vendored
6
docs/templates/pages/components.mustache
vendored
@ -1802,8 +1802,10 @@
|
|||||||
<div class="span4">
|
<div class="span4">
|
||||||
<h2>{{_i}}Close icon{{/i}}</h2>
|
<h2>{{_i}}Close icon{{/i}}</h2>
|
||||||
<p>{{_i}}Use the generic close icon for dismissing content like modals and alerts.{{/i}}</p>
|
<p>{{_i}}Use the generic close icon for dismissing content like modals and alerts.{{/i}}</p>
|
||||||
<p><a class="close" style="float: none;">×</a></p>
|
<p><button class="close" style="float: none;">×</button></p>
|
||||||
<pre class="prettyprint linenums"><a class="close">&times;</a></pre>
|
<pre class="prettyprint linenums"><button class="close">&times;</button></pre>
|
||||||
|
<p>{{_i}}iOS devices require an href="#" for click events if you rather use an anchor.{{/i}}</p>
|
||||||
|
<pre class="prettyprint linenums"><a class="close" href="#">&times;</a></pre>
|
||||||
</div><!--/span-->
|
</div><!--/span-->
|
||||||
</div><!--/row-->
|
</div><!--/row-->
|
||||||
</section>
|
</section>
|
||||||
|
10
docs/templates/pages/javascript.mustache
vendored
10
docs/templates/pages/javascript.mustache
vendored
@ -131,7 +131,7 @@
|
|||||||
<div class="well modal-example" style="background-color: #888; border: none;">
|
<div class="well modal-example" style="background-color: #888; border: none;">
|
||||||
<div class="modal" style="position: relative; top: auto; left: auto; margin: 0 auto; z-index: 1">
|
<div class="modal" style="position: relative; top: auto; left: auto; margin: 0 auto; z-index: 1">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<a href="#" class="close" data-dismiss="modal">×</a>
|
<button class="close" data-dismiss="modal">×</button>
|
||||||
<h3>{{_i}}Modal header{{/i}}</h3>
|
<h3>{{_i}}Modal header{{/i}}</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
@ -149,7 +149,7 @@
|
|||||||
<!-- sample modal content -->
|
<!-- sample modal content -->
|
||||||
<div id="myModal" class="modal hide fade">
|
<div id="myModal" class="modal hide fade">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<a class="close" data-dismiss="modal" >×</a>
|
<button class="close" data-dismiss="modal">×</button>
|
||||||
<h3>{{_i}}Modal Heading{{/i}}</h3>
|
<h3>{{_i}}Modal Heading{{/i}}</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
@ -226,7 +226,7 @@
|
|||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<div class="modal" id="myModal">
|
<div class="modal" id="myModal">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<a class="close" data-dismiss="modal">×</a>
|
<button class="close" data-dismiss="modal">×</button>
|
||||||
<h3>Modal header</h3>
|
<h3>Modal header</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
@ -887,11 +887,11 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
|
|||||||
<h2>{{_i}}Example alerts{{/i}}</h2>
|
<h2>{{_i}}Example alerts{{/i}}</h2>
|
||||||
<p>{{_i}}The alerts plugin works on regular alert messages, and block messages.{{/i}}</p>
|
<p>{{_i}}The alerts plugin works on regular alert messages, and block messages.{{/i}}</p>
|
||||||
<div class="alert fade in">
|
<div class="alert fade in">
|
||||||
<a class="close" data-dismiss="alert" href="#">×</a>
|
<button class="close" data-dismiss="alert">×</button>
|
||||||
<strong>{{_i}}Holy guacamole!{{/i}}</strong> {{_i}}Best check yo self, you're not looking too good.{{/i}}
|
<strong>{{_i}}Holy guacamole!{{/i}}</strong> {{_i}}Best check yo self, you're not looking too good.{{/i}}
|
||||||
</div>
|
</div>
|
||||||
<div class="alert alert-block alert-error fade in">
|
<div class="alert alert-block alert-error fade in">
|
||||||
<a class="close" data-dismiss="alert" href="#">×</a>
|
<button class="close" data-dismiss="alert">×</button>
|
||||||
<h4 class="alert-heading">{{_i}}Oh snap! You got an error!{{/i}}</h4>
|
<h4 class="alert-heading">{{_i}}Oh snap! You got an error!{{/i}}</h4>
|
||||||
<p>{{_i}}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.{{/i}}</p>
|
<p>{{_i}}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.{{/i}}</p>
|
||||||
<p>
|
<p>
|
||||||
|
Loading…
Reference in New Issue
Block a user