j1-template 2023.7.0 → 2023.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/modules/searcher/procedures/topsearch.proc +2 -1
- data/_includes/themes/j1/procedures/global/create_bs_button.proc +0 -1
- data/_includes/themes/j1/procedures/global/create_word_cloud.proc +3 -2
- data/_includes/themes/j1/procedures/global/date-german.proc +2 -7
- data/_includes/themes/j1/procedures/global/get_category.proc +13 -19
- data/_includes/themes/j1/procedures/global/get_category_item.proc +29 -33
- data/_includes/themes/j1/procedures/global/get_documents_dir.proc +8 -8
- data/_includes/themes/j1/procedures/global/get_page_url.proc +9 -14
- data/_includes/themes/j1/procedures/global/select_color.proc +12 -17
- data/_includes/themes/j1/procedures/global/select_font_size.proc +31 -35
- data/_includes/themes/j1/procedures/global/select_icon_size.proc +38 -40
- data/_includes/themes/j1/procedures/global/select_location.proc +56 -59
- data/_includes/themes/j1/procedures/global/set_base_vars_folders.proc +2 -4
- data/_includes/themes/j1/procedures/global/set_image_block.proc +4 -2
- data/_includes/themes/j1/procedures/global/setup.proc +8 -3
- data/assets/data/masonry.html +13 -13
- data/assets/themes/j1/adapter/js/masterslider.js +2 -1
- data/assets/themes/j1/adapter/js/slick.js +13 -10
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +70 -0
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +1339 -3
- data/assets/themes/j1/core/js/template.min.js +7 -7
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/carousel/css/theme/uno.css +5 -0
- data/assets/themes/j1/modules/carousel/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/modules/masonry/css/theme/readme +1 -0
- data/assets/themes/j1/modules/masterslider/css/theme/uno.css +2 -3
- data/assets/themes/j1/modules/masterslider/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/modules/slick/lightbox/css/theme/uno.css +13 -2
- data/assets/themes/j1/modules/slick/lightbox/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/modules/slick/lightbox/js/slick-lightbox.js +373 -347
- data/assets/themes/j1/modules/slick/slider/css/theme/uno.css +20 -51
- data/assets/themes/j1/modules/slick/slider/css/theme/uno.min.css +2 -2
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +2 -2
- data/lib/starter_web/README.md +5 -5
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/blocks/banner.yml +8 -9
- data/lib/starter_web/_data/blocks/footer.yml +3 -3
- data/lib/starter_web/_data/modules/masonry.yml +9 -1
- data/lib/starter_web/_data/modules/masterslider.yml +69 -116
- data/lib/starter_web/_data/modules/navigator_menu.yml +58 -51
- data/lib/starter_web/_data/resources.yml +3 -3
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_includes/attributes.asciidoc +1 -0
- data/lib/starter_web/_plugins/asciidoctor/callout.rb +2 -2
- data/lib/starter_web/_plugins/asciidoctor/masterslider-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/slick-block.rb +1 -1
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/assets/images/collections/books/biography/a_life_in_questions.jpg +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +5 -5
- data/lib/starter_web/index.html +6 -6
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +0 -1
- data/lib/starter_web/pages/public/tools/previewer/preview_bootstrap_theme.adoc +148 -140
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +3 -75
- data/assets/themes/j1/modules/carousel/js/carousel.js +0 -1517
- data/assets/themes/j1/modules/carousel/js/carousel.min.js +0 -57
- data/assets/themes/j1/modules/masonry/css/theme/uno.css +0 -35
- data/assets/themes/j1/modules/masonry/css/theme/uno.min.css +0 -15
- data/assets/themes/j1/modules/speak2me/LICENSE +0 -21
- data/assets/themes/j1/modules/speak2me/js/speak2me.js +0 -947
- data/assets/themes/j1/modules/speak2me/js/speak2me.min.js +0 -26
- data/lib/starter_web/_data/modules/buymeacoffee.yml +0 -30
- data/lib/starter_web/_data/modules/defaults/buymeacoffee.yml +0 -30
- data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-restaurant-140x80.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-restaurant.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-single-man-140x80.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-single-man.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-single-woman-140x80.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-single-woman.jpg +0 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/attributes.asciidoc +0 -58
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/accordion.asciidoc +0 -34
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/alerts.asciidoc +0 -15
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/badges.asciidoc +0 -9
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/body.asciidoc +0 -14
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/breadcrumbs.asciidoc +0 -14
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/buttons.asciidoc +0 -75
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/cards.asciidoc +0 -22
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/carousel.asciidoc +0 -37
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/close.asciidoc +0 -15
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/code.asciidoc +0 -14
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/color_system.asciidoc +0 -353
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/components.asciidoc +0 -69
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/dropdowns.asciidoc +0 -53
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/figures.asciidoc +0 -5
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/forms.asciidoc +0 -270
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/grid.asciidoc +0 -49
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/links.asciidoc +0 -21
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/list_groups.asciidoc +0 -28
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/modals.asciidoc +0 -43
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/navbar.asciidoc +0 -45
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/navs.asciidoc +0 -28
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/offcanvas.asciidoc +0 -16
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/options.asciidoc +0 -30
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/pagination.asciidoc +0 -40
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/paragraph.asciidoc +0 -5
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/placeholders.asciidoc +0 -5
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/popovers.asciidoc +0 -28
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/position.asciidoc +0 -8
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/progress_bars.asciidoc +0 -12
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/spacing.asciidoc +0 -14
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/spinners.asciidoc +0 -12
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/tables.asciidoc +0 -55
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/thumbnails.asciidoc +0 -9
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/toasts.asciidoc +0 -18
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/tooltips.asciidoc +0 -28
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/typography.asciidoc +0 -115
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/z_index.asciidoc +0 -26
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/tables/_table.asciidoc +0 -9
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/tables/accordion.asciidoc +0 -87
- data/lib/starter_web/pages/public/learn/bs_sass_variables/bs_sass_variables.adoc +0 -267
- data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/attributes.asciidoc +0 -59
- data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/documents/100_chapter.asciidoc +0 -541
- data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/documents/200_chapter.asciidoc +0 -33
- data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/build_command_options.asciidoc +0 -72
- data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/files_and_folders.asciidoc +0 -66
- data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/global_configuration_options.asciidoc +0 -63
- data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/global_variables.asciidoc +0 -26
- data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/page_variables.asciidoc +0 -54
- data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/serve_command_options.asciidoc +0 -45
- data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/site_variables.asciidoc +0 -59
- data/lib/starter_web/pages/public/learn/core_web_vitals/core_web_vitals.adoc +0 -447
- data/lib/starter_web/pages/public/learn/roundtrip/lunr_search.1.asciidoc +0 -460
- data/lib/starter_web/pages/public/manuals/speak2me.adoc +0 -412
- data/lib/starter_web/pages/public/tools/cheatsheet/gem.adoc +0 -259
- data/lib/starter_web/pages/public/tools/cheatsheet/git.adoc +0 -1462
- data/lib/starter_web/pages/public/tools/cheatsheet/j1.adoc +0 -177
- data/lib/starter_web/pages/public/tools/cheatsheet/yaml.adoc +0 -522
@@ -1,5 +1,6 @@
|
|
1
1
|
---
|
2
2
|
title: Theme Preview
|
3
|
+
title_extention: Preview Bootstrap theme for J1 Template
|
3
4
|
tagline: Explore Current Styles
|
4
5
|
|
5
6
|
date: 2022-12-01
|
@@ -12,6 +13,9 @@ description: >
|
|
12
13
|
Bootstrap are used to customize the appearance
|
13
14
|
of a website based on the basic rules and definitions of
|
14
15
|
Bootstrap's CSS styles.
|
16
|
+
keywords: >
|
17
|
+
Jekyll, JekyllOne, Theme, User Guide, Tool, YAML,
|
18
|
+
Reference
|
15
19
|
|
16
20
|
categories: [ Previewer ]
|
17
21
|
tags: [ Bootstrap, CSS, Theme ]
|
@@ -21,13 +25,15 @@ image:
|
|
21
25
|
width: 1920
|
22
26
|
height: 1280
|
23
27
|
|
28
|
+
tts: true
|
29
|
+
comments: false
|
24
30
|
regenerate: false
|
25
31
|
permalink: /pages/public/tools/previewer/current_theme/
|
26
32
|
|
27
|
-
resources: [ animate, clipboard, rouge ]
|
33
|
+
resources: [ animate, bmd, clipboard, rouge ]
|
28
34
|
resource_options:
|
29
35
|
- toccer:
|
30
|
-
collapseDepth:
|
36
|
+
collapseDepth: 4
|
31
37
|
- attic:
|
32
38
|
slides:
|
33
39
|
- url: /assets/images/modules/attics/themes-1920x1280-bw.jpg
|
@@ -111,11 +117,12 @@ resource_options:
|
|
111
117
|
// Page content
|
112
118
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
113
119
|
[role="dropcap"]
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
120
|
+
J1 Template themes are used for multifunctional Bootstrap V5 websites to
|
121
|
+
create fully responsive web pages. The Template system offers various unique
|
122
|
+
functionalities compared to other Jekyll themes and templates.
|
123
|
+
|
124
|
+
mdi:clock-time-five-outline[24px, md-gray mt-4 mb-5 mr-2]
|
125
|
+
*15-30 Minutes* to read
|
119
126
|
|
120
127
|
// Include sub-documents (if any)
|
121
128
|
// -----------------------------------------------------------------------------
|
@@ -124,13 +131,11 @@ CSS styles.
|
|
124
131
|
<div id="theme" class="document-title row g-0 mt-4 mb-3"></div>
|
125
132
|
++++
|
126
133
|
|
127
|
-
Bootstrap themes are used to customize the appearance of a website
|
128
|
-
on the basic rules and definitions of Bootstrap's
|
129
|
-
change of a theme does not alter the functionality of the underlying
|
130
|
-
framework but modifies, for example, the color scheme, fonts,
|
131
|
-
|
132
|
-
underlying Bootstrap framework but modifies, for example, the color scheme,
|
133
|
-
fonts, or font sizes.
|
134
|
+
Bootstrap themes are used to customize the appearance of a website founded
|
135
|
+
on the basic rules and definitions of Bootstrap's CSS styles. The use or
|
136
|
+
change of a theme does not alter the *functionality* of the underlying
|
137
|
+
Bootstrap framework but modifies, for example, the color scheme, fonts,
|
138
|
+
or font sizes.
|
134
139
|
|
135
140
|
ifeval::[{navbars} == true]
|
136
141
|
[role="mt-5"]
|
@@ -141,12 +146,13 @@ your page for navigation. Bootstrap offers many navigation functions that
|
|
141
146
|
are minimized on smartphones and thus always remain easy to use.
|
142
147
|
|
143
148
|
mdi:bootstrap[18px, mdi-md-deep-purple-400]
|
144
|
-
link:{url-bs-docs--components-navbar}[Bootstrap Docs {char-
|
149
|
+
link:{url-bs-docs--components-navbar}[Bootstrap Docs {char-emdash} Navbar, {browser-window--new}]
|
145
150
|
|
146
151
|
Theming the navbar has never been easier thanks to the combination of
|
147
|
-
theming classes and background-color utilities. Choose from
|
148
|
-
for use with light background colors, or
|
149
|
-
colors. Then, customize with
|
152
|
+
theming classes and background-color utilities. Choose from the navbar light
|
153
|
+
class `.navbar-light` for use with light background colors, or the navbar dark
|
154
|
+
class `.navbar-dark` for dark background colors. Then, customize with the
|
155
|
+
background utilities `.bg-*`.
|
150
156
|
|
151
157
|
++++
|
152
158
|
<div class="doc-example mb-3">
|
@@ -288,6 +294,8 @@ colors. Then, customize with `.bg-*` utilities.
|
|
288
294
|
</div>
|
289
295
|
++++
|
290
296
|
|
297
|
+
[role="mt-5"]
|
298
|
+
.Example HTML code for NAV bars
|
291
299
|
[source, html]
|
292
300
|
----
|
293
301
|
<nav class="navbar navbar-expand-lg navbar-dark bg-primary mb-3">
|
@@ -434,25 +442,25 @@ ifeval::[{buttons} == true]
|
|
434
442
|
Buttons are important visual anchors that encourage visitors to click on
|
435
443
|
them to call up to click on certain pages and offers on a website.
|
436
444
|
Well-designed buttons are usable instead of simple text links. With the use
|
437
|
-
of buttons, a higher visiting rate
|
438
|
-
of a site is achievable.
|
445
|
+
of buttons, a higher visiting rate of important pages of a site is achievable.
|
439
446
|
|
440
447
|
The Bootstrap framework offers different buttons out of the box, which is
|
441
448
|
sufficient for most use cases. Buttons are suitable for the following HTML
|
442
449
|
elements:
|
443
450
|
|
444
|
-
*
|
451
|
+
* Anchor links (anchors)
|
445
452
|
* Form buttons (input)
|
446
453
|
* General buttons (button)
|
447
454
|
|
448
|
-
Defining a standard button in Bootstrap is very simple: assign the CSS
|
449
|
-
`.btn` to an HTML element. The following sections describe
|
450
|
-
types of available buttons and how they are to be defined.
|
455
|
+
Defining a standard button in Bootstrap is very simple: assign the base CSS
|
456
|
+
class for buttons `.btn` to an HTML element. The following sections describe
|
457
|
+
the different types of available buttons and how they are to be defined.
|
451
458
|
|
452
459
|
mdi:bootstrap[18px, mdi-md-deep-purple-400]
|
453
|
-
link:{url-bs-docs--components-buttons}[Bootstrap Docs {char-
|
460
|
+
link:{url-bs-docs--components-buttons}[Bootstrap Docs {char-emdash} Buttons, {browser-window--new}]
|
454
461
|
|
455
462
|
ifeval::[{buttons_active} == true]
|
463
|
+
[role="mt-4"]
|
456
464
|
=== Active buttons
|
457
465
|
|
458
466
|
Active buttons will appear with a darker background and border. If pressed,
|
@@ -472,6 +480,8 @@ a *ripple* effect is shown for feedback.
|
|
472
480
|
</div>
|
473
481
|
++++
|
474
482
|
|
483
|
+
[role="mt-5"]
|
484
|
+
.Example HTML code for Buttons
|
475
485
|
[source, html]
|
476
486
|
----
|
477
487
|
<button type="button" class="btn btn-primary btn-raised">Primary</button>
|
@@ -487,6 +497,7 @@ a *ripple* effect is shown for feedback.
|
|
487
497
|
endif::[]
|
488
498
|
|
489
499
|
ifeval::[{buttons_disabled} == true]
|
500
|
+
[role="mt-4"]
|
490
501
|
=== Disabled buttons
|
491
502
|
|
492
503
|
Buttons look *inactive* by adding the *disabled* boolean attribute to any
|
@@ -506,6 +517,8 @@ Buttons look *inactive* by adding the *disabled* boolean attribute to any
|
|
506
517
|
</div>
|
507
518
|
++++
|
508
519
|
|
520
|
+
[role="mt-5"]
|
521
|
+
.Example HTML code for disabled Buttons
|
509
522
|
[source, html]
|
510
523
|
----
|
511
524
|
<button type="button" class="btn btn-primary disabled">Primary</button>
|
@@ -521,11 +534,12 @@ Buttons look *inactive* by adding the *disabled* boolean attribute to any
|
|
521
534
|
endif::[]
|
522
535
|
|
523
536
|
ifeval::[{buttons_outline} == true]
|
537
|
+
[role="mt-4"]
|
524
538
|
=== Outline buttons
|
525
539
|
|
526
540
|
In need of a button, but not a hefty background color they bring? Replace
|
527
|
-
the default modifier with the
|
528
|
-
background images and colors on any button.
|
541
|
+
the default modifier with the button outline classes `.btn-outline-*` to
|
542
|
+
remove all background images and colors on any button.
|
529
543
|
|
530
544
|
++++
|
531
545
|
<div class="doc-example mb-3">
|
@@ -541,6 +555,8 @@ background images and colors on any button.
|
|
541
555
|
</div>
|
542
556
|
++++
|
543
557
|
|
558
|
+
[role="mt-5"]
|
559
|
+
.Example HTML code for outline Buttons
|
544
560
|
[source, html]
|
545
561
|
----
|
546
562
|
<button type="button" class="btn btn-outline-primary">Primary</button>
|
@@ -556,6 +572,7 @@ background images and colors on any button.
|
|
556
572
|
endif::[]
|
557
573
|
|
558
574
|
ifeval::[{buttons_dropdown} == true]
|
575
|
+
[role="mt-4"]
|
559
576
|
=== Dropdown buttons
|
560
577
|
|
561
578
|
In need of a button having a little menu, buttons with a (nested)
|
@@ -617,6 +634,8 @@ In need of a button having a little menu, buttons with a (nested)
|
|
617
634
|
</div>
|
618
635
|
++++
|
619
636
|
|
637
|
+
[role="mt-5"]
|
638
|
+
.Example HTML code for a group of Buttons
|
620
639
|
[source, html]
|
621
640
|
----
|
622
641
|
<div class="btn-group" role="group" aria-label="Button group with nested dropdown">
|
@@ -639,6 +658,7 @@ endif::[]
|
|
639
658
|
|
640
659
|
|
641
660
|
ifeval::[{buttons_flat} == true]
|
661
|
+
[role="mt-4"]
|
642
662
|
=== Flat buttons
|
643
663
|
|
644
664
|
*Flat* buttons are text-only buttons. They may be used in dialogs, toolbars,
|
@@ -657,6 +677,8 @@ on press.
|
|
657
677
|
</div>
|
658
678
|
++++
|
659
679
|
|
680
|
+
[role="mt-5"]
|
681
|
+
.Example HTML code for flat Buttons
|
660
682
|
[source, html]
|
661
683
|
----
|
662
684
|
<button type="button" class="btn btn-primary">Primary</button>
|
@@ -670,6 +692,7 @@ on press.
|
|
670
692
|
endif::[]
|
671
693
|
|
672
694
|
ifeval::[{buttons_sizes} == true]
|
695
|
+
[role="mt-4"]
|
673
696
|
=== Button sizes
|
674
697
|
|
675
698
|
Beside the *default* size, small and large buttons are available.
|
@@ -682,6 +705,8 @@ Beside the *default* size, small and large buttons are available.
|
|
682
705
|
</div>
|
683
706
|
++++
|
684
707
|
|
708
|
+
[role="mt-5"]
|
709
|
+
.Example HTML code for Button sizes
|
685
710
|
[source, html]
|
686
711
|
----
|
687
712
|
<button type="button" class="btn btn-primary btn-raised btn-lg">Large button</button>
|
@@ -691,6 +716,7 @@ Beside the *default* size, small and large buttons are available.
|
|
691
716
|
endif::[]
|
692
717
|
|
693
718
|
ifeval::[{buttons_pulsed} == true]
|
719
|
+
[role="mt-4"]
|
694
720
|
=== Pulsed button
|
695
721
|
|
696
722
|
Draw attention to a button, e.g for a *recommended* action.
|
@@ -701,6 +727,8 @@ Draw attention to a button, e.g for a *recommended* action.
|
|
701
727
|
</div>
|
702
728
|
++++
|
703
729
|
|
730
|
+
[role="mt-5"]
|
731
|
+
.Example HTML code for a pulsed Button
|
704
732
|
[source, html]
|
705
733
|
----
|
706
734
|
<button type="button" class="btn btn-primary btn-raised pulsed-z2">Primary</button>
|
@@ -708,6 +736,7 @@ Draw attention to a button, e.g for a *recommended* action.
|
|
708
736
|
endif::[]
|
709
737
|
|
710
738
|
ifeval::[{buttons_blocklevel} == true]
|
739
|
+
[role="mt-4"]
|
711
740
|
=== Block level button
|
712
741
|
|
713
742
|
Create responsive stacks of full-width *block buttons* like those in BS@4
|
@@ -724,6 +753,8 @@ and responsive behaviors.
|
|
724
753
|
</div>
|
725
754
|
++++
|
726
755
|
|
756
|
+
[role="mt-5"]
|
757
|
+
.Example HTML code for block level Buttons
|
727
758
|
[source, html]
|
728
759
|
----
|
729
760
|
<div class="d-grid gap-2">
|
@@ -743,6 +774,7 @@ These selection elements *replace* the default Bootstrap **toggle**-buttons
|
|
743
774
|
for a better *style*.
|
744
775
|
|
745
776
|
ifeval::[{selections_checkboxes} == true]
|
777
|
+
[role="mt-4"]
|
746
778
|
=== Checkboxes
|
747
779
|
|
748
780
|
Checkboxes are used if you want users to select *any* number of options
|
@@ -777,6 +809,8 @@ from a list of *preset* (available) options.
|
|
777
809
|
</div>
|
778
810
|
++++
|
779
811
|
|
812
|
+
[role="mt-5"]
|
813
|
+
.Example HTML code for Checkboxes
|
780
814
|
[source, html]
|
781
815
|
----
|
782
816
|
<div class="checkbox">
|
@@ -807,6 +841,7 @@ from a list of *preset* (available) options.
|
|
807
841
|
endif::[]
|
808
842
|
|
809
843
|
ifeval::[{selections_radio_buttons} == true]
|
844
|
+
[role="mt-4"]
|
810
845
|
=== Radio buttons
|
811
846
|
|
812
847
|
Radio buttons are used if you want to *limit* users to just *one*
|
@@ -841,6 +876,8 @@ selection from a list of *preset* (available) options.
|
|
841
876
|
</div>
|
842
877
|
++++
|
843
878
|
|
879
|
+
[role="mt-5"]
|
880
|
+
.Example HTML code for Radio Buttons
|
844
881
|
[source, html]
|
845
882
|
----
|
846
883
|
<div class="radio">
|
@@ -871,6 +908,7 @@ selection from a list of *preset* (available) options.
|
|
871
908
|
endif::[]
|
872
909
|
|
873
910
|
ifeval::[{selections_switches} == true]
|
911
|
+
[role="mt-4"]
|
874
912
|
=== Switches
|
875
913
|
|
876
914
|
You can use an *alternative* to standard J1 checkboxes: the Material Design
|
@@ -906,6 +944,8 @@ to select *any number* of options from a list of *preset* (available) options.
|
|
906
944
|
</div>
|
907
945
|
++++
|
908
946
|
|
947
|
+
[role="mt-5"]
|
948
|
+
.Example HTML code for Switches
|
909
949
|
[source, html]
|
910
950
|
----
|
911
951
|
<div class="switch">
|
@@ -936,6 +976,7 @@ to select *any number* of options from a list of *preset* (available) options.
|
|
936
976
|
endif::[]
|
937
977
|
|
938
978
|
ifeval::[{fab} == true]
|
979
|
+
[role="mt-4"]
|
939
980
|
=== Floating Action Button (FAB)
|
940
981
|
|
941
982
|
Floating Action Buttons are adopted navigation elements from mobile devices
|
@@ -944,7 +985,7 @@ buttons (FABs) for the web typically provide *additional* actions for a page,
|
|
944
985
|
for example, in-page navigation.
|
945
986
|
|
946
987
|
mdi:bootstrap[18px, mdi-md-deep-purple-400]
|
947
|
-
https://material.io/components/buttons-floating-action-button/android#using-fabs[Google Material Design {char-
|
988
|
+
https://material.io/components/buttons-floating-action-button/android#using-fabs[Google Material Design {char-emdash} Floating action buttons, {browser-window--new}]
|
948
989
|
|
949
990
|
++++
|
950
991
|
<div class="doc-example mt-2 mb-4">
|
@@ -954,6 +995,8 @@ https://material.io/components/buttons-floating-action-button/android#using-fabs
|
|
954
995
|
</div>
|
955
996
|
++++
|
956
997
|
|
998
|
+
[role="mt-5"]
|
999
|
+
.Example HTML code for a Floating Action Button
|
957
1000
|
[source, html]
|
958
1001
|
----
|
959
1002
|
<button type="button" class="btn btn-fab btn-primary" aria-label="fab-button">
|
@@ -965,8 +1008,8 @@ ifeval::[{fab_raised} == true]
|
|
965
1008
|
==== Raised FAB
|
966
1009
|
|
967
1010
|
To put a 3D effect on floating action buttons, buttons can be *raised* by
|
968
|
-
adding the additional CSS
|
969
|
-
raising HTML elements ranging from 0 to 24.
|
1011
|
+
adding the additional CSS classes raised `raised-zX`. J1 supports 25 levels
|
1012
|
+
of raising HTML elements ranging from 0 to 24.
|
970
1013
|
|
971
1014
|
++++
|
972
1015
|
<div class="doc-example mt-2 mb-4">
|
@@ -982,6 +1025,8 @@ raising HTML elements ranging from 0 to 24.
|
|
982
1025
|
</div>
|
983
1026
|
++++
|
984
1027
|
|
1028
|
+
[role="mt-5"]
|
1029
|
+
.Example HTML code for raised FABs
|
985
1030
|
[source, html]
|
986
1031
|
----
|
987
1032
|
<button type="button" class="btn btn-fab btn-primary raised-z5" aria-label="fab-button">
|
@@ -1010,6 +1055,8 @@ captivating effect.
|
|
1010
1055
|
</div>
|
1011
1056
|
++++
|
1012
1057
|
|
1058
|
+
[role="mt-5"]
|
1059
|
+
.Example HTML code for a pulsed FAB
|
1013
1060
|
[source, html]
|
1014
1061
|
----
|
1015
1062
|
<button type="button" class="btn btn-fab btn-primary pulsed-z3" aria-label="fab-button">
|
@@ -1031,6 +1078,8 @@ A smaller sized, *mini* floating action button (FAB) is also available.
|
|
1031
1078
|
</div>
|
1032
1079
|
++++
|
1033
1080
|
|
1081
|
+
[role="mt-5"]
|
1082
|
+
.Example HTML code for a Mini FAB
|
1034
1083
|
[source, html]
|
1035
1084
|
----
|
1036
1085
|
<button type="button" class="btn btn-danger btn-fab btn-fab-sm" aria-label="fab-button-small">
|
@@ -1042,9 +1091,9 @@ endif::[]
|
|
1042
1091
|
ifeval::[{fab_mini_raised} == true]
|
1043
1092
|
==== Mini FAB raised
|
1044
1093
|
|
1045
|
-
Mini FAB buttons can be *raised* as well by adding the additional CSS
|
1046
|
-
`raised-zX`. J1 supports 25 levels of raising HTML elements
|
1047
|
-
to 24.
|
1094
|
+
Mini FAB buttons can be *raised* as well by adding the the additional CSS
|
1095
|
+
classes raised `raised-zX`. J1 supports 25 levels of raising HTML elements
|
1096
|
+
ranging from 0 to 24.
|
1048
1097
|
|
1049
1098
|
++++
|
1050
1099
|
<div class="doc-example mt-2 mb-4">
|
@@ -1060,6 +1109,8 @@ to 24.
|
|
1060
1109
|
</div>
|
1061
1110
|
++++
|
1062
1111
|
|
1112
|
+
[role="mt-5"]
|
1113
|
+
.Example HTML code for a raised mini FAB
|
1063
1114
|
[source, html]
|
1064
1115
|
----
|
1065
1116
|
<button type="button" class="btn btn-fab btn-fab-sm btn-primary raised-z5 mr-3" aria-label="fab-button">
|
@@ -1104,6 +1155,8 @@ be applied.
|
|
1104
1155
|
</div>
|
1105
1156
|
++++
|
1106
1157
|
|
1158
|
+
[role="mt-5"]
|
1159
|
+
.Example HTML code for colored FAB Buttons
|
1107
1160
|
[source, html]
|
1108
1161
|
----
|
1109
1162
|
<button type="button" class="btn btn-fab btn-primary" aria-label="fab-button-primary">
|
@@ -1131,63 +1184,6 @@ be applied.
|
|
1131
1184
|
<i class="mdi mdi-plus"></i>
|
1132
1185
|
</button>
|
1133
1186
|
----
|
1134
|
-
|
1135
|
-
++++
|
1136
|
-
<div class="doc-example mt-2 mb-4">
|
1137
|
-
<button type="button" class="btn btn-fab btn-fab-sm btn-primary" aria-label="fab-button-primary">
|
1138
|
-
<i class="mdi mdi-plus"></i>
|
1139
|
-
</button>
|
1140
|
-
<button type="button" class="btn btn-fab btn-fab-sm btn-secondary" aria-label="fab-button-secondary">
|
1141
|
-
<i class="mdi mdi-plus"></i>
|
1142
|
-
</button>
|
1143
|
-
<button type="button" class="btn btn-fab btn-fab-sm btn-danger" aria-label="fab-button-danger">
|
1144
|
-
<i class="mdi mdi-plus"></i>
|
1145
|
-
</button>
|
1146
|
-
<button type="button" class="btn btn-fab btn-fab-sm btn-info" aria-label="fab-button-info">
|
1147
|
-
<i class="mdi mdi-plus"></i>
|
1148
|
-
</button>
|
1149
|
-
<button type="button" class="btn btn-fab btn-fab-sm btn-success" aria-label="fab-button-success">
|
1150
|
-
<i class="mdi mdi-plus"></i>
|
1151
|
-
</button>
|
1152
|
-
<button type="button" class="btn btn-fab btn-fab-sm btn-warning" aria-label="fab-button-warning">
|
1153
|
-
<i class="mdi mdi-plus"></i>
|
1154
|
-
</button>
|
1155
|
-
<button type="button" class="btn btn-fab btn-fab-sm btn-dark" aria-label="fab-button-dark">
|
1156
|
-
<i class="mdi mdi-plus"></i>
|
1157
|
-
</button>
|
1158
|
-
<button type="button" class="btn btn-fab btn-fab-sm btn-light" aria-label="fab-button-light">
|
1159
|
-
<i class="mdi mdi-plus"></i>
|
1160
|
-
</button>
|
1161
|
-
</div>
|
1162
|
-
++++
|
1163
|
-
|
1164
|
-
[source, html]
|
1165
|
-
----
|
1166
|
-
<button type="button" class="btn btn-fab btn-fab-sm btn-primary" aria-label="fab-button-primary">
|
1167
|
-
<i class="mdi mdi-plus"></i>
|
1168
|
-
</button>
|
1169
|
-
<button type="button" class="btn btn-fab btn-fab-sm btn-secondary" aria-label="fab-button-secondary">
|
1170
|
-
<i class="mdi mdi-plus"></i>
|
1171
|
-
</button>
|
1172
|
-
<button type="button" class="btn btn-fab btn-fab-sm btn-danger" aria-label="fab-button-danger">
|
1173
|
-
<i class="mdi mdi-plus"></i>
|
1174
|
-
</button>
|
1175
|
-
<button type="button" class="btn btn-fab btn-fab-sm btn-info" aria-label="fab-button-info">
|
1176
|
-
<i class="mdi mdi-plus"></i>
|
1177
|
-
</button>
|
1178
|
-
<button type="button" class="btn btn-fab btn-fab-sm btn-success" aria-label="fab-button-success">
|
1179
|
-
<i class="mdi mdi-plus"></i>
|
1180
|
-
</button>
|
1181
|
-
<button type="button" class="btn btn-fab btn-fab-sm btn-warning" aria-label="fab-button-warning">
|
1182
|
-
<i class="mdi mdi-plus"></i>
|
1183
|
-
</button>
|
1184
|
-
<button type="button" class="btn btn-fab btn-fab-sm btn-dark" aria-label="fab-button-dark">
|
1185
|
-
<i class="mdi mdi-plus"></i>
|
1186
|
-
</button>
|
1187
|
-
<button type="button" class="btn btn-fab btn-fab-sm btn-light" aria-label="fab-button-light">
|
1188
|
-
<i class="mdi mdi-plus"></i>
|
1189
|
-
</button>
|
1190
|
-
----
|
1191
1187
|
endif::[]
|
1192
1188
|
|
1193
1189
|
ifeval::[{fab_disabled} == true]
|
@@ -1225,13 +1221,14 @@ FAB Buttons look inactive by adding the `disabled` boolean attribute to the
|
|
1225
1221
|
</div>
|
1226
1222
|
++++
|
1227
1223
|
|
1224
|
+
[role="mt-5"]
|
1225
|
+
.Example HTML code for disabled FAB Buttons
|
1228
1226
|
[source, html]
|
1229
1227
|
----
|
1230
1228
|
<button type="button" class="btn btn-fab btn-primary disabled" aria-label="fab-button">
|
1231
1229
|
<i class="mdi mdi-plus"></i>
|
1232
1230
|
</button>
|
1233
1231
|
----
|
1234
|
-
|
1235
1232
|
++++
|
1236
1233
|
<div class="doc-example mt-2 mb-4">
|
1237
1234
|
<button type="button" class="btn btn-fab btn-fab-sm btn-primary disabled" aria-label="fab-button-primary">
|
@@ -1260,13 +1257,6 @@ FAB Buttons look inactive by adding the `disabled` boolean attribute to the
|
|
1260
1257
|
</button>
|
1261
1258
|
</div>
|
1262
1259
|
++++
|
1263
|
-
|
1264
|
-
[source, html]
|
1265
|
-
----
|
1266
|
-
<button type="button" class="btn btn-fab btn-fab-sm btn-primary disabled" aria-label="fab-button">
|
1267
|
-
<i class="mdi mdi-plus"></i>
|
1268
|
-
</button>
|
1269
|
-
----
|
1270
1260
|
endif::[]
|
1271
1261
|
endif::[]
|
1272
1262
|
|
@@ -1284,9 +1274,10 @@ different from the standard Bootstrap configuration using the font family of
|
|
1284
1274
|
*Helvetica* for the default.
|
1285
1275
|
|
1286
1276
|
mdi:bootstrap[18px, mdi-md-deep-purple-400]
|
1287
|
-
link:{url-bs-docs--content-typography}[Bootstrap Docs {char-
|
1277
|
+
link:{url-bs-docs--content-typography}[Bootstrap Docs {char-emdash} Typography, {browser-window--new}]
|
1288
1278
|
|
1289
1279
|
ifeval::[{typography_headings} == true]
|
1280
|
+
[role="mt-4"]
|
1290
1281
|
=== Headings
|
1291
1282
|
|
1292
1283
|
HTML headings provide valuable information by highlighting important topics
|
@@ -1334,6 +1325,7 @@ whereas the <h6> tag defines the least important heading in a document.
|
|
1334
1325
|
endif::[]
|
1335
1326
|
|
1336
1327
|
ifeval::[{typography_blockquotes} == true]
|
1328
|
+
[role="mt-4"]
|
1337
1329
|
=== Blockquotes
|
1338
1330
|
|
1339
1331
|
The HTML element `<blockquote>` specifies a section with content quoted
|
@@ -1342,7 +1334,8 @@ left and right margins, along with a little extra space added above and
|
|
1342
1334
|
below.
|
1343
1335
|
|
1344
1336
|
For Bootstrap, are more complex styling of cites is available with the
|
1345
|
-
`<blockquote>`
|
1337
|
+
blockquote elements `<blockquote>` respectively the additional CSS class
|
1338
|
+
for blockquote elements `.blockquote`.
|
1346
1339
|
|
1347
1340
|
++++
|
1348
1341
|
<div class="doc-example mb-3">
|
@@ -1366,7 +1359,7 @@ is based on pure CSS on top of the classic Bootstrap styles for simplicity
|
|
1366
1359
|
and portability to be viewed best on all devices and browsers.
|
1367
1360
|
|
1368
1361
|
mdi:bootstrap[18px, mdi-md-deep-purple-400]
|
1369
|
-
link:{url-bs-docs--content-tables}[Bootstrap Docs {char-
|
1362
|
+
link:{url-bs-docs--content-tables}[Bootstrap Docs {char-emdash} Tables, {browser-window--new}]
|
1370
1363
|
|
1371
1364
|
++++
|
1372
1365
|
<div class="doc-example mb-3">
|
@@ -1464,7 +1457,7 @@ advantage of newer input controls like email verification, number selection,
|
|
1464
1457
|
and more.
|
1465
1458
|
|
1466
1459
|
mdi:bootstrap[18px, mdi-md-deep-purple-400]
|
1467
|
-
link:{url-bs-docs--components-forms}[Bootstrap Docs {char-
|
1460
|
+
link:{url-bs-docs--components-forms}[Bootstrap Docs {char-emdash} Forms, {browser-window--new}]
|
1468
1461
|
|
1469
1462
|
++++
|
1470
1463
|
<div class="doc-example mb-3">
|
@@ -1506,9 +1499,9 @@ link:{url-bs-docs--components-forms}[Bootstrap Docs {char-middot} Forms, {browse
|
|
1506
1499
|
</div>
|
1507
1500
|
++++
|
1508
1501
|
|
1509
|
-
Textual form controls-like `<input>`, `<select>`, and
|
1510
|
-
with the
|
1511
|
-
focus state, sizing, and more.
|
1502
|
+
Textual form controls-like inputs `<input>`, selects `<select>`, and textarea
|
1503
|
+
elements `<textarea>` are styled with the form control class `.form-control`.
|
1504
|
+
Included are styles for general appearance, focus state, sizing, and more.
|
1512
1505
|
|
1513
1506
|
++++
|
1514
1507
|
<div class="doc-example mb-3">
|
@@ -1543,18 +1536,8 @@ focus state, sizing, and more.
|
|
1543
1536
|
</div>
|
1544
1537
|
++++
|
1545
1538
|
|
1546
|
-
For file inputs, swap the `.form-control`
|
1547
|
-
|
1548
|
-
// ++++
|
1549
|
-
// <div class="doc-example mb-3">
|
1550
|
-
// <form>
|
1551
|
-
// <div class="form-group">
|
1552
|
-
// <input type="file" class="form-control-file" id="exampleFormControlFile1">
|
1553
|
-
// <label for="exampleFormControlFile1" class="bmd-label-floating">Example file input</label>
|
1554
|
-
// </div>
|
1555
|
-
// </form>
|
1556
|
-
// </div>
|
1557
|
-
// ++++
|
1539
|
+
For *file* inputs, swap the form control class `.form-control` to the form
|
1540
|
+
control file class `.form-control-file`.
|
1558
1541
|
|
1559
1542
|
++++
|
1560
1543
|
<div class="doc-example mb-3">
|
@@ -1589,6 +1572,7 @@ For file inputs, swap the `.form-control` for `.form-control-file`.
|
|
1589
1572
|
++++
|
1590
1573
|
|
1591
1574
|
ifeval::[{forms_bootstrap} == true]
|
1575
|
+
[role="mt-4"]
|
1592
1576
|
=== Bootstrap Forms
|
1593
1577
|
|
1594
1578
|
++++
|
@@ -1700,6 +1684,7 @@ ifeval::[{forms_bootstrap} == true]
|
|
1700
1684
|
</div>
|
1701
1685
|
++++
|
1702
1686
|
|
1687
|
+
[role="mt-4"]
|
1703
1688
|
=== Bootstrap Inputs
|
1704
1689
|
|
1705
1690
|
++++
|
@@ -1781,23 +1766,24 @@ ifeval::[{navs} == true]
|
|
1781
1766
|
== Navs
|
1782
1767
|
|
1783
1768
|
Navigation available in Bootstrap shares general markup and styles, from the
|
1784
|
-
base `.nav` class to the active and disabled states. Swap
|
1785
|
-
switch between each style.
|
1769
|
+
base navigation class `.nav` class to the active and disabled states. Swap
|
1770
|
+
modifier classes to switch between each style.
|
1786
1771
|
|
1787
|
-
The base `.nav`
|
1772
|
+
The base NAV CSS style `.nav` is built with a flexbox and provides a strong
|
1788
1773
|
foundation for building all navigation components. It includes some style
|
1789
|
-
overrides
|
1790
|
-
and basic disabled styling.
|
1774
|
+
overrides, for example to work with lists, link padding for larger hit
|
1775
|
+
areas, and basic disabled styling.
|
1791
1776
|
|
1792
1777
|
mdi:bootstrap[18px, mdi-md-deep-purple-400]
|
1793
|
-
link:{url-bs-docs--components-navs}[Bootstrap Docs {char-
|
1778
|
+
link:{url-bs-docs--components-navs}[Bootstrap Docs {char-emdash} Navs, {browser-window--new}]
|
1794
1779
|
|
1795
1780
|
ifeval::[{navs_tabs} == true]
|
1781
|
+
[role="mt-4"]
|
1796
1782
|
=== Tabs
|
1797
1783
|
|
1798
|
-
Tabs takes the basic nav from above and adds the `.nav-tabs`
|
1799
|
-
a tabbed interface. Use them to create tabbable regions with the
|
1800
|
-
JavaScript plugin.
|
1784
|
+
Tabs takes the basic nav from above and adds the tabs class `.nav-tabs` to
|
1785
|
+
generate a tabbed interface. Use them to create tabbable regions with the
|
1786
|
+
Bootstrap V5 tab JavaScript plugin.
|
1801
1787
|
|
1802
1788
|
++++
|
1803
1789
|
<div class="doc-example mb-3">
|
@@ -1837,9 +1823,10 @@ JavaScript plugin.
|
|
1837
1823
|
endif::[]
|
1838
1824
|
|
1839
1825
|
ifeval::[{navs_pills} == true]
|
1826
|
+
[role="mt-4"]
|
1840
1827
|
=== Pills
|
1841
1828
|
|
1842
|
-
Take that same HTML as Tabs, but use `.nav-pills`
|
1829
|
+
Take that same HTML as Tabs, but use the NAV pills class `.nav-pills` instead.
|
1843
1830
|
|
1844
1831
|
++++
|
1845
1832
|
<div class="doc-example mb-3">
|
@@ -1879,6 +1866,7 @@ Take that same HTML as Tabs, but use `.nav-pills` class instead.
|
|
1879
1866
|
endif::[]
|
1880
1867
|
|
1881
1868
|
ifeval::[{navs_breadcrumbs} == true]
|
1869
|
+
[role="mt-4"]
|
1882
1870
|
=== Breadcrumbs
|
1883
1871
|
|
1884
1872
|
Breadcrumbs indicate the current page’s location within a navigational
|
@@ -1905,6 +1893,7 @@ Separators are automatically added in CSS through ::before and content.
|
|
1905
1893
|
endif::[]
|
1906
1894
|
|
1907
1895
|
ifeval::[{navs_pagination} == true]
|
1896
|
+
[role="mt-4"]
|
1908
1897
|
=== Pagination
|
1909
1898
|
|
1910
1899
|
We use a large block of connected links for our pagination, making links
|
@@ -2005,6 +1994,7 @@ wrong. Contrasting *Badges, static BS elememts, to raise attention e.g for
|
|
2005
1994
|
something *new*.
|
2006
1995
|
|
2007
1996
|
ifeval::[{indicators_alerts} == true]
|
1997
|
+
[role="mt-4"]
|
2008
1998
|
=== Alerts
|
2009
1999
|
|
2010
2000
|
Alerts provide contextual feedback messages for typical user actions with the
|
@@ -2016,7 +2006,7 @@ button. For proper styling, use one of the eight required contextual classes
|
|
2016
2006
|
https://getbootstrap.com/docs/4.0/components/alerts/#dismissing[jQuery plugin].
|
2017
2007
|
|
2018
2008
|
mdi:bootstrap[18px, mdi-md-deep-purple-400]
|
2019
|
-
link:{url-bs-docs--components-alerts}[Bootstrap Docs {char-
|
2009
|
+
link:{url-bs-docs--components-alerts}[Bootstrap Docs {char-emdash} Alerts, {browser-window--new}]
|
2020
2010
|
|
2021
2011
|
++++
|
2022
2012
|
<div class="doc-example mt-2 mb-4">
|
@@ -2055,6 +2045,7 @@ link:{url-bs-docs--components-alerts}[Bootstrap Docs {char-middot} Alerts, {brow
|
|
2055
2045
|
endif::[]
|
2056
2046
|
|
2057
2047
|
ifeval::[{indicators_badges} == true]
|
2048
|
+
[role="mt-4"]
|
2058
2049
|
=== Badges
|
2059
2050
|
|
2060
2051
|
Badges are small count and labeling components. They scale to match the size
|
@@ -2068,7 +2059,7 @@ situation, these badges may seem like random additional words or numbers
|
|
2068
2059
|
at the end of a sentence, link, or button.
|
2069
2060
|
|
2070
2061
|
mdi:bootstrap[18px, mdi-md-deep-purple-400]
|
2071
|
-
link:{url-bs-docs--components-badges}[Bootstrap Docs {char-
|
2062
|
+
link:{url-bs-docs--components-badges}[Bootstrap Docs {char-emdash} Badge, {browser-window--new}]
|
2072
2063
|
|
2073
2064
|
++++
|
2074
2065
|
<div class="doc-example mt-2 mb-4">
|
@@ -2105,8 +2096,11 @@ Chromium-based browsers like Chrome, Edge, Safari or Opera support the *webkit*
|
|
2105
2096
|
`::-webkit-scrollbar` pseudo element, which allows to modify the look of the
|
2106
2097
|
browser's scrollbar.
|
2107
2098
|
|
2108
|
-
NOTE
|
2099
|
+
[NOTE]
|
2100
|
+
====
|
2101
|
+
Custom webkit-based scrollbars are *not* supported with the *Firefox*
|
2109
2102
|
browser.
|
2103
|
+
====
|
2110
2104
|
|
2111
2105
|
.Default scrollbar (J1 Template)
|
2112
2106
|
[source, css]
|
@@ -2195,9 +2189,10 @@ HTML5 <progress> element, ensuring you can stack progress bars, animate them,
|
|
2195
2189
|
and place text labels over them.
|
2196
2190
|
|
2197
2191
|
mdi:bootstrap[18px, mdi-md-deep-purple-400]
|
2198
|
-
link:{url-bs-docs--components-progress}[Bootstrap Docs {char-
|
2192
|
+
link:{url-bs-docs--components-progress}[Bootstrap Docs {char-emdash} Progress, {browser-window--new}]
|
2199
2193
|
|
2200
2194
|
ifeval::[{progress_basic} == true]
|
2195
|
+
[role="mt-4"]
|
2201
2196
|
=== Basic
|
2202
2197
|
|
2203
2198
|
++++
|
@@ -2208,7 +2203,8 @@ ifeval::[{progress_basic} == true]
|
|
2208
2203
|
</div>
|
2209
2204
|
++++
|
2210
2205
|
|
2211
|
-
|
2206
|
+
[role="mt-5"]
|
2207
|
+
.Example HTML code for a basic Progressbar
|
2212
2208
|
[source, html]
|
2213
2209
|
----
|
2214
2210
|
<div class="progress">
|
@@ -2224,6 +2220,7 @@ ifeval::[{progress_basic} == true]
|
|
2224
2220
|
endif::[]
|
2225
2221
|
|
2226
2222
|
ifeval::[{progress_contextual_alternatives} == true]
|
2223
|
+
[role="mt-4"]
|
2227
2224
|
=== Contextual alternatives
|
2228
2225
|
|
2229
2226
|
++++
|
@@ -2243,7 +2240,8 @@ ifeval::[{progress_contextual_alternatives} == true]
|
|
2243
2240
|
</div>
|
2244
2241
|
++++
|
2245
2242
|
|
2246
|
-
|
2243
|
+
[role="mt-5"]
|
2244
|
+
.Example HTML code for a progressbar of type SUCCESS
|
2247
2245
|
[source, html]
|
2248
2246
|
----
|
2249
2247
|
<div class="progress">
|
@@ -2258,6 +2256,7 @@ ifeval::[{progress_contextual_alternatives} == true]
|
|
2258
2256
|
endif::[]
|
2259
2257
|
|
2260
2258
|
ifeval::[{progress_multiple_bars} == true]
|
2259
|
+
[role="mt-4"]
|
2261
2260
|
=== Multiple bars
|
2262
2261
|
|
2263
2262
|
++++
|
@@ -2272,6 +2271,7 @@ ifeval::[{progress_multiple_bars} == true]
|
|
2272
2271
|
endif::[]
|
2273
2272
|
|
2274
2273
|
ifeval::[{progress_striped} == true]
|
2274
|
+
[role="mt-4"]
|
2275
2275
|
=== Striped
|
2276
2276
|
|
2277
2277
|
++++
|
@@ -2296,6 +2296,7 @@ ifeval::[{progress_striped} == true]
|
|
2296
2296
|
endif::[]
|
2297
2297
|
|
2298
2298
|
ifeval::[{progress_animated} == true]
|
2299
|
+
[role="mt-4"]
|
2299
2300
|
=== Animated
|
2300
2301
|
|
2301
2302
|
++++
|
@@ -2347,9 +2348,10 @@ they offer easy alignment and mix well with other Bootstrap components.
|
|
2347
2348
|
They have no margin by default, so use spacing utilities as needed.
|
2348
2349
|
|
2349
2350
|
mdi:bootstrap[18px, mdi-md-deep-purple-400]
|
2350
|
-
link:{url-bs-docs--components-cards}[Bootstrap Docs {char-
|
2351
|
+
link:{url-bs-docs--components-cards}[Bootstrap Docs {char-emdash} Card, {browser-window--new}]
|
2351
2352
|
|
2352
2353
|
ifeval::[{cards_simple} == true]
|
2354
|
+
[role="mt-4"]
|
2353
2355
|
=== Simple cards
|
2354
2356
|
++++
|
2355
2357
|
<div class="doc-example mb-3">
|
@@ -2481,6 +2483,7 @@ ifeval::[{cards_simple} == true]
|
|
2481
2483
|
endif::[]
|
2482
2484
|
|
2483
2485
|
ifeval::[{cards_image} == true]
|
2486
|
+
[role="mt-4"]
|
2484
2487
|
=== Image cards
|
2485
2488
|
++++
|
2486
2489
|
<div class="doc-example mb-3">
|
@@ -2553,6 +2556,7 @@ Dialogs are important, interactive UI (user interface) components in Bootstrap
|
|
2553
2556
|
to *inform* visitor of an website.
|
2554
2557
|
|
2555
2558
|
ifeval::[{dialogs_modals} == true]
|
2559
|
+
[role="mt-4"]
|
2556
2560
|
=== Modals
|
2557
2561
|
|
2558
2562
|
Use Bootstrap’s JavaScript modal plugin to add dialogs to your site for
|
@@ -2562,7 +2566,7 @@ else in the document and remove scroll from the <body> so that modal
|
|
2562
2566
|
content scrolls instead.
|
2563
2567
|
|
2564
2568
|
mdi:bootstrap[18px, mdi-md-deep-purple-400]
|
2565
|
-
link:{url-bs-docs--components-modal}[Bootstrap Docs {char-
|
2569
|
+
link:{url-bs-docs--components-modal}[Bootstrap Docs {char-emdash} Modal, {browser-window--new}]
|
2566
2570
|
|
2567
2571
|
.Modal types
|
2568
2572
|
[cols="3a,7a,2a", options="header", width="100%", role="rtable"]
|
@@ -2890,7 +2894,8 @@ closed, any tooltips and popovers within are also automatically dismissed.
|
|
2890
2894
|
++++
|
2891
2895
|
|===
|
2892
2896
|
|
2893
|
-
|
2897
|
+
[role="mt-5"]
|
2898
|
+
.Example HTML code for a base Modal
|
2894
2899
|
[source, html]
|
2895
2900
|
----
|
2896
2901
|
<!-- Trigger Button (modal) -->
|
@@ -2942,6 +2947,7 @@ closed, any tooltips and popovers within are also automatically dismissed.
|
|
2942
2947
|
endif::[]
|
2943
2948
|
|
2944
2949
|
ifeval::[{dialogs_popovers_tooltips} == true]
|
2950
|
+
[role="mt-4"]
|
2945
2951
|
=== Tooltips and Popovers
|
2946
2952
|
|
2947
2953
|
Popovers and Tooltips rely on the 3rd party library __Popper.js__ for positioning.
|
@@ -2949,7 +2955,7 @@ To make them properly positioned, the Javascript library `popper.min.js` has to
|
|
2949
2955
|
be included before `bootstrap.js` in order to make popovers and tooltips to work.
|
2950
2956
|
|
2951
2957
|
mdi:bootstrap[18px, mdi-md-deep-purple-400]
|
2952
|
-
link:{url-bs-docs--components-tooltips}[Bootstrap Docs {char-
|
2958
|
+
link:{url-bs-docs--components-tooltips}[Bootstrap Docs {char-emdash} Tooltips, {browser-window--new}]
|
2953
2959
|
|
2954
2960
|
++++
|
2955
2961
|
<div class="doc-example mb-3">
|
@@ -2964,7 +2970,8 @@ link:{url-bs-docs--components-tooltips}[Bootstrap Docs {char-middot} Tooltips, {
|
|
2964
2970
|
</div>
|
2965
2971
|
++++
|
2966
2972
|
|
2967
|
-
|
2973
|
+
[role="mt-5"]
|
2974
|
+
.Example HTML code for Tooltips
|
2968
2975
|
[source, html]
|
2969
2976
|
----
|
2970
2977
|
<button type="button" class="btn btn-primary btn-raised"
|
@@ -2990,7 +2997,7 @@ link:{url-bs-docs--components-tooltips}[Bootstrap Docs {char-middot} Tooltips, {
|
|
2990
2997
|
----
|
2991
2998
|
|
2992
2999
|
mdi:bootstrap[18px, mdi-md-deep-purple-400]
|
2993
|
-
link:{url-bs-docs--components-popovers}[Bootstrap Docs {char-
|
3000
|
+
link:{url-bs-docs--components-popovers}[Bootstrap Docs {char-emdash} Popovers, {browser-window--new}]
|
2994
3001
|
|
2995
3002
|
++++
|
2996
3003
|
<div class="doc-example mb-3">
|
@@ -3005,7 +3012,8 @@ link:{url-bs-docs--components-popovers}[Bootstrap Docs {char-middot} Popovers, {
|
|
3005
3012
|
</div>
|
3006
3013
|
++++
|
3007
3014
|
|
3008
|
-
|
3015
|
+
[role="mt-5"]
|
3016
|
+
.Example HTML code for Popovers
|
3009
3017
|
[source, html]
|
3010
3018
|
----
|
3011
3019
|
<button type="button" class="btn btn-primary btn-raised"
|