blob: 9cab0fc0eb90068f0b84e9df4433d8d114fab0a5 [file] [log] [blame]
Copybara botbe50d492023-11-30 00:16:42 +01001<!doctype html>
2<html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <meta http-equiv="X-UA-Compatible" content="IE=edge">
6 <meta name="description" content="A front-end template that helps you build fast, modern mobile web apps.">
7 <meta name="viewport" content="width=device-width, initial-scale=1">
8 <title>badge test</title>
9
10 <!-- Fonts -->
11 <link href='https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medium&amp;lang=en' rel='stylesheet' type='text/css'>
12 <link href="https://fonts.googleapis.com/icon?family=Material+Icons"
13 rel="stylesheet">
14
15 <!-- Page styles -->
16 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/0.0.1/prism.min.css">
17 <link rel="stylesheet" href="../../material.min.css">
18 <link rel="stylesheet" href="../../components/demos.css">
19 <script src="../../material.min.js"></script>
20
21
22 <style>
23
24 </style>
25
26 </head>
27 <body>
28
29 <div style="padding-top: 24px;">
30
31
32<style>
33.demo-badge__badge-on-icon-icon .mdl-badge {
34 color: rgba(0, 0, 0, 0.24);
35}
36.demo-badge__badge-on-icon-icon .mdl-badge.material-icons {
37 font-size: 32px;
38}
39</style>
40{% include "badge-on-icon-icon.html" %}
41
42<!-- Icon badge on icon -->
43<div class="material-icons mdl-badge mdl-badge--overlap" data-badge="♥">account_box</div>
44
45<style>
46.demo-badge__badge-on-icon-text .mdl-badge {
47 color: rgba(0, 0, 0, 0.24);
48}
49.demo-badge__badge-on-icon-text .mdl-badge.material-icons {
50 font-size: 32px;
51}
52</style>
53{% include "badge-on-icon-text.html" %}
54
55<!-- Number badge on icon -->
56<div class="material-icons mdl-badge mdl-badge--overlap" data-badge="1">account_box</div>
57
58<style>
59.demo-badge__badge-on-text-icon .mdl-badge {
60 color: rgba(0, 0, 0, 0.24);
61}
62</style>
63{% include "badge-on-text-icon.html" %}
64
65<!-- Icon badge -->
66<span class="mdl-badge" data-badge="♥">Mood</span>
67
68<style>
69.demo-badge__badge-on-text-text .mdl-badge {
70 color: rgba(0, 0, 0, 0.24);
71}
72</style>
73
74{% include "badge-on-text-text.html" %}
75
76<!-- Number badge -->
77<span class="mdl-badge" data-badge="4">Inbox</span>
78
79
80 </div>
81 <!-- Built with love using Material Design Lite -->
82
83
84 <script>
85
86 </script>
87 </body>
88</html>