From ba375ed5bdd8e98ed5a335117a17b30afd51172c Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Sat, 8 Oct 2016 00:55:04 +0800 Subject: Update button groups and tabs style --- index.html | 107 ++++++++++++++++++------------------------------------------- 1 file changed, 31 insertions(+), 76 deletions(-) (limited to 'index.html') diff --git a/index.html b/index.html index c397723..68f0533 100644 --- a/index.html +++ b/index.html @@ -155,7 +155,7 @@
-
+
typography tables buttons @@ -934,7 +934,7 @@
-
+
flexbox grid responsive empty states @@ -1195,7 +1195,7 @@
-
+
avatars chips autocomplete @@ -1292,6 +1292,7 @@
+<!-- Basic avatar examples -->
 <figure class="avatar avatar-xl">
     <img src="img/avatar-1.png" />
 </figure>
@@ -1897,31 +1898,23 @@
                 
-

Add a container element with the class tab. And add child elements with the classname tab-item. You can add the class tab-block for a full-width tab.

+

Add a container element with the class tab. And add child elements with the classname tab-item. You can add the class tab-block for a full-width tab. The tab-item or its child <a> with the class active will be highlighted.

 <ul class="tab tab-block">
     <li class="tab-item active">
-        <a href="#">
-            Music
-        </a>
+        <a href="#">Music</a>
     </li>
     <li class="tab-item">
-        <a href="#">
-            Playlists
-        </a>
+        <a href="#" class="active">Playlists</a>
     </li>
     <li class="tab-item">
-        <a href="#">
-            Radio
-        </a>
+        <a href="#">Radio</a>
     </li>
     <li class="tab-item">
-        <a href="#">
-            Connect
-        </a>
+        <a href="#">Connect</a>
     </li>
 </ul>
 
@@ -1934,7 +1927,7 @@
  • - + Playlists
  • @@ -1958,7 +1951,7 @@
  • - + Playlists
  • @@ -1995,82 +1988,56 @@ @@ -2083,37 +2050,25 @@
     <ul class="pagination">
         <li class="page-item">
    -        <a href="#" class="disabled">
    -            Previous
    -        </a>
    +        <a href="#" disabled>Previous</a>
         </li>
         <li class="page-item active">
    -        <a href="#">
    -            1
    -        </a>
    +        <a href="#">1</a>
         </li>
         <li class="page-item">
    -        <a href="#">
    -            2
    -        </a>
    +        <a href="#">2</a>
         </li>
         <li class="page-item">
    -        <a href="#">
    -            3
    -        </a>
    +        <a href="#">3</a>
         </li>
         <li class="page-item">
             <span>...</span>
         </li>
         <li class="page-item">
    -        <a href="#">
    -            12
    -        </a>
    +        <a href="#">12</a>
         </li>
         <li class="page-item">
    -        <a href="#">
    -            Next
    -        </a>
    +        <a href="#">Next</a>
         </li>
     </ul>
     
    @@ -2370,7 +2325,7 @@
    -
    +
    position display text -- cgit v1.3.1-26-gb76a