|
|
@ -515,21 +515,24 @@ layout: default |
|
|
|
<ul class="table-view"> |
|
|
|
<ul class="table-view"> |
|
|
|
<li class="table-view-cell"> |
|
|
|
<li class="table-view-cell"> |
|
|
|
Item 1 |
|
|
|
Item 1 |
|
|
|
<div class="toggle"> |
|
|
|
<label class="toggle"> |
|
|
|
|
|
|
|
<input type="checkbox"> |
|
|
|
<div class="toggle-handle"></div> |
|
|
|
<div class="toggle-handle"></div> |
|
|
|
</div> |
|
|
|
</label> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li class="table-view-cell"> |
|
|
|
<li class="table-view-cell"> |
|
|
|
Item 2 |
|
|
|
Item 2 |
|
|
|
<div class="toggle active"> |
|
|
|
<label class="toggle active"> |
|
|
|
|
|
|
|
<input type="checkbox" checked> |
|
|
|
<div class="toggle-handle"></div> |
|
|
|
<div class="toggle-handle"></div> |
|
|
|
</div> |
|
|
|
</label> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li class="table-view-cell"> |
|
|
|
<li class="table-view-cell"> |
|
|
|
Item 3 |
|
|
|
Item 3 |
|
|
|
<div class="toggle"> |
|
|
|
<label class="toggle"> |
|
|
|
|
|
|
|
<input type="checkbox"> |
|
|
|
<div class="toggle-handle"></div> |
|
|
|
<div class="toggle-handle"></div> |
|
|
|
</div> |
|
|
|
</label> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -538,21 +541,24 @@ layout: default |
|
|
|
<ul class="table-view"> |
|
|
|
<ul class="table-view"> |
|
|
|
<li class="table-view-cell"> |
|
|
|
<li class="table-view-cell"> |
|
|
|
Item 1 |
|
|
|
Item 1 |
|
|
|
<div class="toggle"> |
|
|
|
<label class="toggle"> |
|
|
|
|
|
|
|
<input type="checkbox"> |
|
|
|
<div class="toggle-handle"></div> |
|
|
|
<div class="toggle-handle"></div> |
|
|
|
</div> |
|
|
|
</label> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li class="table-view-cell"> |
|
|
|
<li class="table-view-cell"> |
|
|
|
Item 2 |
|
|
|
Item 2 |
|
|
|
<div class="toggle active"> |
|
|
|
<label class="toggle active"> |
|
|
|
|
|
|
|
<input type="checkbox" checked> |
|
|
|
<div class="toggle-handle"></div> |
|
|
|
<div class="toggle-handle"></div> |
|
|
|
</div> |
|
|
|
</label> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li class="table-view-cell"> |
|
|
|
<li class="table-view-cell"> |
|
|
|
Item 3 |
|
|
|
Item 3 |
|
|
|
<div class="toggle"> |
|
|
|
<label class="toggle"> |
|
|
|
|
|
|
|
<input type="checkbox"> |
|
|
|
<div class="toggle-handle"></div> |
|
|
|
<div class="toggle-handle"></div> |
|
|
|
</div> |
|
|
|
</label> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
{% endhighlight %} |
|
|
|
{% endhighlight %} |
|
|
@ -560,10 +566,11 @@ layout: default |
|
|
|
</article> |
|
|
|
</article> |
|
|
|
|
|
|
|
|
|
|
|
<article class="component"> |
|
|
|
<article class="component"> |
|
|
|
<h3 class="component-title">Inset table views</h3> |
|
|
|
<h3 class="component-title">Carded table views</h3> |
|
|
|
|
|
|
|
|
|
|
|
<div class="component-example"> |
|
|
|
<div class="component-example"> |
|
|
|
<ul class="table-view inset"> |
|
|
|
<div class="card"> |
|
|
|
|
|
|
|
<ul class="table-view"> |
|
|
|
<li class="table-view-cell">Item 1</li> |
|
|
|
<li class="table-view-cell">Item 1</li> |
|
|
|
<li class="table-view-cell">Item 2</li> |
|
|
|
<li class="table-view-cell">Item 2</li> |
|
|
|
<li class="table-view-cell table-view-divider">Divider</li> |
|
|
|
<li class="table-view-cell table-view-divider">Divider</li> |
|
|
@ -571,15 +578,18 @@ layout: default |
|
|
|
<li class="table-view-cell">Item 4</li> |
|
|
|
<li class="table-view-cell">Item 4</li> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
{% highlight html %} |
|
|
|
{% highlight html %} |
|
|
|
<ul class="table-view inset"> |
|
|
|
<div class="card"> |
|
|
|
|
|
|
|
<ul class="table-view"> |
|
|
|
<li class="table-view-cell">Item 1</li> |
|
|
|
<li class="table-view-cell">Item 1</li> |
|
|
|
<li class="table-view-cell">Item 2</li> |
|
|
|
<li class="table-view-cell">Item 2</li> |
|
|
|
<li class="table-view-cell table-view-divider">Divider</li> |
|
|
|
<li class="table-view-cell table-view-divider">Divider</li> |
|
|
|
<li class="table-view-cell">Item 3</li> |
|
|
|
<li class="table-view-cell">Item 3</li> |
|
|
|
<li class="table-view-cell">Item 4</li> |
|
|
|
<li class="table-view-cell">Item 4</li> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
|
|
|
|
</div> |
|
|
|
{% endhighlight %} |
|
|
|
{% endhighlight %} |
|
|
|
|
|
|
|
|
|
|
|
</article> |
|
|
|
</article> |
|
|
@ -677,7 +687,9 @@ layout: default |
|
|
|
<a href="#item3mobile">Thing three</a> |
|
|
|
<a href="#item3mobile">Thing three</a> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
<ul class="inset table-view"> |
|
|
|
|
|
|
|
|
|
|
|
<div class="card"> |
|
|
|
|
|
|
|
<ul class="table-view"> |
|
|
|
<li id="item1mobile" class="table-view-cell segmented-controller-item selected"> |
|
|
|
<li id="item1mobile" class="table-view-cell segmented-controller-item selected"> |
|
|
|
Item 1 |
|
|
|
Item 1 |
|
|
|
</li> |
|
|
|
</li> |
|
|
@ -689,6 +701,7 @@ layout: default |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
{% highlight html %} |
|
|
|
{% highlight html %} |
|
|
|
<ul class="segmented-controller"> |
|
|
|
<ul class="segmented-controller"> |
|
|
@ -702,7 +715,8 @@ layout: default |
|
|
|
<a href="#item3mobile">Thing three</a> |
|
|
|
<a href="#item3mobile">Thing three</a> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
<ul class="inset table-view"> |
|
|
|
<div class="card"> |
|
|
|
|
|
|
|
<ul class="table-view"> |
|
|
|
<li id="item1mobile" class="table-view-cell segmented-controller-item selected"> |
|
|
|
<li id="item1mobile" class="table-view-cell segmented-controller-item selected"> |
|
|
|
Item 1 |
|
|
|
Item 1 |
|
|
|
</li> |
|
|
|
</li> |
|
|
@ -712,7 +726,8 @@ layout: default |
|
|
|
<li id="item3mobile" class="table-view-cell segmented-controller-item"> |
|
|
|
<li id="item3mobile" class="table-view-cell segmented-controller-item"> |
|
|
|
Item 3 |
|
|
|
Item 3 |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
|
|
|
|
</div> |
|
|
|
{% endhighlight %} |
|
|
|
{% endhighlight %} |
|
|
|
|
|
|
|
|
|
|
|
</article> |
|
|
|
</article> |
|
|
@ -837,21 +852,25 @@ layout: default |
|
|
|
<p class="component-description">Toggles can be used by sliding or tapping the control.</p> |
|
|
|
<p class="component-description">Toggles can be used by sliding or tapping the control.</p> |
|
|
|
|
|
|
|
|
|
|
|
<div class="component-example"> |
|
|
|
<div class="component-example"> |
|
|
|
<div class="toggle active"> |
|
|
|
<label class="toggle active"> |
|
|
|
|
|
|
|
<input type="checkbox" checked> |
|
|
|
<div class="toggle-handle"></div> |
|
|
|
<div class="toggle-handle"></div> |
|
|
|
</div> |
|
|
|
</label> |
|
|
|
<div class="toggle"> |
|
|
|
<label class="toggle"> |
|
|
|
|
|
|
|
<input type="checkbox"> |
|
|
|
<div class="toggle-handle"></div> |
|
|
|
<div class="toggle-handle"></div> |
|
|
|
</div> |
|
|
|
</label> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
{% highlight html %} |
|
|
|
{% highlight html %} |
|
|
|
<div class="toggle active"> |
|
|
|
<label class="toggle active"> |
|
|
|
|
|
|
|
<input type="checkbox"> |
|
|
|
<div class="toggle-handle"></div> |
|
|
|
<div class="toggle-handle"></div> |
|
|
|
</div> |
|
|
|
</label> |
|
|
|
<div class="toggle"> |
|
|
|
<label class="toggle"> |
|
|
|
|
|
|
|
<input type="checkbox"> |
|
|
|
<div class="toggle-handle"></div> |
|
|
|
<div class="toggle-handle"></div> |
|
|
|
</div> |
|
|
|
</label> |
|
|
|
{% endhighlight %} |
|
|
|
{% endhighlight %} |
|
|
|
|
|
|
|
|
|
|
|
<p class="component-description">Toggles.js binds an event to the document that returns a detail object and can be used to fire a callback.</p> |
|
|
|
<p class="component-description">Toggles.js binds an event to the document that returns a detail object and can be used to fire a callback.</p> |
|
|
|