|
|
|
@ -58,6 +58,7 @@
|
|
|
|
|
<li><a href="#forms">Forms</a></li> |
|
|
|
|
<li><a href="#toggles">Toggles</a></li> |
|
|
|
|
<li><a href="#popovers">Popovers</a></li> |
|
|
|
|
<li><a href="#modals">Modals</a></li> |
|
|
|
|
<li><a href="#sliders">Sliders</a></li> |
|
|
|
|
<li><a href="#push">Push</a></li> |
|
|
|
|
</ul> |
|
|
|
@ -976,6 +977,40 @@ document
|
|
|
|
|
</pre> |
|
|
|
|
|
|
|
|
|
</article> |
|
|
|
|
|
|
|
|
|
<!-- Modals --> |
|
|
|
|
<article class="component" id="modals"> |
|
|
|
|
<style> |
|
|
|
|
/* Only for the demo page */ |
|
|
|
|
.iphone .iphone-content .modal { position: absolute; } |
|
|
|
|
.iphone .iphone-content .active { background: #cecece; } |
|
|
|
|
</style> |
|
|
|
|
<h3 class="component-title">Modals</h3> |
|
|
|
|
|
|
|
|
|
<div class="component-example"> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<pre class="prettyprint"> |
|
|
|
|
<a href="#myModal" class="button">Open modal</a> |
|
|
|
|
|
|
|
|
|
<div id="myModal" class="modal"> |
|
|
|
|
<header class="bar-title"> |
|
|
|
|
<h1 class="title">Modal</h1> |
|
|
|
|
<a class="button" href="#myModal"> |
|
|
|
|
Close |
|
|
|
|
</a> |
|
|
|
|
</header> |
|
|
|
|
|
|
|
|
|
<div class="content content-padded"> |
|
|
|
|
<p>The contents of my modal</p> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</pre> |
|
|
|
|
|
|
|
|
|
<p class="component-description">Modals are designed to only fire from links. Set the value of the toggle links href to the id of a modal.</p> |
|
|
|
|
|
|
|
|
|
</article> |
|
|
|
|
|
|
|
|
|
<!-- Slider --> |
|
|
|
|
<article class="component" id="sliders"> |
|
|
|
|