j1-template 2021.0.12 → 2021.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/data/menu.html +10 -10
- data/assets/themes/j1/adapter/js/mmenu.js +9 -4
- data/assets/themes/j1/adapter/js/navigator.js +12 -5
- data/assets/themes/j1/adapter/js/themer.js +64 -38
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +7 -5
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
- data/assets/themes/j1/modules/themeSwitcher/js/switcher.js +9 -4
- data/assets/themes/j1/modules/themeSwitcher/js/switcher.min.js +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/blocks/banner.yml +1 -1
- data/lib/starter_web/_includes/attributes.asciidoc +3 -3
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/assets/images/modules/attics/markus-spiske4-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/scalable/d1.svg +1 -1
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +75 -489
- data/lib/starter_web/pages/public/previewer/iframer.adoc +2 -1
- data/lib/starter_web/pages/public/previewer/justified_gallery.html +2 -2
- data/lib/starter_web/pages/public/previewer/md_color_palette.adoc +2450 -0
- data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +4 -4
- data/lib/starter_web/pages/public/previewer/rouge.adoc +3 -3
- data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +3 -3
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +4 -2
@@ -8,8 +8,9 @@ description: >
|
|
8
8
|
iFrames to fit their contained content. It provides a range of
|
9
9
|
features to address the most common issues with using HTML iFrames.
|
10
10
|
|
11
|
+
categories: [ Previewer ]
|
11
12
|
tags: [ HTML, iframe ]
|
12
|
-
|
13
|
+
|
13
14
|
|
14
15
|
toc: false
|
15
16
|
|
@@ -0,0 +1,2450 @@
|
|
1
|
+
---
|
2
|
+
title: J1 Colors
|
3
|
+
tagline: md color palette
|
4
|
+
date: 2021-01-08 00:00:00
|
5
|
+
description: >
|
6
|
+
The color palette used by J1 Template is based on
|
7
|
+
the definitions of Google's Material Design (MD).
|
8
|
+
The color scheme comprises primary and accent colors
|
9
|
+
that can be used for illustration or to develop individual
|
10
|
+
brand colors of a website, designed to work harmoniously
|
11
|
+
with each other.
|
12
|
+
|
13
|
+
categories: [ Previewer ]
|
14
|
+
tags: [ MD, Colors ]
|
15
|
+
|
16
|
+
scrollbar: false
|
17
|
+
flowtext: false
|
18
|
+
|
19
|
+
permalink: /pages/public/previewer/color_palette/
|
20
|
+
regenerate: false
|
21
|
+
|
22
|
+
resources: []
|
23
|
+
resource_options:
|
24
|
+
- attic:
|
25
|
+
padding_top: 400
|
26
|
+
padding_bottom: 50
|
27
|
+
opacity: 0.5
|
28
|
+
slides:
|
29
|
+
- url: /assets/images/modules/attics/markus-spiske4-1920x1280.jpg
|
30
|
+
alt: Photo by Markus Spiske on Unsplash
|
31
|
+
badge:
|
32
|
+
type: unsplash
|
33
|
+
author: Markus Spiske
|
34
|
+
href: https://unsplash.com/@markusspiske
|
35
|
+
---
|
36
|
+
|
37
|
+
// Page Initializer
|
38
|
+
// =============================================================================
|
39
|
+
// Enable the Liquid Preprocessor
|
40
|
+
:page-liquid:
|
41
|
+
// :scrollbars:
|
42
|
+
|
43
|
+
// Set (local) page attributes here
|
44
|
+
// -----------------------------------------------------------------------------
|
45
|
+
// :page--attr: <attr-value>
|
46
|
+
|
47
|
+
// Load Liquid procedures
|
48
|
+
// -----------------------------------------------------------------------------
|
49
|
+
{% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
|
50
|
+
|
51
|
+
// Load page attributes
|
52
|
+
// -----------------------------------------------------------------------------
|
53
|
+
{% include {{load_attributes}} scope="global" %}
|
54
|
+
|
55
|
+
// Page content
|
56
|
+
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
57
|
+
|
58
|
+
// Include sub-documents
|
59
|
+
// -----------------------------------------------------------------------------
|
60
|
+
|
61
|
+
|
62
|
+
// Page content
|
63
|
+
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
64
|
+
|
65
|
+
== J1 Color Palette
|
66
|
+
|
67
|
+
The color palette used by J1 Template is based on the definitions of Google's
|
68
|
+
*Material Design* (MD). The color scheme comprises primary and accent colors
|
69
|
+
that can be used for illustration or to develop individual brand colors of a
|
70
|
+
website; designed to work harmoniously with each other.
|
71
|
+
|
72
|
+
The color palette starts with primary colors and fills in the spectrum to
|
73
|
+
create a complete and usable palette for Desktop and Mobile web sites based on
|
74
|
+
Android or iOS. Google suggests using the 500 colors as the primary colors for
|
75
|
+
your web and the other colors as accents colors to support the content for
|
76
|
+
better reading or orientation.
|
77
|
+
|
78
|
+
=== Red and Pink
|
79
|
+
++++
|
80
|
+
<div class="row col-list">
|
81
|
+
<div class="color-palette col-lg-12">
|
82
|
+
<div class="color-group col-lg-6">
|
83
|
+
<ul>
|
84
|
+
<li class="color main-color" style="background-color: #f44336;"> <span class="name light-strong">Red</span> <span class="shade light-strong">500</span> <span class="hex light-strong">#f44336</span> </li>
|
85
|
+
<li class="color dark" style="background-color: #ffebee;"><span class="shade expanded">50</span><span class="hex">#ffebee</span> </li>
|
86
|
+
<li class="color dark" style="background-color: #ffcdd2;"><span class="shade">100</span><span class="hex">#ffcdd2</span> </li>
|
87
|
+
<li class="color dark" style="background-color: #ef9a9a"><span class="shade expanded">200</span><span class="hex">#ef9a9a</span> </li>
|
88
|
+
<li class="color dark" style="background-color: #e57373;"><span class="shade">300</span><span class="hex">#e57373</span> </li>
|
89
|
+
<li class="color" style="background-color: #ef5350;"><span class="shade expanded">400</span><span class="hex">#ef5350</span> </li>
|
90
|
+
<li class="color" style="background-color: #f44336;"><span class="shade">500</span><span class="hex">#f44336</span> </li>
|
91
|
+
<li class="color" style="background-color: #e53935;"><span class="shade expanded">600</span><span class="hex">#e53935</span> </li>
|
92
|
+
<li class="color" style="background-color: #d32f2f;"><span class="shade">700</span><span class="hex">#d32f2f</span> </li>
|
93
|
+
<li class="color" style="background-color: #c62828;"><span class="shade expanded">800</span><span class="hex">#c62828</span> </li>
|
94
|
+
<li class="color" style="background-color: #b71c1c;"><span class="shade expanded">900</span><span class="hex">#b71c1c</span> </li>
|
95
|
+
<li class="color dark divide" style="background-color: #ff8a80;"><span class="shade accent">A100</span><span class="hex">#ff8a80</span> </li>
|
96
|
+
<li class="color light-strong" style="background-color: #ff5252;"><span class="shade accent expanded">A200</span><span class="hex">#ff5252</span> </li>
|
97
|
+
<li class="color" style="background-color: #ff1744;"><span class="shade accent expanded">A400</span><span class="hex">#ff1744</span> </li>
|
98
|
+
<li class="color" style="background-color: #d50000;"><span class="shade accent">A700</span><span class="hex">#d50000</span> </li>
|
99
|
+
</ul>
|
100
|
+
</div>
|
101
|
+
<div class="color-group col-lg-6">
|
102
|
+
<ul>
|
103
|
+
<li class="color main-color" style="background-color: #E91E63;"> <span class="name light-strong">Pink</span> <span class="shade light-strong">500</span> <span class="hex light-strong">#e91e63</span> </li>
|
104
|
+
<li class="color dark" style="background-color: #fce4ec;"><span class="shade expanded">50</span><span class="hex">#fce4ec</span> </li>
|
105
|
+
<li class="color dark" style="background-color: #f8bbd0;"><span class="shade">100</span><span class="hex">#f8bbd0</span> </li>
|
106
|
+
<li class="color dark" style="background-color: #f48fb1;"><span class="shade expanded">200</span><span class="hex">#f48fb1</span> </li>
|
107
|
+
<li class="color light-strong" style="background-color: #f06292;"><span class="shade">300</span><span class="hex">#f06292</span> </li>
|
108
|
+
<li class="color " style="background-color: #ec407a;"><span class="shade expanded">400</span><span class="hex">#ec407a</span> </li>
|
109
|
+
<li class="color" style="background-color: #e91e63;"><span class="shade">500</span><span class="hex">#e91e63</span> </li>
|
110
|
+
<li class="color" style="background-color: #d81b60;"><span class="shade expanded">600</span><span class="hex">#d81b60</span> </li>
|
111
|
+
<li class="color" style="background-color: #c2185b;"><span class="shade">700</span><span class="hex">#c2185b</span> </li>
|
112
|
+
<li class="color" style="background-color: #ad1457;"><span class="shade">800</span><span class="hex">#ad1457</span> </li>
|
113
|
+
<li class="color" style="background-color: #880e4f;"><span class="shade">900</span><span class="hex">#880e4f</span> </li>
|
114
|
+
<li class="color dark divide" style="background-color: #ff80ab;"><span class="shade accent">A100</span><span class="hex">#ff80ab</span> </li>
|
115
|
+
<li class="color light-strong" style="background-color: #ff4081;"><span class="shade accent expanded">A200</span><span class="hex">#ff4081</span> </li>
|
116
|
+
<li class="color" style="background-color: #f50057;"><span class="shade accent expanded">A400</span><span class="hex">#f50057</span> </li>
|
117
|
+
<li class="color" style="background-color: #c51162;"><span class="shade accent">A700</span><span class="hex">#c51162</span> </li>
|
118
|
+
</ul>
|
119
|
+
</div>
|
120
|
+
</div>
|
121
|
+
</div>
|
122
|
+
++++
|
123
|
+
|
124
|
+
=== Purple and Deep Purple
|
125
|
+
++++
|
126
|
+
<div class="row col-list">
|
127
|
+
<div class="color-palette col-lg-12">
|
128
|
+
<div class="color-group col-lg-6">
|
129
|
+
<ul>
|
130
|
+
<li class="color main-color" style="background-color: #9c27b0;"> <span class="name">Purple</span> <span class="shade">500</span> <span class="hex">#9c27b0</span> </li>
|
131
|
+
<li class="color dark" style="background-color: #f3e5f5;"><span class="shade expanded">50</span><span class="hex">#f3e5f5</span> </li>
|
132
|
+
<li class="color dark" style="background-color: #e1bee7;"><span class="shade">100</span><span class="hex">#e1bee7</span> </li>
|
133
|
+
<li class="color dark" style="background-color: #ce93d8;"><span class="shade expanded">200</span><span class="hex">#ce93d8</span> </li>
|
134
|
+
<li class="color light-strong" style="background-color: #ba68c8;"><span class="shade">300</span><span class="hex">#ba68c8</span> </li>
|
135
|
+
<li class="color light-strong" style="background-color: #ab47bc;"><span class="shade expanded">400</span><span class="hex">#ab47bc</span> </li>
|
136
|
+
<li class="color" style="background-color: #9c27b0;"><span class="shade">500</span><span class="hex">#9c27b0</span> </li>
|
137
|
+
<li class="color" style="background-color: #8e24aa;"><span class="shade expanded">600</span><span class="hex">#8e24aa</span> </li>
|
138
|
+
<li class="color" style="background-color: #7b1fa2;"><span class="shade">700</span><span class="hex">#7b1fa2</span> </li>
|
139
|
+
<li class="color" style="background-color: #6a1b9a;"><span class="shade expanded">800</span><span class="hex">#6a1b9a</span> </li>
|
140
|
+
<li class="color" style="background-color: #4a148c;"><span class="shade expanded">900</span><span class="hex">#4a148c</span> </li>
|
141
|
+
<li class="color dark divide" style="background-color: #ea80fc;"><span class="shade accent">A100</span><span class="hex">#ea80fc</span> </li>
|
142
|
+
<li class="color light-strong" style="background-color: #e040fb;"><span class="shade accent expanded">A200</span><span class="hex">#e040fb</span> </li>
|
143
|
+
<li class="color" style="background-color: #d500f9;"><span class="shade accent expanded">A400</span><span class="hex">#d500f9</span> </li>
|
144
|
+
<li class="color" style="background-color: #aa00ff;"><span class="shade accent">A700</span><span class="hex">#aa00ff</span> </li>
|
145
|
+
</ul>
|
146
|
+
</div>
|
147
|
+
<div class="color-group col-lg-6">
|
148
|
+
<ul>
|
149
|
+
<li class="color main-color" style="background-color: #673ab7;"> <span class="name">Deep Purple</span> <span class="shade">500</span> <span class="hex">#673ab7</span> </li>
|
150
|
+
<li class="color dark" style="background-color: #ede7f6;"><span class="shade expanded">50</span><span class="hex">#ede7f6</span> </li>
|
151
|
+
<li class="color dark" style="background-color: #d1c4e9;"><span class="shade">100</span><span class="hex">#d1c4e9</span> </li>
|
152
|
+
<li class="color dark" style="background-color: #b39ddb;"><span class="shade expanded">200</span><span class="hex">#b39ddb</span> </li>
|
153
|
+
<li class="color" style="background-color: #9575cd;"><span class="shade">300</span><span class="hex">#9575cd</span> </li>
|
154
|
+
<li class="color" style="background-color: #7e57c2;"><span class="shade expanded">400</span><span class="hex">#7e57c2</span> </li>
|
155
|
+
<li class="color" style="background-color: #673ab7;"><span class="shade">500</span><span class="hex">#673ab7</span> </li>
|
156
|
+
<li class="color" style="background-color: #5e35b1;"><span class="shade expanded">600</span><span class="hex">#5e35b1</span> </li>
|
157
|
+
<li class="color" style="background-color: #512da8;"><span class="shade">700</span><span class="hex">#512da8</span> </li>
|
158
|
+
<li class="color" style="background-color: #4527a0;"><span class="shade expanded">800</span><span class="hex">#4527a0</span> </li>
|
159
|
+
<li class="color" style="background-color: #311b92;"><span class="shade expanded">900</span><span class="hex">#311b92</span> </li>
|
160
|
+
<li class="color dark divide" style="background-color: #b388ff;"><span class="shade accent">A100</span><span class="hex">#b388ff</span> </li>
|
161
|
+
<li class="color light-strong" style="background-color: #7c4dff;"><span class="shade accent expanded">A200</span><span class="hex">#7c4dff</span> </li>
|
162
|
+
<li class="color" style="background-color: #651fff;"><span class="shade accent expanded">A400</span><span class="hex">#651fff</span> </li>
|
163
|
+
<li class="color" style="background-color: #6200ea;"><span class="shade accent">A700</span><span class="hex">#6200ea</span> </li>
|
164
|
+
</ul>
|
165
|
+
</div>
|
166
|
+
</div>
|
167
|
+
</div>
|
168
|
+
++++
|
169
|
+
|
170
|
+
=== Indigo and Blue
|
171
|
+
++++
|
172
|
+
<div class="row col-list">
|
173
|
+
<div class="color-palette col-lg-12">
|
174
|
+
<div class="color-group col-lg-6">
|
175
|
+
<ul>
|
176
|
+
<li class="color main-color" style="background-color: #3f51b5;"> <span class="name">Indigo</span> <span class="shade">500</span> <span class="hex">#3f51b5</span> </li>
|
177
|
+
<li class="color dark" style="background-color: #e8eaf6;"><span class="shade expanded">50</span><span class="hex">#e8eaf6</span> </li>
|
178
|
+
<li class="color dark" style="background-color: #c5cae9;"><span class="shade">100</span><span class="hex">#c5cae9</span> </li>
|
179
|
+
<li class="color dark" style="background-color: #9fa8da;"><span class="shade expanded">200</span><span class="hex">#9fa8da</span> </li>
|
180
|
+
<li class="color" style="background-color: #7986cb;"><span class="shade">300</span><span class="hex">#7986cb</span> </li>
|
181
|
+
<li class="color" style="background-color: #5c6bc0;"><span class="shade expanded">400</span><span class="hex">#5c6bc0</span> </li>
|
182
|
+
<li class="color" style="background-color: #3f51b5;"><span class="shade">500</span><span class="hex">#3f51b5</span> </li>
|
183
|
+
<li class="color" style="background-color: #3949ab;"><span class="shade expanded">600</span><span class="hex">#3949ab</span> </li>
|
184
|
+
<li class="color" style="background-color: #303f9f;"><span class="shade">700</span><span class="hex">#303f9f</span> </li>
|
185
|
+
<li class="color" style="background-color: #283593;"><span class="shade expanded">800</span><span class="hex">#283593</span> </li>
|
186
|
+
<li class="color" style="background-color: #1a237e;"><span class="shade expanded">900</span><span class="hex">#1a237e</span> </li>
|
187
|
+
<li class="color dark divide" style="background-color: #8c9eff;"><span class="shade accent">A100</span><span class="hex">#8c9eff</span> </li>
|
188
|
+
<li class="color" style="background-color: #536dfe;"><span class="shade accent expanded">A200</span><span class="hex">#536dfe</span> </li>
|
189
|
+
<li class="color" style="background-color: #3d5afe;"><span class="shade accent expanded">A400</span><span class="hex">#3d5afe</span> </li>
|
190
|
+
<li class="color" style="background-color: #304ffe;"><span class="shade accent">A700</span><span class="hex">#304ffe</span> </li>
|
191
|
+
</ul>
|
192
|
+
</div>
|
193
|
+
<div class="color-group col-lg-6">
|
194
|
+
<ul>
|
195
|
+
<li class="color main-color" style="background-color: #2196F3;"> <span class="name light-strong">Blue</span> <span class="shade light-strong">500</span> <span class="hex light-strong">#2196f3</span> </li>
|
196
|
+
<li class="color dark" style="background-color: #e3f2fd;"><span class="shade expanded">50</span><span class="hex">#e3f2fd</span> </li>
|
197
|
+
<li class="color dark" style="background-color: #bbdefb;"><span class="shade">100</span><span class="hex">#bbdefb</span> </li>
|
198
|
+
<li class="color dark" style="background-color: #90caf9;"><span class="shade expanded">200</span><span class="hex">#90caf9</span> </li>
|
199
|
+
<li class="color dark" style="background-color: #64b5f6;"><span class="shade">300</span><span class="hex">#64b5f6</span> </li>
|
200
|
+
<li class="color dark" style="background-color: #42a5f5;"><span class="shade expanded">400</span><span class="hex">#42a5f5</span> </li>
|
201
|
+
<li class="color light-strong" style="background-color: #2196f3;"><span class="shade">500</span><span class="hex">#2196f3</span> </li>
|
202
|
+
<li class="color" style="background-color: #1e88e5;"><span class="shade expanded">600</span><span class="hex">#1e88e5</span> </li>
|
203
|
+
<li class="color" style="background-color: #1976d2;"><span class="shade">700</span><span class="hex">#1976d2</span> </li>
|
204
|
+
<li class="color" style="background-color: #1565c0;"><span class="shade expanded">800</span><span class="hex">#1565c0</span> </li>
|
205
|
+
<li class="color" style="background-color: #0d47a1;"><span class="shade expanded">900</span><span class="hex">#0d47a1</span> </li>
|
206
|
+
<li class="color dark divide" style="background-color: #82b1ff;"><span class="shade accent">A100</span><span class="hex">#82b1ff</span> </li>
|
207
|
+
<li class="color light-strong" style="background-color: #448aff;"><span class="shade accent expanded">A200</span><span class="hex">#448aff</span> </li>
|
208
|
+
<li class="color" style="background-color: #2979ff;"><span class="shade accent expanded">A400</span><span class="hex">#2979ff</span> </li>
|
209
|
+
<li class="color" style="background-color: #2962ff;"><span class="shade accent">A700</span><span class="hex">#2962ff</span> </li>
|
210
|
+
</ul>
|
211
|
+
</div>
|
212
|
+
</div>
|
213
|
+
</div>
|
214
|
+
++++
|
215
|
+
|
216
|
+
=== Light Blue and Cyan
|
217
|
+
++++
|
218
|
+
<div class="row col-list">
|
219
|
+
<div class="color-palette col-lg-12">
|
220
|
+
<div class="color-group col-lg-6">
|
221
|
+
<ul>
|
222
|
+
<li class="color main-color" style="background-color: #03a9f4;"> <span class="name dark">Light Blue</span> <span class="shade dark">500</span> <span class="hex dark">#03a9f4</span> </li>
|
223
|
+
<li class="color dark" style="background-color: #e1f5fe;"><span class="shade expanded">50</span><span class="hex">#e1f5fe</span> </li>
|
224
|
+
<li class="color dark" style="background-color: #b3e5fc;"><span class="shade">100</span><span class="hex">#b3e5fc</span> </li>
|
225
|
+
<li class="color dark" style="background-color: #81d4fa;"><span class="shade expanded">200</span><span class="hex">#81d4fa</span> </li>
|
226
|
+
<li class="color dark" style="background-color: #4fc3f7;"><span class="shade">300</span><span class="hex">#4fc3f7</span> </li>
|
227
|
+
<li class="color dark" style="background-color: #29b6f6;"><span class="shade expanded">400</span><span class="hex">#29b6f6</span> </li>
|
228
|
+
<li class="color dark" style="background-color: #03a9f4;"><span class="shade">500</span><span class="hex">#03a9f4</span> </li>
|
229
|
+
<li class="color light-strong" style="background-color: #039be5;"><span class="shade expanded">600</span><span class="hex">#039be5</span> </li>
|
230
|
+
<li class="color" style="background-color: #0288d1;"><span class="shade">700</span><span class="hex">#0288d1</span> </li>
|
231
|
+
<li class="color" style="background-color: #0277bd;"><span class="shade expanded">800</span><span class="hex">#0277bd</span> </li>
|
232
|
+
<li class="color" style="background-color: #01579b;"><span class="shade expanded">900</span><span class="hex">#01579b</span> </li>
|
233
|
+
<li class="color dark divide" style="background-color: #80d8ff;"><span class="shade accent">A100</span><span class="hex">#80d8ff</span> </li>
|
234
|
+
<li class="color dark" style="background-color: #40c4ff;"><span class="shade accent expanded">A200</span><span class="hex">#40c4ff</span> </li>
|
235
|
+
<li class="color dark" style="background-color: #00b0ff;"><span class="shade accent expanded">A400</span><span class="hex">#00b0ff</span> </li>
|
236
|
+
<li class="color light-strong" style="background-color: #0091ea;"><span class="shade accent">A700</span><span class="hex">#0091ea</span> </li>
|
237
|
+
</ul>
|
238
|
+
</div>
|
239
|
+
<div class="color-group col-lg-6">
|
240
|
+
<ul>
|
241
|
+
<li class="color main-color" style="background-color: #00bcd4;"> <span class="name dark">Cyan</span> <span class="shade dark">500</span> <span class="hex dark">#00bcd4</span> </li>
|
242
|
+
<li class="color dark" style="background-color: #e0f7fa;"><span class="shade expanded">50</span><span class="hex">#e0f7fa</span> </li>
|
243
|
+
<li class="color dark" style="background-color: #b2ebf2;"><span class="shade">100</span><span class="hex">#b2ebf2</span> </li>
|
244
|
+
<li class="color dark" style="background-color: #80deea;"><span class="shade expanded">200</span><span class="hex">#80deea</span> </li>
|
245
|
+
<li class="color dark" style="background-color: #4dd0e1;"><span class="shade">300</span><span class="hex">#4dd0e1</span> </li>
|
246
|
+
<li class="color dark" style="background-color: #26c6da;"><span class="shade expanded">400</span><span class="hex">#26c6da</span> </li>
|
247
|
+
<li class="color dark" style="background-color: #00bcd4;"><span class="shade">500</span><span class="hex">#00bcd4</span> </li>
|
248
|
+
<li class="color dark" style="background-color: #00acc1;"><span class="shade expanded">600</span><span class="hex">#00acc1</span> </li>
|
249
|
+
<li class="color" style="background-color: #0097a7;"><span class="shade">700</span><span class="hex">#0097a7</span> </li>
|
250
|
+
<li class="color" style="background-color: #00838f;"><span class="shade expanded">800</span><span class="hex">#00838f</span> </li>
|
251
|
+
<li class="color" style="background-color: #006064;"><span class="shade expanded">900</span><span class="hex">#006064</span> </li>
|
252
|
+
<li class="color dark divide" style="background-color: #84ffff;"><span class="shade accent">A100</span><span class="hex">#84ffff</span> </li>
|
253
|
+
<li class="color dark" style="background-color: #18ffff;"><span class="shade accent expanded">A200</span><span class="hex">#18ffff</span> </li>
|
254
|
+
<li class="color dark" style="background-color: #00e5ff;"><span class="shade accent expanded">A400</span><span class="hex">#00e5ff</span> </li>
|
255
|
+
<li class="color dark" style="background-color: #00b8d4;"><span class="shade accent">A700</span><span class="hex">#00b8d4</span> </li>
|
256
|
+
</ul>
|
257
|
+
</div>
|
258
|
+
</div>
|
259
|
+
</div>
|
260
|
+
++++
|
261
|
+
|
262
|
+
=== Teal and Green
|
263
|
+
++++
|
264
|
+
<div class="row col-list">
|
265
|
+
<div class="color-palette col-lg-12">
|
266
|
+
<div class="color-group col-lg-6">
|
267
|
+
<ul>
|
268
|
+
<li class="color main-color" style="background-color: #009688;"> <span class="name light-strong">Teal</span> <span class="shade light-strong">500</span> <span class="hex light-strong">#009688</span> </li>
|
269
|
+
<li class="color dark" style="background-color: #e0f2f1;"><span class="shade expanded">50</span><span class="hex">#e0f2f1</span> </li>
|
270
|
+
<li class="color dark" style="background-color: #b2dfdb;"><span class="shade">100</span><span class="hex">#b2dfdb</span> </li>
|
271
|
+
<li class="color dark" style="background-color: #80cbc4;"><span class="shade expanded">200</span><span class="hex">#80cbc4</span> </li>
|
272
|
+
<li class="color dark" style="background-color: #4db6ac;"><span class="shade">300</span><span class="hex">#4db6ac</span> </li>
|
273
|
+
<li class="color dark" style="background-color: #26a69a;"><span class="shade expanded">400</span><span class="hex">#26a69a</span> </li>
|
274
|
+
<li class="color light-strong" style="background-color: #009688;"><span class="shade">500</span><span class="hex">#009688</span> </li>
|
275
|
+
<li class="color light-strong" style="background-color: #00897b;"><span class="shade expanded">600</span><span class="hex">#00897b</span> </li>
|
276
|
+
<li class="color light-strong" style="background-color: #00796b;"><span class="shade">700</span><span class="hex">#00796b</span> </li>
|
277
|
+
<li class="color" style="background-color: #00695c;"><span class="shade expanded">800</span><span class="hex">#00695c</span> </li>
|
278
|
+
<li class="color" style="background-color: #004d40;"><span class="shade expanded">900</span><span class="hex">#004d40</span> </li>
|
279
|
+
<li class="color dark divide" style="background-color: #a7ffeb;"><span class="shade accent">A100</span><span class="hex">#a7ffeb</span> </li>
|
280
|
+
<li class="color dark" style="background-color: #64ffda;"><span class="shade accent expanded">A200</span><span class="hex">#64ffda</span> </li>
|
281
|
+
<li class="color dark" style="background-color: #1de9b6;"><span class="shade accent expanded">A400</span><span class="hex">#1de9b6</span> </li>
|
282
|
+
<li class="color dark" style="background-color: #00bfa5;"><span class="shade accent">A700</span><span class="hex">#00bfa5</span> </li>
|
283
|
+
</ul>
|
284
|
+
</div>
|
285
|
+
<div class="color-group col-lg-6">
|
286
|
+
<ul>
|
287
|
+
<li class="color main-color" style="background-color: #4caf50;"> <span class="name dark">Green</span> <span class="shade dark">500</span> <span class="hex dark">#4caf50</span> </li>
|
288
|
+
<li class="color dark" style="background-color: #e8f5e9;"><span class="shade expanded">50</span><span class="hex">#e8f5e9</span> </li>
|
289
|
+
<li class="color dark" style="background-color: #c8e6c9;"><span class="shade">100</span><span class="hex">#c8e6c9</span> </li>
|
290
|
+
<li class="color dark" style="background-color: #a5d6a7;"><span class="shade expanded">200</span><span class="hex">#a5d6a7</span> </li>
|
291
|
+
<li class="color dark" style="background-color: #81c784;"><span class="shade">300</span><span class="hex">#81c784</span> </li>
|
292
|
+
<li class="color dark" style="background-color: #66bb6a;"><span class="shade expanded">400</span><span class="hex">#66bb6a</span> </li>
|
293
|
+
<li class="color dark" style="background-color: #4caf50;"><span class="shade">500</span><span class="hex">#4caf50</span> </li>
|
294
|
+
<li class="color light-strong" style="background-color: #43a047;"><span class="shade expanded">600</span><span class="hex">#43a047</span> </li>
|
295
|
+
<li class="color" style="background-color: #388e3c;"><span class="shade">700</span><span class="hex">#388e3c</span> </li>
|
296
|
+
<li class="color" style="background-color: #2e7d32;"><span class="shade expanded">800</span><span class="hex">#2e7d32</span> </li>
|
297
|
+
<li class="color" style="background-color: #1b5e20;"><span class="shade expanded">900</span><span class="hex">#1b5e20</span> </li>
|
298
|
+
<li class="color dark divide" style="background-color: #b9f6ca;"><span class="shade accent">A100</span><span class="hex">#b9f6ca</span> </li>
|
299
|
+
<li class="color dark" style="background-color: #69f0ae;"><span class="shade accent expanded">A200</span><span class="hex">#69f0ae</span> </li>
|
300
|
+
<li class="color dark" style="background-color: #00e676;"><span class="shade accent expanded">A400</span><span class="hex">#00e676</span> </li>
|
301
|
+
<li class="color dark" style="background-color: #00c853;"><span class="shade accent">A700</span><span class="hex">#00c853</span> </li>
|
302
|
+
</ul>
|
303
|
+
</div>
|
304
|
+
</div>
|
305
|
+
</div>
|
306
|
+
++++
|
307
|
+
|
308
|
+
=== Light Green and Lime
|
309
|
+
++++
|
310
|
+
<div class="row col-list">
|
311
|
+
<div class="color-palette col-lg-12">
|
312
|
+
<div class="color-group col-lg-6">
|
313
|
+
<ul>
|
314
|
+
<li class="color main-color" style="background-color: #8bc34a;"> <span class="name dark">Light Green</span> <span class="shade dark">500</span> <span class="hex dark">#8bc34a</span> </li>
|
315
|
+
<li class="color dark" style="background-color: #f1f8e9;"><span class="shade expanded">50</span><span class="hex">#f1f8e9</span> </li>
|
316
|
+
<li class="color dark" style="background-color: #dcedc8;"><span class="shade">100</span><span class="hex">#dcedc8</span> </li>
|
317
|
+
<li class="color dark" style="background-color: #c5e1a5;"><span class="shade expanded">200</span><span class="hex">#c5e1a5</span> </li>
|
318
|
+
<li class="color dark" style="background-color: #aed581;"><span class="shade">300</span><span class="hex">#aed581</span> </li>
|
319
|
+
<li class="color dark" style="background-color: #9ccc65;"><span class="shade expanded">400</span><span class="hex">#9ccc65</span> </li>
|
320
|
+
<li class="color dark" style="background-color: #8bc34a;"><span class="shade">500</span><span class="hex">#8bc34a</span> </li>
|
321
|
+
<li class="color dark" style="background-color: #7cb342;"><span class="shade expanded">600</span><span class="hex">#7cb342</span> </li>
|
322
|
+
<li class="color light-strong" style="background-color: #689f38;"><span class="shade">700</span><span class="hex">#689f38</span> </li>
|
323
|
+
<li class="color" style="background-color: #558b2f;"><span class="shade expanded">800</span><span class="hex">#558b2f</span> </li>
|
324
|
+
<li class="color" style="background-color: #33691e;"><span class="shade expanded">900</span><span class="hex">#33691e</span> </li>
|
325
|
+
<li class="color dark divide" style="background-color: #ccff90;"><span class="shade accent">A100</span><span class="hex">#ccff90</span> </li>
|
326
|
+
<li class="color dark" style="background-color: #b2ff59;"><span class="shade accent expanded">A200</span><span class="hex">#b2ff59</span> </li>
|
327
|
+
<li class="color dark" style="background-color: #76ff03;"><span class="shade accent expanded">A400</span><span class="hex">#76ff03</span> </li>
|
328
|
+
<li class="color dark" style="background-color: #64dd17;"><span class="shade accent">A700</span><span class="hex">#64dd17</span> </li>
|
329
|
+
</ul>
|
330
|
+
</div>
|
331
|
+
<div class="color-group col-lg-6">
|
332
|
+
<ul>
|
333
|
+
<li class="color main-color" style="background-color: #cddc39;"> <span class="name dark">Lime</span> <span class="shade dark">500</span> <span class="hex dark">#cddc39</span> </li>
|
334
|
+
<li class="color dark" style="background-color: #f9fbe7;"><span class="shade expanded">50</span><span class="hex">#f9fbe7</span> </li>
|
335
|
+
<li class="color dark" style="background-color: #f0f4c3;"><span class="shade">100</span><span class="hex">#f0f4c3</span> </li>
|
336
|
+
<li class="color dark" style="background-color: #e6ee9c;"><span class="shade expanded">200</span><span class="hex">#e6ee9c</span> </li>
|
337
|
+
<li class="color dark" style="background-color: #dce775;"><span class="shade">300</span><span class="hex">#dce775</span> </li>
|
338
|
+
<li class="color dark" style="background-color: #d4e157;"><span class="shade expanded">400</span><span class="hex">#d4e157</span> </li>
|
339
|
+
<li class="color dark" style="background-color: #cddc39;"><span class="shade">500</span><span class="hex">#cddc39</span> </li>
|
340
|
+
<li class="color dark" style="background-color: #c0ca33;"><span class="shade expanded">600</span><span class="hex">#c0ca33</span> </li>
|
341
|
+
<li class="color dark" style="background-color: #afb42b;"><span class="shade">700</span><span class="hex">#afb42b</span> </li>
|
342
|
+
<li class="color dark" style="background-color: #9e9d24;"><span class="shade expanded">800</span><span class="hex">#9e9d24</span> </li>
|
343
|
+
<li class="color" style="background-color: #827717;"><span class="shade expanded">900</span><span class="hex">#827717</span> </li>
|
344
|
+
<li class="color dark divide" style="background-color: #f4ff81;"><span class="shade accent">A100</span><span class="hex">#f4ff81</span> </li>
|
345
|
+
<li class="color dark" style="background-color: #eeff41;"><span class="shade accent expanded">A200</span><span class="hex">#eeff41</span> </li>
|
346
|
+
<li class="color dark" style="background-color: #c6ff00;"><span class="shade accent expanded">A400</span><span class="hex">#c6ff00</span> </li>
|
347
|
+
<li class="color dark" style="background-color: #aeea00;"><span class="shade accent">A700</span><span class="hex">#aeea00</span> </li>
|
348
|
+
</ul>
|
349
|
+
</div>
|
350
|
+
</div>
|
351
|
+
</div>
|
352
|
+
++++
|
353
|
+
|
354
|
+
=== Yellow and Amber
|
355
|
+
++++
|
356
|
+
<div class="row col-list">
|
357
|
+
<div class="color-palette col-lg-12">
|
358
|
+
<div class="color-group col-lg-6">
|
359
|
+
<ul>
|
360
|
+
<li class="color main-color" style="background-color: #ffeb3b;"> <span class="name dark">Yellow</span> <span class="shade dark">500</span> <span class="hex dark">#ffeb3b</span> </li>
|
361
|
+
<li class="color dark" style="background-color: #fffde7;"><span class="shade expanded">50</span><span class="hex">#fffde7</span> </li>
|
362
|
+
<li class="color dark" style="background-color: #fff9c4;"><span class="shade">100</span><span class="hex">#fff9c4</span> </li>
|
363
|
+
<li class="color dark" style="background-color: #fff59d;"><span class="shade expanded">200</span><span class="hex">#fff59d</span> </li>
|
364
|
+
<li class="color dark" style="background-color: #fff176;"><span class="shade">300</span><span class="hex">#fff176</span> </li>
|
365
|
+
<li class="color dark" style="background-color: #ffee58;"><span class="shade expanded">400</span><span class="hex">#ffee58</span> </li>
|
366
|
+
<li class="color dark" style="background-color: #ffeb3b;"><span class="shade">500</span><span class="hex">#ffeb3b</span> </li>
|
367
|
+
<li class="color dark" style="background-color: #fdd835;"><span class="shade expanded">600</span><span class="hex">#fdd835</span> </li>
|
368
|
+
<li class="color dark" style="background-color: #fbc02d;"><span class="shade">700</span><span class="hex">#fbc02d</span> </li>
|
369
|
+
<li class="color dark" style="background-color: #f9a825;"><span class="shade expanded">800</span><span class="hex">#f9a825</span> </li>
|
370
|
+
<li class="color dark" style="background-color: #f57f17;"><span class="shade expanded">900</span><span class="hex">#f57f17</span> </li>
|
371
|
+
<li class="color dark divide" style="background-color: #ffff8d;"><span class="shade accent">A100</span><span class="hex">#ffff8d</span> </li>
|
372
|
+
<li class="color dark" style="background-color: #ffff00;"><span class="shade accent expanded">A200</span><span class="hex">#ffff00</span> </li>
|
373
|
+
<li class="color dark" style="background-color: #ffea00;"><span class="shade accent expanded">A400</span><span class="hex">#ffea00</span> </li>
|
374
|
+
<li class="color dark" style="background-color: #ffd600;"><span class="shade accent">A700</span><span class="hex">#ffd600</span> </li>
|
375
|
+
</ul>
|
376
|
+
</div>
|
377
|
+
<div class="color-group col-lg-6">
|
378
|
+
<ul>
|
379
|
+
<li class="color main-color" style="background-color: #ffc107;"> <span class="name dark">Amber</span> <span class="shade dark">500</span> <span class="hex dark">#ffc107</span> </li>
|
380
|
+
<li class="color dark" style="background-color: #fff8e1;"><span class="shade expanded">50</span><span class="hex">#fff8e1</span> </li>
|
381
|
+
<li class="color dark" style="background-color: #ffecb3;"><span class="shade">100</span><span class="hex">#ffecb3</span> </li>
|
382
|
+
<li class="color dark" style="background-color: #ffe082;"><span class="shade expanded">200</span><span class="hex">#ffe082</span> </li>
|
383
|
+
<li class="color dark" style="background-color: #ffd54f;"><span class="shade">300</span><span class="hex">#ffd54f</span> </li>
|
384
|
+
<li class="color dark" style="background-color: #ffca28;"><span class="shade expanded">400</span><span class="hex">#ffca28</span> </li>
|
385
|
+
<li class="color dark" style="background-color: #ffc107;"><span class="shade">500</span><span class="hex">#ffc107</span> </li>
|
386
|
+
<li class="color dark" style="background-color: #ffb300;"><span class="shade expanded">600</span><span class="hex">#ffb300</span> </li>
|
387
|
+
<li class="color dark" style="background-color: #ffa000;"><span class="shade">700</span><span class="hex">#ffa000</span> </li>
|
388
|
+
<li class="color dark" style="background-color: #ff8f00;"><span class="shade expanded">800</span><span class="hex">#ff8f00</span> </li>
|
389
|
+
<li class="color dark" style="background-color: #ff6f00;"><span class="shade expanded">900</span><span class="hex">#ff6f00</span> </li>
|
390
|
+
<li class="color dark divide" style="background-color: #ffe57f;"><span class="shade accent">A100</span><span class="hex">#ffe57f</span> </li>
|
391
|
+
<li class="color dark" style="background-color: #ffd740;"><span class="shade accent expanded">A200</span><span class="hex">#ffd740</span> </li>
|
392
|
+
<li class="color dark" style="background-color: #ffc400;"><span class="shade accent expanded">A400</span><span class="hex">#ffc400</span> </li>
|
393
|
+
<li class="color dark" style="background-color: #ffab00;"><span class="shade accent">A700</span><span class="hex">#ffab00</span> </li>
|
394
|
+
</ul>
|
395
|
+
</div>
|
396
|
+
</div>
|
397
|
+
</div>
|
398
|
+
++++
|
399
|
+
|
400
|
+
=== Orange and Deep Orange
|
401
|
+
++++
|
402
|
+
<div class="row col-list">
|
403
|
+
<div class="color-palette col-lg-12">
|
404
|
+
<div class="color-group col-lg-6">
|
405
|
+
<ul>
|
406
|
+
<li class="color main-color" style="background-color: #ff9800;"> <span class="name dark-when-small">Orange</span> <span class="shade dark-when-small">500</span> <span class="hex dark-when-small">#ff9800</span> </li>
|
407
|
+
<li class="color dark" style="background-color: #fff3e0;"><span class="shade expanded">50</span><span class="hex">#fff3e0</span> </li>
|
408
|
+
<li class="color dark" style="background-color: #ffe0b2;"><span class="shade">100</span><span class="hex">#ffe0b2</span> </li>
|
409
|
+
<li class="color dark" style="background-color: #ffcc80;"><span class="shade expanded">200</span><span class="hex">#ffcc80</span> </li>
|
410
|
+
<li class="color dark" style="background-color: #ffb74d;"><span class="shade">300</span><span class="hex">#ffb74d</span> </li>
|
411
|
+
<li class="color dark" style="background-color: #ffa726;"><span class="shade expanded">400</span><span class="hex">#ffa726</span> </li>
|
412
|
+
<li class="color dark" style="background-color: #ff9800;"><span class="shade">500</span><span class="hex">#ff9800</span> </li>
|
413
|
+
<li class="color dark" style="background-color: #fb8c00;"><span class="shade expanded">600</span><span class="hex">#fb8c00</span> </li>
|
414
|
+
<li class="color dark" style="background-color: #f57c00;"><span class="shade">700</span><span class="hex">#f57c00</span> </li>
|
415
|
+
<li class="color light-strong" style="background-color: #ef6c00;"><span class="shade expanded">800</span><span class="hex">#ef6c00</span> </li>
|
416
|
+
<li class="color" style="background-color: #e65100;"><span class="shade expanded">900</span><span class="hex">#e65100</span> </li>
|
417
|
+
<li class="color dark divide" style="background-color: #ffd180;"><span class="shade accent">A100</span><span class="hex">#ffd180</span> </li>
|
418
|
+
<li class="color dark" style="background-color: #ffab40;"><span class="shade accent expanded">A200</span><span class="hex">#ffab40</span> </li>
|
419
|
+
<li class="color dark" style="background-color: #ff9100;"><span class="shade accent expanded">A400</span><span class="hex">#ff9100</span> </li>
|
420
|
+
<li class="color dark" style="background-color: #ff6d00;"><span class="shade accent">A700</span><span class="hex">#ff6d00</span> </li>
|
421
|
+
</ul>
|
422
|
+
</div>
|
423
|
+
<div class="color-group col-lg-6">
|
424
|
+
<ul>
|
425
|
+
<li class="color main-color" style="background-color: #ff5722;"> <span class="name light-strong">Deep Orange</span> <span class="shade light-strong">500</span> <span class="hex light-strong">#ff5722</span> </li>
|
426
|
+
<li class="color dark" style="background-color: #fbe9e7;"><span class="shade expanded">50</span><span class="hex">#fbe9e7</span> </li>
|
427
|
+
<li class="color dark" style="background-color: #ffccbc;"><span class="shade">100</span><span class="hex">#ffccbc</span> </li>
|
428
|
+
<li class="color dark" style="background-color: #ffab91;"><span class="shade expanded">200</span><span class="hex">#ffab91</span> </li>
|
429
|
+
<li class="color dark" style="background-color: #ff8a65;"><span class="shade">300</span><span class="hex">#ff8a65</span> </li>
|
430
|
+
<li class="color dark" style="background-color: #ff7043;"><span class="shade expanded">400</span><span class="hex">#ff7043</span> </li>
|
431
|
+
<li class="color light-strong" style="background-color: #ff5722;"><span class="shade">500</span><span class="hex">#ff5722</span> </li>
|
432
|
+
<li class="color" style="background-color: #f4511e;"><span class="shade expanded">600</span><span class="hex">#f4511e</span> </li>
|
433
|
+
<li class="color" style="background-color: #e64a19;"><span class="shade">700</span><span class="hex">#e64a19</span> </li>
|
434
|
+
<li class="color" style="background-color: #d84315;"><span class="shade expanded">800</span><span class="hex">#d84315</span> </li>
|
435
|
+
<li class="color" style="background-color: #bf360c;"><span class="shade expanded">900</span><span class="hex">#bf360c</span> </li>
|
436
|
+
<li class="color dark divide" style="background-color: #ff9e80;"><span class="shade accent">A100</span><span class="hex">#ff9e80</span> </li>
|
437
|
+
<li class="color dark" style="background-color: #ff6e40;"><span class="shade accent expanded">A200</span><span class="hex">#ff6e40</span> </li>
|
438
|
+
<li class="color" style="background-color: #ff3d00;"><span class="shade accent expanded">A400</span><span class="hex">#ff3d00</span> </li>
|
439
|
+
<li class="color" style="background-color: #dd2c00;"><span class="shade accent">A700</span><span class="hex">#dd2c00</span> </li>
|
440
|
+
</ul>
|
441
|
+
</div>
|
442
|
+
</div>
|
443
|
+
</div>
|
444
|
+
++++
|
445
|
+
|
446
|
+
=== Brown and Grey
|
447
|
+
++++
|
448
|
+
<div class="row col-list">
|
449
|
+
<div class="color-palette col-lg-12">
|
450
|
+
<div class="color-group col-lg-6">
|
451
|
+
<ul>
|
452
|
+
<li class="color main-color" style="background-color: #795548;"> <span class="name">Brown</span> <span class="shade">500</span> <span class="hex">#795548</span> </li>
|
453
|
+
<li class="color dark" style="background-color: #efebe9;"><span class="shade expanded">50</span><span class="hex">#efebe9</span> </li>
|
454
|
+
<li class="color dark" style="background-color: #d7ccc8;"><span class="shade">100</span><span class="hex">#d7ccc8</span> </li>
|
455
|
+
<li class="color dark" style="background-color: #bcaaa4;"><span class="shade expanded">200</span><span class="hex">#bcaaa4</span> </li>
|
456
|
+
<li class="color light-strong" style="background-color: #a1887f;"><span class="shade">300</span><span class="hex">#a1887f</span> </li>
|
457
|
+
<li class="color" style="background-color: #8d6e63;"><span class="shade expanded">400</span><span class="hex">#8d6e63</span> </li>
|
458
|
+
<li class="color" style="background-color: #795548;"><span class="shade">500</span><span class="hex">#795548</span> </li>
|
459
|
+
<li class="color" style="background-color: #6d4c41;"><span class="shade expanded">600</span><span class="hex">#6d4c41</span> </li>
|
460
|
+
<li class="color" style="background-color: #5d4037;"><span class="shade">700</span><span class="hex">#5d4037</span> </li>
|
461
|
+
<li class="color" style="background-color: #4e342e;"><span class="shade expanded">800</span><span class="hex">#4e342e</span> </li>
|
462
|
+
<li class="color" style="background-color: #3e2723;"><span class="shade expanded">900</span><span class="hex">#3e2723</span> </li>
|
463
|
+
</ul>
|
464
|
+
</div>
|
465
|
+
<div class="color-group col-lg-6">
|
466
|
+
<ul>
|
467
|
+
<li class="color main-color" style="background-color: #9e9e9e;"> <span class="name dark-when-small">Grey</span> <span class="shade dark-when-small">500</span> <span class="hex dark-when-small">#9e9e9e</span> </li>
|
468
|
+
<li class="color dark" style="background-color: #fafafa;"><span class="shade expanded">50</span><span class="hex">#fafafa</span> </li>
|
469
|
+
<li class="color dark" style="background-color: #f5f5f5;"><span class="shade">100</span><span class="hex">#f5f5f5</span> </li>
|
470
|
+
<li class="color dark" style="background-color: #eeeeee;"><span class="shade expanded">200</span><span class="hex">#eeeeee</span> </li>
|
471
|
+
<li class="color dark" style="background-color: #e0e0e0;"><span class="shade">300</span><span class="hex">#e0e0e0</span> </li>
|
472
|
+
<li class="color dark" style="background-color: #bdbdbd;"><span class="shade expanded">400</span><span class="hex">#bdbdbd</span> </li>
|
473
|
+
<li class="color dark" style="background-color: #9e9e9e;"><span class="shade">500</span><span class="hex">#9e9e9e</span> </li>
|
474
|
+
<li class="color" style="background-color: #757575;"><span class="shade expanded">600</span><span class="hex">#757575</span> </li>
|
475
|
+
<li class="color" style="background-color: #616161;"><span class="shade">700</span><span class="hex">#616161</span> </li>
|
476
|
+
<li class="color" style="background-color: #424242;"><span class="shade expanded">800</span><span class="hex">#424242</span> </li>
|
477
|
+
<li class="color" style="background-color: #212121;"><span class="shade expanded">900</span><span class="hex">#212121</span> </li>
|
478
|
+
</ul>
|
479
|
+
</div>
|
480
|
+
</div>
|
481
|
+
</div>
|
482
|
+
++++
|
483
|
+
|
484
|
+
=== Blue Grey and BW
|
485
|
+
++++
|
486
|
+
<div class="row col-list">
|
487
|
+
<div class="color-palette col-lg-12">
|
488
|
+
<div class="color-group col-lg-6">
|
489
|
+
<ul>
|
490
|
+
<li class="color main-color" style="background-color: #607d8b;"> <span class="name light-strong">Blue Grey</span> <span class="shade light-strong">500</span> <span class="hex light-strong">#607d8b</span> </li>
|
491
|
+
<li class="color dark" style="background-color: #eceff1;"><span class="shade expanded">50</span><span class="hex">#eceff1</span> </li>
|
492
|
+
<li class="color dark" style="background-color: #cfd8dc;"><span class="shade">100</span><span class="hex">#cfd8dc</span> </li>
|
493
|
+
<li class="color dark" style="background-color: #b0bec5;"><span class="shade expanded">200</span><span class="hex">#b0bec5</span> </li>
|
494
|
+
<li class="color dark" style="background-color: #90a4ae;"><span class="shade">300</span><span class="hex">#90a4ae</span> </li>
|
495
|
+
<li class="color light-strong" style="background-color: #78909c;"><span class="shade expanded">400</span><span class="hex">#78909c</span> </li>
|
496
|
+
<li class="color" style="background-color: #607d8b;"><span class="shade">500</span><span class="hex">#607d8b</span> </li>
|
497
|
+
<li class="color" style="background-color: #546e7a;"><span class="shade expanded">600</span><span class="hex">#546e7a</span> </li>
|
498
|
+
<li class="color" style="background-color: #455a64;"><span class="shade">700</span><span class="hex">#455a64</span> </li>
|
499
|
+
<li class="color" style="background-color: #37474f;"><span class="shade expanded">800</span><span class="hex">#37474f</span> </li>
|
500
|
+
<li class="color" style="background-color: #263238;"><span class="shade expanded">900</span><span class="hex">#263238</span> </li>
|
501
|
+
</ul>
|
502
|
+
</div>
|
503
|
+
<div class="color-group col-lg-6">
|
504
|
+
<ul>
|
505
|
+
<li class="color" style="background-color: #000000;"><span class="shade accent">Black</span><span class="hex">#000000</span> </li>
|
506
|
+
<li class="color dark" style="background-color: #ffffff;"><span class="shade accent expanded">White</span><span class="hex">#ffffff</span> </li>
|
507
|
+
</ul>
|
508
|
+
</div>
|
509
|
+
</div>
|
510
|
+
</div>
|
511
|
+
++++
|
512
|
+
|
513
|
+
== Navbars
|
514
|
+
|
515
|
+
See examples for Bootstrap’s powerful, responsive navigation header, the
|
516
|
+
navbar. Includes support for branding, navigation, and more, including
|
517
|
+
support for the collapse plugin.
|
518
|
+
|
519
|
+
mdi:bootstrap[24px, mdi-md-deep-purple]
|
520
|
+
link:{url-bs-docs--components-navbar}[Bootstrap Docs {char-middot} Navbar, {browser-window--new}]
|
521
|
+
|
522
|
+
Theming the navbar has never been easier thanks to the combination of
|
523
|
+
theming classes and background-color utilities. Choose from `.navbar-light`
|
524
|
+
for use with light background colors, or '.navbar-dark' for dark background
|
525
|
+
colors. Then, customize with `.bg-*` utilities.
|
526
|
+
|
527
|
+
++++
|
528
|
+
<div class="doc-example mb-3">
|
529
|
+
<nav class="navbar navbar-expand-lg navbar-dark bg-dark mb-1">
|
530
|
+
<a class="navbar-brand" href="#">Navbar<div class="ripple-container"></div></a>
|
531
|
+
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarColor01" aria-controls="navbarColor01" aria-expanded="false" aria-label="Toggle navigation">
|
532
|
+
<span class="navbar-toggler-icon"></span>
|
533
|
+
</button>
|
534
|
+
|
535
|
+
<div class="collapse navbar-collapse" id="navbarColor01">
|
536
|
+
<ul class="navbar-nav mr-auto">
|
537
|
+
<li class="nav-item active">
|
538
|
+
<a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
|
539
|
+
</li>
|
540
|
+
<li class="nav-item">
|
541
|
+
<a class="nav-link" href="#">Features</a>
|
542
|
+
</li>
|
543
|
+
<li class="nav-item">
|
544
|
+
<a class="nav-link" href="#">Pricing</a>
|
545
|
+
</li>
|
546
|
+
<li class="nav-item">
|
547
|
+
<a class="nav-link" href="#">About</a>
|
548
|
+
</li>
|
549
|
+
</ul>
|
550
|
+
<form class="form-inline">
|
551
|
+
<span class="bmd-form-group"><input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search"></span>
|
552
|
+
<button class="btn btn-outline-info my-2 my-sm-0" type="submit">Search</button>
|
553
|
+
</form>
|
554
|
+
</div>
|
555
|
+
</nav>
|
556
|
+
|
557
|
+
<nav class="navbar navbar-expand-lg navbar-dark bg-primary mb-1">
|
558
|
+
<a class="navbar-brand" href="#">Navbar</a>
|
559
|
+
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarColor02" aria-controls="navbarColor02" aria-expanded="false" aria-label="Toggle navigation">
|
560
|
+
<span class="navbar-toggler-icon"></span>
|
561
|
+
</button>
|
562
|
+
|
563
|
+
<div class="collapse navbar-collapse" id="navbarColor02">
|
564
|
+
<ul class="navbar-nav mr-auto">
|
565
|
+
<li class="nav-item active">
|
566
|
+
<a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
|
567
|
+
</li>
|
568
|
+
<li class="nav-item">
|
569
|
+
<a class="nav-link" href="#">Features</a>
|
570
|
+
</li>
|
571
|
+
<li class="nav-item">
|
572
|
+
<a class="nav-link" href="#">Pricing</a>
|
573
|
+
</li>
|
574
|
+
<li class="nav-item">
|
575
|
+
<a class="nav-link" href="#">About</a>
|
576
|
+
</li>
|
577
|
+
</ul>
|
578
|
+
<form class="form-inline">
|
579
|
+
<span class="bmd-form-group"><input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search"></span>
|
580
|
+
<button class="btn btn-outline-light my-2 my-sm-0" type="submit">Search</button>
|
581
|
+
</form>
|
582
|
+
</div>
|
583
|
+
</nav>
|
584
|
+
|
585
|
+
<nav class="navbar navbar-expand-lg navbar-light" style="background-color: #e3f2fd;">
|
586
|
+
<a class="navbar-brand" href="#">Navbar</a>
|
587
|
+
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarColor03" aria-controls="navbarColor03" aria-expanded="false" aria-label="Toggle navigation">
|
588
|
+
<span class="navbar-toggler-icon"></span>
|
589
|
+
</button>
|
590
|
+
|
591
|
+
<div class="collapse navbar-collapse" id="navbarColor03">
|
592
|
+
<ul class="navbar-nav mr-auto">
|
593
|
+
<li class="nav-item active">
|
594
|
+
<a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
|
595
|
+
</li>
|
596
|
+
<li class="nav-item">
|
597
|
+
<a class="nav-link" href="#">Features</a>
|
598
|
+
</li>
|
599
|
+
<li class="nav-item">
|
600
|
+
<a class="nav-link" href="#">Pricing</a>
|
601
|
+
</li>
|
602
|
+
<li class="nav-item">
|
603
|
+
<a class="nav-link" href="#">About</a>
|
604
|
+
</li>
|
605
|
+
</ul>
|
606
|
+
<form class="form-inline">
|
607
|
+
<span class="bmd-form-group"><input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search"></span>
|
608
|
+
<button class="btn btn-outline-primary my-2 my-sm-0" type="submit">Search</button>
|
609
|
+
</form>
|
610
|
+
</div>
|
611
|
+
</nav>
|
612
|
+
</div>
|
613
|
+
++++
|
614
|
+
|
615
|
+
[source, html, role="noclip"]
|
616
|
+
----
|
617
|
+
<nav class="navbar navbar-dark bg-dark">
|
618
|
+
<!-- Navbar content -->
|
619
|
+
</nav>
|
620
|
+
|
621
|
+
<nav class="navbar navbar-dark bg-primary">
|
622
|
+
<!-- Navbar content -->
|
623
|
+
</nav>
|
624
|
+
|
625
|
+
<nav class="navbar navbar-light" style="background-color: #e3f2fd;">
|
626
|
+
<!-- Navbar content -->
|
627
|
+
</nav>
|
628
|
+
----
|
629
|
+
|
630
|
+
|
631
|
+
== Buttons
|
632
|
+
|
633
|
+
Use Bootstrap’s custom button styles for actions in forms, dialogs, and
|
634
|
+
more with support for multiple sizes, states, and more. Bootstrap includes
|
635
|
+
several predefined button styles, each serving its own semantic purpose,
|
636
|
+
with a few extras thrown in for more control.
|
637
|
+
|
638
|
+
// pass:[<i class="mdi mdi-bootstrap mdi-md-deep-purple mdi-24px"></i>]
|
639
|
+
// mdi:bootstrap[24px, mdi-pulsed mdi-md-deep-purple]
|
640
|
+
mdi:bootstrap[24px, mdi-md-deep-purple]
|
641
|
+
link:{url-bs-docs--components-buttons}[Bootstrap Docs {char-middot} Buttons, {browser-window--new}]
|
642
|
+
|
643
|
+
=== Active buttons
|
644
|
+
|
645
|
+
Buttons will appear pressed (with a darker background, darker border, and
|
646
|
+
inset shadow) when active.
|
647
|
+
++++
|
648
|
+
<div class="doc-example mb-3">
|
649
|
+
<button type="button" class="btn btn-primary btn-raised">Primary</button>
|
650
|
+
<button type="button" class="btn btn-primary btn-raised">Secondary</button>
|
651
|
+
<button type="button" class="btn btn-success btn-raised">Success</button>
|
652
|
+
<button type="button" class="btn btn-info btn-raised">Info</button>
|
653
|
+
<button type="button" class="btn btn-warning btn-raised">Warning</button>
|
654
|
+
<button type="button" class="btn btn-danger btn-raised">Danger</button>
|
655
|
+
<button type="button" class="btn btn-link btn-raised">Link</button>
|
656
|
+
</div>
|
657
|
+
++++
|
658
|
+
|
659
|
+
[source, html, role="noclip"]
|
660
|
+
----
|
661
|
+
<button type="button" class="btn btn-primary btn-raised">Primary</button>
|
662
|
+
<button type="button" class="btn btn-primary btn-raised">Secondary</button>
|
663
|
+
<button type="button" class="btn btn-success btn-raised">Success</button>
|
664
|
+
<button type="button" class="btn btn-info btn-raised">Info</button>
|
665
|
+
<button type="button" class="btn btn-warning btn-raised">Warning</button>
|
666
|
+
<button type="button" class="btn btn-danger btn-raised">Danger</button>
|
667
|
+
<button type="button" class="btn btn-link btn-raised">Link</button>
|
668
|
+
----
|
669
|
+
|
670
|
+
|
671
|
+
=== Disabled buttons
|
672
|
+
|
673
|
+
Buttons look inactive by adding the disabled boolean attribute to any
|
674
|
+
<button> element.
|
675
|
+
++++
|
676
|
+
<div class="doc-example mb-3">
|
677
|
+
<button type="button" class="btn btn-primary btn-raised disabled">Primary</button>
|
678
|
+
<button type="button" class="btn btn-primary btn-raised disabled">Secondary</button>
|
679
|
+
<button type="button" class="btn btn-success btn-raised disabled">Success</button>
|
680
|
+
<button type="button" class="btn btn-info btn-raised disabled">Info</button>
|
681
|
+
<button type="button" class="btn btn-warning btn-raised disabled">Warning</button>
|
682
|
+
<button type="button" class="btn btn-danger btn-raised disabled">Danger</button>
|
683
|
+
<button type="button" class="btn btn-link btn-raised disabled">Link</button>
|
684
|
+
</div>
|
685
|
+
++++
|
686
|
+
|
687
|
+
[source, html, role="noclip"]
|
688
|
+
----
|
689
|
+
<button type="button" class="btn btn-primary btn-raised disabled">Primary</button>
|
690
|
+
<button type="button" class="btn btn-primary btn-raised disabled">Secondary</button>
|
691
|
+
<button type="button" class="btn btn-success btn-raised disabled">Success</button>
|
692
|
+
<button type="button" class="btn btn-info btn-raised disabled">Info</button>
|
693
|
+
<button type="button" class="btn btn-warning btn-raised disabled">Warning</button>
|
694
|
+
<button type="button" class="btn btn-danger btn-raised disabled">Danger</button>
|
695
|
+
<button type="button" class="btn btn-link btn-raised disabled">Link</button>
|
696
|
+
----
|
697
|
+
|
698
|
+
=== Outline buttons
|
699
|
+
|
700
|
+
In need of a button, but not the hefty background colors they bring? Replace
|
701
|
+
the default modifier classes with the `.btn-outline-*` ones to remove all
|
702
|
+
background images and colors on any button.
|
703
|
+
|
704
|
+
++++
|
705
|
+
<div class="doc-example mb-3">
|
706
|
+
<button type="button" class="btn btn-outline-primary btn-raised">Primary</button>
|
707
|
+
<button type="button" class="btn btn-outline-secondary btn-raised">Secondary</button>
|
708
|
+
<button type="button" class="btn btn-outline-success btn-raised">Success</button>
|
709
|
+
<button type="button" class="btn btn-outline-info btn-raised">Info</button>
|
710
|
+
<button type="button" class="btn btn-outline-warning btn-raised">Warning</button>
|
711
|
+
<button type="button" class="btn btn-outline-danger btn-raised">Danger</button>
|
712
|
+
</div>
|
713
|
+
++++
|
714
|
+
|
715
|
+
[source, html, role="noclip"]
|
716
|
+
----
|
717
|
+
<button type="button" class="btn btn-outline-primary btn-raised">Primary</button>
|
718
|
+
<button type="button" class="btn btn-outline-secondary btn-raised">Secondary</button>
|
719
|
+
<button type="button" class="btn btn-outline-success btn-raised">Success</button>
|
720
|
+
<button type="button" class="btn btn-outline-info btn-raised">Info</button>
|
721
|
+
<button type="button" class="btn btn-outline-warning btn-raised">Warning</button>
|
722
|
+
<button type="button" class="btn btn-outline-danger btn-raised">Danger</button>
|
723
|
+
----
|
724
|
+
|
725
|
+
=== Flat buttons
|
726
|
+
|
727
|
+
Flat buttons are text-only buttons. They may be used in dialogs, toolbars,
|
728
|
+
or inline. They do not lift, but fill with color on press.
|
729
|
+
|
730
|
+
++++
|
731
|
+
<div class="doc-example">
|
732
|
+
<button type="button" class="btn btn-primary">Primary</button>
|
733
|
+
<button type="button" class="btn btn-secondary">Secondary</button>
|
734
|
+
<button type="button" class="btn btn-success">Success</button>
|
735
|
+
<button type="button" class="btn btn-info">Info</button>
|
736
|
+
<button type="button" class="btn btn-warning">Warning</button>
|
737
|
+
<button type="button" class="btn btn-danger">Danger</button>
|
738
|
+
<button type="button" class="btn btn-link">Link</button>
|
739
|
+
</div>
|
740
|
+
++++
|
741
|
+
|
742
|
+
[source, html, role="noclip"]
|
743
|
+
----
|
744
|
+
<button type="button" class="btn btn-primary">Primary</button>
|
745
|
+
<button type="button" class="btn btn-secondary">Secondary</button>
|
746
|
+
<button type="button" class="btn btn-success">Success</button>
|
747
|
+
<button type="button" class="btn btn-info">Info</button>
|
748
|
+
<button type="button" class="btn btn-warning">Warning</button>
|
749
|
+
<button type="button" class="btn btn-danger">Danger</button>
|
750
|
+
<button type="button" class="btn btn-link">Link</button>
|
751
|
+
----
|
752
|
+
|
753
|
+
|
754
|
+
=== Button sizes
|
755
|
+
|
756
|
+
Beside the default size, small and large buttons are available.
|
757
|
+
|
758
|
+
++++
|
759
|
+
<div class="doc-example mb-3">
|
760
|
+
<button type="button" class="btn btn-primary btn-raised btn-lg">Large button</button>
|
761
|
+
<button type="button" class="btn btn-primary btn-raised">Default button</button>
|
762
|
+
<button type="button" class="btn btn-primary btn-raised btn-sm">Small button</button>
|
763
|
+
</div>
|
764
|
+
++++
|
765
|
+
|
766
|
+
[source, html, role="noclip"]
|
767
|
+
----
|
768
|
+
<button type="button" class="btn btn-primary btn-raised btn-lg">Large button</button>
|
769
|
+
<button type="button" class="btn btn-primary btn-raised">Default button</button>
|
770
|
+
<button type="button" class="btn btn-primary btn-raised btn-sm">Small button</button>
|
771
|
+
----
|
772
|
+
|
773
|
+
=== Block level button
|
774
|
+
|
775
|
+
Create block level buttons—those that span the full width of a parent—by
|
776
|
+
adding .btn-block.
|
777
|
+
|
778
|
+
++++
|
779
|
+
<div class="doc-example mb-3">
|
780
|
+
<button type="button" class="btn btn-primary btn-lg btn-block btn-raised">Block level button</button>
|
781
|
+
<button type="button" class="btn btn-secondary btn-lg btn-block btn-raised">Block level button</button>
|
782
|
+
</div>
|
783
|
+
++++
|
784
|
+
|
785
|
+
[source, html, role="noclip"]
|
786
|
+
----
|
787
|
+
<button type="button"
|
788
|
+
class="btn btn-primary btn-lg btn-block btn-raised">
|
789
|
+
Block level button
|
790
|
+
</button>
|
791
|
+
<button type="button"
|
792
|
+
class="btn btn-secondary btn-lg btn-block btn-raised">
|
793
|
+
Block level button
|
794
|
+
</button>
|
795
|
+
----
|
796
|
+
|
797
|
+
=== Toggle button
|
798
|
+
|
799
|
+
++++
|
800
|
+
<div class="doc-example mb-3">
|
801
|
+
<button type="button" class="btn btn-primary btn-raised" data-toggle="button" aria-pressed="false" autocomplete="off">
|
802
|
+
Single toggle
|
803
|
+
</button>
|
804
|
+
</div>
|
805
|
+
++++
|
806
|
+
|
807
|
+
[source, html, role="noclip"]
|
808
|
+
----
|
809
|
+
<button type="button" class="btn btn-primary btn-raised"
|
810
|
+
data-toggle="button" aria-pressed="false" autocomplete="off">
|
811
|
+
Single toggle
|
812
|
+
</button>
|
813
|
+
----
|
814
|
+
|
815
|
+
=== Checkboxes and Radio buttons
|
816
|
+
|
817
|
+
Bootstrap’s .button styles can be applied to other elements, such as
|
818
|
+
`<label>`, to provide checkbox or radio style button toggling. The checked
|
819
|
+
state for these buttons is only updated via click event on the button.
|
820
|
+
|
821
|
+
++++
|
822
|
+
<div class="doc-example mb-3">
|
823
|
+
<div class="btn-group btn-group-toggle" data-toggle="buttons">
|
824
|
+
<label class="btn btn-primary btn-raised btn-flex active">
|
825
|
+
<input type="radio" name="options" id="option1" autocomplete="off" checked> Active
|
826
|
+
</label>
|
827
|
+
<label class="btn btn-primary btn-raised btn-flex">
|
828
|
+
<input type="radio" name="options" id="option2" autocomplete="off"> Radio
|
829
|
+
</label>
|
830
|
+
<label class="btn btn-primary btn-raised btn-flex">
|
831
|
+
<input type="radio" name="options" id="option3" autocomplete="off"> Radio
|
832
|
+
</label>
|
833
|
+
</div>
|
834
|
+
</div>
|
835
|
+
++++
|
836
|
+
|
837
|
+
[source, html, role="noclip"]
|
838
|
+
----
|
839
|
+
<div class="btn-group btn-group-toggle" data-toggle="buttons">
|
840
|
+
<label class="btn btn-primary btn-raised btn-flex active">
|
841
|
+
<input type="radio" name="options" id="option1" autocomplete="off" checked> Active
|
842
|
+
</label>
|
843
|
+
<label class="btn btn-primary btn-raised btn-flex">
|
844
|
+
<input type="radio" name="options" id="option2" autocomplete="off"> Radio
|
845
|
+
</label>
|
846
|
+
<label class="btn btn-primary btn-raised btn-flex">
|
847
|
+
<input type="radio" name="options" id="option3" autocomplete="off"> Radio
|
848
|
+
</label>
|
849
|
+
</div>
|
850
|
+
----
|
851
|
+
|
852
|
+
=== Floating action buttons
|
853
|
+
|
854
|
+
A floating action button represents the primary action in an application,
|
855
|
+
it is used for a promoted action.
|
856
|
+
|
857
|
+
mdi:bootstrap[24px, mdi-md-deep-purple]
|
858
|
+
https://material.io/components/buttons-floating-action-button#types-of-transitions[Google Material Design {char-char-middot} Floating action buttons, {browser-window--new}]
|
859
|
+
|
860
|
+
++++
|
861
|
+
<div class="doc-example">
|
862
|
+
<button type="button" class="btn bmd-btn-fab btn-primary" aria-label="fab-button">
|
863
|
+
<i class="mdi mdi-plus mdi-2x"></i>
|
864
|
+
</button>
|
865
|
+
</div>
|
866
|
+
++++
|
867
|
+
|
868
|
+
[source, html, role="noclip"]
|
869
|
+
----
|
870
|
+
<button type="button" class="btn bmd-btn-fab" aria-label="fab-button">
|
871
|
+
<i class="mdi mdi-plus mdi-2x"></i>
|
872
|
+
</button>
|
873
|
+
----
|
874
|
+
|
875
|
+
==== Colors
|
876
|
+
|
877
|
+
++++
|
878
|
+
<div class="doc-example">
|
879
|
+
<button type="button" class="btn bmd-btn-fab btn-primary" aria-label="fab-button-primary">
|
880
|
+
<i class="mdi mdi-plus mdi-2x"></i>
|
881
|
+
</button>
|
882
|
+
<button type="button" class="btn bmd-btn-fab btn-secondary" aria-label="fab-button-secondary">
|
883
|
+
<i class="mdi mdi-plus mdi-2x"></i>
|
884
|
+
</button>
|
885
|
+
<button type="button" class="btn bmd-btn-fab btn-danger" aria-label="fab-button-danger">
|
886
|
+
<i class="mdi mdi-plus mdi-2x"></i>
|
887
|
+
</button>
|
888
|
+
<button type="button" class="btn bmd-btn-fab btn-info" aria-label="fab-button-info">
|
889
|
+
<i class="mdi mdi-plus mdi-2x"></i>
|
890
|
+
</button>
|
891
|
+
<button type="button" class="btn bmd-btn-fab btn-success" aria-label="fab-button-success">
|
892
|
+
<i class="mdi mdi-plus mdi-2x"></i>
|
893
|
+
</button>
|
894
|
+
<button type="button" class="btn bmd-btn-fab btn-warning" aria-label="fab-button-warning">
|
895
|
+
<i class="mdi mdi-plus mdi-2x"></i>
|
896
|
+
</button>
|
897
|
+
<button type="button" class="btn bmd-btn-fab btn-dark" aria-label="fab-button-dark">
|
898
|
+
<i class="mdi mdi-plus mdi-2x"></i>
|
899
|
+
</button>
|
900
|
+
<button type="button" class="btn bmd-btn-fab btn-light" aria-label="fab-button-light">
|
901
|
+
<i class="mdi mdi-plus mdi-2x"></i>
|
902
|
+
</button>
|
903
|
+
</div>
|
904
|
+
++++
|
905
|
+
|
906
|
+
[source, html, role="noclip"]
|
907
|
+
----
|
908
|
+
<button type="button" class="btn bmd-btn-fab btn-primary" aria-label="fab-button-primary">
|
909
|
+
<i class="mdi mdi-plus mdi-2x"></i>
|
910
|
+
</button>
|
911
|
+
<button type="button" class="btn bmd-btn-fab btn-secondary" aria-label="fab-button-secondary">
|
912
|
+
<i class="mdi mdi-plus mdi-2x"></i>
|
913
|
+
</button>
|
914
|
+
...
|
915
|
+
<button type="button" class="btn bmd-btn-fab btn-dark" aria-label="fab-button-dark">
|
916
|
+
<i class="mdi mdi-plus mdi-2x"></i>
|
917
|
+
</button>
|
918
|
+
<button type="button" class="btn bmd-btn-fab btn-light" aria-label="fab-button-light">
|
919
|
+
<i class="mdi mdi-plus mdi-2x"></i>
|
920
|
+
</button>
|
921
|
+
----
|
922
|
+
|
923
|
+
==== Sizes
|
924
|
+
|
925
|
+
A smaller sized, i.e. mini floating action button, is also available.
|
926
|
+
|
927
|
+
++++
|
928
|
+
<div class="doc-example">
|
929
|
+
<button type="button" class="btn btn-danger bmd-btn-fab bmd-btn-fab-sm" aria-label="fab-button-small">
|
930
|
+
<i class="mdi mdi-plus mdi-sm"></i>
|
931
|
+
</button>
|
932
|
+
</div>
|
933
|
+
++++
|
934
|
+
|
935
|
+
[source, html, role="noclip"]
|
936
|
+
----
|
937
|
+
<button type="button" class="btn btn-danger bmd-btn-fab bmd-btn-fab-sm" aria-label="fab-button-small">
|
938
|
+
<i class="mdi mdi-plus mdi-sm"></i>
|
939
|
+
</button>
|
940
|
+
----
|
941
|
+
|
942
|
+
== Typography
|
943
|
+
|
944
|
+
Bootstrap sets basic global display, typography, and link styles. When more
|
945
|
+
control is needed, check out the textual utility classes.
|
946
|
+
|
947
|
+
For a more inclusive and accessible type scale, it is assuemed that
|
948
|
+
the browser default root font-size (typically 16px) so visitors can
|
949
|
+
customize their browser defaults as needed.
|
950
|
+
|
951
|
+
mdi:bootstrap[24px, mdi-md-deep-purple]
|
952
|
+
link:{url-bs-docs--content-typography}[Bootstrap Docs {char-middot} Typography, {browser-window--new}]
|
953
|
+
|
954
|
+
=== Headings
|
955
|
+
|
956
|
+
++++
|
957
|
+
<div class="doc-example mb-3">
|
958
|
+
<div class="row mb-5">
|
959
|
+
<div class="col-md-4">
|
960
|
+
<h1 class="notoc">Heading 1</h1>
|
961
|
+
<h2 class="notoc">Heading 2</h2>
|
962
|
+
<h3 class="notoc">Heading 3</h3>
|
963
|
+
<h4 class="notoc">Heading 4</h4>
|
964
|
+
<h5 class="notoc">Heading 5</h5>
|
965
|
+
<h6 class="notoc">Heading 6</h6>
|
966
|
+
<h3 class="notoc">
|
967
|
+
Heading 3
|
968
|
+
<small class="text-muted">with muted text</small>
|
969
|
+
</h3>
|
970
|
+
<p class="lead">Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
|
971
|
+
</div>
|
972
|
+
<div class="col-md-4">
|
973
|
+
<h3 class="notoc">Example body text</h2>
|
974
|
+
<p>Nullam quis risus eget <a href="javascript:(void)">urna mollis ornare</a> vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.</p>
|
975
|
+
<p><small>This line of text is meant to be treated as fine print.</small></p>
|
976
|
+
<p>The following is <strong>rendered as bold text</strong>.</p>
|
977
|
+
<p>The following is <em>rendered as italicized text</em>.</p>
|
978
|
+
<p>An abbreviation of the word attribute is <abbr title="attribute">attr</abbr>.</p>
|
979
|
+
</div>
|
980
|
+
<div class="col-md-4">
|
981
|
+
<h3 class="notoc">Emphasis classes</h2>
|
982
|
+
<p class="text-muted">Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.</p>
|
983
|
+
<p class="text-primary">Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
|
984
|
+
<p class="text-warning">Etiam porta sem malesuada magna mollis euismod.</p>
|
985
|
+
<p class="text-danger">Donec ullamcorper nulla non metus auctor fringilla.</p>
|
986
|
+
<p class="text-success">Duis mollis, est non commodo luctus, nisi erat porttitor ligula.</p>
|
987
|
+
<p class="text-info">Maecenas sed diam eget risus varius blandit sit amet non magna.</p>
|
988
|
+
</div>
|
989
|
+
</div>
|
990
|
+
</div>
|
991
|
+
++++
|
992
|
+
|
993
|
+
=== Blockquotes
|
994
|
+
|
995
|
+
++++
|
996
|
+
<div class="doc-example mb-3">
|
997
|
+
<div class="row">
|
998
|
+
<div class="col-md-6">
|
999
|
+
<blockquote class="blockquote">
|
1000
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
|
1001
|
+
<footer class="blockquote-footer">Someone famous in <cite title="Source Title">Source Title</cite></footer>
|
1002
|
+
</blockquote>
|
1003
|
+
</div>
|
1004
|
+
<div class="col-md-6">
|
1005
|
+
<blockquote class="blockquote blockquote-reverse">
|
1006
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
|
1007
|
+
<footer class="blockquote-footer">Someone famous in <cite title="Source Title">Source Title</cite></footer>
|
1008
|
+
</blockquote>
|
1009
|
+
</div>
|
1010
|
+
</div>
|
1011
|
+
</div>
|
1012
|
+
++++
|
1013
|
+
|
1014
|
+
== Tables
|
1015
|
+
|
1016
|
+
Due to the widespread use of tables across third-party widgets like calendars
|
1017
|
+
and date pickers, we’ve designed our tables to be opt-in. Just add the base
|
1018
|
+
class `.table` to any `<table>`, then extend with custom styles or our various
|
1019
|
+
included modifier classes.
|
1020
|
+
|
1021
|
+
Using the most basic table markup, here’s how .table-based tables look in
|
1022
|
+
Bootstrap. All table styles are inherited in Bootstrap 4, meaning any nested
|
1023
|
+
tables will be styled in the same manner as the parent.
|
1024
|
+
|
1025
|
+
mdi:bootstrap[24px, mdi-md-deep-purple]
|
1026
|
+
link:{url-bs-docs--content-tables}[Bootstrap Docs {char-middot} Tables, {browser-window--new}]
|
1027
|
+
|
1028
|
+
|
1029
|
+
++++
|
1030
|
+
<div class="doc-example mb-3">
|
1031
|
+
<table class="table table-striped table-hover table-bordered">
|
1032
|
+
<thead>
|
1033
|
+
<tr>
|
1034
|
+
<th>#</th>
|
1035
|
+
<th>Column heading</th>
|
1036
|
+
<th>Column heading</th>
|
1037
|
+
<th>Column heading</th>
|
1038
|
+
</tr>
|
1039
|
+
</thead>
|
1040
|
+
<tbody>
|
1041
|
+
<tr>
|
1042
|
+
<td>1</td>
|
1043
|
+
<td>Column content</td>
|
1044
|
+
<td>Column content</td>
|
1045
|
+
<td>Column content</td>
|
1046
|
+
</tr>
|
1047
|
+
<tr>
|
1048
|
+
<td>2</td>
|
1049
|
+
<td>Column content</td>
|
1050
|
+
<td>Column content</td>
|
1051
|
+
<td>Column content</td>
|
1052
|
+
</tr>
|
1053
|
+
<tr class="table-info">
|
1054
|
+
<td>3</td>
|
1055
|
+
<td>Column content</td>
|
1056
|
+
<td>Column content</td>
|
1057
|
+
<td>Column content</td>
|
1058
|
+
</tr>
|
1059
|
+
<tr class="table-success">
|
1060
|
+
<td>4</td>
|
1061
|
+
<td>Column content</td>
|
1062
|
+
<td>Column content</td>
|
1063
|
+
<td>Column content</td>
|
1064
|
+
</tr>
|
1065
|
+
<tr class="table-danger">
|
1066
|
+
<td>5</td>
|
1067
|
+
<td>Column content</td>
|
1068
|
+
<td>Column content</td>
|
1069
|
+
<td>Column content</td>
|
1070
|
+
</tr>
|
1071
|
+
<tr class="table-warning">
|
1072
|
+
<td>6</td>
|
1073
|
+
<td>Column content</td>
|
1074
|
+
<td>Column content</td>
|
1075
|
+
<td>Column content</td>
|
1076
|
+
</tr>
|
1077
|
+
<tr class="table-active">
|
1078
|
+
<td>7</td>
|
1079
|
+
<td>Column content</td>
|
1080
|
+
<td>Column content</td>
|
1081
|
+
<td>Column content</td>
|
1082
|
+
</tr>
|
1083
|
+
</tbody>
|
1084
|
+
</table>
|
1085
|
+
</div>
|
1086
|
+
++++
|
1087
|
+
|
1088
|
+
== Forms
|
1089
|
+
|
1090
|
+
Bootstrap’s form controls expand on our Rebooted form styles with classes.
|
1091
|
+
Use these classes to opt into their customized displays for a more consistent
|
1092
|
+
rendering across browsers and devices.
|
1093
|
+
|
1094
|
+
Be sure to use an appropriate type attribute on all inputs (e.g., email
|
1095
|
+
for email address or number for numerical information) to take advantage
|
1096
|
+
of newer input controls like email verification, number selection, and more.
|
1097
|
+
|
1098
|
+
Here’s a quick example to demonstrate Bootstrap’s form styles. Keep reading
|
1099
|
+
for documentation on required classes, form layout, and more.
|
1100
|
+
|
1101
|
+
mdi:bootstrap[24px, mdi-md-deep-purple]
|
1102
|
+
link:{url-bs-docs--components-forms}[Bootstrap Docs {char-middot} Forms, {browser-window--new}]
|
1103
|
+
|
1104
|
+
++++
|
1105
|
+
<div class="doc-example mb-3">
|
1106
|
+
<form>
|
1107
|
+
<div class="form-group">
|
1108
|
+
<label for="exampleInputEmail1" class="bmd-label-floating">Email address</label>
|
1109
|
+
<input type="email" class="form-control" id="exampleInputEmail1" autocomplete="none">
|
1110
|
+
<span class="form-clear d-none"><i class="mdi mdi-2x mdi-format-clear"></i></span>
|
1111
|
+
<span class="bmd-help">We'll never share your email with anyone else.</span>
|
1112
|
+
</div>
|
1113
|
+
<div class="form-group">
|
1114
|
+
<label for="exampleInputPassword1" class="bmd-label-floating">Password</label>
|
1115
|
+
<input type="password" class="form-control" id="exampleInputPassword1">
|
1116
|
+
<span class="form-clear d-none"><i class="mdi mdi-2x mdi-format-clear"></i></span>
|
1117
|
+
</div>
|
1118
|
+
<div class="form-group form-check">
|
1119
|
+
<input type="checkbox" class="form-check-input" id="exampleCheck1">
|
1120
|
+
<label class="form-check-label" for="exampleCheck1">Check me out</label>
|
1121
|
+
</div>
|
1122
|
+
<button type="submit" class="btn btn-primary btn-raised">Submit</button>
|
1123
|
+
</form>
|
1124
|
+
</div>
|
1125
|
+
++++
|
1126
|
+
|
1127
|
+
Textual form controls—like <input>s, <select>s, and <textarea>s—are styled with
|
1128
|
+
the .form-control class. Included are styles for general appearance, focus
|
1129
|
+
state, sizing, and more.
|
1130
|
+
|
1131
|
+
++++
|
1132
|
+
<div class="doc-example mb-3">
|
1133
|
+
<form>
|
1134
|
+
<div class="form-group">
|
1135
|
+
<label for="exampleInputEmail1" class="bmd-label-floating">Email address</label>
|
1136
|
+
<input type="email" class="form-control" id="exampleFormControlInput1">
|
1137
|
+
</div>
|
1138
|
+
<div class="form-group">
|
1139
|
+
<label for="exampleFormControlSelect1" class="bmd-label-floating">Example select</label>
|
1140
|
+
<select class="form-control" id="exampleFormControlSelect1">
|
1141
|
+
<option>1</option>
|
1142
|
+
<option>2</option>
|
1143
|
+
<option>3</option>
|
1144
|
+
<option>4</option>
|
1145
|
+
<option>5</option>
|
1146
|
+
</select>
|
1147
|
+
</div>
|
1148
|
+
<div class="form-group">
|
1149
|
+
<label for="exampleFormControlSelect2" class="bmd-label-floating">Example multiple select</label>
|
1150
|
+
<select multiple class="form-control" id="exampleFormControlSelect2">
|
1151
|
+
<option>option 1</option>
|
1152
|
+
<option>option 2</option>
|
1153
|
+
<option>option 3</option>
|
1154
|
+
</select>
|
1155
|
+
</div>
|
1156
|
+
<div class="form-group">
|
1157
|
+
<label for="exampleFormControlTextarea1" class="bmd-label-floating">Example textarea</label>
|
1158
|
+
<textarea class="form-control" id="exampleFormControlTextarea1" rows="3"></textarea>
|
1159
|
+
</div>
|
1160
|
+
</form>
|
1161
|
+
</div>
|
1162
|
+
++++
|
1163
|
+
|
1164
|
+
For file inputs, swap the .form-control for .form-control-file.
|
1165
|
+
|
1166
|
+
++++
|
1167
|
+
<div class="doc-example mb-3">
|
1168
|
+
<form>
|
1169
|
+
<div class="form-group">
|
1170
|
+
<label for="exampleFormControlFile1" class="bmd-label-floating">Example file input</label>
|
1171
|
+
<input type="file" class="form-control-file" id="exampleFormControlFile1">
|
1172
|
+
</div>
|
1173
|
+
</form>
|
1174
|
+
</div>
|
1175
|
+
++++
|
1176
|
+
|
1177
|
+
== Navs
|
1178
|
+
|
1179
|
+
Navigation available in Bootstrap share general markup and styles, from the
|
1180
|
+
base .nav class to the active and disabled states. Swap modifier classes to
|
1181
|
+
switch between each style.
|
1182
|
+
|
1183
|
+
The base .nav component is built with flexbox and provide a strong foundation
|
1184
|
+
for building all types of navigation components. It includes some style
|
1185
|
+
overrides (for working with lists), some link padding for larger hit areas,
|
1186
|
+
and basic disabled styling.
|
1187
|
+
|
1188
|
+
mdi:bootstrap[24px, mdi-md-deep-purple]
|
1189
|
+
link:{url-bs-docs--components-navs}[Bootstrap Docs {char-middot} Navs, {browser-window--new}]
|
1190
|
+
|
1191
|
+
=== Tabs
|
1192
|
+
|
1193
|
+
Tabs takes the basic nav from above and adds the .nav-tabs class to generate
|
1194
|
+
a tabbed interface. Use them to create tabbable regions with our tab
|
1195
|
+
JavaScript plugin.
|
1196
|
+
|
1197
|
+
++++
|
1198
|
+
<div class="doc-example mb-3">
|
1199
|
+
<ul class="nav nav-tabs">
|
1200
|
+
<li class="nav-item">
|
1201
|
+
<a class="nav-link active" data-toggle="tab" href="#home">Home</a>
|
1202
|
+
</li>
|
1203
|
+
<li class="nav-item">
|
1204
|
+
<a class="nav-link" data-toggle="tab" href="#profile">Profile</a>
|
1205
|
+
</li>
|
1206
|
+
<li class="nav-item dropdown">
|
1207
|
+
<a class="nav-link dropdown-toggle" data-toggle="dropdown"
|
1208
|
+
href="javascript:(void)"
|
1209
|
+
role="button"
|
1210
|
+
aria-haspopup="true" aria-expanded="false">
|
1211
|
+
Dropdown
|
1212
|
+
</a>
|
1213
|
+
<div class="dropdown-menu">
|
1214
|
+
<a class="dropdown-item" href="javascript:(void)">Action</a>
|
1215
|
+
<a class="dropdown-item" href="javascript:(void)">Another action</a>
|
1216
|
+
<a class="dropdown-item" href="javascript:(void)">Something else here</a>
|
1217
|
+
<div class="dropdown-divider"></div>
|
1218
|
+
<a class="dropdown-item" href="javascript:(void)">Separated link</a>
|
1219
|
+
</div>
|
1220
|
+
</li>
|
1221
|
+
<li class="nav-item">
|
1222
|
+
<a class="nav-link disabled" href="javascript:(void)">Disabled</a>
|
1223
|
+
</li>
|
1224
|
+
</ul>
|
1225
|
+
<div id="myTabContent" class="tab-content">
|
1226
|
+
<div class="tab-pane fade active show" id="home">
|
1227
|
+
<p>Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.</p>
|
1228
|
+
</div>
|
1229
|
+
<div class="tab-pane fade" id="profile">
|
1230
|
+
<p>Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit.</p>
|
1231
|
+
</div>
|
1232
|
+
<div class="tab-pane fade" id="dropdown1">
|
1233
|
+
<p>Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork.</p>
|
1234
|
+
</div>
|
1235
|
+
<div class="tab-pane fade" id="dropdown2">
|
1236
|
+
<p>Trust fund seitan letterpress, keytar raw denim keffiyeh etsy art party before they sold out master cleanse gluten-free squid scenester freegan cosby sweater. Fanny pack portland seitan DIY, art party locavore wolf cliche high life echo park Austin. Cred vinyl keffiyeh DIY salvia PBR, banh mi before they sold out farm-to-table VHS viral locavore cosby sweater.</p>
|
1237
|
+
</div>
|
1238
|
+
</div>
|
1239
|
+
</div>
|
1240
|
+
++++
|
1241
|
+
|
1242
|
+
|
1243
|
+
=== Pills
|
1244
|
+
|
1245
|
+
Take that same HTML as Tabs, but use .nav-pills class instead.
|
1246
|
+
|
1247
|
+
++++
|
1248
|
+
<div class="doc-example mb-3">
|
1249
|
+
<div class="row mb-5">
|
1250
|
+
|
1251
|
+
<div class="col-md-6">
|
1252
|
+
<h5 class="notoc">Standard Pills</h5>
|
1253
|
+
<ul class="nav nav-pills">
|
1254
|
+
<li class="nav-item mr-1 mb-2">
|
1255
|
+
<a class="nav-link active" href="javascript:(void)">Active</a>
|
1256
|
+
</li>
|
1257
|
+
<li class="nav-item dropdown mr-1">
|
1258
|
+
<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="javascript:(void)" role="button" aria-haspopup="true" aria-expanded="false">Dropdown</a>
|
1259
|
+
<div class="dropdown-menu">
|
1260
|
+
<a class="dropdown-item" href="javascript:(void)">Action</a>
|
1261
|
+
<a class="dropdown-item" href="javascript:(void)">Another action</a>
|
1262
|
+
<a class="dropdown-item" href="javascript:(void)">Something else here</a>
|
1263
|
+
<div class="dropdown-divider"></div>
|
1264
|
+
<a class="dropdown-item" href="javascript:(void)">Separated link</a>
|
1265
|
+
</div>
|
1266
|
+
</li>
|
1267
|
+
<li class="nav-item mr-1 mb-2">
|
1268
|
+
<a class="nav-link" href="javascript:(void)">Link</a>
|
1269
|
+
</li>
|
1270
|
+
<li class="nav-item mr-1 mb-2">
|
1271
|
+
<a class="nav-link disabled" href="javascript:(void)">Disabled</a>
|
1272
|
+
</li>
|
1273
|
+
</ul>
|
1274
|
+
</div>
|
1275
|
+
<div class="col-md-6">
|
1276
|
+
<h5 class="notoc">Stacked Pills (vertical)</h5>
|
1277
|
+
<ul class="nav nav-pills flex-column mb-4">
|
1278
|
+
<li class="nav-item mb-2">
|
1279
|
+
<a class="nav-link active" href="javascript:(void)">Active</a>
|
1280
|
+
</li>
|
1281
|
+
<li class="nav-item dropdown mb-1">
|
1282
|
+
<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="javascript:(void)" role="button" aria-haspopup="true" aria-expanded="false">Dropdown</a>
|
1283
|
+
<div class="dropdown-menu">
|
1284
|
+
<a class="dropdown-item" href="javascript:(void)">Action</a>
|
1285
|
+
<a class="dropdown-item" href="javascript:(void)">Another action</a>
|
1286
|
+
<a class="dropdown-item" href="javascript:(void)">Something else here</a>
|
1287
|
+
<div class="dropdown-divider"></div>
|
1288
|
+
<a class="dropdown-item" href="javascript:(void)">Separated link</a>
|
1289
|
+
</div>
|
1290
|
+
</li>
|
1291
|
+
<li class="nav-item mb-2">
|
1292
|
+
<a class="nav-link" href="javascript:(void)">Link</a>
|
1293
|
+
</li>
|
1294
|
+
<li class="nav-item mb-2">
|
1295
|
+
<a class="nav-link disabled" href="javascript:(void)">Disabled</a>
|
1296
|
+
</li>
|
1297
|
+
</ul>
|
1298
|
+
</div>
|
1299
|
+
</div>
|
1300
|
+
</div>
|
1301
|
+
++++
|
1302
|
+
|
1303
|
+
=== Breadcrumbs
|
1304
|
+
|
1305
|
+
Breadcrumbs indicate the current page’s location within a navigational
|
1306
|
+
hierarchy that automatically adds separators via CSS.
|
1307
|
+
|
1308
|
+
Separators are automatically added in CSS through ::before and content.
|
1309
|
+
|
1310
|
+
++++
|
1311
|
+
<div class="doc-example mb-3">
|
1312
|
+
<ol class="breadcrumb">
|
1313
|
+
<li class="breadcrumb-item active">Home</li>
|
1314
|
+
</ol>
|
1315
|
+
<ol class="breadcrumb">
|
1316
|
+
<li class="breadcrumb-item"><a href="javascript:(void)">Home</a></li>
|
1317
|
+
<li class="breadcrumb-item active">Library</li>
|
1318
|
+
</ol>
|
1319
|
+
<ol class="breadcrumb">
|
1320
|
+
<li class="breadcrumb-item"><a href="javascript:(void)">Home</a></li>
|
1321
|
+
<li class="breadcrumb-item"><a href="javascript:(void)">Library</a></li>
|
1322
|
+
<li class="breadcrumb-item active">Data</li>
|
1323
|
+
</ol>
|
1324
|
+
</div>
|
1325
|
+
++++
|
1326
|
+
|
1327
|
+
=== Pagination
|
1328
|
+
|
1329
|
+
We use a large block of connected links for our pagination, making links
|
1330
|
+
hard to miss and easily scalable—all while providing large hit areas.
|
1331
|
+
Pagination is built with list HTML elements so screen readers can announce
|
1332
|
+
the number of available links. Use a wrapping <nav> element to identify
|
1333
|
+
it as a navigation section to screen readers and other assistive technologies.
|
1334
|
+
|
1335
|
+
++++
|
1336
|
+
<div class="doc-example mb-3">
|
1337
|
+
<div>
|
1338
|
+
<ul class="pagination">
|
1339
|
+
<li class="page-item disabled">
|
1340
|
+
<a class="page-link" href="javascript:(void)">«</a>
|
1341
|
+
</li>
|
1342
|
+
<li class="page-item active">
|
1343
|
+
<a class="page-link" href="javascript:(void)">1</a>
|
1344
|
+
</li>
|
1345
|
+
<li class="page-item">
|
1346
|
+
<a class="page-link" href="javascript:(void)">2</a>
|
1347
|
+
</li>
|
1348
|
+
<li class="page-item">
|
1349
|
+
<a class="page-link" href="javascript:(void)">3</a>
|
1350
|
+
</li>
|
1351
|
+
<li class="page-item">
|
1352
|
+
<a class="page-link" href="javascript:(void)">4</a>
|
1353
|
+
</li>
|
1354
|
+
<li class="page-item">
|
1355
|
+
<a class="page-link" href="javascript:(void)">5</a>
|
1356
|
+
</li>
|
1357
|
+
<li class="page-item">
|
1358
|
+
<a class="page-link" href="javascript:(void)">»</a>
|
1359
|
+
</li>
|
1360
|
+
</ul>
|
1361
|
+
</div>
|
1362
|
+
<div>
|
1363
|
+
<ul class="pagination pagination-lg">
|
1364
|
+
<li class="page-item disabled">
|
1365
|
+
<a class="page-link" href="javascript:(void)">«</a>
|
1366
|
+
</li>
|
1367
|
+
<li class="page-item active">
|
1368
|
+
<a class="page-link" href="javascript:(void)">1</a>
|
1369
|
+
</li>
|
1370
|
+
<li class="page-item">
|
1371
|
+
<a class="page-link" href="javascript:(void)">2</a>
|
1372
|
+
</li>
|
1373
|
+
<li class="page-item">
|
1374
|
+
<a class="page-link" href="javascript:(void)">3</a>
|
1375
|
+
</li>
|
1376
|
+
<li class="page-item">
|
1377
|
+
<a class="page-link" href="javascript:(void)">4</a>
|
1378
|
+
</li>
|
1379
|
+
<li class="page-item">
|
1380
|
+
<a class="page-link" href="javascript:(void)">5</a>
|
1381
|
+
</li>
|
1382
|
+
<li class="page-item">
|
1383
|
+
<a class="page-link" href="javascript:(void)">»</a>
|
1384
|
+
</li>
|
1385
|
+
</ul>
|
1386
|
+
</div>
|
1387
|
+
<div>
|
1388
|
+
<ul class="pagination pagination-sm">
|
1389
|
+
<li class="page-item disabled">
|
1390
|
+
<a class="page-link" href="javascript:(void)">«</a>
|
1391
|
+
</li>
|
1392
|
+
<li class="page-item active">
|
1393
|
+
<a class="page-link" href="javascript:(void)">1</a>
|
1394
|
+
</li>
|
1395
|
+
<li class="page-item">
|
1396
|
+
<a class="page-link" href="javascript:(void)">2</a>
|
1397
|
+
</li>
|
1398
|
+
<li class="page-item">
|
1399
|
+
<a class="page-link" href="javascript:(void)">3</a>
|
1400
|
+
</li>
|
1401
|
+
<li class="page-item">
|
1402
|
+
<a class="page-link" href="javascript:(void)">4</a>
|
1403
|
+
</li>
|
1404
|
+
<li class="page-item">
|
1405
|
+
<a class="page-link" href="javascript:(void)">5</a>
|
1406
|
+
</li>
|
1407
|
+
<li class="page-item">
|
1408
|
+
<a class="page-link" href="javascript:(void)">»</a>
|
1409
|
+
</li>
|
1410
|
+
</ul>
|
1411
|
+
</div>
|
1412
|
+
</div>
|
1413
|
+
++++
|
1414
|
+
|
1415
|
+
== Indicators
|
1416
|
+
|
1417
|
+
With Bootstrap, indicators are elememts to raise the users awareness. Alerts
|
1418
|
+
are dynamic elememts that can be used to *indicate* success or something went
|
1419
|
+
wrong. Contrasting *Badges, static BS elememts, to raise attention e.g for
|
1420
|
+
something *new*.
|
1421
|
+
|
1422
|
+
=== Alerts
|
1423
|
+
|
1424
|
+
Alerts provide contextual feedback messages for typical user actions with the
|
1425
|
+
handful of available and flexible alert messages.
|
1426
|
+
|
1427
|
+
Alerts are available for any length of text, as well as an optional dismiss
|
1428
|
+
button. For proper styling, use one of the eight required contextual classes
|
1429
|
+
(e.g., .alert-success). For inline dismissal, use the alerts
|
1430
|
+
https://getbootstrap.com/docs/4.0/components/alerts/#dismissing[jQuery plugin].
|
1431
|
+
|
1432
|
+
mdi:bootstrap[24px, mdi-md-deep-purple]
|
1433
|
+
link:{url-bs-docs--components-alerts}[Bootstrap Docs {char-middot} Alerts, {browser-window--new}]
|
1434
|
+
|
1435
|
+
++++
|
1436
|
+
<div class="doc-example mb-3">
|
1437
|
+
<div class="row mb-3">
|
1438
|
+
<div class="col-md-12">
|
1439
|
+
<div class="alert alert-dismissible alert-warning">
|
1440
|
+
<button type="button" class="close" data-dismiss="alert">×</button>
|
1441
|
+
<h4 class="alert-heading notoc">Warning!</h4>
|
1442
|
+
<p class="mb-0">Best check yo self, you're not looking too good. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, <a href="javascript:(void)" class="alert-link">vel scelerisque nisl consectetur et</a>.</p>
|
1443
|
+
</div>
|
1444
|
+
</div>
|
1445
|
+
</div>
|
1446
|
+
<div class="row mb-5">
|
1447
|
+
<div class="col-md-4">
|
1448
|
+
<div class="alert alert-dismissible alert-danger">
|
1449
|
+
<button type="button" class="close" data-dismiss="alert">×</button>
|
1450
|
+
<strong>Oh snap!</strong> <a href="javascript:(void)" class="alert-link">Change a few things up</a> and try submitting again.
|
1451
|
+
</div>
|
1452
|
+
</div>
|
1453
|
+
<div class="col-md-4">
|
1454
|
+
<div class="alert alert-dismissible alert-success">
|
1455
|
+
<button type="button" class="close" data-dismiss="alert">×</button>
|
1456
|
+
<strong>Well done!</strong> You successfully read <a href="javascript:(void)" class="alert-link">this important alert message</a>.
|
1457
|
+
</div>
|
1458
|
+
</div>
|
1459
|
+
<div class="col-md-4">
|
1460
|
+
<div class="alert alert-dismissible alert-info">
|
1461
|
+
<button type="button" class="close" data-dismiss="alert">×</button>
|
1462
|
+
<strong>Heads up!</strong> This <a href="javascript:(void)" class="alert-link">alert needs your attention</a>, but it's not super important.
|
1463
|
+
</div>
|
1464
|
+
</div>
|
1465
|
+
</div>
|
1466
|
+
</div>
|
1467
|
+
++++
|
1468
|
+
|
1469
|
+
=== Badges
|
1470
|
+
|
1471
|
+
Badges are small count and labeling components. They scale to match the size
|
1472
|
+
of the immediate parent element by using relative font sizing and em units.
|
1473
|
+
|
1474
|
+
Note that depending on how they are used, badges may be confusing for users
|
1475
|
+
of screen readers and similar assistive technologies. While the styling of
|
1476
|
+
badges provides a visual cue as to their purpose, these users will simply
|
1477
|
+
be presented with the content of the badge. Depending on the specific
|
1478
|
+
situation, these badges may seem like random additional words or numbers
|
1479
|
+
at the end of a sentence, link, or button.
|
1480
|
+
|
1481
|
+
mdi:bootstrap[24px, mdi-md-deep-purple]
|
1482
|
+
link:{url-bs-docs--components-badges}[Bootstrap Docs {char-middot} Badge, {browser-window--new}]
|
1483
|
+
|
1484
|
+
++++
|
1485
|
+
<div class="doc-example mb-3">
|
1486
|
+
<div class="bs-component mb-3">
|
1487
|
+
<span class="badge badge-primary">Primary</span>
|
1488
|
+
<span class="badge badge-secondary">Secondary</span>
|
1489
|
+
<span class="badge badge-success">Success</span>
|
1490
|
+
<span class="badge badge-danger">Danger</span>
|
1491
|
+
<span class="badge badge-warning">Warning</span>
|
1492
|
+
<span class="badge badge-info">Info</span>
|
1493
|
+
<span class="badge badge-light">Light</span>
|
1494
|
+
<span class="badge badge-dark">Dark</span>
|
1495
|
+
</div>
|
1496
|
+
<div class="bs-component mb-4">
|
1497
|
+
<span class="badge badge-pill badge-primary">Primary</span>
|
1498
|
+
<span class="badge badge-pill badge-secondary">Secondary</span>
|
1499
|
+
<span class="badge badge-pill badge-success">Success</span>
|
1500
|
+
<span class="badge badge-pill badge-danger">Danger</span>
|
1501
|
+
<span class="badge badge-pill badge-warning">Warning</span>
|
1502
|
+
<span class="badge badge-pill badge-info">Info</span>
|
1503
|
+
<span class="badge badge-pill badge-light">Light</span>
|
1504
|
+
<span class="badge badge-pill badge-dark">Dark</span>
|
1505
|
+
</div>
|
1506
|
+
</div>
|
1507
|
+
++++
|
1508
|
+
|
1509
|
+
ifdef::scrollbars[]
|
1510
|
+
=== Scrollbars
|
1511
|
+
|
1512
|
+
Chromium-based browsers like Chrome, Edge, Safari or Opera support the *webkit*
|
1513
|
+
`::-webkit-scrollbar` pseudo element, which allows to modify the look of the
|
1514
|
+
browser's scrollbar.
|
1515
|
+
|
1516
|
+
NOTE: Custom (webkit-based) scrollbars are not supported with the Firefox
|
1517
|
+
browser.
|
1518
|
+
|
1519
|
+
.Default scrollbar J1 Template
|
1520
|
+
[source, css, role="noclip"]
|
1521
|
+
----
|
1522
|
+
::-webkit-scrollbar {
|
1523
|
+
width: 12px;
|
1524
|
+
background-color: $grey-100;
|
1525
|
+
}
|
1526
|
+
::-webkit-scrollbar-track {
|
1527
|
+
-webkit-box-shadow: inset 0 0 6px $darken-300;
|
1528
|
+
border-radius: 0px;
|
1529
|
+
background-color: $grey-100;
|
1530
|
+
}
|
1531
|
+
::-webkit-scrollbar-thumb {
|
1532
|
+
-webkit-box-shadow: inset 0 0 6px $lighten-300;
|
1533
|
+
background-color: $grey-800;
|
1534
|
+
}
|
1535
|
+
----
|
1536
|
+
|
1537
|
+
For J1 Template, following flavours are implemented.
|
1538
|
+
|
1539
|
+
[subs="attributes"]
|
1540
|
+
++++
|
1541
|
+
<div>
|
1542
|
+
<div class="row">
|
1543
|
+
<div class="scrollbar" id="style-default">
|
1544
|
+
<div class="force-overflow"></div>
|
1545
|
+
</div>
|
1546
|
+
|
1547
|
+
<div class="scrollbar scroller-1">
|
1548
|
+
<div class="force-overflow"></div>
|
1549
|
+
</div>
|
1550
|
+
|
1551
|
+
<div class="scrollbar scroller-2">
|
1552
|
+
<div class="force-overflow"></div>
|
1553
|
+
</div>
|
1554
|
+
|
1555
|
+
<div class="scrollbar scroller-3">
|
1556
|
+
<div class="force-overflow"></div>
|
1557
|
+
</div>
|
1558
|
+
|
1559
|
+
<div class="scrollbar scroller-4">
|
1560
|
+
<div class="force-overflow"></div>
|
1561
|
+
</div>
|
1562
|
+
</div>
|
1563
|
+
|
1564
|
+
<div class="row">
|
1565
|
+
<div class="scrollbar scroller-5">
|
1566
|
+
<div class="force-overflow"></div>
|
1567
|
+
</div>
|
1568
|
+
|
1569
|
+
<div class="scrollbar scroller-6">
|
1570
|
+
<div class="force-overflow"></div>
|
1571
|
+
</div>
|
1572
|
+
|
1573
|
+
<div class="scrollbar scroller-7">
|
1574
|
+
<div class="force-overflow"></div>
|
1575
|
+
</div>
|
1576
|
+
|
1577
|
+
<div class="scrollbar scroller-8">
|
1578
|
+
<div class="force-overflow"></div>
|
1579
|
+
</div>
|
1580
|
+
|
1581
|
+
<div class="scrollbar scroller-9">
|
1582
|
+
<div class="force-overflow"></div>
|
1583
|
+
</div>
|
1584
|
+
</div>
|
1585
|
+
|
1586
|
+
<div class="row">
|
1587
|
+
<div class="scrollbar scroller-10">
|
1588
|
+
<div class="force-overflow"></div>
|
1589
|
+
</div>
|
1590
|
+
|
1591
|
+
<div class="scrollbar scroller-11">
|
1592
|
+
<div class="force-overflow"></div>
|
1593
|
+
</div>
|
1594
|
+
|
1595
|
+
<div class="scrollbar scroller-13">
|
1596
|
+
<div class="force-overflow"></div>
|
1597
|
+
</div>
|
1598
|
+
|
1599
|
+
<div class="scrollbar scroller-14">
|
1600
|
+
<div class="force-overflow"></div>
|
1601
|
+
</div>
|
1602
|
+
|
1603
|
+
<div class="scrollbar scroller-15">
|
1604
|
+
<div class="force-overflow"></div>
|
1605
|
+
</div>
|
1606
|
+
</div>
|
1607
|
+
</div>
|
1608
|
+
|
1609
|
+
<!-- script>
|
1610
|
+
NOTE: $.browser.webkit does NOT exists !!!
|
1611
|
+
if (!$.browser.webkit) {
|
1612
|
+
$('.wrapper').html('<p>Sorry! Non webkit browser detected. Scrollbars <b>not</b> displayed :</p>');
|
1613
|
+
}
|
1614
|
+
</script -->
|
1615
|
+
++++
|
1616
|
+
endif::[]
|
1617
|
+
|
1618
|
+
== Progress
|
1619
|
+
|
1620
|
+
Bootstrap custom progress bars featuring support for stacked bars, animated
|
1621
|
+
backgrounds, and text labels. Progress components are built with two HTML
|
1622
|
+
elements, some CSS to set the width, and a few attributes. We don’t use the
|
1623
|
+
HTML5 <progress> element, ensuring you can stack progress bars, animate them,
|
1624
|
+
and place text labels over them.
|
1625
|
+
|
1626
|
+
mdi:bootstrap[24px, mdi-md-deep-purple]
|
1627
|
+
link:{url-bs-docs--components-progress}[Bootstrap Docs {char-middot} Progress, {browser-window--new}]
|
1628
|
+
|
1629
|
+
=== Basic
|
1630
|
+
|
1631
|
+
++++
|
1632
|
+
<div class="doc-example mb-3">
|
1633
|
+
<div class="progress">
|
1634
|
+
<div class="progress-bar" role="progressbar" style="width: 25%;" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"></div>
|
1635
|
+
</div>
|
1636
|
+
</div>
|
1637
|
+
++++
|
1638
|
+
|
1639
|
+
.Basic progressbar
|
1640
|
+
[source, html, role="noclip"]
|
1641
|
+
----
|
1642
|
+
<div class="progress">
|
1643
|
+
<div class="progress-bar" role="progressbar"
|
1644
|
+
style="width: 25%;"
|
1645
|
+
aria-valuenow="25"
|
1646
|
+
aria-valuemin="0"
|
1647
|
+
aria-valuemax="100">
|
1648
|
+
</div>
|
1649
|
+
</div>
|
1650
|
+
----
|
1651
|
+
|
1652
|
+
=== Contextual alternatives
|
1653
|
+
|
1654
|
+
++++
|
1655
|
+
<div class="doc-example mb-3">
|
1656
|
+
<div class="progress mb-1">
|
1657
|
+
<div class="progress-bar bg-success" role="progressbar" style="width: 25%" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"></div>
|
1658
|
+
</div>
|
1659
|
+
<div class="progress mb-1">
|
1660
|
+
<div class="progress-bar bg-info" role="progressbar" style="width: 50%" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100"></div>
|
1661
|
+
</div>
|
1662
|
+
<div class="progress mb-1">
|
1663
|
+
<div class="progress-bar bg-warning" role="progressbar" style="width: 75%" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100"></div>
|
1664
|
+
</div>
|
1665
|
+
<div class="progress">
|
1666
|
+
<div class="progress-bar bg-danger" role="progressbar" style="width: 100%" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100"></div>
|
1667
|
+
</div>
|
1668
|
+
</div>
|
1669
|
+
++++
|
1670
|
+
|
1671
|
+
.Progressbar SUCCESS
|
1672
|
+
[source, html, role="noclip"]
|
1673
|
+
----
|
1674
|
+
<div class="progress">
|
1675
|
+
<div class="progress-bar bg-success" role="progressbar"
|
1676
|
+
style="width: 25%;"
|
1677
|
+
aria-valuenow="25"
|
1678
|
+
aria-valuemin="0"
|
1679
|
+
aria-valuemax="100">
|
1680
|
+
</div>
|
1681
|
+
</div>
|
1682
|
+
----
|
1683
|
+
|
1684
|
+
=== Multiple bars
|
1685
|
+
|
1686
|
+
++++
|
1687
|
+
<div class="doc-example mb-3">
|
1688
|
+
<div class="progress">
|
1689
|
+
<div class="progress-bar bg-success" role="progressbar" style="width: 50%" aria-valuenow="15" aria-valuemin="0" aria-valuemax="100"></div>
|
1690
|
+
<div class="progress-bar bg-warning" role="progressbar" style="width: 25%" aria-valuenow="30" aria-valuemin="0" aria-valuemax="100"></div>
|
1691
|
+
<div class="progress-bar bg-danger" role="progressbar" style="width: 20%" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100"></div>
|
1692
|
+
</div>
|
1693
|
+
</div>
|
1694
|
+
++++
|
1695
|
+
|
1696
|
+
=== Striped
|
1697
|
+
|
1698
|
+
++++
|
1699
|
+
<div class="doc-example mb-3">
|
1700
|
+
<div class="progress mb-1">
|
1701
|
+
<div class="progress-bar progress-bar-striped" role="progressbar" style="width: 10%" aria-valuenow="10" aria-valuemin="0" aria-valuemax="100"></div>
|
1702
|
+
</div>
|
1703
|
+
<div class="progress mb-1">
|
1704
|
+
<div class="progress-bar progress-bar-striped bg-success" role="progressbar" style="width: 25%" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"></div>
|
1705
|
+
</div>
|
1706
|
+
<div class="progress mb-1">
|
1707
|
+
<div class="progress-bar progress-bar-striped bg-info" role="progressbar" style="width: 50%" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100"></div>
|
1708
|
+
</div>
|
1709
|
+
<div class="progress mb-1">
|
1710
|
+
<div class="progress-bar progress-bar-striped bg-warning" role="progressbar" style="width: 75%" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100"></div>
|
1711
|
+
</div>
|
1712
|
+
<div class="progress">
|
1713
|
+
<div class="progress-bar progress-bar-striped bg-danger" role="progressbar" style="width: 100%" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100"></div>
|
1714
|
+
</div>
|
1715
|
+
</div>
|
1716
|
+
++++
|
1717
|
+
|
1718
|
+
=== Animated
|
1719
|
+
|
1720
|
+
++++
|
1721
|
+
<div class="doc-example mb-3">
|
1722
|
+
<div class="progress">
|
1723
|
+
<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>
|
1724
|
+
</div>
|
1725
|
+
</div>
|
1726
|
+
++++
|
1727
|
+
|
1728
|
+
== Containers
|
1729
|
+
|
1730
|
+
In sense of Bootstrap, *containers* are more complex, eye-catching elements to
|
1731
|
+
showcase facts or topics of a site. Typical elements are:
|
1732
|
+
|
1733
|
+
* Jumbotron
|
1734
|
+
* Lists
|
1735
|
+
* Cards
|
1736
|
+
|
1737
|
+
Find below examples how BS can support the users awarenes.
|
1738
|
+
|
1739
|
+
|
1740
|
+
=== Jumbotron
|
1741
|
+
|
1742
|
+
Lightweight, flexible component for showcasing hero unit style content.
|
1743
|
+
|
1744
|
+
mdi:bootstrap[24px, mdi-md-deep-purple]
|
1745
|
+
link:{url-bs-docs--components-jumbotron}[Bootstrap Docs {char-middot} Jumbotron, {browser-window--new}]
|
1746
|
+
|
1747
|
+
++++
|
1748
|
+
<div class="doc-example mb-3">
|
1749
|
+
<div class="jumbotron">
|
1750
|
+
<h1 class="display-3">Hello, world!</h1>
|
1751
|
+
<p class="lead">This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
|
1752
|
+
<hr class="my-4">
|
1753
|
+
<p>It uses utility classes for typography and spacing to space content out within the larger container.</p>
|
1754
|
+
<p class="lead">
|
1755
|
+
<a class="btn btn-primary btn-raised btn-lg" href="javascript:(void)" role="button">Learn more</a>
|
1756
|
+
</p>
|
1757
|
+
</div>
|
1758
|
+
</div>
|
1759
|
+
++++
|
1760
|
+
|
1761
|
+
=== List groups
|
1762
|
+
|
1763
|
+
List groups are a flexible and powerful component for displaying a series of
|
1764
|
+
content. Modify and extend them to support just about any content within.
|
1765
|
+
|
1766
|
+
mdi:bootstrap[24px, mdi-md-deep-purple]
|
1767
|
+
link:{url-bs-docs--components-list_group}[Bootstrap Docs {char-middot} List group, {browser-window--new}]
|
1768
|
+
|
1769
|
+
++++
|
1770
|
+
<div class="doc-example mb-3">
|
1771
|
+
<div class="row mb-5">
|
1772
|
+
<div class="col-md-4">
|
1773
|
+
<ul class="list-group">
|
1774
|
+
<li class="list-group-item d-flex justify-content-between align-items-center">
|
1775
|
+
Describe item #1
|
1776
|
+
<span class="badge badge-primary badge-pill">14</span>
|
1777
|
+
</li>
|
1778
|
+
<li class="list-group-item d-flex justify-content-between align-items-center">
|
1779
|
+
Describe item #2
|
1780
|
+
<span class="badge badge-primary badge-pill">2</span>
|
1781
|
+
</li>
|
1782
|
+
<li class="list-group-item d-flex justify-content-between align-items-center">
|
1783
|
+
Describe item #3
|
1784
|
+
<span class="badge badge-primary badge-pill">1</span>
|
1785
|
+
</li>
|
1786
|
+
</ul>
|
1787
|
+
</div>
|
1788
|
+
|
1789
|
+
<div class="col-md-4">
|
1790
|
+
<div class="list-group">
|
1791
|
+
<a href="javascript:(void)" class="list-group-item list-group-item-action active">
|
1792
|
+
Describe item #1
|
1793
|
+
</a>
|
1794
|
+
<a href="javascript:(void)" class="list-group-item list-group-item-action">Describe item #2
|
1795
|
+
</a>
|
1796
|
+
<a href="javascript:(void)" class="list-group-item list-group-item-action disabled">Describe item #3
|
1797
|
+
</a>
|
1798
|
+
</div>
|
1799
|
+
</div>
|
1800
|
+
|
1801
|
+
<div class="col-md-4">
|
1802
|
+
<div class="list-group">
|
1803
|
+
<a href="javascript:(void)" class="list-group-item list-group-item-action flex-column align-items-start active">
|
1804
|
+
<div class="d-flex w-100 justify-content-between">
|
1805
|
+
<h5 class="mb-1 notoc">List group item heading</h5>
|
1806
|
+
<small>3 days ago</small>
|
1807
|
+
</div>
|
1808
|
+
<p class="mb-1">Some quick example text to build on a list and make up the bulk of the list group's content.</p>
|
1809
|
+
<small>Summarize whats all about.</small>
|
1810
|
+
</a>
|
1811
|
+
<a href="javascript:(void)" class="list-group-item list-group-item-action flex-column align-items-start">
|
1812
|
+
<div class="d-flex w-100 justify-content-between">
|
1813
|
+
<h5 class="mb-1 notoc">List group item heading</h5>
|
1814
|
+
<small class="text-muted">3 days ago</small>
|
1815
|
+
</div>
|
1816
|
+
<p class="mb-1">Some quick example text to build on a list and make up the bulk of the list group's content.</p>
|
1817
|
+
<small class="text-muted">Summarize whats all about.</small>
|
1818
|
+
</a>
|
1819
|
+
</div>
|
1820
|
+
</div>
|
1821
|
+
|
1822
|
+
</div>
|
1823
|
+
</div>
|
1824
|
+
++++
|
1825
|
+
|
1826
|
+
|
1827
|
+
=== Cards
|
1828
|
+
|
1829
|
+
Bootstrap’s cards provide a flexible and extensible content container with
|
1830
|
+
multiple variants and options. A card is a flexible and extensible content
|
1831
|
+
container. It includes options for headers and footers, a wide variety of
|
1832
|
+
content, contextual background colors, and powerful display options.
|
1833
|
+
|
1834
|
+
If you’re familiar with Bootstrap 3, cards replace our old panels, wells,
|
1835
|
+
and thumbnails. Similar functionality to those components is available as
|
1836
|
+
modifier classes for cards.
|
1837
|
+
|
1838
|
+
Cards are built with as little markup and styles as possible, but still
|
1839
|
+
manage to deliver a ton of control and customization. Built with flexbox,
|
1840
|
+
they offer easy alignment and mix well with other Bootstrap components.
|
1841
|
+
They have no margin by default, so use spacing utilities as needed.
|
1842
|
+
|
1843
|
+
mdi:bootstrap[24px, mdi-md-deep-purple]
|
1844
|
+
link:{url-bs-docs--components-cards}[Bootstrap Docs {char-middot} Card, {browser-window--new}]
|
1845
|
+
|
1846
|
+
++++
|
1847
|
+
<div class="doc-example mb-3">
|
1848
|
+
|
1849
|
+
<div class="row">
|
1850
|
+
<div class="col-md-4 col-sm-4 col-xs-12">
|
1851
|
+
<div class="card mb-3" style="max-width: 20rem;">
|
1852
|
+
<div class="card-body">
|
1853
|
+
<h4 class="card-title notoc">Card title</h4>
|
1854
|
+
<h6 class="card-subtitle mb-2 text-muted notoc">Card subtitle</h6>
|
1855
|
+
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
|
1856
|
+
<a href="javascript:(void)" class="card-link">Card link</a>
|
1857
|
+
<a href="javascript:(void)" class="card-link">Another link</a>
|
1858
|
+
</div>
|
1859
|
+
</div>
|
1860
|
+
</div>
|
1861
|
+
<div class="col-md-4 col-sm-4 col-xs-12">
|
1862
|
+
<div class="card mb-3" style="max-width: 20rem;">
|
1863
|
+
<div class="card-body">
|
1864
|
+
<h4 class="card-title notoc">Card title</h4>
|
1865
|
+
<h6 class="card-subtitle mb-2 text-muted notoc">Card subtitle</h6>
|
1866
|
+
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
|
1867
|
+
<a href="javascript:(void)" class="card-link">Card link</a>
|
1868
|
+
<a href="javascript:(void)" class="card-link">Another link</a>
|
1869
|
+
</div>
|
1870
|
+
</div>
|
1871
|
+
</div>
|
1872
|
+
<div class="col-md-4 col-sm-4 col-xs-12">
|
1873
|
+
<div class="card mb-3" style="max-width: 20rem;">
|
1874
|
+
<div class="card-body">
|
1875
|
+
<h4 class="card-title notoc">Card title</h4>
|
1876
|
+
<h6 class="card-subtitle mb-2 text-muted notoc">Card subtitle</h6>
|
1877
|
+
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
|
1878
|
+
<a href="javascript:(void)" class="card-link">Card link</a>
|
1879
|
+
<a href="javascript:(void)" class="card-link">Another link</a>
|
1880
|
+
</div>
|
1881
|
+
</div>
|
1882
|
+
</div>
|
1883
|
+
</div>
|
1884
|
+
|
1885
|
+
<div class="row">
|
1886
|
+
<div class="col-md-4 col-sm-4 col-xs-12 pl-3">
|
1887
|
+
<div class="card mb-3" style="max-width: 20rem;">
|
1888
|
+
<div class="card-header text-white bg-primary">
|
1889
|
+
<h3 class="notoc">Header</h3>
|
1890
|
+
</div>
|
1891
|
+
<div class="card-body">
|
1892
|
+
<h4 class="card-title notoc">Primary card title</h4>
|
1893
|
+
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
|
1894
|
+
</div>
|
1895
|
+
</div>
|
1896
|
+
</div>
|
1897
|
+
<div class="col-md-4 col-sm-4 col-xs-12">
|
1898
|
+
<div class="card mb-3" style="max-width: 20rem;">
|
1899
|
+
<div class="card-header text-white bg-secondary">
|
1900
|
+
<h3 class="notoc">Header</h3>
|
1901
|
+
</div>
|
1902
|
+
<div class="card-body">
|
1903
|
+
<h4 class="card-title notoc">Secondary card title</h4>
|
1904
|
+
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
|
1905
|
+
</div>
|
1906
|
+
</div>
|
1907
|
+
</div>
|
1908
|
+
<div class="col-md-4 col-sm-4 col-xs-12">
|
1909
|
+
<div class="card mb-3" style="max-width: 20rem;">
|
1910
|
+
<div class="card-header text-white bg-success">
|
1911
|
+
<h3 class="notoc">Header</h3>
|
1912
|
+
</div>
|
1913
|
+
<div class="card-body">
|
1914
|
+
<h4 class="card-title notoc">Success card title</h4>
|
1915
|
+
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
|
1916
|
+
</div>
|
1917
|
+
</div>
|
1918
|
+
</div>
|
1919
|
+
</div>
|
1920
|
+
|
1921
|
+
<div class="row">
|
1922
|
+
<div class="col-md-4 col-sm-4 col-xs-12 pl-3">
|
1923
|
+
<div class="card mb-3" style="max-width: 20rem;">
|
1924
|
+
<div class="card-header text-white bg-info">
|
1925
|
+
<h3 class="notoc">Header</h3>
|
1926
|
+
</div>
|
1927
|
+
<div class="card-body">
|
1928
|
+
<h4 class="card-title notoc">Info card title</h4>
|
1929
|
+
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
|
1930
|
+
</div>
|
1931
|
+
<div class="card-footer r-text-200">
|
1932
|
+
<a class="card-link bs-info font-weight-bold g-font-size-12 text-uppercase"
|
1933
|
+
href="javascript:(void)">Action · Footer Link
|
1934
|
+
</a>
|
1935
|
+
</div>
|
1936
|
+
</div>
|
1937
|
+
</div>
|
1938
|
+
<div class="col-md-4 col-sm-4 col-xs-12">
|
1939
|
+
<div class="card mb-3" style="max-width: 20rem;">
|
1940
|
+
<div class="card-header text-white bg-warning">
|
1941
|
+
<h3 class="notoc">Header</h3>
|
1942
|
+
</div>
|
1943
|
+
<div class="card-body">
|
1944
|
+
<h4 class="card-title notoc">Warning card title</h4>
|
1945
|
+
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
|
1946
|
+
</div>
|
1947
|
+
<div class="card-footer r-text-200">
|
1948
|
+
<a class="card-link bs-warning font-weight-bold g-font-size-12 text-uppercase"
|
1949
|
+
href="javascript:(void)">Action · Footer Link
|
1950
|
+
</a>
|
1951
|
+
</div>
|
1952
|
+
</div>
|
1953
|
+
</div>
|
1954
|
+
<div class="col-md-4 col-sm-4 col-xs-12">
|
1955
|
+
<div class="card mb-3" style="max-width: 20rem;">
|
1956
|
+
<div class="card-header text-white bg-danger">
|
1957
|
+
<h3 class="notoc">Header</h3>
|
1958
|
+
</div>
|
1959
|
+
<div class="card-body">
|
1960
|
+
<h4 class="card-title notoc">Danger card title</h4>
|
1961
|
+
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
|
1962
|
+
</div>
|
1963
|
+
<div class="card-footer r-text-200">
|
1964
|
+
<a class="card-link bs-danger font-weight-bold g-font-size-12 text-uppercase"
|
1965
|
+
href="javascript:(void)">Action · Footer Link
|
1966
|
+
</a>
|
1967
|
+
</div>
|
1968
|
+
</div>
|
1969
|
+
</div>
|
1970
|
+
</div>
|
1971
|
+
|
1972
|
+
<div class="row">
|
1973
|
+
<div class="col-md-4 col-sm-4 col-xs-12">
|
1974
|
+
<div class="card mb-3" style="max-width: 20rem;">
|
1975
|
+
<h3 class="card-header notoc">Header</h3>
|
1976
|
+
<img style="height: 200px; width: 100%; display: block;" src="data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%22318%22%20height%3D%22180%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20318%20180%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%23holder_158bd1d28ef%20text%20%7B%20fill%3Argba(255%2C255%2C255%2C.75)%3Bfont-weight%3Anormal%3Bfont-family%3AHelvetica%2C%20monospace%3Bfont-size%3A16pt%20%7D%20%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg%20id%3D%22holder_158bd1d28ef%22%3E%3Crect%20width%3D%22318%22%20height%3D%22180%22%20fill%3D%22%23777%22%3E%3C%2Frect%3E%3Cg%3E%3Ctext%20x%3D%22129.359375%22%20y%3D%2297.35%22%3EImage%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E" alt="Card image">
|
1977
|
+
<div class="card-body">
|
1978
|
+
<h5 class="card-title notoc">Special title treatment</h5>
|
1979
|
+
<h6 class="card-subtitle text-muted notoc">Support card subtitle</h6>
|
1980
|
+
</div>
|
1981
|
+
|
1982
|
+
<div class="card-body">
|
1983
|
+
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
|
1984
|
+
</div>
|
1985
|
+
|
1986
|
+
<div class="card-body">
|
1987
|
+
<a href="javascript:(void)" class="card-link">Card link</a>
|
1988
|
+
<a href="javascript:(void)" class="card-link">Another link</a>
|
1989
|
+
</div>
|
1990
|
+
<div class="card-footer text-muted">
|
1991
|
+
2 days ago
|
1992
|
+
</div>
|
1993
|
+
</div>
|
1994
|
+
</div>
|
1995
|
+
</div>
|
1996
|
+
|
1997
|
+
</div>
|
1998
|
+
++++
|
1999
|
+
|
2000
|
+
== Dialogs
|
2001
|
+
|
2002
|
+
Dialogs are important, interactive UI (user interface) components in Bootstrap
|
2003
|
+
to *inform* visitor of an website.
|
2004
|
+
|
2005
|
+
=== Modals
|
2006
|
+
|
2007
|
+
Use Bootstrap’s JavaScript modal plugin to add dialogs to your site for
|
2008
|
+
lightboxes, user notifications, or completely custom content. Modals are
|
2009
|
+
built with HTML, CSS, and JavaScript. They’re positioned over everything
|
2010
|
+
else in the document and remove scroll from the <body> so that modal
|
2011
|
+
content scrolls instead.
|
2012
|
+
|
2013
|
+
mdi:bootstrap[24px, mdi-md-deep-purple]
|
2014
|
+
link:{url-bs-docs--components-modal}[Bootstrap Docs {char-middot} Modal, {browser-window--new}]
|
2015
|
+
|
2016
|
+
.Modal types
|
2017
|
+
[cols="2a,8a,2a", options="header", width="100%", role="rtable"]
|
2018
|
+
|===============================================================================
|
2019
|
+
|Type |Description |Launch Example
|
2020
|
+
|
2021
|
+
|*Base*
|
2022
|
+
|Lauch the modal by clicking the button below. It will slide down and fade in
|
2023
|
+
from the top of the page.
|
2024
|
+
|
|
2025
|
+
++++
|
2026
|
+
<div class="ml-0">
|
2027
|
+
<!-- Button trigger modal -->
|
2028
|
+
<button type="button"
|
2029
|
+
class="btn btn-primary btn-raised"
|
2030
|
+
data-toggle="modal"
|
2031
|
+
data-target="#exampleSimpleModal">
|
2032
|
+
Launch Example
|
2033
|
+
</button>
|
2034
|
+
</div>
|
2035
|
+
|
2036
|
+
<!-- Modal -->
|
2037
|
+
<div id="exampleSimpleModal"
|
2038
|
+
class="modal fade top"
|
2039
|
+
tabindex="-1"
|
2040
|
+
role="dialog"
|
2041
|
+
aria-labelledby="exampleSimpleModalLabel" aria-hidden="true">
|
2042
|
+
<div class="modal-dialog">
|
2043
|
+
<div class="modal-content">
|
2044
|
+
<div class="modal-header">
|
2045
|
+
<h5 id="exampleSimpleModalLabel" class="modal-title notoc">Modal title</h5>
|
2046
|
+
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
2047
|
+
<span aria-hidden="true">×</span>
|
2048
|
+
</button>
|
2049
|
+
</div>
|
2050
|
+
<div class="modal-body">
|
2051
|
+
<p>Modal body text goes here.</p>
|
2052
|
+
</div>
|
2053
|
+
<div class="modal-footer">
|
2054
|
+
<button type="button" class="btn btn-primary btn-flex btn-raised mr-2">Do nothing</button>
|
2055
|
+
<button type="button" class="btn btn-secondary btn-flex btn-raised" data-dismiss="modal">Close</button>
|
2056
|
+
</div>
|
2057
|
+
</div>
|
2058
|
+
</div>
|
2059
|
+
</div>
|
2060
|
+
++++
|
2061
|
+
|
2062
|
+
|*Static backdrop*
|
2063
|
+
|This model is set to *static* and is will *not* close when clicking outside
|
2064
|
+
it (the backdrop).
|
2065
|
+
|
|
2066
|
+
++++
|
2067
|
+
<div class="ml-0">
|
2068
|
+
<!-- Button trigger modal -->
|
2069
|
+
<button type="button"
|
2070
|
+
class="btn btn-primary btn-raised"
|
2071
|
+
data-toggle="modal"
|
2072
|
+
data-target="#exampleStaticModal">
|
2073
|
+
Launch Example
|
2074
|
+
</button>
|
2075
|
+
</div>
|
2076
|
+
|
2077
|
+
<!-- Modal -->
|
2078
|
+
<div id="exampleStaticModal"
|
2079
|
+
class="modal fade"
|
2080
|
+
tabindex="-1"
|
2081
|
+
role="dialog"
|
2082
|
+
aria-labelledby="exampleStaticModalLabel" aria-hidden="true"
|
2083
|
+
data-keyboard="false"
|
2084
|
+
data-backdrop="static">
|
2085
|
+
<div class="modal-dialog">
|
2086
|
+
<div class="modal-content">
|
2087
|
+
<div class="modal-header">
|
2088
|
+
<h5 id="exampleStatcModalLabel" class="modal-title notoc">Modal title</h5>
|
2089
|
+
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
2090
|
+
<span aria-hidden="true">×</span>
|
2091
|
+
</button>
|
2092
|
+
</div>
|
2093
|
+
<div class="modal-body">
|
2094
|
+
<p>Modal body text goes here.</p>
|
2095
|
+
</div>
|
2096
|
+
<div class="modal-footer">
|
2097
|
+
<button type="button" class="btn btn-primary btn-flex btn-raised mr-2">Do nothing</button>
|
2098
|
+
<button type="button" class="btn btn-secondary btn-flex btn-raised" data-dismiss="modal">Close</button>
|
2099
|
+
</div>
|
2100
|
+
</div>
|
2101
|
+
</div>
|
2102
|
+
</div>
|
2103
|
+
++++
|
2104
|
+
|
2105
|
+
|*Scrolling long content*
|
2106
|
+
|When modals become too long for the user’s viewport or device, they scroll
|
2107
|
+
independent of the page itself. Try the demo and resize your browser for
|
2108
|
+
the height.
|
2109
|
+
|
|
2110
|
+
++++
|
2111
|
+
<div class="ml-0">
|
2112
|
+
<!-- Button trigger modal -->
|
2113
|
+
<button type="button"
|
2114
|
+
class="btn btn-primary btn-raised"
|
2115
|
+
data-toggle="modal"
|
2116
|
+
data-target="#exampleModalLong">
|
2117
|
+
Launch Example
|
2118
|
+
</button>
|
2119
|
+
</div>
|
2120
|
+
|
2121
|
+
<!-- Modal -->
|
2122
|
+
<div
|
2123
|
+
id="exampleModalLong"
|
2124
|
+
class="modal fade"
|
2125
|
+
tabindex="-1"
|
2126
|
+
role="dialog"
|
2127
|
+
aria-labelledby="exampleModalLongTitle" aria-hidden="true">
|
2128
|
+
<div class="modal-dialog">
|
2129
|
+
<div class="modal-content">
|
2130
|
+
<div class="modal-header">
|
2131
|
+
<h5 id="exampleModalLongTitle" class="modal-title notoc">The Extremes of Good and Evil</h5>
|
2132
|
+
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
2133
|
+
<span aria-hidden="true">×</span>
|
2134
|
+
</button>
|
2135
|
+
</div>
|
2136
|
+
<div class="modal-body">
|
2137
|
+
<p>
|
2138
|
+
On the other hand, we denounce with righteous indignation and dislike men who
|
2139
|
+
are so beguiled and demoralized by the charms of pleasure of the moment, so
|
2140
|
+
blinded by desire, that they cannot foresee the pain and trouble that are
|
2141
|
+
bound to ensue; and equal blame belongs to those who fail in their duty through
|
2142
|
+
weakness of will, which is the same as saying through shrinking from toil and pain.
|
2143
|
+
</p>
|
2144
|
+
<p>
|
2145
|
+
These cases are perfectly simple and easy to distinguish. In a free hour, when
|
2146
|
+
our power of choice is untrammelled and when nothing prevents our being able to
|
2147
|
+
do what we like best, every pleasure is to be welcomed and every pain avoided.
|
2148
|
+
But in certain circumstances and owing to the claims of duty or the obligations
|
2149
|
+
of business is will frequently occur that pleasures have to be repudiated and
|
2150
|
+
annoyances accepted. The wise man therefore always holds in these matters to
|
2151
|
+
this principle of selection: he rejects pleasures to secure other greater
|
2152
|
+
pleasures, or else he endures pains to avoid worse pains.
|
2153
|
+
</p>
|
2154
|
+
<p>
|
2155
|
+
On the other hand, we denounce with righteous indignation and dislike men who
|
2156
|
+
are so beguiled and demoralized by the charms of pleasure of the moment, so
|
2157
|
+
blinded by desire, that they cannot foresee the pain and trouble that are
|
2158
|
+
bound to ensue; and equal blame belongs to those who fail in their duty through
|
2159
|
+
weakness of will, which is the same as saying through shrinking from toil and pain.
|
2160
|
+
</p>
|
2161
|
+
<p>
|
2162
|
+
These cases are perfectly simple and easy to distinguish. In a free hour, when
|
2163
|
+
our power of choice is untrammelled and when nothing prevents our being able to
|
2164
|
+
do what we like best, every pleasure is to be welcomed and every pain avoided.
|
2165
|
+
But in certain circumstances and owing to the claims of duty or the obligations
|
2166
|
+
of business is will frequently occur that pleasures have to be repudiated and
|
2167
|
+
annoyances accepted. The wise man therefore always holds in these matters to
|
2168
|
+
this principle of selection: he rejects pleasures to secure other greater
|
2169
|
+
pleasures, or else he endures pains to avoid worse pains.
|
2170
|
+
</p>
|
2171
|
+
</div>
|
2172
|
+
<div class="modal-footer">
|
2173
|
+
<button type="button" class="btn btn-primary btn-flex btn-raised mr-2">Do nothing</button>
|
2174
|
+
<button type="button" class="btn btn-secondary btn-flex btn-raised" data-dismiss="modal">Close</button>
|
2175
|
+
</div>
|
2176
|
+
</div>
|
2177
|
+
</div>
|
2178
|
+
</div>
|
2179
|
+
++++
|
2180
|
+
|
2181
|
+
|*Scrollable long content*
|
2182
|
+
|It#s also possible to create a scrollable modal that allows scroll the
|
2183
|
+
modal body. Try the demo and scroll the content.
|
2184
|
+
|
|
2185
|
+
++++
|
2186
|
+
<div class="ml-0">
|
2187
|
+
<!-- Button trigger modal -->
|
2188
|
+
<button type="button"
|
2189
|
+
class="btn btn-primary btn-raised"
|
2190
|
+
data-toggle="modal"
|
2191
|
+
data-target="#exampleModalLongScrollable">
|
2192
|
+
Launch Example
|
2193
|
+
</button>
|
2194
|
+
</div>
|
2195
|
+
|
2196
|
+
<!-- Modal -->
|
2197
|
+
<div
|
2198
|
+
id="exampleModalLongScrollable"
|
2199
|
+
class="modal fade"
|
2200
|
+
tabindex="-1"
|
2201
|
+
role="dialog"
|
2202
|
+
aria-labelledby="exampleModalLongScrollableTitle" aria-hidden="true">
|
2203
|
+
<div class="modal-dialog modal-dialog-scrollable">
|
2204
|
+
<div class="modal-content">
|
2205
|
+
<div class="modal-header">
|
2206
|
+
<h5 id="exampleModalLongScrollableTitle" class="modal-title notoc">The Extremes of Good and Evil</h5>
|
2207
|
+
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
2208
|
+
<span aria-hidden="true">×</span>
|
2209
|
+
</button>
|
2210
|
+
</div>
|
2211
|
+
<div class="modal-body">
|
2212
|
+
<p>
|
2213
|
+
On the other hand, we denounce with righteous indignation and dislike men who
|
2214
|
+
are so beguiled and demoralized by the charms of pleasure of the moment, so
|
2215
|
+
blinded by desire, that they cannot foresee the pain and trouble that are
|
2216
|
+
bound to ensue; and equal blame belongs to those who fail in their duty through
|
2217
|
+
weakness of will, which is the same as saying through shrinking from toil and pain.
|
2218
|
+
</p>
|
2219
|
+
<p>
|
2220
|
+
These cases are perfectly simple and easy to distinguish. In a free hour, when
|
2221
|
+
our power of choice is untrammelled and when nothing prevents our being able to
|
2222
|
+
do what we like best, every pleasure is to be welcomed and every pain avoided.
|
2223
|
+
But in certain circumstances and owing to the claims of duty or the obligations
|
2224
|
+
of business is will frequently occur that pleasures have to be repudiated and
|
2225
|
+
annoyances accepted. The wise man therefore always holds in these matters to
|
2226
|
+
this principle of selection: he rejects pleasures to secure other greater
|
2227
|
+
pleasures, or else he endures pains to avoid worse pains.
|
2228
|
+
</p>
|
2229
|
+
<p>
|
2230
|
+
On the other hand, we denounce with righteous indignation and dislike men who
|
2231
|
+
are so beguiled and demoralized by the charms of pleasure of the moment, so
|
2232
|
+
blinded by desire, that they cannot foresee the pain and trouble that are
|
2233
|
+
bound to ensue; and equal blame belongs to those who fail in their duty through
|
2234
|
+
weakness of will, which is the same as saying through shrinking from toil and pain.
|
2235
|
+
</p>
|
2236
|
+
<p>
|
2237
|
+
These cases are perfectly simple and easy to distinguish. In a free hour, when
|
2238
|
+
our power of choice is untrammelled and when nothing prevents our being able to
|
2239
|
+
do what we like best, every pleasure is to be welcomed and every pain avoided.
|
2240
|
+
But in certain circumstances and owing to the claims of duty or the obligations
|
2241
|
+
of business is will frequently occur that pleasures have to be repudiated and
|
2242
|
+
annoyances accepted. The wise man therefore always holds in these matters to
|
2243
|
+
this principle of selection: he rejects pleasures to secure other greater
|
2244
|
+
pleasures, or else he endures pains to avoid worse pains.
|
2245
|
+
</p>
|
2246
|
+
</div>
|
2247
|
+
<div class="modal-footer">
|
2248
|
+
<button type="button" class="btn btn-primary btn-flex btn-raised mr-2">Do nothing</button>
|
2249
|
+
<button type="button" class="btn btn-secondary btn-flex btn-raised" data-dismiss="modal">Close</button>
|
2250
|
+
</div>
|
2251
|
+
</div>
|
2252
|
+
</div>
|
2253
|
+
</div>
|
2254
|
+
++++
|
2255
|
+
|
2256
|
+
|*Vertically centered*
|
2257
|
+
|For important messages, center the modal.
|
2258
|
+
|
|
2259
|
+
++++
|
2260
|
+
<div class="ml-0">
|
2261
|
+
<!-- Button trigger modal -->
|
2262
|
+
<button type="button"
|
2263
|
+
class="btn btn-primary btn-raised"
|
2264
|
+
data-toggle="modal" data-target="#exampleModalVerticalCenter">
|
2265
|
+
Launch Example
|
2266
|
+
</button>
|
2267
|
+
</div>
|
2268
|
+
|
2269
|
+
<!-- Modal -->
|
2270
|
+
<div id="exampleModalVerticalCenter"
|
2271
|
+
class="modal fade"
|
2272
|
+
tabindex="-1"
|
2273
|
+
role="dialog"
|
2274
|
+
aria-labelledby="exampleModalVerticalCenterTitle" aria-hidden="true">
|
2275
|
+
<div class="modal-dialog modal-dialog-centered">
|
2276
|
+
<div class="modal-content">
|
2277
|
+
<div class="modal-header">
|
2278
|
+
<h5 id="exampleModalVerticalCenterTitle" class="modal-title notoc">Modal title</h5>
|
2279
|
+
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
2280
|
+
<span aria-hidden="true">×</span>
|
2281
|
+
</button>
|
2282
|
+
</div>
|
2283
|
+
<div class="modal-body">
|
2284
|
+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
|
2285
|
+
eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
|
2286
|
+
voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
|
2287
|
+
</div>
|
2288
|
+
<div class="modal-footer">
|
2289
|
+
<button type="button" class="btn btn-primary btn-flex btn-raised mr-2">Do nothing</button>
|
2290
|
+
<button type="button" class="btn btn-secondary btn-flex btn-raised" data-dismiss="modal">Close</button>
|
2291
|
+
</div>
|
2292
|
+
</div>
|
2293
|
+
</div>
|
2294
|
+
</div>
|
2295
|
+
++++
|
2296
|
+
|
2297
|
+
|*Tooltips and Popovers*
|
2298
|
+
|Tooltips and popovers can be placed within modals as needed. When modals are
|
2299
|
+
closed, any tooltips and popovers within are also automatically dismissed.
|
2300
|
+
|
|
2301
|
+
++++
|
2302
|
+
<div class="ml-0">
|
2303
|
+
<!-- Button trigger modal -->
|
2304
|
+
<button type="button"
|
2305
|
+
class="btn btn-primary btn-raised"
|
2306
|
+
data-toggle="modal"
|
2307
|
+
data-target="#exampleModalTooltip">
|
2308
|
+
Launch Example
|
2309
|
+
</button>
|
2310
|
+
</div>
|
2311
|
+
|
2312
|
+
<!-- Modal -->
|
2313
|
+
<div id="exampleModalTooltip"
|
2314
|
+
class="modal fade"
|
2315
|
+
tabindex="-1"
|
2316
|
+
role="dialog"
|
2317
|
+
aria-labelledby="exampleModalTooltipTitle" aria-hidden="true">
|
2318
|
+
<div class="modal-dialog modal-dialog-centered">
|
2319
|
+
<div class="modal-content">
|
2320
|
+
<div class="modal-header">
|
2321
|
+
<h5 id="exampleModalTooltipTitle" class="modal-title notoc">Modal title</h5>
|
2322
|
+
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
2323
|
+
<span aria-hidden="true">×</span>
|
2324
|
+
</button>
|
2325
|
+
</div>
|
2326
|
+
<div class="modal-body">
|
2327
|
+
<h5 class="notoc">Popover in a modal</h5>
|
2328
|
+
<p>This <a href="#" role="button" class="btn btn-primary btn-raised popover-test" data-toggle="popover" title="Popover title" data-content="Popover body content is set in this attribute.">button</a> triggers a popover on hover or click.</p>
|
2329
|
+
<hr>
|
2330
|
+
<h5 class="notoc">Tooltips in a modal</h5>
|
2331
|
+
<p><a href="javascript:(void)" class="tooltip-test" data-toggle="tooltip" title="Tooltip">This link</a> and <a href="#" class="tooltip-test" data-toggle="tooltip" title="Tooltip">that link</a> have tooltips on hover.</p>
|
2332
|
+
</div>
|
2333
|
+
<div class="modal-footer">
|
2334
|
+
<button type="button" class="btn btn-primary btn-flex btn-raised mr-2">Do nothing</button>
|
2335
|
+
<button type="button" class="btn btn-secondary btn-flex btn-raised" data-dismiss="modal">Close</button>
|
2336
|
+
</div>
|
2337
|
+
</div>
|
2338
|
+
</div>
|
2339
|
+
</div>
|
2340
|
+
++++
|
2341
|
+
|===============================================================================
|
2342
|
+
|
2343
|
+
.Base Modal example
|
2344
|
+
[source, html, role="noclip"]
|
2345
|
+
----
|
2346
|
+
<!-- Trigger Button (modal) -->
|
2347
|
+
<div class="ml-0">
|
2348
|
+
<button type="button"
|
2349
|
+
class="btn btn-primary btn-raised"
|
2350
|
+
data-toggle="modal"
|
2351
|
+
data-target="#exampleSimpleModal">
|
2352
|
+
Launch Example
|
2353
|
+
</button>
|
2354
|
+
</div>
|
2355
|
+
|
2356
|
+
<!-- Modal -->
|
2357
|
+
<div id="exampleSimpleModal"
|
2358
|
+
class="modal fade top"
|
2359
|
+
tabindex="-1"
|
2360
|
+
role="dialog"
|
2361
|
+
aria-labelledby="exampleSimpleModalLabel"
|
2362
|
+
aria-hidden="true">
|
2363
|
+
<div class="modal-dialog">
|
2364
|
+
<div class="modal-content">
|
2365
|
+
<div class="modal-header">
|
2366
|
+
<h5 id="exampleSimpleModalLabel" class="modal-title notoc">Modal title</h5>
|
2367
|
+
<button
|
2368
|
+
type="button"
|
2369
|
+
class="close"
|
2370
|
+
data-dismiss="modal"
|
2371
|
+
aria-label="Close">
|
2372
|
+
<span aria-hidden="true">×</span>
|
2373
|
+
</button>
|
2374
|
+
</div>
|
2375
|
+
<div class="modal-body">
|
2376
|
+
<p>Modal body text goes here.</p>
|
2377
|
+
</div>
|
2378
|
+
<div class="modal-footer">
|
2379
|
+
<button type="button"
|
2380
|
+
class="btn btn-primary btn-flex btn-raised mr-2"> Do nothing
|
2381
|
+
</button>
|
2382
|
+
<button
|
2383
|
+
type="button"
|
2384
|
+
class="btn btn-secondary btn-flex btn-raised"
|
2385
|
+
data-dismiss="modal"> Close
|
2386
|
+
</button>
|
2387
|
+
</div>
|
2388
|
+
</div>
|
2389
|
+
</div>
|
2390
|
+
</div>
|
2391
|
+
----
|
2392
|
+
|
2393
|
+
=== Popovers and Tooltips
|
2394
|
+
|
2395
|
+
Popovers and Tooltips rely on the 3rd party library __Popper.js__ for positioning.
|
2396
|
+
To make them properly positioned, the Javascript library `popper.min.js` has to
|
2397
|
+
be included before `bootstrap.js` in order to make popovers and tooltips to work.
|
2398
|
+
|
2399
|
+
mdi:bootstrap[24px, mdi-md-deep-purple]
|
2400
|
+
link:{url-bs-docs--components-popovers}[Bootstrap Docs {char-middot} Popovers, {browser-window--new}]
|
2401
|
+
|
2402
|
+
mdi:bootstrap[24px, mdi-md-deep-purple]
|
2403
|
+
link:{url-bs-docs--components-tooltips}[Bootstrap Docs {char-middot} Tooltips, {browser-window--new}]
|
2404
|
+
|
2405
|
+
NOTE: Popovers and Tooltips require the BS tooltip plugin as a dependency.
|
2406
|
+
|
2407
|
+
++++
|
2408
|
+
<div class="doc-example mb-3">
|
2409
|
+
<div class="row mb-5">
|
2410
|
+
<div class="col-md-6">
|
2411
|
+
<h5 class="mb-5 notoc">Popovers</h5>
|
2412
|
+
<button type="button" class="btn btn-primary btn-raised" title="Popover Title" data-container="body" data-toggle="popover" data-placement="top" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">Top</button>
|
2413
|
+
<button type="button" class="btn btn-primary btn-raised" title="Popover Title" data-container="body" data-toggle="popover" data-placement="bottom" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">Bottom</button>
|
2414
|
+
<button type="button" class="btn btn-primary btn-raised" title="Popover Title" data-container="body" data-toggle="popover" data-placement="right" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">Right</button>
|
2415
|
+
<button type="button" class="btn btn-primary btn-raised" title="Popover Title" data-container="body" data-toggle="popover" data-placement="left" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">Left</button>
|
2416
|
+
</div>
|
2417
|
+
<div class="col-md-6">
|
2418
|
+
<h5 class="mb-5 notoc">Tooltips</h5>
|
2419
|
+
<button type="button" class="btn btn-primary btn-raised" data-toggle="tooltip" data-placement="top" title="Tooltip on top">Top</button>
|
2420
|
+
<button type="button" class="btn btn-primary btn-raised" data-toggle="tooltip" data-placement="bottom" title="Tooltip on bottom">Bottom</button>
|
2421
|
+
<button type="button" class="btn btn-primary btn-raised" data-toggle="tooltip" data-placement="right" title="Tooltip on right">Right</button>
|
2422
|
+
<button type="button" class="btn btn-primary btn-raised" data-toggle="tooltip" data-placement="left" title="Tooltip on left">Left</button>
|
2423
|
+
</div>
|
2424
|
+
</div>
|
2425
|
+
</div>
|
2426
|
+
++++
|
2427
|
+
|
2428
|
+
.Example for Popovers and Tooltips
|
2429
|
+
[source, html, role="noclip"]
|
2430
|
+
----
|
2431
|
+
<div class="row mb-5">
|
2432
|
+
<div class="col-md-6">
|
2433
|
+
<h5 class="mb-5 notoc">Popovers</h5>
|
2434
|
+
<button type="button" class="btn btn-primary btn-raised"
|
2435
|
+
title="Popover Title" data-container="body"
|
2436
|
+
data-toggle="popover" data-placement="top"
|
2437
|
+
data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">Top
|
2438
|
+
</button>
|
2439
|
+
...
|
2440
|
+
</div>
|
2441
|
+
<div class="col-md-6">
|
2442
|
+
<h5 class="mb-5 notoc">Tooltips</h5>
|
2443
|
+
<button type="button" class="btn btn-primary btn-raised"
|
2444
|
+
data-toggle="tooltip" data-placement="top"
|
2445
|
+
title="Tooltip on top">Top
|
2446
|
+
</button>
|
2447
|
+
...
|
2448
|
+
</div>
|
2449
|
+
</div>
|
2450
|
+
----
|