Summary Files Commits Branches @commit @diff @stats
path: root / index.html
diff options
context:
space:
mode:
Commite0b8c0453aa5f5ac70558ae6ccf626c6182052f6 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-05-04 17:47:23 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2016-05-04 17:47:23 +0800
Filesdae2dd1b724268572294164aa379851538b87a16 /index.html
Spectre-Dark-Gruvbox-e0b8c0453aa5f5ac70558ae6ccf626c6182052f6.tar
Spectre-Dark-Gruvbox-e0b8c0453aa5f5ac70558ae6ccf626c6182052f6.tar.gz
Spectre-Dark-Gruvbox-e0b8c0453aa5f5ac70558ae6ccf626c6182052f6.zip
Parent85669b236fdcaacaa2af0436bae1f1ef21a0fd6c (diff)
Parent8599d4ab9eebc58a7396e23703246d9eba32199e (diff)
Merge pull request #35 from picturepan2/hotfix/badge-on-tabs
Hotfix/badge on tabs
1 files changed, 65 insertions, 1 deletions
-rw-r--r--index.html66
diff --git a/index.html b/index.html
index b9ac5aa..0ddb033 100644
--- a/index.html
+++ b/index.html
@@ -1661,6 +1661,70 @@
&lt;<span class="tag">/li</span>&gt;
&lt;<span class="tag">/ul</span>&gt;
</pre>
+ <div class="columns">
+ <div class="column">
+ <ul class="tab">
+ <li class="tab-item active">
+ <a href="#tabs" class="badge" data-badge="9">
+ Music
+ </a>
+ </li>
+ <li class="tab-item">
+ <a href="#tabs">
+ Playlists
+ </a>
+ </li>
+ <li class="tab-item">
+ <a href="#tabs">
+ Radio
+ </a>
+ </li>
+ <li class="tab-item">
+ <a href="#tabs">
+ Connect
+ </a>
+ </li>
+ </ul>
+ </div>
+ <div class="column">
+ <ul class="tab tab-block">
+ <li class="tab-item active">
+ <a href="#tabs" class="badge" data-badge="9">
+ Music
+ </a>
+ </li>
+ <li class="tab-item">
+ <a href="#tabs">
+ Playlists
+ </a>
+ </li>
+ <li class="tab-item">
+ <a href="#tabs">
+ Radio
+ </a>
+ </li>
+ <li class="tab-item">
+ <a href="#tabs">
+ Connect
+ </a>
+ </li>
+ </ul>
+ </div>
+ </div>
+ <section class="notes">
+ <p>If you need <code>badges</code> on tabs, you can add badge class to the element within <code>tab-item</code>. </p>
+ </section>
+
+ <!-- tabs with badges example -->
+<pre class="code lang-html">
+&lt;<span class="tag">ul</span> <span class="atn">class</span>=<span class="atv">&quot;tab tab-block&quot;</span>&gt;
+ &lt;<span class="tag">li</span> <span class="atn">class</span>=<span class="atv">&quot;tab-item active&quot;</span>&gt;
+ &lt;<span class="tag">a</span> <span class="atn">href</span>=<span class="atv">&quot;#&quot;</span> <span class="atn">class</span>=<span class="atv">&quot;badge&quot;</span> <span class="atn">data-badge</span>=<span class="atv">&quot;9&quot;</span>&gt;
+ Music
+ &lt;<span class="tag">/a</span>&gt;
+ &lt;<span class="tag">/li</span>&gt;
+&lt;<span class="tag">/ul</span>&gt;
+</pre>
<header id="pagination" class="text-center"><h5>pagination</h5></header>
<div class="columns">
@@ -2197,7 +2261,7 @@
<footer class="bg-grey">
<section id="copyright" class="grid-footer grid-960">
<p>
- <a href="https://github.com/picturepan2/spectre" target="_blank">GitHub Repo</a> | <a href="#">Back to top</a> | version: 0.1.17
+ <a href="https://github.com/picturepan2/spectre" target="_blank">GitHub Repo</a> | <a href="#">Back to top</a> | version: 0.1.18
</p>
<p>Designed and built with love by <a href="https://twitter.com/picturepan2" target="_blank">Yan Zhu</a>. Licensed under the <a href="https://github.com/picturepan2/spectre/blob/master/LICENSE" target="_blank">MIT License</a>.</p>
</section>