j1-template 2020.0.16 → 2020.0.17
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/layouts/content_generator_post.html +3 -1
- data/assets/data/authclient.html +9 -9
- data/assets/data/gallery_customizer.html +2 -2
- data/assets/data/menu.html +2 -2
- data/assets/data/mmenu_sidebar.html +1 -1
- data/assets/data/mmenu_toc.html +1 -1
- data/assets/data/quicklinks.html +1 -1
- data/assets/data/ssm.html +1 -1
- data/assets/themes/j1/adapter/js/back2top.js +233 -0
- data/assets/themes/j1/adapter/js/clipboard.js +1 -0
- data/assets/themes/j1/adapter/js/cookiebar.js +1 -0
- data/assets/themes/j1/adapter/js/gallery_customizer.js +1 -0
- data/assets/themes/j1/adapter/js/j1.js +3 -1
- data/assets/themes/j1/adapter/js/logger.js +1 -0
- data/assets/themes/j1/adapter/js/mmenu.js +3 -1
- data/assets/themes/j1/adapter/js/navigator.js +8 -4
- data/assets/themes/j1/adapter/js/ssm.js +5 -21
- data/assets/themes/j1/adapter/js/themer.js +1 -0
- data/assets/themes/j1/adapter/js/toccer.js +36 -6
- data/assets/themes/j1/core/css/theme_extensions.css +334 -8
- data/assets/themes/j1/core/css/theme_extensions.min.css +1 -1
- data/assets/themes/j1/core/css/uno.css +336 -10
- data/assets/themes/j1/core/css/uno.min.css +1 -1
- data/assets/themes/j1/core/css/vendor.css +1 -1
- data/assets/themes/j1/core/css/vendor.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +6 -6
- data/assets/themes/j1/core/js/template.js.map +1 -1
- data/assets/themes/j1/core/js/template.min.js +1 -1
- data/assets/themes/j1/modules/iframeResizer/examples/frame.absolute.html +2 -5
- data/assets/themes/j1/modules/iframeResizer/examples/frame.content.html +17 -44
- data/assets/themes/j1/modules/iframeResizer/examples/frame.hover.html +2 -5
- data/assets/themes/j1/modules/iframeResizer/examples/frame.nested.html +5 -7
- data/assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html +1 -1
- data/assets/themes/j1/modules/iframeResizer/examples/frame.tolerance.html +3 -5
- data/assets/themes/j1/modules/iframeResizer/examples/index.html +4 -3
- data/assets/themes/j1/modules/iframeResizer/examples/two.html +4 -3
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +6 -2
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/modules/back2top.yml +30 -0
- data/lib/starter_web/_data/modules/defaults/attics.yml +5 -2
- data/lib/starter_web/_data/modules/defaults/back2top.yml +146 -0
- data/lib/starter_web/_data/modules/defaults/navigator.yml +10 -10
- data/lib/starter_web/_data/modules/defaults/toccer.yml +1 -1
- data/lib/starter_web/_data/modules/toccer.yml +1 -1
- data/lib/starter_web/_data/resources.yml +21 -1
- data/lib/starter_web/assets/images/modules/attics/aditya-joshi-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/admin-dashboard-bootstrap-1280x600.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/alex-holyoake-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/anaya-katlego-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/antonella-lombardi-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/antonino-visalli-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/brandon-mowinkel-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/building-blocks-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/cookies-1920x1200-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/daniel-jensen-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/giammarco-boscaro-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/go-up-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/ian-schneider-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/ideas-start-here-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/jason-rosewell-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/jessica-ruscello-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/lianhao-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/library-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/mae-mue-1920x1280-v.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/mae-mue-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/matthaeus-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/nousnou-iwasaki-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/premium-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/robert-v-ruggiero-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/romain-vignes-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/runner-1920x1200-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/spider-web-1920x1200-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/the-place-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/welcome-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/cats/cat-1.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/cats/cat-2.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/cats/cat-3.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/cats/cat-4.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/cats/cat-5.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/cats/cat-6.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/cats/cat-7.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/cats/cat-8.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/mega_cities/andreas-brucker_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/mega_cities/denys-nevozhai-1_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/mega_cities/denys-nevozhai-2_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/mega_cities/luca-bravo_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/mega_cities/thomas-tucker_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/andreas-brucker_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/banter-snaps_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/denys-nevozhai-1_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/denys-nevozhai-2-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/denys-nevozhai-2_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/emmad-mazhari_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/ethan-brooke_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/federico-rizzarelli_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/gints-gailis_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/johan-mouchet_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/luca-bravo_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/oskars-sylwan_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/steven-diaz_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/thomas-tucker-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/thomas-tucker_b.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/100_present_images/lightbox-image-1.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/100_present_images/lightbox-image-2.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/100_present_images/lightbox-image-3.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/bootstrap-1920x1000-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/cards-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/emojies-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/icon-fonts-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/images-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/puzzle-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/tables-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/themes-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/roundtrip/typography-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/adriana-lima-poster.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/kick-it-old-school-poster.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/video1-poster.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/video2-poster.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/video2-thumb.jpg +0 -0
- data/lib/starter_web/assets/videos/headers/still/underground-broadway.jpg +0 -0
- data/lib/starter_web/assets/videos/headers/still/victoria-oskolovich-on-vimeo.jpg +0 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2018-11-01-docker-using-shared-folders.adoc +1 -1
- data/lib/starter_web/index.html +1 -1
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/learn/examples/floating_div.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/attributes.asciidoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_bottom_info.asciidoc +5 -2
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_bottom_left_warning.asciidoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_bottom_right_danger.asciidoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_central_success.asciidoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_full_height_left_info.asciidoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_full_height_right_success.asciidoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_top_info.asciidoc +3 -3
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_top_left_info.asciidoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_top_right_success.asciidoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/419_advanced_modals_demo.asciidoc +337 -0
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +10 -10
- data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +1 -27
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_bottom_info.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_bottom_left_warning.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_bottom_right_danger.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_central_success.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_full_height_left_info.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_full_height_right_success.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_top_info.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_top_left_info.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_top_right_success.asciidoc +1 -1
- data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +1 -1
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +2 -2
- data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +209 -173
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +9 -7
- data/lib/starter_web/assets/images/modules/attics/admin-dashboard-bootstrap-1280x600.png +0 -0
- data/lib/starter_web/assets/images/modules/attics/mae-mu-Vf9gbsLZyf0-unsplash.jpg +0 -0
- data/lib/starter_web/assets/videos/headers/still/underground-broadway.webp +0 -0
- data/lib/starter_web/assets/videos/headers/still/victoria-oskolovich-on-vimeo.webp +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/419_advanced_modals_html.asciidoc +0 -928
@@ -94,11 +94,11 @@ will happen in terms of responsiveness.
|
|
94
94
|
<i class="toggle-button mdi mdi-toggle-switch-off mdi-lg mdi-md-bg-primary-50 mr-1"></i>
|
95
95
|
Toggle rtext
|
96
96
|
</button>
|
97
|
-
<div class="
|
97
|
+
<div class="mb-4">
|
98
98
|
<div class="content">
|
99
|
-
<h4 class="notoc
|
100
|
-
<h6 class="notoc
|
101
|
-
<p class="
|
99
|
+
<h4 class="notoc">The Extremes of Good and Evil</h4>
|
100
|
+
<h6 class="notoc text-gray mb-3">Cicero, Paragraph 1.10.32 · Translation by H. Rackham, Issue 1914 - De Finibus</h6>
|
101
|
+
<p class="toggle-description no-r-text">
|
102
102
|
But I must explain to you how all this mistaken idea of denouncing
|
103
103
|
pleasure and praising pain was born and I will give you a complete
|
104
104
|
account of the system, and expound the actual teachings of the great
|
@@ -150,11 +150,11 @@ of the text in action.
|
|
150
150
|
<i class="scale-button mdi mdi-arrow-up mdi-lg mdi-md-bg-primary-50 mr-1"></i>
|
151
151
|
Scale rtext
|
152
152
|
</button>
|
153
|
-
<div class="
|
153
|
+
<div class="mb-4">
|
154
154
|
<div class="content">
|
155
|
-
<h4 class="notoc
|
156
|
-
<h6 class="notoc
|
157
|
-
<p class="
|
155
|
+
<h4 class="notoc">The Extremes of Good and Evil</h4>
|
156
|
+
<h6 class="notoc text-gray mb-3">Cicero, Paragraph 1.10.33 · Translation by H. Rackham, Issue 1914 - De Finibus</h6>
|
157
|
+
<p class="scale-description r-text-300">
|
158
158
|
On the other hand, we denounce with righteous indignation and dislike men who
|
159
159
|
are so beguiled and demoralized by the charms of pleasure of the moment, so
|
160
160
|
blinded by desire, that they cannot foresee the pain and trouble that are
|
@@ -198,7 +198,7 @@ base.
|
|
198
198
|
That way, five series are available by the five scale factors. See the following
|
199
199
|
table how `r-text` scales.
|
200
200
|
|
201
|
-
[cols="3,2,7a", options="header", role="table-responsive-stacked-lg
|
201
|
+
[cols="3,2,7a", options="header", role="table-responsive-stacked-lg"]
|
202
202
|
|===============================================================================
|
203
203
|
|Property | Factor |Example text
|
204
204
|
|
@@ -298,7 +298,7 @@ used. All Bootstrap base classes can be used to colorize:
|
|
298
298
|
|`nav-pills-primary`
|
299
299
|
|
|
300
300
|
++++
|
301
|
-
<button type="button" class="btn btn-
|
301
|
+
<button type="button" class="btn btn-secondary btn-raised btn-round">
|
302
302
|
color example
|
303
303
|
</button>
|
304
304
|
++++
|
@@ -68,7 +68,6 @@ notifications. To highlight important information to your vistors. Modals
|
|
68
68
|
are positioned over everything else in the document so that the notification
|
69
69
|
gets the users attention.
|
70
70
|
|
71
|
-
|
72
71
|
== BS advanced Modals
|
73
72
|
|
74
73
|
To improve your visitors experience on important information that shouldn't
|
@@ -80,34 +79,10 @@ critical messages.
|
|
80
79
|
NOTE: For more information on how to use Bootstrap’s JavaScript modal
|
81
80
|
plugin, refer to: link:{bs_doc_components_modal}[Bootstrap Docs, {window}].
|
82
81
|
|
83
|
-
|
84
82
|
// Include sub-documents
|
85
83
|
// -----------------------------------------------------------------------------
|
86
84
|
include::{documentsdir}/410_table_3_column.asciidoc[]
|
87
85
|
|
88
|
-
//////////
|
89
|
-
include::{documentsdir}/410_top_info.asciidoc[]
|
90
|
-
include::{documentsdir}/410_top_right_success.asciidoc[]
|
91
|
-
include::{documentsdir}/410_top_left_info.asciidoc[]
|
92
|
-
include::{documentsdir}/410_bottom_info.asciidoc[]
|
93
|
-
include::{documentsdir}/410_bottom_right_danger.asciidoc[]
|
94
|
-
include::{documentsdir}/410_bottom_left_warning.asciidoc[]
|
95
|
-
include::{documentsdir}/410_full_height_right_success.asciidoc[]
|
96
|
-
include::{documentsdir}/410_full_height_left_info.asciidoc[]
|
97
|
-
//////////
|
98
|
-
|
99
|
-
//////////
|
100
|
-
include::{documentsdir}/410_position_and_sizes.asciidoc[]
|
101
|
-
include::{documentsdir}/410_contact_form.asciidoc[]
|
102
|
-
include::{documentsdir}/410_form_login_with_avatar.asciidoc[]
|
103
|
-
include::{documentsdir}/410_omni_login.asciidoc[]
|
104
|
-
include::{documentsdir}/410_central_large_info.asciidoc[]
|
105
|
-
include::{documentsdir}/410_central_fluid_success.asciidoc[]
|
106
|
-
include::{documentsdir}/410_full_height_top_warning.asciidoc[]
|
107
|
-
include::{documentsdir}/410_full_height_bottom_danger.asciidoc[]
|
108
|
-
include::{documentsdir}/410_full_height_right_success.asciidoc[]
|
109
|
-
//////////
|
110
|
-
|
111
86
|
== Whats next
|
112
87
|
|
113
88
|
Bootstrap is really a great CSS framework that offers in the current V4
|
@@ -123,5 +98,4 @@ what the link:{roundtrip-responsive-tables}[BS tables extensions] can do!
|
|
123
98
|
|
124
99
|
// Include the modals HTML portion
|
125
100
|
// -------------------------------------------------------------------
|
126
|
-
|
127
|
-
include::{documentsdir}/419_advanced_modals_html.asciidoc[]
|
101
|
+
include::{documentsdir}/419_advanced_modals_demo.asciidoc[]
|
data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_bottom_info.asciidoc
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
++++
|
5
5
|
<div class="ml-2 mb-5">
|
6
6
|
<!-- Button trigger modal -->
|
7
|
-
<button type="button" class="btn btn-
|
7
|
+
<button type="button" class="btn btn-secondary btn-raised" data-toggle="modal" data-target="#frameModalBottomSuccessDemo">
|
8
8
|
Launch Modal Example
|
9
9
|
</button>
|
10
10
|
</div>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
++++
|
5
5
|
<div class="ml-2 mb-5">
|
6
6
|
<!-- Button trigger modal -->
|
7
|
-
<button type="button" class="btn btn-
|
7
|
+
<button type="button" class="btn btn-secondary btn-raised" data-toggle="modal" data-target="#sideModalBLWarningDemo">
|
8
8
|
Launch Modal Example
|
9
9
|
</button>
|
10
10
|
</div>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
++++
|
5
5
|
<div class="ml-2 mb-5">
|
6
6
|
<!-- Button trigger modal -->
|
7
|
-
<button type="button" class="btn btn-
|
7
|
+
<button type="button" class="btn btn-secondary btn-raised" data-toggle="modal" data-target="#sideModalBRDangerDemo">
|
8
8
|
Launch Modal Example
|
9
9
|
</button>
|
10
10
|
</div>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
++++
|
5
5
|
<div class="ml-2 mb-5">
|
6
6
|
<!-- Button trigger modal -->
|
7
|
-
<button type="button" class="btn btn-
|
7
|
+
<button type="button" class="btn btn-secondary btn-raised" data-toggle="modal" data-target="#centralModalSuccessDemo">
|
8
8
|
Launch Modal Example
|
9
9
|
</button>
|
10
10
|
</div>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
++++
|
5
5
|
<div class="ml-2 mb-5">
|
6
6
|
<!-- Button trigger modal -->
|
7
|
-
<button type="button" class="btn btn-
|
7
|
+
<button type="button" class="btn btn-secondary btn-raised" data-toggle="modal" data-target="#fluidModalLeftInfoDemo">
|
8
8
|
Launch Modal Example
|
9
9
|
</button>
|
10
10
|
</div>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
++++
|
5
5
|
<div class="ml-2 mb-5">
|
6
6
|
<!-- Button trigger modal -->
|
7
|
-
<button type="button" class="btn btn-
|
7
|
+
<button type="button" class="btn btn-secondary btn-raised" data-toggle="modal" data-target="#fluidModalRightSuccessDemo">
|
8
8
|
Launch Modal Example
|
9
9
|
</button>
|
10
10
|
</div>
|
data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_top_info.asciidoc
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
++++
|
5
5
|
<div class="ml-2 mb-5">
|
6
6
|
<!-- Button trigger modal -->
|
7
|
-
<button type="button" class="btn btn-
|
7
|
+
<button type="button" class="btn btn-secondary btn-raised" data-toggle="modal" data-target="#frameModalTopInfoDemo">
|
8
8
|
Launch Modal Example
|
9
9
|
</button>
|
10
10
|
</div>
|
data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_top_left_info.asciidoc
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
++++
|
5
5
|
<div class="ml-2 mb-5">
|
6
6
|
<!-- Button trigger modal -->
|
7
|
-
<button type="button" class="btn btn-
|
7
|
+
<button type="button" class="btn btn-secondary btn-raised" data-toggle="modal" data-target="#sideModalTLInfoDemo">
|
8
8
|
Launch Modal Example
|
9
9
|
</button>
|
10
10
|
</div>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
++++
|
5
5
|
<div class="ml-2 mb-5">
|
6
6
|
<!-- Button trigger modal -->
|
7
|
-
<button type="button" class="btn btn-
|
7
|
+
<button type="button" class="btn btn-secondary btn-raised" data-toggle="modal" data-target="#sideModalTRSuccessDemo">
|
8
8
|
Launch Modal Example
|
9
9
|
</button>
|
10
10
|
</div>
|
@@ -82,7 +82,7 @@ all cookies left.
|
|
82
82
|
|
83
83
|
++++
|
84
84
|
<div class="ml-0 mb-0">
|
85
|
-
<button type="button" name="revokeCookieConsent" class="btn btn-
|
85
|
+
<button type="button" name="revokeCookieConsent" class="btn btn-secondary btn-raised btn-flex mb-3">
|
86
86
|
<i class="toggle-button mdi mdi-toggle-switch-off mdi-lg mdi-md-bg-primary-50 mr-1"></i>
|
87
87
|
Revoke Cookie Consent
|
88
88
|
</button>
|
@@ -113,7 +113,7 @@ all cookies left.
|
|
113
113
|
|
114
114
|
++++
|
115
115
|
<div class="ml-0 mb-0">
|
116
|
-
<button type="button" name="revokeCookieConsent" class="btn btn-
|
116
|
+
<button type="button" name="revokeCookieConsent" class="btn btn-secondary btn-raised btn-flex mb-3">
|
117
117
|
<i class="toggle-button mdi mdi-toggle-switch-off mdi-lg mdi-md-bg-primary-50 mr-1"></i>
|
118
118
|
Revoke Cookie Consent
|
119
119
|
</button>
|
@@ -189,7 +189,7 @@ deleted.
|
|
189
189
|
|
190
190
|
++++
|
191
191
|
<div class="ml-0 mb-0">
|
192
|
-
<button type="button" name="deleteCookies" class="btn btn-
|
192
|
+
<button type="button" name="deleteCookies" class="btn btn-secondary btn-raised btn-flex mb-3">
|
193
193
|
<i class="mdi mdi-cookie mdi-lg mdi-md-bg-primary-50 mr-1"></i>
|
194
194
|
Delete Cookies
|
195
195
|
</button>
|
@@ -106,7 +106,7 @@ See examples for Bootstrap’s powerful, responsive navigation header, the
|
|
106
106
|
navbar. Includes support for branding, navigation, and more, including
|
107
107
|
support for the collapse plugin.
|
108
108
|
|
109
|
-
pass:[<i class="mdi mdi-book-open mdi-24px mdi-md-
|
109
|
+
pass:[<i class="mdi mdi-book-open mdi-24px mdi-md-blue-900"></i>]
|
110
110
|
Refer to: link:{bs_doc_components_navbar}[Bootstrap Docs, window="_blank"].
|
111
111
|
|
112
112
|
Theming the navbar has never been easier thanks to the combination of
|
@@ -225,7 +225,7 @@ more with support for multiple sizes, states, and more. Bootstrap includes
|
|
225
225
|
several predefined button styles, each serving its own semantic purpose,
|
226
226
|
with a few extras thrown in for more control.
|
227
227
|
|
228
|
-
pass:[<i class="mdi mdi-book-open mdi-24px mdi-md-
|
228
|
+
pass:[<i class="mdi mdi-book-open mdi-24px mdi-md-blue-900"></i>]
|
229
229
|
Refer to: link:{bs_doc_components_buttons}[Bootstrap Docs, window="_blank"].
|
230
230
|
|
231
231
|
=== Active buttons
|
@@ -283,9 +283,9 @@ Beside the default size, small and large buttons are available.
|
|
283
283
|
|
284
284
|
++++
|
285
285
|
<div class="doc-example mb-3">
|
286
|
-
<button type="button" class="btn btn-
|
287
|
-
<button type="button" class="btn btn-
|
288
|
-
<button type="button" class="btn btn-
|
286
|
+
<button type="button" class="btn btn-secondary btn-raised btn-lg">Large button</button>
|
287
|
+
<button type="button" class="btn btn-secondary btn-raised">Default button</button>
|
288
|
+
<button type="button" class="btn btn-secondary btn-raised btn-sm">Small button</button>
|
289
289
|
</div>
|
290
290
|
++++
|
291
291
|
|
@@ -320,10 +320,10 @@ state for these buttons is only updated via click event on the button.
|
|
320
320
|
++++
|
321
321
|
<div class="doc-example mb-3">
|
322
322
|
<div class="btn-group" data-toggle="buttons">
|
323
|
-
<label class="btn btn-
|
323
|
+
<label class="btn btn-secondary btn-raised btn-flex active">
|
324
324
|
<input type="checkbox" checked> Checkbox 1
|
325
325
|
</label>
|
326
|
-
<label class="btn btn-
|
326
|
+
<label class="btn btn-secondary btn-raised btn-flex">
|
327
327
|
<input type="checkbox"> Checkbox 2
|
328
328
|
</label>
|
329
329
|
<label class="btn btn-primary btn-flex btn-raised">
|
@@ -359,7 +359,7 @@ For a more inclusive and accessible type scale, it is assuemed that
|
|
359
359
|
the browser default root font-size (typically 16px) so visitors can
|
360
360
|
customize their browser defaults as needed.
|
361
361
|
|
362
|
-
pass:[<i class="mdi mdi-book-open mdi-24px mdi-md-
|
362
|
+
pass:[<i class="mdi mdi-book-open mdi-24px mdi-md-blue-900"></i>]
|
363
363
|
Refer to: link:{bs_doc_content_typography}[Bootstrap Docs, window="_blank"].
|
364
364
|
|
365
365
|
=== Headings
|
@@ -443,7 +443,7 @@ Using the most basic table markup, here’s how .table-based tables look in
|
|
443
443
|
Bootstrap. All table styles are inherited in Bootstrap 4, meaning any nested
|
444
444
|
tables will be styled in the same manner as the parent.
|
445
445
|
|
446
|
-
pass:[<i class="mdi mdi-book-open mdi-24px mdi-md-
|
446
|
+
pass:[<i class="mdi mdi-book-open mdi-24px mdi-md-blue-900"></i>]
|
447
447
|
Refer to: link:{bs_doc_content_tables}[Bootstrap Docs, window="_blank"].
|
448
448
|
|
449
449
|
|
@@ -521,7 +521,7 @@ of newer input controls like email verification, number selection, and more.
|
|
521
521
|
Here’s a quick example to demonstrate Bootstrap’s form styles. Keep reading
|
522
522
|
for documentation on required classes, form layout, and more.
|
523
523
|
|
524
|
-
pass:[<i class="mdi mdi-book-open mdi-24px mdi-md-
|
524
|
+
pass:[<i class="mdi mdi-book-open mdi-24px mdi-md-blue-900"></i>]
|
525
525
|
Refer to: link:{bs_doc_components_forms}[Bootstrap Docs, window="_blank"].
|
526
526
|
|
527
527
|
++++
|
@@ -542,7 +542,7 @@ Refer to: link:{bs_doc_components_forms}[Bootstrap Docs, window="_blank"].
|
|
542
542
|
<input type="checkbox" class="form-check-input" id="exampleCheck1">
|
543
543
|
<label class="form-check-label" for="exampleCheck1">Check me out</label>
|
544
544
|
</div>
|
545
|
-
<button type="submit" class="btn btn-
|
545
|
+
<button type="submit" class="btn btn-secondary btn-raised">Submit</button>
|
546
546
|
</form>
|
547
547
|
</div>
|
548
548
|
++++
|
@@ -608,7 +608,7 @@ for building all types of navigation components. It includes some style
|
|
608
608
|
overrides (for working with lists), some link padding for larger hit areas,
|
609
609
|
and basic disabled styling.
|
610
610
|
|
611
|
-
pass:[<i class="mdi mdi-book-open mdi-24px mdi-md-
|
611
|
+
pass:[<i class="mdi mdi-book-open mdi-24px mdi-md-blue-900"></i>]
|
612
612
|
Refer to: link:{bs_doc_components_navs}[Bootstrap Docs, window="_blank"].
|
613
613
|
|
614
614
|
=== Tabs
|
@@ -851,7 +851,7 @@ button. For proper styling, use one of the eight required contextual classes
|
|
851
851
|
(e.g., .alert-success). For inline dismissal, use the alerts
|
852
852
|
https://getbootstrap.com/docs/4.0/components/alerts/#dismissing[jQuery plugin].
|
853
853
|
|
854
|
-
pass:[<i class="mdi mdi-book-open mdi-24px mdi-md-
|
854
|
+
pass:[<i class="mdi mdi-book-open mdi-24px mdi-md-blue-900"></i>]
|
855
855
|
Refer to: link:{bs_doc_components_alerts}[Bootstrap Docs, window="_blank"].
|
856
856
|
|
857
857
|
++++
|
@@ -908,7 +908,7 @@ be presented with the content of the badge. Depending on the specific
|
|
908
908
|
situation, these badges may seem like random additional words or numbers
|
909
909
|
at the end of a sentence, link, or button.
|
910
910
|
|
911
|
-
pass:[<i class="mdi mdi-book-open mdi-24px mdi-md-
|
911
|
+
pass:[<i class="mdi mdi-book-open mdi-24px mdi-md-blue-900"></i>]
|
912
912
|
Refer to: link:{bs_doc_components_badges}[Bootstrap Docs, window="_blank"].
|
913
913
|
|
914
914
|
++++
|
@@ -944,7 +944,7 @@ elements, some CSS to set the width, and a few attributes. We don’t use the
|
|
944
944
|
HTML5 <progress> element, ensuring you can stack progress bars, animate them,
|
945
945
|
and place text labels over them.
|
946
946
|
|
947
|
-
pass:[<i class="mdi mdi-book-open mdi-24px mdi-md-
|
947
|
+
pass:[<i class="mdi mdi-book-open mdi-24px mdi-md-blue-900"></i>]
|
948
948
|
Refer to: link:{bs_doc_components_progress}[Bootstrap Docs, window="_blank"].
|
949
949
|
|
950
950
|
=== Basic
|
@@ -1040,7 +1040,7 @@ lorem:sentences[2]
|
|
1040
1040
|
|
1041
1041
|
Lightweight, flexible component for showcasing hero unit style content.
|
1042
1042
|
|
1043
|
-
pass:[<i class="mdi mdi-book-open mdi-24px mdi-md-
|
1043
|
+
pass:[<i class="mdi mdi-book-open mdi-24px mdi-md-blue-900"></i>]
|
1044
1044
|
Refer to: link:{bs_doc_components_jumbotron}[Bootstrap Docs, window="_blank"].
|
1045
1045
|
|
1046
1046
|
++++
|
@@ -1052,7 +1052,7 @@ Refer to: link:{bs_doc_components_jumbotron}[Bootstrap Docs, window="_blank"].
|
|
1052
1052
|
<hr class="my-4">
|
1053
1053
|
<p>It uses utility classes for typography and spacing to space content out within the larger container.</p>
|
1054
1054
|
<p class="lead">
|
1055
|
-
<a class="btn btn-
|
1055
|
+
<a class="btn btn-secondary btn-raised btn-lg" href="javascript:(void)" role="button">Learn more</a>
|
1056
1056
|
</p>
|
1057
1057
|
</div>
|
1058
1058
|
</div>
|
@@ -1064,7 +1064,7 @@ Refer to: link:{bs_doc_components_jumbotron}[Bootstrap Docs, window="_blank"].
|
|
1064
1064
|
List groups are a flexible and powerful component for displaying a series of
|
1065
1065
|
content. Modify and extend them to support just about any content within.
|
1066
1066
|
|
1067
|
-
pass:[<i class="mdi mdi-book-open mdi-24px mdi-md-
|
1067
|
+
pass:[<i class="mdi mdi-book-open mdi-24px mdi-md-blue-900"></i>]
|
1068
1068
|
Refer to: link:{bs_doc_components_list_group}[Bootstrap Docs, window="_blank"].
|
1069
1069
|
|
1070
1070
|
++++
|
@@ -1147,7 +1147,7 @@ manage to deliver a ton of control and customization. Built with flexbox,
|
|
1147
1147
|
they offer easy alignment and mix well with other Bootstrap components.
|
1148
1148
|
They have no margin by default, so use spacing utilities as needed.
|
1149
1149
|
|
1150
|
-
pass:[<i class="mdi mdi-book-open mdi-24px mdi-md-
|
1150
|
+
pass:[<i class="mdi mdi-book-open mdi-24px mdi-md-blue-900"></i>]
|
1151
1151
|
Refer to: link:{bs_doc_components_cards}[Bootstrap Docs, window="_blank"].
|
1152
1152
|
|
1153
1153
|
++++
|
@@ -1329,32 +1329,82 @@ built with HTML, CSS, and JavaScript. They’re positioned over everything
|
|
1329
1329
|
else in the document and remove scroll from the <body> so that modal
|
1330
1330
|
content scrolls instead.
|
1331
1331
|
|
1332
|
-
pass:[<i class="mdi mdi-book-open mdi-24px mdi-md-
|
1332
|
+
pass:[<i class="mdi mdi-book-open mdi-24px mdi-md-blue-900"></i>]
|
1333
1333
|
Refer to: link:{bs_doc_components_modal}[Bootstrap Docs, window="_blank"].
|
1334
1334
|
|
1335
1335
|
.Modal types
|
1336
|
-
[cols="3a,
|
1336
|
+
[cols="3a,6a,3a", options="header", width="100%", role="table-responsive-stacked-lg"]
|
1337
1337
|
|===============================================================================
|
1338
|
-
|Type |Description |Launch
|
1338
|
+
|Type |Description |Launch Example
|
1339
1339
|
|
1340
1340
|
|*Base*
|
1341
|
-
|
|
1342
|
-
|
1341
|
+
|Lauch the modal by clicking the button below. It will slide down and fade in
|
1342
|
+
from the top of the page.
|
1343
|
+
|
|
1344
|
+
++++
|
1345
|
+
<div class="ml-2 mb-5">
|
1346
|
+
<!-- Button trigger modal -->
|
1347
|
+
<button type="button"
|
1348
|
+
class="btn btn-secondary btn-raised"
|
1349
|
+
data-toggle="modal"
|
1350
|
+
data-target="#exampleSimpleModal">
|
1351
|
+
Launch Example
|
1352
|
+
</button>
|
1353
|
+
</div>
|
1354
|
+
|
1355
|
+
<!-- Modal -->
|
1356
|
+
<div id="exampleSimpleModal"
|
1357
|
+
class="modal fade top"
|
1358
|
+
tabindex="-1"
|
1359
|
+
role="dialog"
|
1360
|
+
aria-labelledby="exampleSimpleModalLabel" aria-hidden="true">
|
1361
|
+
<div class="modal-dialog">
|
1362
|
+
<div class="modal-content">
|
1363
|
+
<div class="modal-header">
|
1364
|
+
<h5 id="exampleSimpleModalLabel" class="modal-title notoc">Modal title</h5>
|
1365
|
+
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
1366
|
+
<span aria-hidden="true">×</span>
|
1367
|
+
</button>
|
1368
|
+
</div>
|
1369
|
+
<div class="modal-body">
|
1370
|
+
<p>Modal body text goes here.</p>
|
1371
|
+
</div>
|
1372
|
+
<div class="modal-footer">
|
1373
|
+
<button type="button" class="btn btn-primary btn-raised mr-2" data-dismiss="modal">Close</button>
|
1374
|
+
<button type="button" class="btn btn-secondary btn-raised">Save changes</button>
|
1375
|
+
</div>
|
1376
|
+
</div>
|
1377
|
+
</div>
|
1378
|
+
</div>
|
1379
|
+
++++
|
1380
|
+
|
1381
|
+
|*Static backdrop*
|
1382
|
+
|This model is set to *static* and is will *not* close when clicking outside
|
1383
|
+
it (the backdrop).
|
1343
1384
|
|
|
1344
1385
|
++++
|
1345
1386
|
<div class="ml-2 mb-5">
|
1346
1387
|
<!-- Button trigger modal -->
|
1347
|
-
<button type="button"
|
1348
|
-
|
1388
|
+
<button type="button"
|
1389
|
+
class="btn btn-secondary btn-raised"
|
1390
|
+
data-toggle="modal"
|
1391
|
+
data-target="#exampleStaticModal">
|
1392
|
+
Launch Example
|
1349
1393
|
</button>
|
1350
1394
|
</div>
|
1351
1395
|
|
1352
1396
|
<!-- Modal -->
|
1353
|
-
<div
|
1354
|
-
|
1397
|
+
<div id="exampleStaticModal"
|
1398
|
+
class="modal fade"
|
1399
|
+
tabindex="-1"
|
1400
|
+
role="dialog"
|
1401
|
+
aria-labelledby="exampleStaticModalLabel" aria-hidden="true"
|
1402
|
+
data-keyboard="false"
|
1403
|
+
data-backdrop="static">
|
1404
|
+
<div class="modal-dialog">
|
1355
1405
|
<div class="modal-content">
|
1356
1406
|
<div class="modal-header">
|
1357
|
-
<h5 class="modal-title notoc"
|
1407
|
+
<h5 id="exampleStatcModalLabel" class="modal-title notoc">Modal title</h5>
|
1358
1408
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
1359
1409
|
<span aria-hidden="true">×</span>
|
1360
1410
|
</button>
|
@@ -1363,8 +1413,8 @@ down and fade in from the top of the page.
|
|
1363
1413
|
<p>Modal body text goes here.</p>
|
1364
1414
|
</div>
|
1365
1415
|
<div class="modal-footer">
|
1366
|
-
<button type="button" class="btn btn-
|
1367
|
-
<button type="button" class="btn btn-
|
1416
|
+
<button type="button" class="btn btn-primary btn-raised mr-2" data-dismiss="modal">Close</button>
|
1417
|
+
<button type="button" class="btn btn-secondary btn-raised">Save changes</button>
|
1368
1418
|
</div>
|
1369
1419
|
</div>
|
1370
1420
|
</div>
|
@@ -1379,31 +1429,55 @@ the height.
|
|
1379
1429
|
++++
|
1380
1430
|
<div class="ml-2 mb-5">
|
1381
1431
|
<!-- Button trigger modal -->
|
1382
|
-
<button type="button"
|
1383
|
-
|
1432
|
+
<button type="button"
|
1433
|
+
class="btn btn-secondary btn-raised"
|
1434
|
+
data-toggle="modal"
|
1435
|
+
data-target="#exampleModalLong">
|
1436
|
+
Launch Example
|
1384
1437
|
</button>
|
1385
1438
|
</div>
|
1386
1439
|
|
1387
1440
|
<!-- Modal -->
|
1388
|
-
<div
|
1389
|
-
|
1441
|
+
<div
|
1442
|
+
id="exampleModalLong"
|
1443
|
+
class="modal fade"
|
1444
|
+
tabindex="-1"
|
1445
|
+
role="dialog"
|
1446
|
+
aria-labelledby="exampleModalLongTitle" aria-hidden="true">
|
1447
|
+
<div class="modal-dialog">
|
1390
1448
|
<div class="modal-content">
|
1391
1449
|
<div class="modal-header">
|
1392
|
-
<h5 class="modal-title notoc" id="exampleModalLongTitle">
|
1450
|
+
<h5 class="modal-title notoc" id="exampleModalLongTitle">The Extremes of Good and Evil</h5>
|
1393
1451
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
1394
1452
|
<span aria-hidden="true">×</span>
|
1395
1453
|
</button>
|
1396
1454
|
</div>
|
1397
1455
|
<div class="modal-body">
|
1398
|
-
<
|
1399
|
-
|
1400
|
-
|
1456
|
+
<p>
|
1457
|
+
On the other hand, we denounce with righteous indignation and dislike men who
|
1458
|
+
are so beguiled and demoralized by the charms of pleasure of the moment, so
|
1459
|
+
blinded by desire, that they cannot foresee the pain and trouble that are
|
1460
|
+
bound to ensue; and equal blame belongs to those who fail in their duty through
|
1461
|
+
weakness of will, which is the same as saying through shrinking from toil and pain.
|
1462
|
+
</p>
|
1463
|
+
<p>
|
1464
|
+
These cases are perfectly simple and easy to distinguish. In a free hour, when
|
1465
|
+
our power of choice is untrammelled and when nothing prevents our being able to
|
1466
|
+
do what we like best, every pleasure is to be welcomed and every pain avoided.
|
1467
|
+
But in certain circumstances and owing to the claims of duty or the obligations
|
1468
|
+
of business is will frequently occur that pleasures have to be repudiated and
|
1469
|
+
annoyances accepted. The wise man therefore always holds in these matters to
|
1470
|
+
this principle of selection: he rejects pleasures to secure other greater
|
1471
|
+
pleasures, or else he endures pains to avoid worse pains.
|
1472
|
+
</p>
|
1473
|
+
<p>
|
1401
1474
|
On the other hand, we denounce with righteous indignation and dislike men who
|
1402
1475
|
are so beguiled and demoralized by the charms of pleasure of the moment, so
|
1403
1476
|
blinded by desire, that they cannot foresee the pain and trouble that are
|
1404
1477
|
bound to ensue; and equal blame belongs to those who fail in their duty through
|
1405
1478
|
weakness of will, which is the same as saying through shrinking from toil and pain.
|
1406
|
-
|
1479
|
+
</p>
|
1480
|
+
<p>
|
1407
1481
|
These cases are perfectly simple and easy to distinguish. In a free hour, when
|
1408
1482
|
our power of choice is untrammelled and when nothing prevents our being able to
|
1409
1483
|
do what we like best, every pleasure is to be welcomed and every pain avoided.
|
@@ -1415,175 +1489,130 @@ the height.
|
|
1415
1489
|
</p>
|
1416
1490
|
</div>
|
1417
1491
|
<div class="modal-footer">
|
1418
|
-
<button type="button" class="btn btn-
|
1419
|
-
<button type="button" class="btn btn-
|
1492
|
+
<button type="button" class="btn btn-primary btn-raised mr-2" data-dismiss="modal">Close</button>
|
1493
|
+
<button type="button" class="btn btn-secondary btn-raised">Save changes</button>
|
1420
1494
|
</div>
|
1421
1495
|
</div>
|
1422
1496
|
</div>
|
1423
1497
|
</div>
|
1424
1498
|
++++
|
1425
1499
|
|
1426
|
-
|*
|
1427
|
-
|
|
1500
|
+
|*Scrollable long content*
|
1501
|
+
|It#s also possible to create a scrollable modal that allows scroll the
|
1502
|
+
modal body. Try the demo and scroll the content.
|
1428
1503
|
|
|
1429
1504
|
++++
|
1430
1505
|
<div class="ml-2 mb-5">
|
1431
1506
|
<!-- Button trigger modal -->
|
1432
|
-
<button type="button"
|
1433
|
-
|
1507
|
+
<button type="button"
|
1508
|
+
class="btn btn-secondary btn-raised"
|
1509
|
+
data-toggle="modal"
|
1510
|
+
data-target="#exampleModalLongScrollable">
|
1511
|
+
Launch Example
|
1434
1512
|
</button>
|
1435
1513
|
</div>
|
1436
1514
|
|
1437
1515
|
<!-- Modal -->
|
1438
|
-
<div
|
1439
|
-
|
1516
|
+
<div
|
1517
|
+
id="exampleModalLongScrollable"
|
1518
|
+
class="modal fade"
|
1519
|
+
tabindex="-1"
|
1520
|
+
role="dialog"
|
1521
|
+
aria-labelledby="exampleModalLongScrollableTitle" aria-hidden="true">
|
1522
|
+
<div class="modal-dialog modal-dialog-scrollable">
|
1440
1523
|
<div class="modal-content">
|
1441
1524
|
<div class="modal-header">
|
1442
|
-
<h5 class="modal-title notoc" id="
|
1525
|
+
<h5 class="modal-title notoc" id="exampleModalLongScrollableTitle">The Extremes of Good and Evil</h5>
|
1443
1526
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
1444
1527
|
<span aria-hidden="true">×</span>
|
1445
1528
|
</button>
|
1446
1529
|
</div>
|
1447
1530
|
<div class="modal-body">
|
1448
|
-
|
1449
|
-
|
1450
|
-
|
1531
|
+
<p>
|
1532
|
+
On the other hand, we denounce with righteous indignation and dislike men who
|
1533
|
+
are so beguiled and demoralized by the charms of pleasure of the moment, so
|
1534
|
+
blinded by desire, that they cannot foresee the pain and trouble that are
|
1535
|
+
bound to ensue; and equal blame belongs to those who fail in their duty through
|
1536
|
+
weakness of will, which is the same as saying through shrinking from toil and pain.
|
1537
|
+
</p>
|
1538
|
+
<p>
|
1539
|
+
These cases are perfectly simple and easy to distinguish. In a free hour, when
|
1540
|
+
our power of choice is untrammelled and when nothing prevents our being able to
|
1541
|
+
do what we like best, every pleasure is to be welcomed and every pain avoided.
|
1542
|
+
But in certain circumstances and owing to the claims of duty or the obligations
|
1543
|
+
of business is will frequently occur that pleasures have to be repudiated and
|
1544
|
+
annoyances accepted. The wise man therefore always holds in these matters to
|
1545
|
+
this principle of selection: he rejects pleasures to secure other greater
|
1546
|
+
pleasures, or else he endures pains to avoid worse pains.
|
1547
|
+
</p>
|
1548
|
+
<p>
|
1549
|
+
On the other hand, we denounce with righteous indignation and dislike men who
|
1550
|
+
are so beguiled and demoralized by the charms of pleasure of the moment, so
|
1551
|
+
blinded by desire, that they cannot foresee the pain and trouble that are
|
1552
|
+
bound to ensue; and equal blame belongs to those who fail in their duty through
|
1553
|
+
weakness of will, which is the same as saying through shrinking from toil and pain.
|
1554
|
+
</p>
|
1555
|
+
<p>
|
1556
|
+
These cases are perfectly simple and easy to distinguish. In a free hour, when
|
1557
|
+
our power of choice is untrammelled and when nothing prevents our being able to
|
1558
|
+
do what we like best, every pleasure is to be welcomed and every pain avoided.
|
1559
|
+
But in certain circumstances and owing to the claims of duty or the obligations
|
1560
|
+
of business is will frequently occur that pleasures have to be repudiated and
|
1561
|
+
annoyances accepted. The wise man therefore always holds in these matters to
|
1562
|
+
this principle of selection: he rejects pleasures to secure other greater
|
1563
|
+
pleasures, or else he endures pains to avoid worse pains.
|
1564
|
+
</p>
|
1451
1565
|
</div>
|
1452
1566
|
<div class="modal-footer">
|
1453
|
-
<button type="button" class="btn btn-
|
1454
|
-
<button type="button" class="btn btn-
|
1567
|
+
<button type="button" class="btn btn-primary btn-raised mr-2" data-dismiss="modal">Close</button>
|
1568
|
+
<button type="button" class="btn btn-secondary btn-raised">Save changes</button>
|
1455
1569
|
</div>
|
1456
1570
|
</div>
|
1457
1571
|
</div>
|
1458
1572
|
</div>
|
1459
1573
|
++++
|
1460
1574
|
|
1461
|
-
|
1462
|
-
|
1463
|
-
|To save space on forms, dialogs can be part of a modal.
|
1575
|
+
|*Vertically centered*
|
1576
|
+
|For important messages, center the modal.
|
1464
1577
|
|
|
1465
1578
|
++++
|
1466
1579
|
<div class="ml-2 mb-5">
|
1467
1580
|
<!-- Button trigger modal -->
|
1468
|
-
<button type="button"
|
1469
|
-
|
1581
|
+
<button type="button"
|
1582
|
+
class="btn btn-secondary btn-raised"
|
1583
|
+
data-toggle="modal" data-target="#exampleModalVerticalCenter">
|
1584
|
+
Launch Example
|
1470
1585
|
</button>
|
1471
1586
|
</div>
|
1472
1587
|
|
1473
|
-
|
1474
|
-
|
1475
|
-
|
1588
|
+
<!-- Modal -->
|
1589
|
+
<div id="exampleModalVerticalCenter"
|
1590
|
+
class="modal fade"
|
1591
|
+
tabindex="-1"
|
1592
|
+
role="dialog"
|
1593
|
+
aria-labelledby="exampleModalVerticalCenterTitle" aria-hidden="true">
|
1594
|
+
<div class="modal-dialog modal-dialog-centered">
|
1476
1595
|
<div class="modal-content">
|
1477
|
-
|
1478
|
-
|
1479
|
-
<button type="button" class="close
|
1480
|
-
|
1596
|
+
<div class="modal-header">
|
1597
|
+
<h5 id="exampleModalVerticalCenterTitle" class="modal-title notoc">Modal title</h5>
|
1598
|
+
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
1599
|
+
<span aria-hidden="true">×</span>
|
1481
1600
|
</button>
|
1482
|
-
<h4 class="title notoc"><i class="fa fa-pencil"></i> Contact form</h4>
|
1483
1601
|
</div>
|
1484
|
-
|
1485
|
-
|
1486
|
-
|
1487
|
-
|
1488
|
-
|
1489
|
-
|
1490
|
-
</
|
1491
|
-
<
|
1492
|
-
<i class="fa fa-lock prefix"></i>
|
1493
|
-
<input type="password" id="form20" class="form-control">
|
1494
|
-
<label for="form20">Your email</label>
|
1495
|
-
</div>
|
1496
|
-
<div class="md-form form-sm">
|
1497
|
-
<i class="fa fa-tag prefix"></i>
|
1498
|
-
<input type="text" id="form21" class="form-control">
|
1499
|
-
<label for="form21">Subject</label>
|
1500
|
-
</div>
|
1501
|
-
<div class="md-form form-sm">
|
1502
|
-
<i class="fa fa-pencil prefix"></i>
|
1503
|
-
<textarea type="text" id="form8" class="md-textarea form-control mb-0"></textarea>
|
1504
|
-
<label for="form8">Your message</label>
|
1505
|
-
</div>
|
1506
|
-
<div class="text-center mt-1-half">
|
1507
|
-
<button class="btn btn-info mb-2 waves-effect waves-light">Send <i class="fa fa-send ml-1"></i></button>
|
1508
|
-
</div>
|
1602
|
+
<div class="modal-body">
|
1603
|
+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
|
1604
|
+
eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
|
1605
|
+
voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
|
1606
|
+
</div>
|
1607
|
+
<div class="modal-footer">
|
1608
|
+
<button type="button" class="btn btn-primary btn-raised mr-2" data-dismiss="modal">Close</button>
|
1609
|
+
<button type="button" class="btn btn-secondary btn-raised">Save changes</button>
|
1509
1610
|
</div>
|
1510
1611
|
</div>
|
1511
|
-
<!--/.Content-->
|
1512
1612
|
</div>
|
1513
1613
|
</div>
|
1514
1614
|
++++
|
1515
1615
|
|
1516
|
-
|*Fluid*
|
1517
|
-
|For e.g larger summaries, a vertical fluid modal can be used for that.
|
1518
|
-
|
|
1519
|
-
++++
|
1520
|
-
<div class="ml-2 mb-5">
|
1521
|
-
<!-- Button trigger modal -->
|
1522
|
-
<button type="button" class="btn btn-primary btn-round btn-raised" data-toggle="modal" data-target="#fluidModalRightSuccess">
|
1523
|
-
Launch
|
1524
|
-
</button>
|
1525
|
-
</div>
|
1526
|
-
|
1527
|
-
<!-- Full Height Modal Right Success-->
|
1528
|
-
<div class="modal fade right" id="fluidModalRightSuccess" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
|
1529
|
-
<div class="modal-dialog modal-full-height modal-right modal-notify modal-success" role="document">
|
1530
|
-
<!--Content-->
|
1531
|
-
<div class="modal-content">
|
1532
|
-
<!--Header-->
|
1533
|
-
<div class="modal-header">
|
1534
|
-
<p class="heading lead">Modal Success</p>
|
1535
|
-
|
1536
|
-
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
1537
|
-
<span aria-hidden="true" class="white-text">×</span>
|
1538
|
-
</button>
|
1539
|
-
</div>
|
1540
|
-
|
1541
|
-
<!--Body-->
|
1542
|
-
<div class="modal-body">
|
1543
|
-
<div class="text-center">
|
1544
|
-
<i class="fa fa-check fa-4x mb-1 animated rotateIn"></i>
|
1545
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Impedit iusto nulla aperiam blanditiis ad consequatur in dolores culpa, dignissimos, eius non possimus fugiat. Esse ratione fuga, enim, ab officiis totam.</p>
|
1546
|
-
</div>
|
1547
|
-
<ul class="list-group z-depth-0">
|
1548
|
-
<li class="list-group-item justify-content-between">
|
1549
|
-
Cras justo odio
|
1550
|
-
<span class="badge badge-primary badge-pill">14</span>
|
1551
|
-
</li>
|
1552
|
-
<li class="list-group-item justify-content-between">
|
1553
|
-
Dapibus ac facilisis in
|
1554
|
-
<span class="badge badge-primary badge-pill">2</span>
|
1555
|
-
</li>
|
1556
|
-
<li class="list-group-item justify-content-between">
|
1557
|
-
Morbi leo risus
|
1558
|
-
<span class="badge badge-primary badge-pill">1</span>
|
1559
|
-
</li>
|
1560
|
-
<li class="list-group-item justify-content-between">
|
1561
|
-
Cras justo odio
|
1562
|
-
<span class="badge badge-primary badge-pill">14</span>
|
1563
|
-
</li>
|
1564
|
-
<li class="list-group-item justify-content-between">
|
1565
|
-
Dapibus ac facilisis in
|
1566
|
-
<span class="badge badge-primary badge-pill">2</span>
|
1567
|
-
</li>
|
1568
|
-
<li class="list-group-item justify-content-between">
|
1569
|
-
Morbi leo risus
|
1570
|
-
<span class="badge badge-primary badge-pill">1</span>
|
1571
|
-
</li>
|
1572
|
-
</ul>
|
1573
|
-
</div>
|
1574
|
-
|
1575
|
-
<!--Footer-->
|
1576
|
-
<div class="modal-footer">
|
1577
|
-
<a type="button" class="btn btn-primary-modal">Get it now <i class="fa fa-diamond ml-1"></i></a>
|
1578
|
-
<a type="button" class="btn btn-outline-secondary-modal waves-effect" data-dismiss="modal">No, thanks</a>
|
1579
|
-
</div>
|
1580
|
-
</div>
|
1581
|
-
<!--/.Content-->
|
1582
|
-
</div>
|
1583
|
-
</div>
|
1584
|
-
<!-- Full Height Modal Right Success-->
|
1585
|
-
++++
|
1586
|
-
|
1587
1616
|
|*Tooltips and Popovers*
|
1588
1617
|
|Tooltips and popovers can be placed within modals as needed. When modals are
|
1589
1618
|
closed, any tooltips and popovers within are also automatically dismissed.
|
@@ -1591,14 +1620,21 @@ closed, any tooltips and popovers within are also automatically dismissed.
|
|
1591
1620
|
++++
|
1592
1621
|
<div class="ml-2 mb-5">
|
1593
1622
|
<!-- Button trigger modal -->
|
1594
|
-
<button type="button"
|
1595
|
-
|
1623
|
+
<button type="button"
|
1624
|
+
class="btn btn-secondary btn-raised"
|
1625
|
+
data-toggle="modal"
|
1626
|
+
data-target="#exampleModalTooltip">
|
1627
|
+
Launch Example
|
1596
1628
|
</button>
|
1597
1629
|
</div>
|
1598
1630
|
|
1599
1631
|
<!-- Modal -->
|
1600
|
-
<div
|
1601
|
-
|
1632
|
+
<div id="exampleModalTooltip"
|
1633
|
+
class="modal fade"
|
1634
|
+
tabindex="-1"
|
1635
|
+
role="dialog"
|
1636
|
+
aria-labelledby="exampleModalTooltipTitle" aria-hidden="true">
|
1637
|
+
<div class="modal-dialog modal-dialog-centered">
|
1602
1638
|
<div class="modal-content">
|
1603
1639
|
<div class="modal-header">
|
1604
1640
|
<h5 class="modal-title notoc" id="exampleModalTooltipTitle">Modal title</h5>
|
@@ -1608,14 +1644,14 @@ closed, any tooltips and popovers within are also automatically dismissed.
|
|
1608
1644
|
</div>
|
1609
1645
|
<div class="modal-body">
|
1610
1646
|
<h5>Popover in a modal</h5>
|
1611
|
-
<p>This <a href="#" role="button" class="btn btn-secondary btn-
|
1647
|
+
<p>This <a href="#" role="button" class="btn btn-secondary 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>
|
1612
1648
|
<hr>
|
1613
1649
|
<h5>Tooltips in a modal</h5>
|
1614
1650
|
<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>
|
1615
1651
|
</div>
|
1616
1652
|
<div class="modal-footer">
|
1617
|
-
<button type="button" class="btn btn-
|
1618
|
-
<button type="button" class="btn btn-
|
1653
|
+
<button type="button" class="btn btn-primary btn-raised mr-2" data-dismiss="modal">Close</button>
|
1654
|
+
<button type="button" class="btn btn-secondary btn-raised">Save changes</button>
|
1619
1655
|
</div>
|
1620
1656
|
</div>
|
1621
1657
|
</div>
|
@@ -1632,7 +1668,7 @@ bootstrap.bundle.js which contains Popper.js in order for popovers to work.
|
|
1632
1668
|
|
1633
1669
|
Note: Popovers require the tooltip plugin as a dependency.
|
1634
1670
|
|
1635
|
-
pass:[<i class="mdi mdi-book-open mdi-24px mdi-md-
|
1671
|
+
pass:[<i class="mdi mdi-book-open mdi-24px mdi-md-blue-900"></i>]
|
1636
1672
|
Refer to: link:{bs_doc_components_popovers}[Bootstrap Docs, window="_blank"].
|
1637
1673
|
|
1638
1674
|
++++
|
@@ -1654,7 +1690,7 @@ bootstrap.bundle.js which contains Popper.js in order for tooltips to work.
|
|
1654
1690
|
Note: Tooltips are opt-in for performance reasons, so you must initialize
|
1655
1691
|
them yourself.
|
1656
1692
|
|
1657
|
-
pass:[<i class="mdi mdi-book-open mdi-24px mdi-md-
|
1693
|
+
pass:[<i class="mdi mdi-book-open mdi-24px mdi-md-blue-900"></i>]
|
1658
1694
|
Refer to: link:{bs_doc_components_tooltips}[Bootstrap Docs, window="_blank"].
|
1659
1695
|
|
1660
1696
|
++++
|