-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathcomponents_badges.html
107 lines (94 loc) · 3.47 KB
/
components_badges.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
---
layout: admin
title: Components - Badges
section: components
module: components_badges
header:
icon: crop_7_5
title: Badges
description: Badges can notify you that there are new or unread messages or notifications. Add the new class to the badge to give it the background.
---
<section id="components_badges">
<!-- ########### -->
<!-- Collections -->
<!-- ########### -->
<div class="row">
<div class="col s12">
<h4 class="main-text lighten-1">Collections</h4>
<div class="collection">
<a href="#!" class="collection-item">Alan<span class="badge">1</span></a>
<a href="#!" class="collection-item">Alan<span class="new badge">4</span></a>
<a href="#!" class="collection-item">Alan</a>
<a href="#!" class="collection-item">Alan<span class="badge">14</span></a>
</div>
<pre>
<code class="language-markup">
<div class="collection">
<a href="#!" class="collection-item">Alan<span class="badge">1</span></a>
<a href="#!" class="collection-item">Alan<span class="new badge">4</span></a>
<a href="#!" class="collection-item">Alan</a>
<a href="#!" class="collection-item">Alan<span class="badge">14</span></a>
</div>
</code>
</pre>
</div>
</div>
<!-- ################## -->
<!-- Badges in Dropdown -->
<!-- ################## -->
<div class="row">
<div class="col s12">
<h4 class="main-text lighten-1">Badges in Dropdown</h4>
<ul id="dropdown2" class="dropdown-content">
<li><a href="#!">one<span class="badge">1</span></a></li>
<li><a href="#!">two<span class="new badge">1</span></a></li>
<li><a href="#!">three</a></li>
</ul>
<a class="btn dropdown-button" href="#!" data-activates="dropdown2">Dropdown<i class="mdi-navigation-arrow-drop-down right"></i></a>
<pre>
<code class="language-markup">
<ul id="dropdown2" class="dropdown-content">
<li><a href="#!">one<span class="badge">1</span></a></li>
<li><a href="#!">two<span class="new badge">1</span></a></li>
<li><a href="#!">three</a></li>
</ul>
<a class="btn dropdown-button" href="#!" data-activates="dropdown2">Dropdown<i class="mdi-navigation-arrow-drop-down right"></i></a>
</code>
</pre>
</div>
</div>
<!-- ################ -->
<!-- Badges in Navbar -->
<!-- ################ -->
<div class="row">
<div class="col s12">
<h4 class="main-text lighten-1">Badges in Navbar</h4>
<nav>
<div class="col s12">
<div class="nav-wrapper">
<a href="" class="brand-logo">Logo</a>
<ul id="nav-mobile" class="right hide-on-med-and-down">
<li><a href="">sass</a></li>
<li><a href="">sass <span class="new badge">4</span></a></li>
<li><a href="">sass</a></li>
</ul>
</div>
</div>
</nav>
<pre>
<code class="language-markup">
<nav>
<div class="nav-wrapper">
<a href="" class="brand-logo">Logo</a>
<ul id="nav-mobile" class="right hide-on-med-and-down">
<li><a href="">sass</a></li>
<li><a href="">sass <span class="new badge">4</span></a></li>
<li><a href="">sass</a></li>
</ul>
</div>
</nav>
</code>
</pre>
</div>
</div>
</section>