From bdc68333d66fca64db3f65a790a11de2d15db958 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Mon, 23 Jan 2017 15:38:53 +0800 Subject: CHG: Cleanup codes and add more focus style --- index.html | 99 ++++++++++++++++++++++++++------------------------------------ 1 file changed, 41 insertions(+), 58 deletions(-) (limited to 'index.html') diff --git a/index.html b/index.html index 12e5d1c..e3962de 100644 --- a/index.html +++ b/index.html @@ -665,29 +665,6 @@ -
-
- -
-
-
- Crime - -
-
- Drama - -
-
- Biography - -
-
- Mystery - -
-
-
@@ -1560,39 +1537,44 @@
- Crime + Crime
- Drama + Drama
- Biography + Biography
- Mystery + Mystery
- Tony Stark + Tony Stark
- Thor Odinson + Thor Odinson
- Steve Rogers + Steve Rogers
+ +
+

Add a container element with the class chip-sm. And add child text element, buttons or avatars with the class avatar.

+
+
@@ -1601,29 +1583,25 @@
Tony Stark
-
Iron Man
+
Iron man
- +
-
-

Add a container element with the class chip. And add child text elements with chip-name or icons with icon.

-
-
 <div class="chip-sm">
-    <span class="chip-name">Crime</span>
+    Crime
     <button class="btn btn-clear"></button>
 </div>
 
 <div class="chip-sm">
     <img src="img/avatar-1.png" class="avatar" />
-    <span class="chip-name">Yan Zhu</span>
+    Yan Zhu
     <button class="btn btn-clear"></button>
 </div>
 
@@ -1642,25 +1620,25 @@
- Tony Stark + Tony Stark
- Thor Odinson + Thor Odinson
- Steve Rogers + Steve Rogers
- Bruce Banner + Bruce Banner
- Natasha Romanoff + Natasha Romanoff
@@ -1671,23 +1649,23 @@
- Tony Stark + Tony Stark
- Thor Odinson + Thor Odinson
- Steve Rogers + Steve Rogers
- Bruce Banner + Bruce Banner
- Natasha Romanoff + Natasha Romanoff
@@ -1700,12 +1678,12 @@
- Bruce Banner + Bruce Banner
- Thor Odinson + Thor Odinson
@@ -1751,12 +1729,12 @@ <!-- autocomplete chips --> <div class="chip-sm"> <img src="img/avatar-1.png" class="avatar" /> - <span class="chip-name">Yan Zhu</span> + Yan Zhu <button class="btn btn-clear"></button> </div> <div class="chip-sm selected"> <img src="img/avatar-2.png" class="avatar" /> - <span class="chip-name">Yan Zhu</span> + Yan Zhu <button class="btn btn-clear"></button> </div> <!-- autocomplete real input box --> @@ -1875,7 +1853,6 @@
- Lorem ipsum dolor sit amet, consectetur adipiscing elit.
@@ -1939,9 +1916,6 @@
Steve Rogers
-
- -
+

If you need badges on tabs, you can add badge class to the element within tab-item.

@@ -2461,7 +2436,7 @@
-