badges.html 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. ---
  2. title: Badges
  3. page-header: Badges
  4. menu: base.badges
  5. ---
  6. <div class="row row-cards">
  7. <div class="col-4">
  8. <div class="card">
  9. <div class="card-body">
  10. <h1>Example heading <span class="badge">New</span></h1>
  11. <h2>Example heading <span class="badge">New</span></h2>
  12. <h3>Example heading <span class="badge">New</span></h3>
  13. <h4>Example heading <span class="badge">New</span></h4>
  14. <h5>Example heading <span class="badge">New</span></h5>
  15. <h6>Example heading <span class="badge">New</span></h6>
  16. </div>
  17. </div>
  18. </div>
  19. <div class="col-8">
  20. <div class="row row-cards">
  21. <div class="col-12">
  22. <div class="card">
  23. <div class="card-body">
  24. <div class="badges-list">
  25. {% for color in site.colors %}
  26. <span class="badge bg-{{ color[0] }} text-{{ color[0] }}-fg">{{ color[1].title }}</span>
  27. {% endfor %}
  28. </div>
  29. </div>
  30. </div>
  31. </div>
  32. <div class="col-12">
  33. <div class="card">
  34. <div class="card-body">
  35. <div class="badges-list">
  36. {% for color in site.colors %}
  37. <span class="badge bg-{{ color[0] }}-lt">{{ color[1].title }}</span>
  38. {% endfor %}
  39. </div>
  40. </div>
  41. </div>
  42. </div>
  43. <div class="col-12">
  44. <div class="card">
  45. <div class="card-body">
  46. <div class="badges-list">
  47. {% for color in site.colors %}
  48. <span class="badge badge-outline text-{{ color[0] }}">{{ color[1].title }}</span>
  49. {% endfor %}
  50. </div>
  51. </div>
  52. </div>
  53. </div>
  54. </div>
  55. </div>
  56. <div class="col-sm-6 col-lg-3">
  57. {% include ui/dropdown-menu.html show=true badge=true arrow=true %}
  58. </div>
  59. <div class="col-sm-6 col-lg-9">
  60. <div class="row row-cards">
  61. <div class="col-12">
  62. <div class="card">
  63. <div class="card-body">
  64. <div class="btn-list">
  65. {% for color in site.colors %}
  66. <button class="btn">{{ color[1].title }} badge <span class="badge bg-{{ color[0] }} text-{{ color[0] }}-fg ms-2">{{ forloop.index }}</span></button>
  67. {% endfor %}
  68. </div>
  69. </div>
  70. </div>
  71. </div>
  72. <div class="col-12">
  73. <div class="card">
  74. <div class="card-body">
  75. <div class="btn-list">
  76. {% for color in site.colors %}
  77. <button class="btn position-relative">{{ color[1].title }} badge <span class="badge bg-{{ color[0] }} text-{{ color[0] }}-fg badge-notification badge-pill">{{ forloop.index }}</span></button>
  78. {% endfor %}
  79. </div>
  80. </div>
  81. </div>
  82. </div>
  83. <div class="col-12">
  84. <div class="card">
  85. <div class="card-body">
  86. <div class="btn-list">
  87. {% for color in site.colors %}
  88. <button class="btn position-relative">{{ color[1].title }} badge <span class="badge bg-{{ color[0] }} badge-notification badge-blink"></span></button>
  89. {% endfor %}
  90. </div>
  91. </div>
  92. </div>
  93. </div>
  94. </div>
  95. </div>
  96. </div>