j1-template 2020.0.10 → 2020.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_layouts/default.html +18 -8
- data/assets/data/ssm.html +5 -5
- data/assets/themes/j1/adapter/js/navigator.js +5 -1
- data/assets/themes/j1/core/css/theme_extensions.css +0 -9
- data/assets/themes/j1/core/css/theme_extensions.min.css +1 -1
- data/assets/themes/j1/core/css/uno.css +74 -15
- data/assets/themes/j1/core/css/uno.min.css +1 -1
- data/assets/themes/j1/core/css/vendor.css +6 -2
- data/assets/themes/j1/core/css/vendor.min.css +2 -2
- 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/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/modules/navigator_menu.yml +4 -0
- data/lib/starter_web/_data/template_settings.yml +22 -2
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/learn/{floating_sidebar.adoc → examples/floating_div.adoc} +27 -49
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/000_includes/parts.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour_api.adoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_table_3_column.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +4 -4
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +19 -19
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_table_3_column.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/100_absolute_sizes.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/110_bs_grid_sizes.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/120_relative_sizes.asciidoc +1 -41
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/200_rotate.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/300_flip.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/400_spin_pulsed.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/500_bw_color_palette.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/510_bs_color_palette.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/600_md_color_palette.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/601_md_color_palette_indigo.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/602_md_color_palette_pink.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/100_bs_sizes.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/100_relative_sizes.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/200_rotate.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/300_flip.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/400_spin_pulsed.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +668 -859
- data/lib/starter_web/pages/public/previewer/mdb_preview/000_includes/attributes.asciidoc +69 -0
- data/lib/starter_web/pages/public/previewer/mdb_preview/000_includes/documents/100_buttons.asciidoc +170 -0
- data/lib/starter_web/pages/public/previewer/mdb_preview/mdb_previewer.adoc +52 -0
- data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +1 -1
- data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +1 -1
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +6 -3
@@ -0,0 +1,69 @@
|
|
1
|
+
// ~/document_base_folder/000_includes
|
2
|
+
// Asciidoc attribute includes: attributes.asciidoc
|
3
|
+
// -----------------------------------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// URLs - Internal references and/or sources on the Internet
|
7
|
+
// -----------------------------------------------------------------------------
|
8
|
+
tag::urls[]
|
9
|
+
|
10
|
+
:bootstrap-home: https://getbootstrap.com/
|
11
|
+
:bs_doc_components_modal: https://getbootstrap.com/docs/4.3/components/modal/
|
12
|
+
|
13
|
+
:bootswatch-home: https://bootswatch.com/
|
14
|
+
:bootswatch-api: https://bootswatch.com/help/#api
|
15
|
+
|
16
|
+
:mdb-home: https://mdbootstrap.com/
|
17
|
+
:mdb-bs-modals: https://mdbootstrap.com/docs/jquery/modals/basic/
|
18
|
+
:mdb-bs-modals-legacy: https://mdbootstrap.com/legacy/4.3.2/?page=javascript/modals
|
19
|
+
|
20
|
+
end::urls[]
|
21
|
+
|
22
|
+
// Tags - Asciidoc attributes used internally
|
23
|
+
// -----------------------------------------------------------------------------
|
24
|
+
tag::tags[]
|
25
|
+
|
26
|
+
:window: window="blank"
|
27
|
+
:no-clipboard: noclip
|
28
|
+
:figure-caption: Figure
|
29
|
+
:images-dir: pages/roundtrip
|
30
|
+
:y: icon:check[role="green"]
|
31
|
+
:n: icon:times[role="red"]
|
32
|
+
:c: icon:file-alt[role="blue"]
|
33
|
+
:beginner: icon:battery-quarter[role="md-blue"]
|
34
|
+
:inter: icon:battery-half[role="md-blue"]
|
35
|
+
:advanced: icon:battery-full[role="md-blue"]
|
36
|
+
:emdash: —
|
37
|
+
:bullet: •
|
38
|
+
:bigbullet: ●
|
39
|
+
:bigbigbullet: ⬤
|
40
|
+
:dot: .
|
41
|
+
:dotdot: ..
|
42
|
+
:middot: ·
|
43
|
+
|
44
|
+
end::tags[]
|
45
|
+
|
46
|
+
// Data - Data elements for Asciidoctor extensions
|
47
|
+
// -----------------------------------------------------------------------------
|
48
|
+
tag::data[]
|
49
|
+
|
50
|
+
:data-images-standalone: "pages/roundtrip/100_present_images/lightbox-image-1.jpg, Golden Gate Bridge with San Francisco in distance, pages/roundtrip/100_present_images/lightbox-image-2.jpg, Forest with mountains behind"
|
51
|
+
:data-images-group: "pages/roundtrip/100_present_images/lightbox-image-1.jpg, Golden Gate Bridge with San Francisco in distance, pages/roundtrip/100_present_images/lightbox-image-2.jpg, Forest with mountains behind"
|
52
|
+
|
53
|
+
end::data[]
|
54
|
+
|
55
|
+
|
56
|
+
// Product - Document (e.g release) information
|
57
|
+
// -----------------------------------------------------------------------------
|
58
|
+
tag::product_info[]
|
59
|
+
:license: MIT License
|
60
|
+
:revdate: 2020
|
61
|
+
:revnumber: 2020.1.0
|
62
|
+
end::product_info[]
|
63
|
+
|
64
|
+
|
65
|
+
// Author - Author information
|
66
|
+
// -----------------------------------------------------------------------------
|
67
|
+
tag::authors[]
|
68
|
+
:uri-author-juergen-adams: https://jekyll.one
|
69
|
+
end::authors[]
|
data/lib/starter_web/pages/public/previewer/mdb_preview/000_includes/documents/100_buttons.asciidoc
ADDED
@@ -0,0 +1,170 @@
|
|
1
|
+
## Buttons
|
2
|
+
|
3
|
+
See: https://fezvrasta.github.io/bootstrap-material-design/docs/4.0/material-design/buttons/[MD Buttons, window="_blank"]
|
4
|
+
|
5
|
+
Buttons communicate the action that will occur when the user touches them.
|
6
|
+
|
7
|
+
### Flat buttons
|
8
|
+
|
9
|
+
Flat buttons are text-only buttons. They may be used in dialogs, toolbars,
|
10
|
+
or inline. They do not lift, but fill with color on press.
|
11
|
+
|
12
|
+
Outline buttons, i.e. `.btn-outline-*`, are the equivalent of Material flat
|
13
|
+
buttons. For more details, please refer to Components/Buttons documentation.
|
14
|
+
|
15
|
+
++++
|
16
|
+
<div class="doc-example">
|
17
|
+
<button type="button" class="btn btn-primary">Primary</button>
|
18
|
+
<button type="button" class="btn btn-secondary">Secondary</button>
|
19
|
+
<button type="button" class="btn btn-success">Success</button>
|
20
|
+
<button type="button" class="btn btn-info">Info</button>
|
21
|
+
<button type="button" class="btn btn-warning">Warning</button>
|
22
|
+
<button type="button" class="btn btn-danger">Danger</button>
|
23
|
+
<button type="button" class="btn btn-link">Link</button>
|
24
|
+
</div>
|
25
|
+
++++
|
26
|
+
|
27
|
+
[source, html]
|
28
|
+
----
|
29
|
+
<button type="button" class="btn btn-primary">Primary</button>
|
30
|
+
<button type="button" class="btn btn-secondary">Secondary</button>
|
31
|
+
<button type="button" class="btn btn-success">Success</button>
|
32
|
+
<button type="button" class="btn btn-info">Info</button>
|
33
|
+
<button type="button" class="btn btn-warning">Warning</button>
|
34
|
+
<button type="button" class="btn btn-danger">Danger</button>
|
35
|
+
<button type="button" class="btn btn-link">Link</button>
|
36
|
+
----
|
37
|
+
|
38
|
+
### Raised buttons
|
39
|
+
|
40
|
+
Raised buttons are rectangular-shaped buttons. They may be used inline. They
|
41
|
+
lift and display ink reactions on press.
|
42
|
+
|
43
|
+
Default buttons, i.e. `.btn`, are the equivalent of Material raised buttons.
|
44
|
+
For more details, please refer to Components/Buttons documentation.
|
45
|
+
|
46
|
+
++++
|
47
|
+
<div class="doc-example">
|
48
|
+
<button type="button" class="btn btn-raised btn-primary">Primary</button>
|
49
|
+
<button type="button" class="btn btn-raised btn-secondary">Secondary</button>
|
50
|
+
<button type="button" class="btn btn-raised btn-success">Success</button>
|
51
|
+
<button type="button" class="btn btn-raised btn-info">Info</button>
|
52
|
+
<button type="button" class="btn btn-raised btn-warning">Warning</button>
|
53
|
+
<button type="button" class="btn btn-raised btn-danger">Danger</button>
|
54
|
+
<button type="button" class="btn btn-raised btn-link">Link</button>
|
55
|
+
</div>
|
56
|
+
++++
|
57
|
+
|
58
|
+
[source, html]
|
59
|
+
----
|
60
|
+
<button type="button" class="btn btn-raised btn-primary">Primary</button>
|
61
|
+
<button type="button" class="btn btn-raised btn-secondary">Secondary</button>
|
62
|
+
<button type="button" class="btn btn-raised btn-success">Success</button>
|
63
|
+
<button type="button" class="btn btn-raised btn-info">Info</button>
|
64
|
+
<button type="button" class="btn btn-raised btn-warning">Warning</button>
|
65
|
+
<button type="button" class="btn btn-raised btn-danger">Danger</button>
|
66
|
+
<button type="button" class="btn btn-raised btn-link">Link</button>
|
67
|
+
----
|
68
|
+
|
69
|
+
### Floating action buttons
|
70
|
+
|
71
|
+
A floating action button represents the primary action in an application,
|
72
|
+
it is used for a promoted action.
|
73
|
+
|
74
|
+
++++
|
75
|
+
<div class="doc-example">
|
76
|
+
<button type="button" class="btn bmd-btn-fab">
|
77
|
+
<i class="mdi mdi-plus mdi-2x"></i>
|
78
|
+
</button>
|
79
|
+
</div>
|
80
|
+
++++
|
81
|
+
|
82
|
+
[source, html]
|
83
|
+
----
|
84
|
+
<button type="button" class="btn bmd-btn-fab">
|
85
|
+
<i class="mdi mdi-plus mdi-2x"></i>
|
86
|
+
</button>
|
87
|
+
----
|
88
|
+
|
89
|
+
#### Colors
|
90
|
+
|
91
|
+
++++
|
92
|
+
<div class="doc-example">
|
93
|
+
<button type="button" class="btn bmd-btn-fab btn-primary my-1">
|
94
|
+
<i class="mdi mdi-plus mdi-2x"></i>
|
95
|
+
</button>
|
96
|
+
<button type="button" class="btn bmd-btn-fab btn-secondary my-1">
|
97
|
+
<i class="mdi mdi-plus mdi-2x"></i>
|
98
|
+
</button>
|
99
|
+
<button type="button" class="btn bmd-btn-fab btn-danger my-1">
|
100
|
+
<i class="mdi mdi-plus mdi-2x"></i>
|
101
|
+
</button>
|
102
|
+
<button type="button" class="btn bmd-btn-fab btn-info my-1">
|
103
|
+
<i class="mdi mdi-plus mdi-2x"></i>
|
104
|
+
</button>
|
105
|
+
<button type="button" class="btn bmd-btn-fab btn-success my-1">
|
106
|
+
<i class="mdi mdi-plus mdi-2x"></i>
|
107
|
+
</button>
|
108
|
+
<button type="button" class="btn bmd-btn-fab btn-warning my-1">
|
109
|
+
<i class="mdi mdi-plus mdi-2x"></i>
|
110
|
+
</button>
|
111
|
+
<button type="button" class="btn bmd-btn-fab btn-dark my-1">
|
112
|
+
<i class="mdi mdi-plus mdi-2x"></i>
|
113
|
+
</button>
|
114
|
+
<button type="button" class="btn bmd-btn-fab btn-light my-1">
|
115
|
+
<i class="mdi mdi-plus mdi-2x"></i>
|
116
|
+
</button>
|
117
|
+
</div>
|
118
|
+
++++
|
119
|
+
|
120
|
+
[source, html]
|
121
|
+
----
|
122
|
+
<button type="button" class="btn bmd-btn-fab btn-primary my-1">
|
123
|
+
<i class="mdi mdi-plus mdi-2x"></i>
|
124
|
+
</button>
|
125
|
+
<button type="button" class="btn bmd-btn-fab btn-secondary my-2">
|
126
|
+
<i class="mdi mdi-plus mdi-2x"></i>
|
127
|
+
</button>
|
128
|
+
...
|
129
|
+
<button type="button" class="btn bmd-btn-fab btn-dark my-7">
|
130
|
+
<i class="mdi mdi-plus mdi-2x"></i>
|
131
|
+
</button>
|
132
|
+
<button type="button" class="btn bmd-btn-fab btn-light my-8">
|
133
|
+
<i class="mdi mdi-plus mdi-2x"></i>
|
134
|
+
</button>
|
135
|
+
----
|
136
|
+
|
137
|
+
#### Sizes
|
138
|
+
|
139
|
+
A smaller sized, i.e. mini floating action button, is also available.
|
140
|
+
|
141
|
+
++++
|
142
|
+
<div class="doc-example">
|
143
|
+
<button type="button" class="btn btn-danger bmd-btn-fab bmd-btn-fab-sm">
|
144
|
+
<i class="mdi mdi-plus mdi-sm"></i>
|
145
|
+
</button>
|
146
|
+
</div>
|
147
|
+
++++
|
148
|
+
|
149
|
+
[source, html]
|
150
|
+
----
|
151
|
+
<button type="button" class="btn btn-danger bmd-btn-fab bmd-btn-fab-sm">
|
152
|
+
<i class="mdi mdi-plus mdi-sm"></i>
|
153
|
+
</button>
|
154
|
+
----
|
155
|
+
|
156
|
+
## Recommended button placement
|
157
|
+
|
158
|
+
Cards::
|
159
|
+
Buttons are best placed on the left side of a card to increase their
|
160
|
+
visibility. However, as cards have flexible layouts, buttons may be
|
161
|
+
placed in a location suited to the content and context, while
|
162
|
+
maintaining consistency within the product.
|
163
|
+
|
164
|
+
Forms::
|
165
|
+
Button alignment on screen: Left. Place the affirmative button on the
|
166
|
+
left, the dismissive button on the right.
|
167
|
+
|
168
|
+
Standard dialogs::
|
169
|
+
Button alignment on screen: right. Place the affirmative button on the
|
170
|
+
right, the dismissive button on the left.
|
@@ -0,0 +1,52 @@
|
|
1
|
+
---
|
2
|
+
title: Themes
|
3
|
+
tagline: Material Design for Bootstrap
|
4
|
+
description: material
|
5
|
+
|
6
|
+
tags: [ Page, Bootstrap ]
|
7
|
+
index: [ Bootstrap, Addon, Clear, Button ]
|
8
|
+
categories: [ pages ]
|
9
|
+
|
10
|
+
permalink: /pages/public/mdb_preview/
|
11
|
+
regenerate: true
|
12
|
+
|
13
|
+
resources: []
|
14
|
+
resource_options:
|
15
|
+
---
|
16
|
+
|
17
|
+
// Enable the Liquid Preprocessor
|
18
|
+
// -----------------------------------------------------------------------------
|
19
|
+
:page-liquid:
|
20
|
+
|
21
|
+
|
22
|
+
// Set other global page attributes here
|
23
|
+
// -----------------------------------------------------------------------------
|
24
|
+
//:my-asciidoc-attribute:
|
25
|
+
|
26
|
+
// Load Liquid procedures
|
27
|
+
// -----------------------------------------------------------------------------
|
28
|
+
{% capture set_env_entry_document %}themes/{{site.template.name}}/procedures/global/set_env_entry_document.proc{%endcapture%}
|
29
|
+
|
30
|
+
|
31
|
+
// Initialize entry document environmental attributes
|
32
|
+
// -----------------------------------------------------------------------------
|
33
|
+
{% include {{set_env_entry_document}} %}
|
34
|
+
|
35
|
+
// Load tag, url and data attributes
|
36
|
+
// -----------------------------------------------------------------------------
|
37
|
+
include::{includedir}/attributes.asciidoc[tag=tags]
|
38
|
+
include::{includedir}/attributes.asciidoc[tag=urls]
|
39
|
+
include::{includedir}/attributes.asciidoc[tag=data]
|
40
|
+
|
41
|
+
// Set local page attributes
|
42
|
+
// -----------------------------------------------------------------------------
|
43
|
+
// :images-dir: {imagesdir}/path/to/page/images
|
44
|
+
|
45
|
+
|
46
|
+
// Page content
|
47
|
+
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
48
|
+
|
49
|
+
// Include sub-documents
|
50
|
+
// -----------------------------------------------------------------------------
|
51
|
+
|
52
|
+
include::{documentsdir}/100_buttons.asciidoc[]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: j1-template
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2020.0.
|
4
|
+
version: 2020.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- juergen_jekyll_one
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -1102,7 +1102,7 @@ files:
|
|
1102
1102
|
- lib/starter_web/pages/public/blog/navigator/archive/tagview.html
|
1103
1103
|
- lib/starter_web/pages/public/blog/navigator/index.html
|
1104
1104
|
- lib/starter_web/pages/public/clear_button.adoc
|
1105
|
-
- lib/starter_web/pages/public/learn/
|
1105
|
+
- lib/starter_web/pages/public/learn/examples/floating_div.adoc
|
1106
1106
|
- lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/000_includes/attributes.asciidoc
|
1107
1107
|
- lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/000_includes/documents/100_meet_and_greet_jekyll.asciidoc
|
1108
1108
|
- lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/000_includes/documents/200_preparations.asciidoc
|
@@ -1185,6 +1185,9 @@ files:
|
|
1185
1185
|
- lib/starter_web/pages/public/previewer/bootstrap_theme.adoc
|
1186
1186
|
- lib/starter_web/pages/public/previewer/iframer.adoc
|
1187
1187
|
- lib/starter_web/pages/public/previewer/justified_gallery.html
|
1188
|
+
- lib/starter_web/pages/public/previewer/mdb_preview/000_includes/attributes.asciidoc
|
1189
|
+
- lib/starter_web/pages/public/previewer/mdb_preview/000_includes/documents/100_buttons.asciidoc
|
1190
|
+
- lib/starter_web/pages/public/previewer/mdb_preview/mdb_previewer.adoc
|
1188
1191
|
- lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc
|
1189
1192
|
- lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc
|
1190
1193
|
- lib/starter_web/pages/public/site_search.adoc
|