UNPKG

3.63 kBHTMLView Raw
1<!--
2 Copyright IBM Corp. 2016, 2018
3
4 This source code is licensed under the Apache-2.0 license found in the
5 LICENSE file in the root directory of this source tree.
6-->
7
8<div data-notification class="bx--toast-notification bx--toast-notification--info" role="alert">
9 <div class="bx--toast-notification__details">
10 <h3 class="bx--toast-notification__title">Notification title</h3>
11 <p class="bx--toast-notification__subtitle">Subtitle text goes here.</p>
12 <p class="bx--toast-notification__caption">Time stamp [00:00:00]</p>
13 </div>
14 <button data-notification-btn class="bx--toast-notification__close-button" type="button" aria-label="close">
15 <svg aria-hidden="true" class="bx--toast-notification__close-icon" width="10" height="10" viewBox="0 0 10 10"
16 xmlns="http://www.w3.org/2000/svg">
17 <path d="M6.32 5L10 8.68 8.68 10 5 6.32 1.32 10 0 8.68 3.68 5 0 1.32 1.32 0 5 3.68 8.68 0 10 1.32 6.32 5z"
18 fill-rule="nonzero" />
19 </svg>
20 </button>
21</div>
22<div data-notification class="bx--toast-notification bx--toast-notification--error" role="alert">
23 <div class="bx--toast-notification__details">
24 <h3 class="bx--toast-notification__title">Notification title</h3>
25 <p class="bx--toast-notification__subtitle">Subtitle text goes here.</p>
26 <p class="bx--toast-notification__caption">Time stamp [00:00:00]</p>
27 </div>
28 <button data-notification-btn class="bx--toast-notification__close-button" type="button" aria-label="close">
29 <svg aria-hidden="true" class="bx--toast-notification__close-icon" width="10" height="10" viewBox="0 0 10 10"
30 xmlns="http://www.w3.org/2000/svg">
31 <path d="M6.32 5L10 8.68 8.68 10 5 6.32 1.32 10 0 8.68 3.68 5 0 1.32 1.32 0 5 3.68 8.68 0 10 1.32 6.32 5z"
32 fill-rule="nonzero" />
33 </svg>
34 </button>
35</div>
36<div data-notification class="bx--toast-notification bx--toast-notification--success" role="alert">
37 <div class="bx--toast-notification__details">
38 <h3 class="bx--toast-notification__title">Notification title</h3>
39 <p class="bx--toast-notification__subtitle">Our goal is to become better at our craft and raise our collective knowledge by sharing experiences, best practices, what we have recently learned or what we are working on.</p>
40 <p class="bx--toast-notification__caption">Time stamp [00:00:00]</p>
41 </div>
42 <button data-notification-btn class="bx--toast-notification__close-button" type="button" aria-label="close">
43 <svg aria-hidden="true" class="bx--toast-notification__close-icon" width="10" height="10" viewBox="0 0 10 10"
44 xmlns="http://www.w3.org/2000/svg">
45 <path d="M6.32 5L10 8.68 8.68 10 5 6.32 1.32 10 0 8.68 3.68 5 0 1.32 1.32 0 5 3.68 8.68 0 10 1.32 6.32 5z"
46 fill-rule="nonzero" />
47 </svg>
48 </button>
49</div>
50<div data-notification class="bx--toast-notification bx--toast-notification--warning" role="alert">
51 <div class="bx--toast-notification__details">
52 <h3 class="bx--toast-notification__title">Notification title</h3>
53 <p class="bx--toast-notification__subtitle">Subtitle text goes here.</p>
54 <p class="bx--toast-notification__caption">Time stamp [00:00:00]</p>
55 </div>
56 <button data-notification-btn class="bx--toast-notification__close-button" type="button" aria-label="close">
57 <svg aria-hidden="true" class="bx--toast-notification__close-icon" width="10" height="10" viewBox="0 0 10 10"
58 xmlns="http://www.w3.org/2000/svg">
59 <path d="M6.32 5L10 8.68 8.68 10 5 6.32 1.32 10 0 8.68 3.68 5 0 1.32 1.32 0 5 3.68 8.68 0 10 1.32 6.32 5z"
60 fill-rule="nonzero" />
61 </svg>
62 </button>
63</div>