-
Notifications
You must be signed in to change notification settings - Fork 0
/
component-notifications.html
386 lines (355 loc) · 23.3 KB
/
component-notifications.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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, viewport-fit=cover" />
<title>StickyMobile BootStrap</title>
<link rel="stylesheet" type="text/css" href="styles/bootstrap.css">
<link rel="stylesheet" type="text/css" href="styles/style.css">
<link href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,500,500i,700,700i,900,900i|Source+Sans+Pro:300,300i,400,400i,600,600i,700,700i,900,900i&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="fonts/css/fontawesome-all.min.css">
<link rel="manifest" href="_manifest.json" data-pwa-version="set_in_manifest_and_pwa_js">
<link rel="apple-touch-icon" sizes="180x180" href="app/icons/icon-192x192.png">
</head>
<body class="theme-light" data-background="none" data-highlight="red2">
<div id="preloader"><div class="spinner-border color-highlight" role="status"></div></div>
<div id="page">
<div class="header header-fixed header-logo-center">
<a href="index.html" class="header-title">Sticky Mobile</a>
<a href="#" data-back-button class="header-icon header-icon-1"><i class="fas fa-arrow-left"></i></a>
<a href="#" data-toggle-theme class="header-icon header-icon-4"><i class="fas fa-lightbulb"></i></a>
</div>
<div id="footer-bar" class="footer-bar-1">
<a href="index.html"><i class="fa fa-home"></i><span>Home</span></a>
<a href="index-components.html" class="active-nav"><i class="fa fa-star"></i><span>Features</span></a>
<a href="index-pages.html"><i class="fa fa-heart"></i><span>Pages</span></a>
<a href="index-search.html"><i class="fa fa-search"></i><span>Search</span></a>
<a href="#" data-menu="menu-settings"><i class="fa fa-cog"></i><span>Settings</span></a>
</div>
<div class="page-content header-clear-medium">
<div class="card card-style preload-img" data-src="images/pictures/18w.jpg" data-card-height="130">
<div class="card-center ml-3">
<h1 class="color-white mb-0 font-20">Alerts & Notifications</h1>
<p class="color-white mt-n1 mb-0">Classic Alerts and Mobile Styled.</p>
</div>
<div class="card-center mr-3">
<a href="#" data-back-button class="btn btn-m float-right rounded-xl shadow-xl text-uppercase font-800 bg-highlight">Back Home</a>
</div>
<div class="card-overlay bg-black opacity-80"></div>
</div>
<div class="card card-style bg-blue2-dark">
<p class="content color-white mb-4">
Notifications can be used as alerts or off-canvas, mobile designed. You can add any color you wish to them.
</p>
</div>
<div class="card card-style">
<div class="content mb-0">
<h4>Mobile Styled</h4>
<p>
Designed to fall down from the top of the screen, these support multiple colors icons and links.
</p>
<div class="list-group list-custom-small list-icon-0">
<a href="#" data-toast="notification-1">
<i class="fab font-17 fa-apple color-gray2-dark"></i>
<span>iOS Style</span>
<i class="fa fa-angle-right"></i>
</a>
<a href="#" data-toast="notification-2">
<i class="fab font-17 fa-android color-green1-dark"></i>
<span>Android Style 1</span>
<i class="fa fa-angle-right"></i>
</a>
<a href="#" data-toast="notification-3">
<i class="fab font-17 fa-android color-green2-dark"></i>
<span>Android Style 2</span>
<i class="fa fa-angle-right"></i>
</a>
<a href="#" data-toast="notification-4">
<i class="fa font-14 fa-bold color-blue2-dark"></i>
<span>Boostrap Style - 1</span>
<i class="fa fa-angle-right"></i>
</a>
<a href="#" data-toast="notification-5" class="border-0">
<i class="fa font-14 fa-bold color-blue2-dark"></i>
<span>Boostrap Style - 2</span>
<i class="fa fa-angle-right"></i>
</a>
</div>
</div>
</div>
<div class="card card-style">
<div class="content">
<h4>Alert Small</h4>
<p>
Small alerts great for confirmations and more, can be used for a variety of purposes.
</p>
</div>
</div>
<div class="ml-3 mr-3 alert alert-small rounded-s shadow-xl bg-yellow1-dark" role="alert">
<span><i class="fa fa-exclamation-triangle"></i></span>
<strong>Please check back later!</strong>
<button type="button" class="close color-white opacity-60 font-16" data-dismiss="alert" aria-label="Close">×</button>
</div>
<div class="ml-3 mr-3 alert alert-small rounded-s shadow-xl bg-green1-dark" role="alert">
<span><i class="fa fa-check"></i></span>
<strong>Everything's okay here!</strong>
<button type="button" class="close color-white opacity-60 font-16" data-dismiss="alert" aria-label="Close">×</button>
</div>
<div class="ml-3 mr-3 alert alert-small rounded-s shadow-xl bg-blue2-dark" role="alert">
<span><i class="fa fa-cog"></i></span>
<strong>We're working on this</strong>
<button type="button" class="close color-white opacity-60 font-16" data-dismiss="alert" aria-label="Close">×</button>
</div>
<div class="ml-3 mr-3 mb-5 alert alert-small rounded-s shadow-xl bg-red2-dark" role="alert">
<span><i class="fa fa-times"></i></span>
<strong>We have a problem here</strong>
<button type="button" class="close color-white opacity-60 font-16" data-dismiss="alert" aria-label="Close">×</button>
</div>
<div class="card card-style">
<div class="content">
<h4>Alert Large</h4>
<p>
Large alerts great for confirmations and more, can be used for a variety of purposes.
</p>
</div>
</div>
<div class="alert mr-3 ml-3 rounded-s bg-yellow1-dark" role="alert">
<span class="alert-icon"><i class="fa fa-exclamation-triangle font-18"></i></span>
<h4 class="text-uppercase color-white">Warning</h4>
<strong class="alert-icon-text">Something might go wrong.</strong>
<button type="button" class="close color-white opacity-60 font-16" data-dismiss="alert" aria-label="Close">×</button>
</div>
<div class="alert mr-3 ml-3 rounded-s bg-green1-dark" role="alert">
<span class="alert-icon"><i class="fa fa-check font-18"></i></span>
<h4 class="text-uppercase color-white">Success</h4>
<strong class="alert-icon-text">Everything's okay here.</strong>
<button type="button" class="close color-white opacity-60 font-16" data-dismiss="alert" aria-label="Close">×</button>
</div>
<div class="alert mr-3 ml-3 rounded-s bg-blue2-dark" role="alert">
<span class="alert-icon"><i class="fa fa-cog font-18"></i></span>
<h4 class="text-uppercase color-white">Maintenance</h4>
<strong class="alert-icon-text">We're working on this.</strong>
<button type="button" class="close color-white opacity-60 font-16" data-dismiss="alert" aria-label="Close">×</button>
</div>
<div class="alert mr-3 ml-3 rounded-s bg-red2-dark " role="alert">
<span class="alert-icon"><i class="fa fa-times-circle font-18"></i></span>
<h4 class="text-uppercase color-white">Error</h4>
<strong class="alert-icon-text">We have a problem here.</strong>
<button type="button" class="close color-white opacity-60 font-16" data-dismiss="alert" aria-label="Close">×</button>
</div>
<div class="card card-style mt-5">
<div class="content mb-3">
<h4>Trigger by Tap or Programatically</h4>
<p class="mb-3">
We built notifications based on Boostrap toast system, so you can trigger them via a tap
or programatically by simply using the Boostrap classic code.
</p>
<code>$('#notification-1').toast('show');</code><br>
<code>$('#notification-1').toast('hide');</code>
</div>
</div>
<div class="footer card card-style">
<a href="#" class="footer-title"><span class="color-highlight">StickyMobile</span></a>
<p class="footer-text"><span>Made with <i class="fa fa-heart color-highlight font-16 pl-2 pr-2"></i> by Enabled</span><br><br>Powered by the best Mobile Website Developer on Envato Market. Elite Quality. Elite Products.</p>
<div class="text-center mb-3">
<a href="#" class="icon icon-xs rounded-sm shadow-l mr-1 bg-facebook"><i class="fab fa-facebook-f"></i></a>
<a href="#" class="icon icon-xs rounded-sm shadow-l mr-1 bg-twitter"><i class="fab fa-twitter"></i></a>
<a href="#" class="icon icon-xs rounded-sm shadow-l mr-1 bg-phone"><i class="fa fa-phone"></i></a>
<a href="#" data-menu="menu-share" class="icon icon-xs rounded-sm mr-1 shadow-l bg-red2-dark"><i class="fa fa-share-alt"></i></a>
<a href="#" class="back-to-top icon icon-xs rounded-sm shadow-l bg-dark1-light"><i class="fa fa-angle-up"></i></a>
</div>
<p class="footer-copyright">Copyright © Enabled <span id="copyright-year">2017</span>. All Rights Reserved.</p>
<p class="footer-links"><a href="#" class="color-highlight">Privacy Policy</a> | <a href="#" class="color-highlight">Terms and Conditions</a> | <a href="#" class="back-to-top color-highlight"> Back to Top</a></p>
<div class="clear"></div>
</div>
</div>
<!-- End of Page Content-->
<div id="notification-1" data-dismiss="notification-1" data-delay="3000" data-autohide="true" class="notification notification-ios bg-dark1-dark">
<span class="notification-icon">
<i class="fa fa-bell"></i>
<em>Enabled</em>
<i data-dismiss="notification-1" class="fa fa-times-circle"></i>
</span>
<h1 class="font-15 color-white mb-n3">All Good</h1>
<p class="pt-2">
I'm a notification. I show at the top or bottom of the page.
</p>
</div>
<div id="notification-2" data-dismiss="notification-2" data-delay="3000" data-autohide="true" class="notification notification-android bg-dark1-dark">
<i class="fa fa-check bg-green1-dark"></i>
<h1 class="font-15 color-white">All Good</h1>
<strong>19:24</strong>
<p class="pb-0">
I'm a notification. I show at the top of the page. Awesome stuff here!
</p>
<div class="notification-buttons">
<div class="row mb-0">
<div class="col-6">
<a href="#"><i class="fa fa-info-circle"></i>Find out More</a>
</div>
<div class="col-6">
<a href="#"><i class="fa fa-download"></i>Download</a>
</div>
</div>
</div>
</div>
<div id="notification-3" data-dismiss="notification-3" data-delay="3000" data-autohide="true" class="notification notification-material bg-dark1-dark">
<span class="notification-icon">
<i class="fa fa-comment color-green1-light"></i>
<em class="color-green1-light">Hangouts</em>
<strong>Messenger</strong>
</span>
<img src="images/pictures/0t.jpg">
<h1 class="font-15 color-white">John Doe</h1>
<p class="pb-1">
I'm a notification. I show at the top of the page.
</p>
</div>
<div id="notification-4" data-dismiss="notification-4" data-delay="3000" data-autohide="true" class="notification bg-theme shadow-xl">
<div class="toast-header">
<img src="images/preload-logo.png" width="15" class="rounded mr-2" alt="...">
<strong class="mr-auto">Enabled</strong>
<small class="text-muted">just now</small>
<button type="button" class="ml-2 mb-1 close" data-dismiss="toast" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="toast-body">
We always listen to your feedback, so we added Boostrap to our items. Just as fast as before, only now, with code you are familiar with slightly upgraded for maximum performance!
</div>
</div>
<div id="notification-5" data-dismiss="notification-5" data-delay="3000" data-autohide="true" class="notification bg-theme shadow-xl">
<div class="toast-header bg-highlight border-highlight">
<img src="images/preload-logo.png" width="15" class="rounded mr-2" alt="...">
<strong class="mr-auto color-white">Enabled</strong>
<small class="color-white opacity-50 mr-2">just now</small>
<button type="button" class="ml-2 mb-1 color-white close" data-dismiss="toast" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="toast-body bg-red1-light">
This notification will adapt to the bg-highlight you select for the page.
</div>
</div>
<!-- All Menus, Action Sheets, Modals, Notifications, Toasts, Snackbars get Placed outside the <div class="page-content"> -->
<div id="menu-settings" class="menu menu-box-bottom menu-box-detached rounded-m" data-menu-height="308">
<div class="menu-title"><h1>Settings</h1><p class="color-highlight">Flexible and Easy to Use</p><a href="#" class="close-menu"><i class="fa fa-times"></i></a></div>
<div class="divider divider-margins mb-n2"></div>
<div class="content">
<div class="list-group list-custom-small">
<a href="#" data-toggle-theme data-trigger-switch="switch-dark-mode" class="pb-2 ml-n1">
<i class="fa font-12 fa-moon rounded-s bg-highlight color-white mr-3"></i>
<span>Dark Mode</span>
<div class="custom-control scale-switch ios-switch">
<input data-toggle-theme-switch type="checkbox" class="ios-input" id="switch-dark-mode">
<label class="custom-control-label" for="switch-dark-mode"></label>
</div>
<i class="fa fa-angle-right"></i>
</a>
</div>
<div class="list-group list-custom-large">
<a data-menu="menu-highlights" href="#">
<i class="fa font-14 fa-tint bg-green1-dark rounded-s"></i>
<span>Page Highlight</span>
<strong>16 Colors Highlights Included</strong>
<span class="badge bg-highlight color-white">HOT</span>
<i class="fa fa-angle-right"></i>
</a>
<a data-menu="menu-backgrounds" href="#" class="border-0">
<i class="fa font-14 fa-cog bg-blue2-dark rounded-s"></i>
<span>Background Color</span>
<strong>10 Page Gradients Included</strong>
<span class="badge bg-highlight color-white">NEW</span>
<i class="fa fa-angle-right"></i>
</a>
</div>
</div>
</div>
<!-- Menu Settings Highlights-->
<div id="menu-highlights" class="menu menu-box-bottom menu-box-detached rounded-m" data-menu-height="380" data-menu-effect="menu-over">
<div class="menu-title"><h1>Highlights</h1><p class="color-highlight">Any Element can have a Highlight Color</p><a href="#" class="close-menu"><i class="fa fa-times"></i></a></div>
<div class="divider divider-margins mb-n2"></div>
<div class="content">
<div class="highlight-changer">
<a href="#" data-change-highlight="blue2"><i class="fa fa-circle color-blue2-dark"></i><span class="color-blue2-light">Default</span></a>
<a href="#" data-change-highlight="red2"><i class="fa fa-circle color-red1-dark"></i><span class="color-red2-light">Red</span></a>
<a href="#" data-change-highlight="orange"><i class="fa fa-circle color-orange-dark"></i><span class="color-orange-light">Orange</span></a>
<a href="#" data-change-highlight="pink2"><i class="fa fa-circle color-pink2-dark"></i><span class="color-pink2-light">Pink</span></a>
<a href="#" data-change-highlight="magenta2"><i class="fa fa-circle color-magenta2-dark"></i><span class="color-magenta2-light">Purple</span></a>
<a href="#" data-change-highlight="aqua"><i class="fa fa-circle color-aqua-dark"></i><span class="color-aqua-light">Aqua</span></a>
<a href="#" data-change-highlight="teal"><i class="fa fa-circle color-teal-dark"></i><span class="color-teal-light">Teal</span></a>
<a href="#" data-change-highlight="mint"><i class="fa fa-circle color-mint-dark"></i><span class="color-mint-light">Mint</span></a>
<a href="#" data-change-highlight="green2"><i class="fa fa-circle color-green2-dark"></i><span class="color-green2-light">Green</span></a>
<a href="#" data-change-highlight="green1"><i class="fa fa-circle color-green1-dark"></i><span class="color-green1-light">Grass</span></a>
<a href="#" data-change-highlight="yellow2"><i class="fa fa-circle color-yellow2-dark"></i><span class="color-yellow2-light">Sunny</span></a>
<a href="#" data-change-highlight="yellow1"><i class="fa fa-circle color-yellow1-dark"></i><span class="color-yellow1-light">Goldish</span></a>
<a href="#" data-change-highlight="brown1"><i class="fa fa-circle color-brown1-dark"></i><span class="color-brown1-light">Wood</span></a>
<a href="#" data-change-highlight="dark1"><i class="fa fa-circle color-dark1-dark"></i><span class="color-dark1-light">Night</span></a>
<a href="#" data-change-highlight="dark2"><i class="fa fa-circle color-dark2-dark"></i><span class="color-dark2-light">Dark</span></a>
<div class="clearfix"></div>
</div>
<a href="#" data-menu="menu-settings" class="btn btn-full btn-m rounded-sm bg-highlight shadow-xl text-uppercase font-900 mt-4">Back to Settings</a>
</div>
</div>
<!-- Menu Settings Backgrounds-->
<div id="menu-backgrounds" class="menu menu-box-bottom menu-box-detached rounded-m" data-menu-height="310" data-menu-effect="menu-over">
<div class="menu-title"><h1>Backgrounds</h1><p class="color-highlight">Change Page Color Behind Content Boxes</p><a href="#" class="close-menu"><i class="fa fa-times"></i></a></div>
<div class="divider divider-margins mb-n2"></div>
<div class="content">
<div class="background-changer">
<a href="#" data-change-background="none"><i class="bg-theme"></i><span>Default</span></a>
<a href="#" data-change-background="plum"><i class="body-plum"></i><span class="color-plum-dark">Plum</span></a>
<a href="#" data-change-background="magenta3"><i class="body-magenta3"></i><span class="color-magenta3-dark">Magenta</span></a>
<a href="#" data-change-background="dark3"><i class="body-dark3"></i><span class="color-dark3-dark">Dark</span></a>
<a href="#" data-change-background="violet"><i class="body-violet"></i><span class="color-violet-dark">Violet</span></a>
<a href="#" data-change-background="red3"><i class="body-red3"></i><span class="color-red3-dark">Red</span></a>
<a href="#" data-change-background="green3"><i class="body-green3"></i><span class="color-green3-dark">Green</span></a>
<a href="#" data-change-background="sky"><i class="body-sky"></i><span class="color-sky-dark">Sky</span></a>
<a href="#" data-change-background="pumpkin"><i class="body-pumpkin"></i><span class="color-pumpkin-dark">Orange</span></a>
<a href="#" data-change-background="yellow3"><i class="body-yellow3"></i><span class="color-yellow3-dark">Yellow</span></a>
<div class="clearfix"></div>
</div>
<a href="#" data-menu="menu-settings" class="btn btn-full btn-m rounded-sm bg-highlight shadow-xl text-uppercase font-900 mt-4">Back to Settings</a>
</div>
</div>
<!-- Menu Share -->
<div id="menu-share" class="menu menu-box-bottom menu-box-detached rounded-m" data-menu-height="345" data-menu-effect="menu-over">
<div class="menu-title mt-n1"><h1>Share the Love</h1><p class="color-highlight">Just Tap the Social Icon. We'll add the Link</p><a href="#" class="close-menu"><i class="fa fa-times"></i></a></div>
<div class="content mb-0">
<div class="divider mb-0"></div>
<div class="list-group list-custom-small list-icon-0">
<a href="#" class="shareToFacebook">
<i class="font-18 fab fa-facebook color-facebook"></i>
<span class="font-13">Facebook</span>
<i class="fa fa-angle-right"></i>
</a>
<a href="#" class="shareToTwitter">
<i class="font-18 fab fa-twitter-square color-twitter"></i>
<span class="font-13">Twitter</span>
<i class="fa fa-angle-right"></i>
</a>
<a href="#" class="shareToLinkedIn">
<i class="font-18 fab fa-linkedin color-linkedin"></i>
<span class="font-13">LinkedIn</span>
<i class="fa fa-angle-right"></i>
</a>
<a href="#" class="shareToWhatsApp">
<i class="font-18 fab fa-whatsapp-square color-whatsapp"></i>
<span class="font-13">WhatsApp</span>
<i class="fa fa-angle-right"></i>
</a>
<a href="#" class="shareToMail border-0">
<i class="font-18 fa fa-envelope-square color-mail"></i>
<span class="font-13">Email</span>
<i class="fa fa-angle-right"></i>
</a>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="scripts/jquery.js"></script>
<script type="text/javascript" src="scripts/bootstrap.min.js"></script>
<script type="text/javascript" src="scripts/custom.js"></script>
</body>