j1-template 2022.5.0.rc0 → 2022.5.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/lib/j1/version.rb +1 -1
  3. data/lib/starter_web/Gemfile +1 -1
  4. data/lib/starter_web/_config.yml +1 -1
  5. data/lib/starter_web/dot.ruby-version +1 -0
  6. data/lib/starter_web/package.json +2 -2
  7. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +1 -1
  8. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +1 -1
  9. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +1 -1
  10. data/lib/starter_web/pages/public/blog/navigator/archive.html +1 -1
  11. data/lib/starter_web/pages/public/blog/navigator/index.html +2 -2
  12. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +1 -1
  13. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  14. data/lib/starter_web/utilsrv/package.json +1 -1
  15. metadata +2 -25
  16. data/lib/starter_web/pages/public/learn/_roundtrip/100_present_images.adoc +0 -313
  17. data/lib/starter_web/pages/public/learn/_roundtrip/100_present_videos.adoc +0 -281
  18. data/lib/starter_web/pages/public/learn/_roundtrip/200_typography.adoc +0 -253
  19. data/lib/starter_web/pages/public/learn/_roundtrip/300_icon_fonts.adoc +0 -579
  20. data/lib/starter_web/pages/public/learn/_roundtrip/400_asciidoc_extensions.adoc +0 -719
  21. data/lib/starter_web/pages/public/learn/_roundtrip/410_bs_modals_extentions.adoc +0 -91
  22. data/lib/starter_web/pages/public/learn/_roundtrip/420_responsive_tables_extensions.adoc +0 -420
  23. data/lib/starter_web/pages/public/learn/_roundtrip/500_themes.adoc +0 -250
  24. data/lib/starter_web/pages/public/learn/_roundtrip/600_quicksearch.adoc +0 -425
  25. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/attributes.asciidoc +0 -118
  26. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/100_gistblock.asciidoc +0 -28
  27. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_bottom_info.asciidoc +0 -14
  28. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_bottom_left_warning.asciidoc +0 -11
  29. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_bottom_right_danger.asciidoc +0 -11
  30. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_central_success.asciidoc +0 -11
  31. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_full_height_left_info.asciidoc +0 -11
  32. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_full_height_right_success.asciidoc +0 -11
  33. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_table_bs_modal_examples.asciidoc +0 -47
  34. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_top_info.asciidoc +0 -11
  35. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_top_left_info.asciidoc +0 -11
  36. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_top_right_success.asciidoc +0 -11
  37. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/419_advanced_modals_demo.asciidoc +0 -337
  38. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/tables/bs_modal_examples.asciidoc +0 -47
  39. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/google-ad.js +0 -130
@@ -1,91 +0,0 @@
1
- ---
2
- title: Roundtrip
3
- tagline: advanced bootstrap modals
4
- date: 2020-11-08 00:00:00
5
- description: >
6
- Advanced Bootstrap modals are used to add dialogs to your
7
- web pages for user notifications. To highlight important
8
- information to your visitors. Modals are positioned over
9
- everything else in the document so that messages get the
10
- user's attention.
11
-
12
- categories: [ Roundtrip ]
13
- tags: [ Introduction, Bootstrap, Modal, Extension ]
14
-
15
- flowtext: false
16
- fab_menu_id: page_ctrl
17
-
18
- permalink: /pages/public/learn/roundtrip/modals/
19
- regenerate: false
20
-
21
- resources: [ animate ]
22
- resource_options:
23
- - attic:
24
- slides:
25
- - url: /assets/images/pages/roundtrip/bootstrap-1920x1000-bw.jpg
26
- alt: bootstrap
27
- ---
28
-
29
- // Page Initializer
30
- // =============================================================================
31
- // Enable the Liquid Preprocessor
32
- :page-liquid:
33
-
34
- // Set (local) page attributes here
35
- // -----------------------------------------------------------------------------
36
- // :page--attr: <attr-value>
37
- :images-dir: {imagesdir}/pages/roundtrip/100_present_images
38
-
39
- // Load Liquid procedures
40
- // -----------------------------------------------------------------------------
41
- {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
42
-
43
- // Load page attributes
44
- // -----------------------------------------------------------------------------
45
- {% include {{load_attributes}} scope="all" %}
46
-
47
-
48
- // Page content
49
- // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50
-
51
- // Include sub-documents (if any)
52
- // -----------------------------------------------------------------------------
53
- [role="dropcap"]
54
- Advanced Bootstrap Modals are based on the free package of
55
- link:{url-mdb--home}[Material Design for Bootstrap, {browser-window--new}] on version
56
- *4.3.2*. This version can be found following this link:
57
- link:{url-mdb--bs-modals-legacy}[Enhanced Bootstrap Modals, {browser-window--new}]. A more
58
- current version is available from here:
59
- link:{url-mdb--bs-modals}[Modal examples & templates, {browser-window--new}].
60
- Bootstrap modals are used to add dialogues to your web pages for user
61
- notifications. To highlight important information to your visitors. Modals
62
- are positioned over everything else in the document so that messages
63
- get the user's attention.
64
-
65
- To improve your visitor's experience on important information that shouldn't
66
- be missed. Modals are a great choice to bring the user's attention. Using the
67
- J1 Template BS enhanced predefined modal styles, some emotional weight is
68
- added to the information displayed - ranging from an info level, a simple
69
- warning to critical messages.
70
-
71
- NOTE: For more information on how to use Bootstrap’s JavaScript modal
72
- plugin, refer to: link:{url-bs-doc--components-modal}[Bootstrap Docs, {browser-window--new}].
73
-
74
- // include::{documentdir}/tables/bs_modal_examples.asciidoc[]
75
- include::{documentdir}/410_table_bs_modal_examples.asciidoc[]
76
-
77
- == What next
78
-
79
- Bootstrap is a helpful framework that offers in the current V5
80
- version a complete set of styles to create excellent responsive designs.
81
- In the sense of all can be improved, the responsive tables support of BS
82
- needs some enhancement to display tables on low-resolution devices or smaller
83
- (browser-) window sizes.
84
-
85
- The first version for improved responsive tables that scale better is available
86
- for the J1 Template. Check out from here what the
87
- link:{url-roundtrip--responsive-tables}[BS Table Extensions] can do!
88
-
89
- // Include the modals HTML portion
90
- // -----------------------------------------------------------------------------
91
- include::{documentdir}/419_advanced_modals_demo.asciidoc[]
@@ -1,420 +0,0 @@
1
- ---
2
- title: Roundtrip
3
- tagline: responsive tables
4
- date: 2020-11-09 00:00:00
5
- description: >
6
- Creating a design for responsive tables is challenging. The approach used by
7
- J1 Template is based on pure CSS on top of the classic Bootstrap styles for
8
- simplicity and portability to be viewed best on all devices and browsers.
9
-
10
- categories: [ Roundtrip ]
11
- tags: [ Introduction, Bootstrap, Table, Extension ]
12
-
13
- flowtext: false
14
- fab_menu_id: page_ctrl
15
-
16
- permalink: /pages/public/learn/roundtrip/responsive_tables/
17
- regenerate: false
18
-
19
- resources: [ animate, rouge ]
20
- resource_options:
21
- - attic:
22
- opacity: 0.7
23
- slides:
24
- - url: /assets/images/pages/roundtrip/tables-1920x1280-bw.jpg
25
- alt: Photo by Markus Spiske on Unsplash
26
- badge:
27
- type: unsplash
28
- author: Markus Spiske
29
- href: https://unsplash.com/@markusspiske/portfolio
30
- ---
31
-
32
- // Page Initializer
33
- // =============================================================================
34
- // Enable the Liquid Preprocessor
35
- :page-liquid:
36
-
37
- // Set (local) page attributes here
38
- // -----------------------------------------------------------------------------
39
- // :page--attr: <attr-value>
40
- :images-dir: {imagesdir}/pages/roundtrip/100_present_images
41
-
42
- // Load Liquid procedures
43
- // -----------------------------------------------------------------------------
44
- {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
45
-
46
- // Load page attributes
47
- // -----------------------------------------------------------------------------
48
- {% include {{load_attributes}} scope="all" %}
49
-
50
-
51
- // Page content
52
- // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
53
-
54
- // Include sub-documents (if any)
55
- // -----------------------------------------------------------------------------
56
- [role="dropcap"]
57
- Creating a design for responsive tables is challenging. The approach used by
58
- J1 Template is based on pure CSS on top of the classic Bootstrap styles for
59
- simplicity and portability to be viewed best on all devices and browsers.
60
-
61
- == Table types
62
-
63
- But, for sure, the solution provided is a compromise. To fit the everyday needs
64
- for tables viewed on desktop and mobile devices, three types of responsive
65
- tables are implemented:
66
-
67
- .Types of responsive tables
68
- [cols="3a,3a,6a", options="header", width="100%", role="table-responsive mt-3"]
69
- |===
70
- |Type |Style |Description
71
-
72
- |J Table (default)
73
- |`r-text-xxx`
74
- |J Tables are used by J1 Template for default. Those tables are using the
75
- *responsive text* feature (see link:{url-roundtrip--typography}[Typography])
76
- with no additional CSS classes to be applied. For smaller viewports, the text
77
- scales down and should fit the cells automatically. The default text size for
78
- J1 is `r-text-300`.
79
-
80
- |B Table (Bootstrap)
81
- |`table-responsive`
82
- |If adding the class `table-responsive`, it creates a responsive table based
83
- on Bootstrap CSS styles. The table will then scroll horizontally on small
84
- devices. Making any table responsive across *all* viewports, the additional
85
- class `table-responsive` is to applied. For specific (Bootstrap) breakpoints,
86
- the classes `table-responsive-lg{-sm\|-md\|-lg\|-xl}` are available to have
87
- better control on what viewport sizes tables are being transformed.
88
-
89
- |F Table (fixed)
90
- |`no-rtext`
91
- |If the responsive text feature from J1 is *not* wanted, the CSS class
92
- `no-rtext` is to be applied. J tables are *not* responsive per default,
93
- but in combination with the CSS class `table-responsive{-sm|-md|-lg|-xl`
94
- from Bootstrap, this type behaves like classic Bootstrap responsive tables
95
- (see above) but *no* responsive text is used.
96
-
97
- |R Tables (stacked)
98
- |`rtable`
99
- |The style `rtable` *rebuilds* a table. The header is set to invisible, and
100
- all columns get vertically *stacked as rows*. The rebuild of responsive
101
- tables takes effect if the viewport (window size) is smaller than 992px for
102
- the width (x-axis); typical for small devices like tablets or mobiles.
103
-
104
- |===
105
-
106
- To see the transformation on a table in action, resize for desktop devices the
107
- browser window or use a device the viewport is smaller than 768px (mobiles or
108
- tablets).
109
-
110
- == Tables 2-column
111
-
112
- Tables are widely used for documentation pages. Below, simple 2-column tables
113
- are used to explain some of the Jekyll variables for templating your content
114
- pages.
115
-
116
- === Bootstrap tables
117
-
118
- Bootstrap tables support tables to be scrolled horizontally on smaller
119
- viewports. From a specified breakpoint and up, the table will behave normally
120
- and do not scroll horizontally.
121
-
122
- .Example, Bootstrap using fixed text size `no-rtext`
123
- [source, no_theme, role="noclip"]
124
- ----
125
- [cols="6,6", options="header", width="100%", role="table-responsive no-rtext"]
126
- |===
127
- |Variable |Description
128
- ...
129
- |===
130
- ----
131
-
132
- .Bootstrap, fixed text size `no-rtext`
133
- [cols="6a,6a", options="header", width="100%", role="table-responsive no-rtext mt-3"]
134
- |===
135
- |Variable |Description
136
-
137
- |`page.content`
138
- |The content of the Page, rendered or un-rendered
139
- depending upon what Liquid is being processed and what `page` is.
140
-
141
- |`page.title`
142
- |The title of the Page.
143
-
144
- |`page.date`
145
- |The Date assigned to the Post. This can be overridden in a
146
- Post's front matter by specifying a new date/time in the format
147
- `YYYY-MM-DD HH:MM:SS` (assuming UTC), or `YYYY-MM-DD HH:MM:SS +/-TTTT`
148
- (to specify a time zone using an offset from UTC. e.g.
149
- `2008-12-14 10:30:00 +0900`).
150
-
151
- |===
152
-
153
- .Example, Bootstrap using responsive text size
154
- [source, no_theme, role="noclip"]
155
- ----
156
- [cols="6,6", options="header", width="100%", role="table-responsive"]
157
- |===
158
- |Variable |Description
159
- ...
160
- |===
161
- ----
162
-
163
- .Bootstrap, responsive text size
164
- [cols="6a,6a", options="header", width="100%", role="table-responsive mt-3"]
165
- |===
166
- |Variable |Description
167
-
168
- |`page.content`
169
- |The content of the Page, rendered or un-rendered
170
- depending upon what Liquid is being processed and what `page` is.
171
-
172
- |`page.title`
173
- |The title of the Page.
174
-
175
- |`page.date`
176
- |The Date assigned to the Post. This can be overridden in a
177
- Post's front matter by specifying a new date/time in the format
178
- `YYYY-MM-DD HH:MM:SS` (assuming UTC), or `YYYY-MM-DD HH:MM:SS +/-TTTT`
179
- (to specify a time zone using an offset from UTC. e.g.
180
- `2008-12-14 10:30:00 +0900`).
181
-
182
- |===
183
-
184
-
185
- === Responsive tables
186
-
187
- Responsive tables *rebuild* a table. The header is set to invisible, and
188
- all columns get vertically *stacked as rows*.
189
-
190
- .Example, R Table using responsive text size
191
- [source, no_theme, role="noclip"]
192
- ----
193
- [cols="6,6", options="header", width="100%", role="rtable"]
194
- |===
195
- |Variable |Description
196
- ...
197
- |===
198
- ----
199
-
200
- .R Table, responsive text size
201
- [cols="6a,6a", options="header", width="100%", role="rtable mt-3"]
202
- |===
203
- |Variable |Description
204
-
205
- |`page.content`
206
- |The content of the Page, rendered or un-rendered
207
- depending upon what Liquid is being processed and what `page` is.
208
-
209
- |`page.title`
210
- |The title of the Page.
211
-
212
- |`page.date`
213
- |The Date assigned to the Post. This can be overridden in a
214
- Post's front matter by specifying a new date/time in the format
215
- `YYYY-MM-DD HH:MM:SS` (assuming UTC), or `YYYY-MM-DD HH:MM:SS +/-TTTT`
216
- (to specify a time zone using an offset from UTC. e.g.
217
- `2008-12-14 10:30:00 +0900`).
218
-
219
- |===
220
-
221
- .Example, R Table using fixed font size
222
- [source, no_theme, role="noclip"]
223
- ----
224
- [cols="6,6", options="header", width="100%", role="rtable no-rtext"]
225
- |===
226
- |Variable |Description
227
- ...
228
- |===
229
- ----
230
-
231
- .R Table, stacked, fixed text size `no-rtext`
232
- [cols="6a,6a", options="header", width="100%", role="rtable no-rtext mt-3"]
233
- |===
234
- |Variable |Description
235
-
236
- |`page.content`
237
- |The content of the Page, rendered or un-rendered
238
- depending upon what Liquid is being processed and what `page` is.
239
-
240
- |`page.title`
241
- |The title of the Page.
242
-
243
- |`page.date`
244
- |The Date assigned to the Post. This can be overridden in a
245
- Post's front matter by specifying a new date/time in the format
246
- `YYYY-MM-DD HH:MM:SS` (assuming UTC), or `YYYY-MM-DD HH:MM:SS +/-TTTT`
247
- (to specify a time zone using an offset from UTC. e.g.
248
- `2008-12-14 10:30:00 +0900`).
249
-
250
- |===
251
-
252
-
253
- == Tables multi-column
254
-
255
- Responsive Bootstrap tables support tables to be scrolled horizontally
256
- on smaller viewports. Making any table responsive across all viewports,
257
- the additional class `rtable` is used. For specific (Bootstrap)
258
- breakpoints, the classes `rtable{-sm|-md|-lg|-xl}` are available
259
- to better control over what viewport sizes table are transformed.
260
- From a specified breakpoint and up, the table will behave normally and do
261
- not scroll horizontally.
262
-
263
- === Bootstrap tables
264
-
265
- Bootstrap responsive tables make use of overflow-y: hidden, which clips off
266
- any content that goes beyond the bottom or top edges of the table.
267
- In particular, this can clip off dropdown menus and other third-party
268
- widgets.
269
-
270
- .Example, Bootstrap using fixed text size `no-rtext`
271
- [source, no_theme, role="noclip"]
272
- ----
273
- [cols=",,,,", options="header", width="100%", role="table-responsive no-rtext"]
274
- |===
275
- |Parameter |Type |Default |Description |Example
276
- ...
277
- |===
278
- ----
279
-
280
- .Bootstrap, fixed text size `no-rtext`
281
- [cols="2,2,2,3,3", options="header", width="100%", role="table-responsive no-rtext mt-3"]
282
- |===
283
- |Parameter |Type |Default |Description |Example
284
-
285
- |`color`
286
- |Hash
287
- |`md_white`
288
- |The background_color hash contains a pair of colors to control the header
289
- background as a gradient.
290
- |The background_color hash contains a pair of colors to control the header
291
- background as a gradient.
292
-
293
- |`background_color_1`
294
- |Symbolic color \| RGB valuess
295
- |`md_indigo`
296
- |Start value (color) for the gradient used for the header box background.
297
- Alternatively, the color can be configured as (hexadecimal) RGB valuess of
298
- the form `#RRGGBB`
299
- |Start value (color) for the gradient used for the header box background.
300
- Alternatively, the color can be configured as (hexadecimal) RGB valuess of
301
- the form `#RRGGBB`
302
-
303
- |===
304
-
305
- .Example, Bootstrap using responsive text size
306
- [source, no_theme, role="noclip"]
307
- ----
308
- [cols=",,,,", options="header", width="100%", role="table-responsive"]
309
- |===
310
- |Parameter |Type |Default |Description |Example
311
- ...
312
- |===
313
- ----
314
-
315
- .Bootstrap, responsive text size
316
- [cols="2,2,2,3,3", options="header", width="100%", role="table-responsive mt-3"]
317
- |===
318
- |Parameter |Type |Default |Description |Example
319
-
320
- |`color`
321
- |Hash
322
- |`md_white`
323
- |The background_color hash contains a pair of colors to control the header
324
- background as a gradient.
325
- |The background_color hash contains a pair of colors to control the header
326
- background as a gradient.
327
-
328
- |`background_color_1`
329
- |Symbolic color \| RGB valuess
330
- |`md_indigo`
331
- |Start value (color) for the gradient used for the header box background.
332
- Alternatively, the color can be configured as (hexadecimal) RGB valuess of
333
- the form `#RRGGBB`
334
- |Start value (color) for the gradient used for the header box background.
335
- Alternatively, the color can be configured as (hexadecimal) RGB valuess of
336
- the form `#RRGGBB`
337
-
338
- |===
339
-
340
- === Responsive tables
341
-
342
- .Example, R Table using fixed text size `no-rtext`
343
- [source, no_theme, role="noclip"]
344
- ----
345
- [cols=",,,,", options="header", width="100%", role="rtable no-rtext"]
346
- |===
347
- |Parameter |Type |Default |Description |Example
348
- ...
349
- |===
350
- ----
351
-
352
- .R Table, fixed text size `no-rtext`
353
- [cols="2,2,2,3,3", options="header", width="100%", role="rtable no-rtext mt-3"]
354
- |===
355
- |Parameter |Type |Default |Description |Example
356
-
357
- |`color`
358
- |Hash
359
- |`md_white`
360
- |The background_color hash contains a pair of colors to control the header
361
- background as a gradient.
362
- |The background_color hash contains a pair of colors to control the header
363
- background as a gradient.
364
-
365
- |`background_color_1`
366
- |Symbolic color \| RGB valuess
367
- |`md_indigo`
368
- |Start value (color) for the gradient used for the header box background.
369
- Alternatively, the color can be configured as (hexadecimal) RGB valuess of
370
- the form `#RRGGBB`
371
- |Start value (color) for the gradient used for the header box background.
372
- Alternatively, the color can be configured as (hexadecimal) RGB valuess of
373
- the form `#RRGGBB`
374
-
375
- |===
376
-
377
- .Example, R Table using fixed text size `no-rtext`
378
- [source, no_theme, role="noclip"]
379
- ----
380
- [cols=",,,,", options="header", width="100%", role="rtable no-rtext"]
381
- |===
382
- |Parameter |Type |Default |Description |Example
383
- ...
384
- |===
385
- ----
386
-
387
- .R Table, responsive text size
388
- [cols="2,2,2,3,3", options="header", width="100%", role="rtable mt-3"]
389
- |===
390
- |Parameter |Type |Default |Description |Example
391
-
392
- |`color`
393
- |Hash
394
- |`md_white`
395
- |The background_color hash contains a pair of colors to control the header
396
- background as a gradient.
397
- |The background_color hash contains a pair of colors to control the header
398
- background as a gradient.
399
-
400
- |`background_color_1`
401
- |Symbolic color \| RGB valuess
402
- |`md_indigo`
403
- |Start value (color) for the gradient used for the header box background.
404
- Alternatively, the color can be configured as (hexadecimal) RGB valuess of
405
- the form `#RRGGBB`
406
- |Start value (color) for the gradient used for the header box background.
407
- Alternatively, the color can be configured as (hexadecimal) RGB valuess of
408
- the form `#RRGGBB`
409
-
410
- |===
411
-
412
-
413
- == What next
414
-
415
- Expectedly you've enjoyed exploring all the possibilities J1 offers so far.
416
- An exciting feature may be the use of themes. But much, much more can the J1
417
- do for your Web Site.
418
-
419
- Check out what themes can do. Have a look at the
420
- link:{url-roundtrip--themes}[BS Themes] feature!