bootsteam-theme 5.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/.gitattributes +66 -0
  2. package/README.md +5 -0
  3. package/dist/bootsteam-theme.css +12319 -0
  4. package/dist/bootsteam-theme.min.css +5 -0
  5. package/docs/alerts.html +118 -0
  6. package/docs/badges.html +140 -0
  7. package/docs/buttons.html +194 -0
  8. package/docs/carousel.html +109 -0
  9. package/docs/collapse.html +105 -0
  10. package/docs/containers.html +307 -0
  11. package/docs/css/bootsteam-theme.min.css +5 -0
  12. package/docs/dialogs.html +154 -0
  13. package/docs/forms.html +335 -0
  14. package/docs/index.html +108 -0
  15. package/docs/navs.html +250 -0
  16. package/docs/offcanvas.html +92 -0
  17. package/docs/plugins.html +99 -0
  18. package/docs/scripts/scripts.js +70 -0
  19. package/docs/scripts/themeHandler.js +57 -0
  20. package/docs/spinners.html +145 -0
  21. package/docs/tables.html +613 -0
  22. package/docs/themes.html +166 -0
  23. package/docs/toasts.html +119 -0
  24. package/docs/typography.html +176 -0
  25. package/docs-templates/alerts.html +76 -0
  26. package/docs-templates/badges.html +98 -0
  27. package/docs-templates/buttons.html +152 -0
  28. package/docs-templates/carousel.html +67 -0
  29. package/docs-templates/collapse.html +63 -0
  30. package/docs-templates/containers.html +265 -0
  31. package/docs-templates/dialogs.html +112 -0
  32. package/docs-templates/forms.html +293 -0
  33. package/docs-templates/index.html +66 -0
  34. package/docs-templates/navs.html +208 -0
  35. package/docs-templates/offcanvas.html +50 -0
  36. package/docs-templates/partials/_footer.html +4 -0
  37. package/docs-templates/partials/_head.html +7 -0
  38. package/docs-templates/partials/_nav.html +29 -0
  39. package/docs-templates/partials/_scripts.html +5 -0
  40. package/docs-templates/plugins.html +57 -0
  41. package/docs-templates/spinners.html +103 -0
  42. package/docs-templates/tables.html +571 -0
  43. package/docs-templates/themes.html +68 -0
  44. package/docs-templates/toasts.html +77 -0
  45. package/docs-templates/typography.html +134 -0
  46. package/gulpfile.js +51 -0
  47. package/package.json +17 -0
  48. package/src/_alerts.scss +65 -0
  49. package/src/_darkThemeOverrides.scss +74 -0
  50. package/src/_fieldset.scss +27 -0
  51. package/src/_forms.scss +134 -0
  52. package/src/_tables.scss +77 -0
  53. package/src/_twr-variables-dark.scss +23 -0
  54. package/src/_twr-variables.scss +71 -0
  55. package/src/bootsteam.scss +25 -0
  56. package/src/plugins/_allPlugins.scss +2 -0
  57. package/src/plugins/_slimSelect.scss +106 -0
  58. package/src/plugins/_summernote.scss +45 -0
@@ -0,0 +1,166 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <title>Theme Switcher | Tower Bootstrap Theme</title>
6
+ <meta charset="utf-8" />
7
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+ <meta name="description" content="Demo of custom Bootstrap theme">
9
+ <link href="https://cdn.jsdelivr.net/npm/@mdi/font@7.3.67/css/materialdesignicons.min.css" rel="stylesheet" />
10
+ <link href="css/bootsteam-theme.min.css" rel="stylesheet" />
11
+ <script src="scripts/themeHandler.js" type="text/javascript"></script>
12
+ </head>
13
+
14
+ <body>
15
+ <nav class="navbar navbar-expand-lg navbar-dark bg-primary fixed-top">
16
+ <div class="container">
17
+ <a href="index.html" class="navbar-brand">Bootsteam Theme</a>
18
+
19
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar-collapse-area">
20
+ <span class="navbar-toggler-icon"></span>
21
+ </button>
22
+
23
+ <div class="collapse navbar-collapse" id="navbar-collapse-area">
24
+ <ul class="navbar-nav ms-auto">
25
+ <li class="nav-item dropdown">
26
+ <button type="button" class="nav-link dropdown-toggle" data-bs-toggle="dropdown">
27
+ <span id="current-theme"></span> <span class="d-md-none">Switch Themes</span>
28
+ </button>
29
+ <div class="dropdown-menu dropdown-menu-end">
30
+ <button type="button" class="dropdown-item" data-bs-theme-value="light"><span class="mdi mdi-weather-sunny"></span> Light</button>
31
+ <button type="button" class="dropdown-item" data-bs-theme-value="dark"><span class="mdi mdi-weather-night"></span> Dark</button>
32
+ <button type="button" class="dropdown-item" data-bs-theme-value="auto"><span class="mdi mdi-theme-light-dark"></span> Auto</button>
33
+ </div>
34
+ </li>
35
+ <li class="nav-item">
36
+ <a href="https://github.com/StrutTower/bootsteam-theme" rel="noreferrer noopener" class="nav-link">
37
+ GitHub
38
+ </a>
39
+ </li>
40
+ </ul>
41
+ </div>
42
+ </div>
43
+ </nav>
44
+
45
+ <main class="container mt-5 pt-2">
46
+ <ol class="breadcrumb">
47
+ <li class="breadcrumb-item"><a href="index.html">Homepage</a></li>
48
+ <li class="breadcrumb-item active">Theme Switcher</li>
49
+ </ol>
50
+
51
+ <p>
52
+ More info on how Bootstrap's theme switching works can be found here:
53
+ <a href="https://getbootstrap.com/docs/5.3/customize/color-modes/">https://getbootstrap.com/docs/5.3/customize/color-modes/</a>
54
+ </p>
55
+
56
+ <p>
57
+ This code is similar to the code provided on Bootstraps' website but is set up to work with classes instead of SVGs so you can use a font icon library.
58
+ </p>
59
+
60
+ <p>
61
+ First create a new JavaScript file with the following code. This should be separate from any bundling, if you are doing that.
62
+ This is because you want to include this code high up on the DOM to prevent the screen from flashing white when it loads.
63
+ </p>
64
+
65
+ <h5>ThemeHandler Javascript</h5>
66
+ <div class="card mb-3">
67
+ <div class="card-body bg-dark text-light">
68
+ <pre><code>// Update the theme ASAP to prevent the view flashing white
69
+ updateTheme(localStorage.getItem('preferred-theme'));
70
+
71
+ // Updates to the supplied theme
72
+ function updateTheme(theme) {
73
+ if (theme === null || theme === 'auto') {
74
+ theme = getPreferedTheme();
75
+ updateThemeSelector('auto');
76
+ } else {
77
+ updateThemeSelector(theme);
78
+ }
79
+ document.documentElement.setAttribute('data-bs-theme', theme);
80
+ }
81
+
82
+ // Returns the prefers-color-scheme setting
83
+ function getPreferedTheme() {
84
+ return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
85
+ }
86
+
87
+ // Updates the theme selector icon
88
+ function updateThemeSelector(theme) {
89
+ document.querySelectorAll('[data-bs-theme-value]').forEach(function (selector) {
90
+ if (selector.getAttribute('data-bs-theme-value') === theme) {
91
+ selector.classList.add('active');
92
+ document.getElementById('current-theme').className = selector.firstElementChild.className
93
+ } else {
94
+ selector.classList.remove('active');
95
+ }
96
+ });
97
+ }
98
+
99
+ document.addEventListener('DOMContentLoaded', function () {
100
+ // Update the theme again after the page has loaded. This is mainly to update the theme picker icon.
101
+ updateTheme(localStorage.getItem('preferred-theme'));
102
+
103
+ // Add event listener to the theme switcher buttons
104
+ document.querySelectorAll('[data-bs-theme-value]').forEach(function (button) {
105
+ button.addEventListener('click', function () {
106
+ const theme = button.getAttribute('data-bs-theme-value');
107
+ if (theme === 'auto') {
108
+ localStorage.removeItem('preferred-theme');
109
+ } else {
110
+ localStorage.setItem('preferred-theme', theme);
111
+ }
112
+ updateTheme(theme);
113
+ });
114
+ });
115
+ });
116
+
117
+ // Add an event listener if prefers-color-scheme is updated.
118
+ window.matchMedia('(prefers-color-scheme: dark)')
119
+ .addEventListener('change', ({ matches }) => {
120
+ const theme = localStorage.getItem('preferred-theme');
121
+ if (theme === null || theme === 'auto') {
122
+ updateTheme(getPreferedTheme());
123
+ }
124
+ });</code></pre>
125
+ </div>
126
+ </div>
127
+
128
+ <p>
129
+ Add a script tag to the head of the page. It needs to included early on the DOM to prevent the page from flashing white if someone has defaulted to a dark theme.
130
+ </p>
131
+
132
+ <p>
133
+ Add the following to the navbar's menu. This example is using Material Design Icons,
134
+ <a href="https://pictogrammers.com/library/mdi" target="_blank" rel="noopener noreferrer">https://pictogrammers.com/library/mdi</a>
135
+ </p>
136
+
137
+ <h5>Navbar Theme Selector HTML</h5>
138
+ <div class="card mb-3">
139
+ <div class="card-body bg-dark text-light">
140
+ <pre><code>&lt;li class=&quot;nav-item dropdown&quot;&gt;
141
+ &lt;button type=&quot;button&quot; class=&quot;nav-link dropdown-toggle&quot; data-bs-toggle=&quot;dropdown&quot;&gt;
142
+ &lt;span id=&quot;current-theme&quot;&gt;&lt;/span&gt; &lt;span class=&quot;d-md-none&quot;&gt;Switch Themes&lt;/span&gt;
143
+ &lt;/button&gt;
144
+ &lt;div class=&quot;dropdown-menu&quot;&gt;
145
+ &lt;button type=&quot;button&quot; class=&quot;dropdown-item&quot; data-bs-theme-value=&quot;light&quot;&gt;&lt;span class=&quot;mdi mdi-weather-sunny&quot;&gt;&lt;/span&gt; Light&lt;/button&gt;
146
+ &lt;button type=&quot;button&quot; class=&quot;dropdown-item&quot; data-bs-theme-value=&quot;dark&quot;&gt;&lt;span class=&quot;mdi mdi-weather-night&quot;&gt;&lt;/span&gt; Dark&lt;/button&gt;
147
+ &lt;button type=&quot;button&quot; class=&quot;dropdown-item&quot; data-bs-theme-value=&quot;auto&quot;&gt;&lt;span class=&quot;mdi mdi-theme-light-dark&quot;&gt;&lt;/span&gt; Auto&lt;/button&gt;
148
+ &lt;/div&gt;
149
+ &lt;/li&gt;</code></pre>
150
+ </div>
151
+ </div>
152
+
153
+ </main>
154
+
155
+ <footer class="container">
156
+ <hr />
157
+ <p>TowerSoft</p>
158
+ </footer>
159
+
160
+ <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
161
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
162
+ <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
163
+ <script src="scripts/scripts.js"></script>
164
+ </body>
165
+
166
+ </html>
@@ -0,0 +1,119 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <title>Toasts | Tower Bootstrap Theme</title>
6
+ <meta charset="utf-8" />
7
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+ <meta name="description" content="Demo of custom Bootstrap theme">
9
+ <link href="https://cdn.jsdelivr.net/npm/@mdi/font@7.3.67/css/materialdesignicons.min.css" rel="stylesheet" />
10
+ <link href="css/bootsteam-theme.min.css" rel="stylesheet" />
11
+ <script src="scripts/themeHandler.js" type="text/javascript"></script>
12
+ </head>
13
+
14
+ <body>
15
+ <nav class="navbar navbar-expand-lg navbar-dark bg-primary fixed-top">
16
+ <div class="container">
17
+ <a href="index.html" class="navbar-brand">Bootsteam Theme</a>
18
+
19
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar-collapse-area">
20
+ <span class="navbar-toggler-icon"></span>
21
+ </button>
22
+
23
+ <div class="collapse navbar-collapse" id="navbar-collapse-area">
24
+ <ul class="navbar-nav ms-auto">
25
+ <li class="nav-item dropdown">
26
+ <button type="button" class="nav-link dropdown-toggle" data-bs-toggle="dropdown">
27
+ <span id="current-theme"></span> <span class="d-md-none">Switch Themes</span>
28
+ </button>
29
+ <div class="dropdown-menu dropdown-menu-end">
30
+ <button type="button" class="dropdown-item" data-bs-theme-value="light"><span class="mdi mdi-weather-sunny"></span> Light</button>
31
+ <button type="button" class="dropdown-item" data-bs-theme-value="dark"><span class="mdi mdi-weather-night"></span> Dark</button>
32
+ <button type="button" class="dropdown-item" data-bs-theme-value="auto"><span class="mdi mdi-theme-light-dark"></span> Auto</button>
33
+ </div>
34
+ </li>
35
+ <li class="nav-item">
36
+ <a href="https://github.com/StrutTower/bootsteam-theme" rel="noreferrer noopener" class="nav-link">
37
+ GitHub
38
+ </a>
39
+ </li>
40
+ </ul>
41
+ </div>
42
+ </div>
43
+ </nav>
44
+
45
+ <main class="container mt-5 pt-2">
46
+ <ol class="breadcrumb">
47
+ <li class="breadcrumb-item"><a href="index.html">Homepage</a></li>
48
+ <li class="breadcrumb-item active">Toasts</li>
49
+ </ol>
50
+
51
+ <h2 class="display-4">Toasts</h2>
52
+ <hr />
53
+
54
+ <div class="row">
55
+ <div class="col-md-6 mb-4">
56
+ <div class="toast-container">
57
+ <div class="toast" role="alert" aria-live="assertive" aria-atomic="true" data-bs-autohide="false">
58
+ <div class="toast-header">
59
+ <strong class="me-auto">Default Toast</strong>
60
+ <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
61
+ </div>
62
+ <div class="toast-body">
63
+ Hello, world! This is a toast message.
64
+ </div>
65
+ </div>
66
+ <div class="toast" role="alert" aria-live="assertive" aria-atomic="true" data-bs-autohide="false">
67
+ <div class="toast-header bg-primary text-white">
68
+ <strong class="me-auto">Primary Header Toast</strong>
69
+ <button type="button" class="btn-close btn-close-white" data-bs-dismiss="toast" aria-label="Close"></button>
70
+ </div>
71
+ <div class="toast-body">
72
+ Hello, world! This is a toast message.
73
+ </div>
74
+ </div>
75
+ </div>
76
+ </div>
77
+ <div class="col-md-6 mb-4">
78
+ <button type="button" class="btn btn-primary mb-2" onclick="toast('Default')">Toast Test</button>
79
+ <button type="button" class="btn btn-success mb-2" onclick="toast('bg-success', 'bg-success')">Toast Test</button>
80
+ <button type="button" class="btn btn-info mb-2" onclick="toast('bg-into', 'bg-info')">Toast Test</button>
81
+ <button type="button" class="btn btn-danger mb-2" onclick="toast('bg-danger', 'bg-danger')">Toast Test</button>
82
+ </div>
83
+ </div>
84
+ <br />
85
+ <br />
86
+ <br />
87
+ <br />
88
+ <br />
89
+ <br />
90
+ <br />
91
+ <br />
92
+ <br />
93
+ </main>
94
+
95
+ <div id="toast-notifications" class="toast-container position-absolute p-3 bottom-0 end-0"></div>
96
+
97
+ <div id="toast-template" hidden>
98
+ <div class="toast fade hide" role="alert">
99
+ <div class="toast-header bg-primary text-white">
100
+ <strong class="me-auto">Toast</strong>
101
+ <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
102
+ </div>
103
+ <div class="toast-body">
104
+ </div>
105
+ </div>
106
+ </div>
107
+
108
+ <footer class="container">
109
+ <hr />
110
+ <p>TowerSoft</p>
111
+ </footer>
112
+
113
+ <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
114
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
115
+ <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
116
+ <script src="scripts/scripts.js"></script>
117
+ </body>
118
+
119
+ </html>
@@ -0,0 +1,176 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <title>Typography | Tower Bootstrap Theme</title>
6
+ <meta charset="utf-8" />
7
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+ <meta name="description" content="Demo of custom Bootstrap theme">
9
+ <link href="https://cdn.jsdelivr.net/npm/@mdi/font@7.3.67/css/materialdesignicons.min.css" rel="stylesheet" />
10
+ <link href="css/bootsteam-theme.min.css" rel="stylesheet" />
11
+ <script src="scripts/themeHandler.js" type="text/javascript"></script>
12
+ </head>
13
+
14
+ <body>
15
+ <nav class="navbar navbar-expand-lg navbar-dark bg-primary fixed-top">
16
+ <div class="container">
17
+ <a href="index.html" class="navbar-brand">Bootsteam Theme</a>
18
+
19
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar-collapse-area">
20
+ <span class="navbar-toggler-icon"></span>
21
+ </button>
22
+
23
+ <div class="collapse navbar-collapse" id="navbar-collapse-area">
24
+ <ul class="navbar-nav ms-auto">
25
+ <li class="nav-item dropdown">
26
+ <button type="button" class="nav-link dropdown-toggle" data-bs-toggle="dropdown">
27
+ <span id="current-theme"></span> <span class="d-md-none">Switch Themes</span>
28
+ </button>
29
+ <div class="dropdown-menu dropdown-menu-end">
30
+ <button type="button" class="dropdown-item" data-bs-theme-value="light"><span class="mdi mdi-weather-sunny"></span> Light</button>
31
+ <button type="button" class="dropdown-item" data-bs-theme-value="dark"><span class="mdi mdi-weather-night"></span> Dark</button>
32
+ <button type="button" class="dropdown-item" data-bs-theme-value="auto"><span class="mdi mdi-theme-light-dark"></span> Auto</button>
33
+ </div>
34
+ </li>
35
+ <li class="nav-item">
36
+ <a href="https://github.com/StrutTower/bootsteam-theme" rel="noreferrer noopener" class="nav-link">
37
+ GitHub
38
+ </a>
39
+ </li>
40
+ </ul>
41
+ </div>
42
+ </div>
43
+ </nav>
44
+
45
+ <main class="container mt-5 pt-2">
46
+ <ol class="breadcrumb">
47
+ <li class="breadcrumb-item"><a href="index.html">Homepage</a></li>
48
+ <li class="breadcrumb-item active">Typography</li>
49
+ </ol>
50
+
51
+
52
+ <h2 class="display-5">Typography</h2>
53
+ <hr />
54
+ <div class="row">
55
+ <div class="col-12 col-sm-4">
56
+ <h1>Heading 1</h1>
57
+ <h2>Heading 2</h2>
58
+ <h3>Heading 3</h3>
59
+ <h4>Heading 4</h4>
60
+ <h5>Heading 5</h5>
61
+ <h6>Heading 6</h6>
62
+ <h3>
63
+ Heading
64
+ <small class="text-muted">with muted text</small>
65
+ </h3>
66
+ <p class="lead">Lead Paragraph. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
67
+ </div>
68
+
69
+ <div class="col-12 col-sm-4">
70
+ <h4>Inline text elements</h4>
71
+ <p>You can use the mark tag to <mark>highlight</mark> text.</p>
72
+ <p><del>This line of text is meant to be treated as deleted text.</del></p>
73
+ <p><s>This line of text is meant to be treated as no longer accurate.</s></p>
74
+ <p><ins>This line of text is meant to be treated as an addition to the document.</ins></p>
75
+ <p><u>This line of text will render as underlined</u></p>
76
+ <p><small>This line of text is meant to be treated as fine print.</small></p>
77
+ <p><strong>This line rendered as bold text.</strong></p>
78
+ <p class="fw-semibold">fw-semibold - Custom class for font-weight: 600</p>
79
+ <p><em>This line rendered as italicized text.</em></p>
80
+ </div>
81
+
82
+ <div class="col-12 col-sm-4">
83
+ <h4>Emphasis classes</h4>
84
+ <p class="text-primary">text-primary - Lorem ipsum dolor sit amet</p>
85
+ <p class="text-secondary">text-secondary - Lorem ipsum dolor sit amet</p>
86
+ <p class="text-success">text-success - Lorem ipsum dolor sit amet</p>
87
+ <p class="text-info">text-info - Lorem ipsum dolor sit amet</p>
88
+ <p class="text-warning">text-warning - Lorem ipsum dolor sit amet</p>
89
+ <p class="text-danger">text-danger - Lorem ipsum dolor sit amet</p>
90
+ <p class="text-light">text-light - Lorem ipsum dolor sit amet</p>
91
+ <p class="text-dark">text-dark - Lorem ipsum dolor sit amet</p>
92
+ <p class="text-muted">text-muted - Lorem ipsum dolor sit amet</p>
93
+ <p class="text-faded">text-faded - Custom class that uses opacity instead of changing the font color</p>
94
+ </div>
95
+
96
+ <div class="col-12 col-sm-4">
97
+ <h4>Display Headings</h4>
98
+ <div class="display-1">Display 1</div>
99
+ <div class="display-2">Display 2</div>
100
+ <div class="display-3">Display 3</div>
101
+ <div class="display-4">Display 4</div>
102
+ <div class="display-5">Display 5</div>
103
+ <div class="display-6">Display 6</div>
104
+
105
+ <em class="mt-2 d-block small">display-5 and display-6 are custom classes and are not normally in Bootstrap</em>
106
+ </div>
107
+
108
+ <div class="col-12 col-sm-4">
109
+ <h4>Lead</h4>
110
+ <p class="lead">
111
+ Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
112
+ </p>
113
+ </div>
114
+
115
+ <div class="col-12 col-sm-4">
116
+ <h4>Blockquote</h4>
117
+ <figure>
118
+ <blockquote class="blockquote">
119
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
120
+ </blockquote>
121
+ <figcaption class="blockquote-footer">
122
+ Someone famous in <cite title="Source Title">Source Title</cite>
123
+ </figcaption>
124
+ </figure>
125
+ </div>
126
+ </div>
127
+
128
+ <hr />
129
+
130
+
131
+ <h4>Fieldset</h4>
132
+ <fieldset>
133
+ <legend>Legend</legend>
134
+ <p>Content</p>
135
+ <div>More Content</div>
136
+ </fieldset>
137
+
138
+ <hr />
139
+
140
+ <h4>Code Elements</h4>
141
+ <h5>Inline Code</h5>
142
+ <p>
143
+ For example, <code>&lt;section&gt;</code> should be wrapped as inline.
144
+ </p>
145
+
146
+ <h5>User Input</h5>
147
+ <p>
148
+ To switch directories, type <kbd>cd</kbd> followed by the name of the directory.<br>
149
+ To edit settings, press <kbd><kbd>ctrl</kbd> + <kbd>,</kbd></kbd>
150
+ </p>
151
+
152
+ <h5>pre</h5>
153
+ <pre>&lt;p&gt;Sample text here...&lt;/p&gt;</pre>
154
+
155
+ <h5>Variables</h5>
156
+ <var>y</var> = <var>m</var><var>x</var> + <var>b</var>
157
+
158
+ <h5>Sample Output</h5>
159
+ <samp>This text is meant to be treated as sample output from a computer program.</samp>
160
+
161
+ <br />
162
+ <br />
163
+ </main>
164
+
165
+ <footer class="container">
166
+ <hr />
167
+ <p>TowerSoft</p>
168
+ </footer>
169
+
170
+ <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
171
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
172
+ <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
173
+ <script src="scripts/scripts.js"></script>
174
+ </body>
175
+
176
+ </html>
@@ -0,0 +1,76 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ @@include('./partials/_head.html', {
5
+ "title": "Alerts | Tower Bootstrap Theme"
6
+ })
7
+ </head>
8
+ <body>
9
+ @@include('./partials/_nav.html')
10
+
11
+ <main class="container mt-5 pt-2">
12
+ <ol class="breadcrumb">
13
+ <li class="breadcrumb-item"><a href="index.html">Homepage</a></li>
14
+ <li class="breadcrumb-item active">Alerts</li>
15
+ </ol>
16
+
17
+ <h2 class="display-4">Alerts</h2>
18
+ <hr />
19
+ <div class="row">
20
+ <div class="col-12 col-sm-6">
21
+ <div class="alert alert-primary alert-dismissible fade show" role="alert">
22
+ <button type="button" class="btn-close" data-bs-dismiss="alert"></button>
23
+ <div>This is a primary alert</div>
24
+ <a href="#">Test Link</a>
25
+ </div>
26
+ </div>
27
+ <div class="col-12 col-sm-6">
28
+ <div class="alert alert-secondary" role="alert">
29
+ <div>This is a secondary alert</div>
30
+ <a href="#">Test Link</a>
31
+ </div>
32
+ </div>
33
+ <div class="col-12 col-sm-6">
34
+ <div class="alert alert-success" role="alert">
35
+ <div>This is a success alert</div>
36
+ <a href="#">Test Link</a>
37
+ </div>
38
+ </div>
39
+ <div class="col-12 col-sm-6">
40
+ <div class="alert alert-danger" role="alert">
41
+ <div>This is a danger alert</div>
42
+ <a href="#">Test Link</a>
43
+ </div>
44
+ </div>
45
+ <div class="col-12 col-sm-6">
46
+ <div class="alert alert-warning" role="alert">
47
+ <div>This is a warning alert</div>
48
+ <a href="#">Test Link</a>
49
+ </div>
50
+ </div>
51
+ <div class="col-12 col-sm-6">
52
+ <div class="alert alert-info" role="alert">
53
+ <div>This is a info alert</div>
54
+ <a href="#">Test Link</a>
55
+ </div>
56
+ </div>
57
+ <div class="col-12 col-sm-6">
58
+ <div class="alert alert-light" role="alert">
59
+ <div>This is a light alert</div>
60
+ <a href="#">Test Link</a>
61
+ </div>
62
+ </div>
63
+ <div class="col-12 col-sm-6">
64
+ <div class="alert alert-dark" role="alert">
65
+ <div>This is a dark alert</div>
66
+ <a href="#">Test Link</a>
67
+ </div>
68
+ </div>
69
+ </div>
70
+
71
+ </main>
72
+
73
+ @@include('./partials/_footer.html')
74
+ @@include('./partials/_scripts.html')
75
+ </body>
76
+ </html>
@@ -0,0 +1,98 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ @@include('./partials/_head.html', {
5
+ "title": "Badges | Tower Bootstrap Theme"
6
+ })
7
+ </head>
8
+ <body>
9
+ @@include('./partials/_nav.html')
10
+
11
+ <main class="container mt-5 pt-2">
12
+ <ol class="breadcrumb">
13
+ <li class="breadcrumb-item"><a href="index.html">Homepage</a></li>
14
+ <li class="breadcrumb-item active">Badges and Progress Bars</li>
15
+ </ol>
16
+
17
+
18
+ <h2 class="display-4">Badges</h2>
19
+ <hr />
20
+ <p>
21
+ <button type="button" class="btn btn-primary">
22
+ Notifications <span class="badge bg-secondary">4</span>
23
+ </button>
24
+ </p>
25
+
26
+ <p>
27
+ <span class="badge text-bg-primary">Primary</span>
28
+ <span class="badge text-bg-secondary">Secondary</span>
29
+ <span class="badge text-bg-success">Success</span>
30
+ <span class="badge text-bg-danger">Danger</span>
31
+ <span class="badge text-bg-warning text-dark">Warning</span>
32
+ <span class="badge text-bg-info">Info</span>
33
+ <span class="badge text-bg-light text-dark">Light</span>
34
+ <span class="badge text-bg-dark">Dark</span>
35
+ </p>
36
+
37
+ <p>
38
+ <span class="badge rounded-pill bg-primary">Primary</span>
39
+ <span class="badge rounded-pill bg-secondary">Secondary</span>
40
+ <span class="badge rounded-pill bg-success">Success</span>
41
+ <span class="badge rounded-pill bg-danger">Danger</span>
42
+ <span class="badge rounded-pill bg-warning text-dark">Warning</span>
43
+ <span class="badge rounded-pill bg-info">Info</span>
44
+ <span class="badge rounded-pill bg-light text-dark">Light</span>
45
+ <span class="badge rounded-pill bg-dark">Dark</span>
46
+ </p>
47
+
48
+ <br />
49
+ <h2 class="display-4">Progress Bars</h2>
50
+ <hr />
51
+ <div class="mb-4">
52
+ <h5>Standard</h5>
53
+ <div class="progress mb-2">
54
+ <div class="progress-bar" role="progressbar" style="width: 25%;" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"></div>
55
+ </div>
56
+ <div class="progress mb-2">
57
+ <div class="progress-bar bg-success" role="progressbar" style="width: 25%" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"></div>
58
+ </div>
59
+ <div class="progress mb-2">
60
+ <div class="progress-bar bg-info" role="progressbar" style="width: 50%" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100"></div>
61
+ </div>
62
+ <div class="progress mb-2">
63
+ <div class="progress-bar bg-warning" role="progressbar" style="width: 75%" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100"></div>
64
+ </div>
65
+ <div class="progress mb-2">
66
+ <div class="progress-bar bg-danger" role="progressbar" style="width: 100%" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100"></div>
67
+ </div>
68
+ </div>
69
+ <div class="mb-4">
70
+ <h5>Striped</h5>
71
+ <div class="progress mb-2">
72
+ <div class="progress-bar progress-bar-striped" role="progressbar" style="width: 10%" aria-valuenow="10" aria-valuemin="0" aria-valuemax="100"></div>
73
+ </div>
74
+ <div class="progress mb-2">
75
+ <div class="progress-bar progress-bar-striped bg-success" role="progressbar" style="width: 25%" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"></div>
76
+ </div>
77
+ <div class="progress mb-2">
78
+ <div class="progress-bar progress-bar-striped bg-info" role="progressbar" style="width: 50%" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100"></div>
79
+ </div>
80
+ <div class="progress mb-2">
81
+ <div class="progress-bar progress-bar-striped bg-warning" role="progressbar" style="width: 75%" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100"></div>
82
+ </div>
83
+ <div class="progress mb-2">
84
+ <div class="progress-bar progress-bar-striped bg-danger" role="progressbar" style="width: 100%" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100"></div>
85
+ </div>
86
+ </div>
87
+ <div class="mb-4">
88
+ <h5>Animated Stripes</h5>
89
+ <div class="progress">
90
+ <div class="progress-bar progress-bar-striped progress-bar-animated" role="progressbar" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100" style="width: 75%"></div>
91
+ </div>
92
+ </div>
93
+ </main>
94
+
95
+ @@include('./partials/_footer.html')
96
+ @@include('./partials/_scripts.html')
97
+ </body>
98
+ </html>