filters.html 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Filters</title>
  6. <meta name="description" content="Filters can be used to enable the user to view a single set of data in a different lens">
  7. <link rel="stylesheet" href="../tabs.css">
  8. <!--
  9. This <style> and <link> is only used for the example code, is no needed for the real case use
  10. -->
  11. <style>
  12. html, body {
  13. margin: 0;
  14. padding: 0;
  15. font-size: 10px;
  16. background-color: #fff;
  17. }
  18. body {
  19. background: none;
  20. }
  21. h2.bb-docs {
  22. font-size: 1.8rem;
  23. font-family: sans-serif;
  24. font-weight: lighter;
  25. color: #666;
  26. margin: -1px 0 0;
  27. background-color: #f5f5f5;
  28. padding: 0.4rem 0.4rem 0.4rem 3rem;
  29. border: solid 1px #e8e8e8;
  30. }
  31. body[role="application"] ul.bb-tablist[data-type="filter"] {
  32. margin: 10px 0;
  33. }
  34. </style>
  35. </head>
  36. <body role="application">
  37. <section role="region">
  38. <h2 class="bb-docs">Default position - Default Filters</h2>
  39. <ul role="tablist" class="bb-tablist" data-type="filter">
  40. <li id="filter1-1" role="presentation"><a href="#filter1-1" role="tab">Action 01</a></li>
  41. <li id="filter1-2" role="presentation"><a href="#filter1-2" role="tab">Action 02</a></li>
  42. </ul>
  43. <ul role="tablist" data-type="filter" class="skin-grey bb-tablist">
  44. <li id="filter2-1" role="presentation"><a href="#filter2-1" role="tab">Action 01</a></li>
  45. <li id="filter2-2" role="presentation"><a href="#filter2-2" role="tab">Action 02</a></li>
  46. <li id="filter2-3" role="presentation"><a href="#filter2-3" role="tab">Action 02</a></li>
  47. </ul>
  48. <br />
  49. <br />
  50. <br />
  51. <br />
  52. <h2 class="bb-docs">Default position - Grey Filters</h2>
  53. <ul role="tablist" data-type="filter" class="bottom bb-tablist">
  54. <li id="filter-bottom1-1" role="presentation"><a href="#filter-bottom1-1" role="tab">Action 01</a></li>
  55. <li id="filter-bottom1-2" role="presentation"><a href="#filter-bottom1-2" role="tab">Action 02</a></li>
  56. </ul>
  57. <ul role="tablist" data-type="filter" class="skin-grey bottom bb-tablist">
  58. <li id="filter-bottom2-1" role="presentation"><a href="#filter-bottom2-1" role="tab">Action 01</a></li>
  59. <li id="filter-bottom2-2" role="presentation"><a href="#filter-bottom2-2" role="tab">Action 02</a></li>
  60. <li id="filter-bottom2-3" role="presentation"><a href="#filter-bottom2-3" role="tab">Action 02</a></li>
  61. </ul>
  62. </section>
  63. </body>
  64. </html>