-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
535 lines (530 loc) · 23.2 KB
/
index.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
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
<!doctype html>
<html lang="en" data-bs-theme="auto">
<head>
<meta charset="utf-8">
<meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description"
content="Web Style Guide based on Bootstrap 5 and Font Awesome 5. All open source and/or Creative Commons.">
<link rel="stylesheet" href="style/bootstrappyactive.min.css">
<script type="module" src="js/color-modes.js"></script>
<title> reelyActive Web Style Guide </title>
<!----- Structured, linked metadata (JSON-LD & Schema.org) ----->
<script type="application/ld+json">
[{
"@context": "https://schema.org",
"@type": "TechArticle",
"headline": "reelyActive Web Style Guide",
"description": "Web style guide based on the Bootstrap 5 component library with Font Awesome 5 icons. All open source and/or Creative Commons.",
"proficiencyLevel": "Beginner",
"genre": "style guide",
"image": "https://reelyactive.github.io/web-style-guide/images/screenshot.png",
"author": {
"@type": "Organization",
"url": "https://www.reelyactive.com"
}
},
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [{
"@type": "ListItem",
"position": 1,
"name": "reelyActive Developers",
"item": "https://reelyactive.github.io"
},{
"@type": "ListItem",
"position": 2,
"name": "Web Style Guide"
}]
}]
</script>
</head>
<body id="top">
<!-- Navigation -->
<nav class="navbar sticky-top navbar-expand-lg bg-body-tertiary shadow">
<div class="container-fluid">
<a class="navbar-brand" href="https://www.reelyactive.com/">
<img src="images/reelyactive-logo-nav.png" width="165" height="30"
alt="reelyActive">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarItems" aria-controls="navbarItems"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarItems">
<!-- Left-aligned navigation items -->
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
</ul>
<!-- Right-aligned navigation items -->
<ul class="navbar-nav">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" id="navbarDropdown"
role="button" data-bs-toggle="dropdown" aria-haspopup="true"
aria-expanded="false">
Examples
</a>
<!-- Dropdown example -->
<ul class="dropdown-menu dropdown-menu-end shadow"
aria-labelledby="navbarDropdown">
<li>
<a class="dropdown-item" href="tutorial-example/">
Tutorial Example
</a>
</li>
<li>
<a class="dropdown-item" href="app-example/">
Web App Example
</a>
</li>
<li>
<a class="dropdown-item" href="hlc-example/">
Hyperlocal Context Example
</a>
</li>
<li>
<a class="dropdown-item" href="bootstrap-components/">
Bootstrap 5 Cheatsheet
</a>
</li>
<li>
<a class="dropdown-item" href="fontawesome-icons/">
Font Awesome Cheatsheet
</a>
</li>
</ul>
</li>
<!-- Colour theme chooser -->
<li class="nav-item dropdown">
<button class="btn btn-link nav-link dropdown-toggle"
id="bd-theme" type="button" aria-expanded="false"
data-bs-toggle="dropdown" data-bs-display="static"
aria-label="Toggle theme (auto)">
<i class="fas fa-adjust"></i>
</button>
<ul class="dropdown-menu dropdown-menu-end shadow"
aria-labelledby="bd-theme-text">
<li>
<button type="button" class="dropdown-item"
data-bs-theme-value="light" aria-pressed="false">
<i class="fas fa-sun"></i> Light
</button>
</li>
<li>
<button type="button" class="dropdown-item"
data-bs-theme-value="dark" aria-pressed="false">
<i class="fas fa-moon"></i> Dark
</button>
</li>
<li>
<button type="button" class="dropdown-item active"
data-bs-theme-value="auto" aria-pressed="true">
<i class="fas fa-adjust"></i> Auto
</button>
</li>
</ul>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" id="navbarInfoDropdown"
role="button" data-bs-toggle="dropdown" aria-haspopup="true"
aria-expanded="false">
<i class="fas fa-question-circle"></i>
</a>
<!-- Info about tracking and open source software/licenses -->
<ul class="dropdown-menu dropdown-menu-end shadow"
aria-labelledby="navbarInfoDropdown">
<li>
<a class="dropdown-item"
href="https://www.reelyactive.com/how-we-observe/#digital">
<i class="fas fa-mouse-pointer"></i>
Behaviour tracking free
<span class="badge bg-success animate-breathing">
<i class="fas fa-user-shield"></i>
</span>
<!--<i class="fas fa-mouse-pointer"></i>
Privacy-centric metrics
(<i class="fab fa-cloudflare"></i> beacon.js)
<span class="badge bg-warning animate-breathing">
<i class="fas fa-user-tag"></i>
</span>-->
<!--<i class="fas fa-mouse-pointer"></i>
Page view tracking (gtag.js)
<span class="badge bg-warning animate-breathing">
<i class="fas fa-user-tag"></i>
</span>-->
</a>
</li>
<li class="dropdown-divider"></li>
<li>
<a class="dropdown-item" target="_blank"
href="https://getbootstrap.com" >
<i class="fab fa-bootstrap"></i>
Bootstrap 5
<span class="badge bg-light text-dark">
<i class="fab fa-osi"></i> MIT
</span>
</a>
</li>
<li>
<a class="dropdown-item" target="_blank"
href="https://fontawesome.com" >
<i class="fab fa-font-awesome"></i>
Font Awesome (Free)
<span class="badge bg-light text-dark">
<i class="fab fa-creative-commons"></i>
<i class="fab fa-osi"></i> MIT
</span>
</a>
</li>
<li>
<a class="dropdown-item" target="_blank"
href="https://github.com/reelyactive/web-style-guide/" >
<i class="fas fa-code"></i>
Web Style Guide
<span class="badge bg-light text-dark">
<i class="fab fa-osi"></i> MIT
</span>
</a>
</li>
<li class="dropdown-divider"></li>
<li>
<a class="dropdown-item" target="_blank"
href="https://www.reelyactive.com/made-in-montreal/" >
<i class="fab fa-canadian-maple-leaf"></i>
Made in Montréal
<i class="fas fa-city"></i>
</a>
</li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
<!----- Herowl++ ----->
<div class="herowl">
<div class="col-xs-12 col-sm-10 col-lg-10 col-xl-8">
<div class="card shadow">
<div class="row flex-lg-row-reverse align-items-center g-0">
<div class="col-lg-6">
<img src="images/heroverview.png" alt="Barnowl Bootstrap/FA"
class="d-block mx-lg-auto img-fluid rounded" loading="lazy">
</div>
<div class="col-lg-6">
<div class="card-body text-start">
<h1 class="display-5 fw-bold lh-1 mb-3"> Web Style Guide </h1>
<p class="lead"> For reelyActive web pages and web applications. <small class="text-body-secondary"> Open source, based on Bootstrap 5 & Font Awesome 5. </small> </p>
<div class="d-grid gap-2 d-md-flex justify-content-md-start">
<a href="#content" class="btn btn-primary btn-lg px-4 me-md-2"
type="button"> Tell me more </a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Content -->
<div id="content" class="container-fluid">
<a href="#top">
<img src="images/barnarrow-up.png" alt="Top of Page"
class="mx-auto mb-0 d-block barnarrow animate-breathing invisible">
</a>
<div class="row justify-content-center">
<div class="col-sm-12 col-md-10 col-lg-8 col-xl-6">
<h2 id="overview" class="mt-5">
Overview
</h2>
<p> reelyActive's web style guide is intended to provide a <em>simple</em>, <em>standard</em> and <em>responsive</em> foundation for all reelyActive web pages and web applications. </p>
<dl class="row">
<dt class="col-sm-2 offset-sm-2"> simple, </dt>
<dd class="col-sm-8"> a text editor shall suffice </dd>
<dt class="col-sm-2 offset-sm-2"> standard, </dt>
<dd class="col-sm-8"> all modern browsers supported </dd>
<dt class="col-sm-2 offset-sm-2"> responsive, </dt>
<dd class="col-sm-8"> mobile or desktop makes no difference </dd>
</dl>
<p> Based on the <a href="https://getbootstrap.com" target="_blank" class="icon-link"> <i class="fab fa-bootstrap"></i> Bootstrap 5 </a> component library, compiled as <b>bootstrappyactive.css / .js</b>, no additional frameworks, CSS or JS are required. The only additional dependency is <a href="https://fontawesome.com" target="_blank"class="icon-link"> <i class="fab fa-font-awesome"></i> Font Awesome 5 (Free) </a> for graphical icons. </p>
<p> It's all <i class="fab fa-osi"></i> open source, MIT License and/or <i class="fab fa-creative-commons"></i> Creative Commons. </p>
<h2 id="github" class="mt-5">
Use it, tweak it, build it
</h2>
<p> Compiled files, source code and instructions can be found on our <i class="fab fa-github"></i> GitHub at <a href="https://github.com/reelyactive/web-style-guide" target="_blank">github.com/reelyactive/web-style-guide</a>. </p>
<div class="d-grid col-4 mx-auto">
<a href="https://github.com/reelyactive/web-style-guide"
target="_blank" class="btn btn-secondary"
type="button"> Get Started </a>
</div>
<h2 id="examples" class="mt-5">
Examples
</h2>
<div class="row row-cols-1 row-cols-sm-2 g-4 mt-2">
<div class="col">
<div class="card hover-shadow">
<img src="images/screenshot-tutorial-square.png"
class="card-img-top" alt="Tutorial Example">
<div class="card-body">
<h3 class="card-title"> Tutorial </h3>
<p class="card-text"> Used for <a href="https://reelyactive.github.io" target="_blank"> reelyActive Developers </a> pages. </p>
<div class="text-center">
<a href="tutorial-example"
class="btn btn-primary"> /tutorial-example </a>
</div>
</div>
</div>
</div>
<div class="col">
<div class="card hover-shadow">
<img src="images/screenshot-app-square.png"
class="card-img-top" alt="Web App Example">
<div class="card-body">
<h3 class="card-title"> Web App </h3>
<p class="card-text"> Used for <a href="https://github.com/reelyactive/pareto-anywhere-apps" target="_blank"> Pareto Apps </a> pages. </p>
<div class="text-center">
<a href="app-example"
class="btn btn-primary"> /app-example </a>
</div>
</div>
</div>
</div>
<div class="col">
<div class="card hover-shadow">
<img src="images/screenshot-bootstrap-components-square.png"
class="card-img-top" alt="Bootstrap Components">
<div class="card-body">
<h3 class="card-title"> Bootstrap Components </h3>
<p class="card-text"> Examples of retained Bootstrap 5 components. </p>
<div class="text-center">
<a href="bootstrap-components"
class="btn btn-primary"> /bootstrap-components </a>
</div>
</div>
</div>
</div>
<div class="col">
<div class="card hover-shadow">
<img src="images/screenshot-fontawesome-icons-square.png"
class="card-img-top" alt="Font Awesome Icons">
<div class="card-body">
<h3 class="card-title"> Font Awesome Components </h3>
<p class="card-text"> All retained Font Awesome Icons. </p>
<div class="text-center">
<a href="fontawesome-icons"
class="btn btn-primary"> /fontawesome-icons </a>
</div>
</div>
</div>
</div>
</div>
<h2 id="colours" class="mt-5">
Colours
</h2>
<div class="table-responsive-lg">
<table class="table">
<thead>
<tr>
<th scope="col"> Name </th>
<th scope="col"> Table </th>
<th scope="col"> Button </th>
<th scope="col"> Badge </th>
<th scope="col"> Text </th>
<th scope="col"> Alert </th>
</tr>
</thead>
<tbody>
<tr>
<th> primary </th>
<td class="table-primary"> table-primary </td>
<td>
<button class="btn btn-primary btn-sm"
type="button"> btn-primary </button>
<button class="btn btn-outline-primary btn-sm"
type="button"> btn-outline-primary </button>
</td>
<td>
<span class="badge bg-primary"> bg-primary </span>
</td>
<td class="text-primary"> primary </td>
<td>
<div class="alert alert-primary"
role="alert"> alert-primary </div>
</td>
</tr>
<tr>
<th> secondary </th>
<td class="table-secondary"> table-secondary </td>
<td>
<button class="btn btn-secondary btn-sm"
type="button"> btn-secondary </button>
<button class="btn btn-outline-secondary btn-sm"
type="button"> btn-outline-secondary </button>
</td>
<td>
<span class="badge bg-secondary"> bg-secondary </span>
</td>
<td class="text-secondary"> secondary </td>
<td>
<div class="alert alert-secondary"
role="alert"> alert-secondary </div>
</td>
</tr>
<tr>
<th> success </th>
<td class="table-success"> table-success </td>
<td>
<button class="btn btn-success btn-sm"
type="button"> btn-success </button>
<button class="btn btn-outline-success btn-sm"
type="button"> btn-outline-success </button>
</td>
<td>
<span class="badge bg-success"> bg-success </span>
</td>
<td class="text-success"> success </td>
<td>
<div class="alert alert-success"
role="alert"> alert-success </div>
</td>
</tr>
<tr>
<th> warning </th>
<td class="table-warning"> table-warning </td>
<td>
<button class="btn btn-warning btn-sm"
type="button"> btn-warning </button>
<button class="btn btn-outline-warning btn-sm"
type="button"> btn-outline-warning </button>
</td>
<td>
<span class="badge bg-warning"> bg-warning </span>
</td>
<td class="text-warning"> warning </td>
<td>
<div class="alert alert-warning"
role="alert"> alert-warning </div>
</td>
</tr>
<tr>
<th> danger </th>
<td class="table-danger"> table-danger </td>
<td>
<button class="btn btn-danger btn-sm"
type="button"> btn-danger </button>
<button class="btn btn-outline-danger btn-sm"
type="button"> btn-outline-danger </button>
</td>
<td>
<span class="badge bg-danger"> bg-danger </span>
</td>
<td class="text-danger"> danger </td>
<td>
<div class="alert alert-danger"
role="alert"> alert-danger </div>
</td>
</tr>
<tr>
<th> info </th>
<td class="table-info"> table-info </td>
<td>
<button class="btn btn-info btn-sm"
type="button"> btn-info </button>
<button class="btn btn-outline-info btn-sm"
type="button"> btn-outline-info </button>
</td>
<td>
<span class="badge bg-info"> bg-info </span>
</td>
<td class="text-info"> info </td>
<td>
<div class="alert alert-info"
role="alert"> alert-info </div>
</td>
</tr>
<tr>
<th> dark </th>
<td class="table-dark"> table-dark </td>
<td>
<button class="btn btn-dark btn-sm"
type="button"> btn-dark </button>
<button class="btn btn-outline-dark btn-sm"
type="button"> btn-outline-dark </button>
</td>
<td>
<span class="badge bg-dark"> bg-dark </span>
</td>
<td class="text-dark"> dark </td>
<td>
<div class="alert alert-dark"
role="alert"> alert-dark </div>
</td>
</tr>
<tr>
<th> light </th>
<td class="table-light"> table-light </td>
<td class="table-dark">
<button class="btn btn-light btn-sm"
type="button"> btn-light </button>
<button class="btn btn-outline-light btn-sm"
type="button"> btn-outline-light </button>
</td>
<td class="table-dark">
<span class="badge bg-light text-dark"> bg-light </span>
</td>
<td class="table-dark text-light"> light </td>
<td class="table-dark">
<div class="alert alert-light"
role="alert"> alert-light </div>
</td>
</tr>
<tr>
<th> ambient </th>
<td class="table-ambient"> table-ambient </td>
<td>
<button class="btn btn-ambient btn-sm"
type="button"> btn-ambient </button>
<button class="btn btn-outline-ambient btn-sm"
type="button"> btn-outline-ambient </button>
</td>
<td>
<span class="badge bg-ambient text-dark"> bg-ambient </span>
</td>
<td class="text-ambient"> ambient </td>
<td>
<div class="alert alert-ambient"
role="alert"> alert-ambient </div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!----- Owl-to-Action ----->
<div class="owl-to-action">
<div class="col-xs-12 col-sm-10 col-lg-6 offset-lg-4 col-xl-6
offset-xl-2 py-4">
<div class="card">
<div class="card-body">
<div class="d-grid gap-3 d-md-block">
<span class="lead align-middle pr-4">
This is the <em>Owl-to-Action</em>.
</span>
<a href="https://github.com/reelyactive/web-style-guide"
class="btn btn-secondary" role="button"> Get Started </a>
</div>
</div>
</div>
</div>
</div>
<footer class="footer fixed-bottom bg-dark bg-gradient">
<a href="https://github.com/reelyactive/web-style-guide"> web-style-guide </a>
|
<a href="https://www.reelyactive.com"> © reelyActive 2018-2024 </a>
</footer>
<!-- Optional JavaScript -->
<script defer src="js/fontawesome-reelyactive.min.js"></script>
<script src="js/bootstrappyactive.bundle.min.js"></script>
</body>
</html>