j1-template 2021.2.0 → 2021.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/content_generator_news_panel_posts.html +6 -6
  3. data/_includes/themes/j1/procedures/posts/collate_timeline.proc +5 -5
  4. data/_layouts/default.html +6 -2
  5. data/assets/data/panel.html +9 -9
  6. data/assets/themes/j1/adapter/js/j1.js +2 -1
  7. data/assets/themes/j1/adapter/js/navigator.js +11 -4
  8. data/assets/themes/j1/adapter/js/rtable.js +77 -24
  9. data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.css +58 -109
  10. data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.min.css +1 -1
  11. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +27 -17
  12. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
  13. data/assets/themes/j1/core/css/vendor.css +7 -20
  14. data/assets/themes/j1/core/css/vendor.min.css +1 -1
  15. data/assets/themes/j1/modules/carousel/css/theme/uno.css +1 -1
  16. data/assets/themes/j1/modules/carousel/css/theme/uno.min.css +1 -1
  17. data/assets/themes/j1/modules/justifiedGallery/css/theme/uno.css +1 -1
  18. data/assets/themes/j1/modules/justifiedGallery/css/theme/uno.min.css +1 -1
  19. data/assets/themes/j1/modules/rtable/css/theme/uno/rtable.css +3 -3
  20. data/assets/themes/j1/modules/rtable/css/theme/uno/rtable.min.css +2 -174
  21. data/assets/themes/j1/modules/rtable/js/rtable.js +59 -25
  22. data/assets/themes/j1/modules/rtable/js/rtable.min.js +12 -683
  23. data/lib/j1/version.rb +1 -1
  24. data/lib/starter_web/Gemfile +1 -1
  25. data/lib/starter_web/_config.yml +13 -49
  26. data/lib/starter_web/_data/modules/defaults/rtable.yml +34 -0
  27. data/lib/starter_web/_data/modules/rtable.yml +34 -0
  28. data/lib/starter_web/_data/resources.yml +1 -1
  29. data/lib/starter_web/_includes/attributes.asciidoc +1 -1
  30. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  31. data/lib/starter_web/package.json +1 -1
  32. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +5 -5
  33. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +5 -5
  34. data/lib/starter_web/pages/public/blog/navigator/archive.html +5 -5
  35. data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +1 -1
  36. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  37. data/lib/starter_web/utilsrv/package.json +1 -1
  38. metadata +4 -33
  39. data/assets/themes/j1/modules/rtable/js/tablesaw-init.js +0 -18
  40. data/assets/themes/j1/modules/rtable/js/tablesaw.stackonly.js +0 -2371
  41. data/lib/starter_web/pages/public/previewer/_includes/attributes.asciidoc +0 -60
  42. data/lib/starter_web/pages/public/previewer/_includes/documents/licenses/mit.asciidoc +0 -19
  43. data/lib/starter_web/pages/public/previewer/_includes/documents/readme +0 -0
  44. data/lib/starter_web/pages/public/previewer/_includes/documents/rouge/100_language_examples.asciidoc +0 -119
  45. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/100_absolute_sizes.asciidoc +0 -39
  46. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/110_bs_grid_sizes.asciidoc +0 -47
  47. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/120_relative_sizes.asciidoc +0 -47
  48. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/200_rotate.asciidoc +0 -71
  49. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/300_flip.asciidoc +0 -31
  50. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/400_spin_pulsed.asciidoc +0 -39
  51. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/500_bw_color_palette.asciidoc +0 -61
  52. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/510_bs_color_palette.asciidoc +0 -55
  53. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/600_md_color_palette.asciidoc +0 -95
  54. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/601_md_color_palette_indigo.asciidoc +0 -95
  55. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/602_md_color_palette_pink.asciidoc +0 -95
  56. data/lib/starter_web/pages/public/previewer/_includes/tables/rouge/200_rouge_attributes.asciidoc +0 -41
  57. data/lib/starter_web/pages/public/previewer/_includes/tables/rouge/300_supported_languages.asciidoc +0 -857
  58. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/100_bs_sizes.asciidoc +0 -47
  59. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/100_relative_sizes.asciidoc +0 -47
  60. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/200_rotate.asciidoc +0 -71
  61. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/300_flip.asciidoc +0 -30
  62. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/400_spin_pulsed.asciidoc +0 -31
  63. data/lib/starter_web/pages/public/previewer/iframer.adoc +0 -93
  64. data/lib/starter_web/pages/public/previewer/justified_gallery.html +0 -41
  65. data/lib/starter_web/pages/public/previewer/md_color_palette.adoc +0 -574
  66. data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +0 -220
  67. data/lib/starter_web/pages/public/previewer/mdil_icons_preview.adoc +0 -76
  68. data/lib/starter_web/pages/public/previewer/rouge.adoc +0 -133
  69. data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +0 -191
@@ -1,220 +0,0 @@
1
- ---
2
- title: MDI Previewer
3
- tagline: search and select mdi icons
4
- date: 2020-11-08 00:00:00 +100
5
- description: >
6
- Previewer for Material Design Icons (MDI) for J1 Template.
7
- Material Design Icons is a growing icon collection allows
8
- designers and developers targeting various platforms to download
9
- icons in the format, color and size they need for any project.
10
-
11
- categories: [ Preview ]
12
- tags: [ MDI, Icons, Fonts ]
13
-
14
- scrollbar: false
15
-
16
- permalink: /pages/public/previewer/mdi_font/
17
- regenerate: false
18
-
19
- resources: [ clipboard, lightbox, rouge, mdi_previewer ]
20
- resource_options:
21
- - attic:
22
- padding_top: 400
23
- padding_bottom: 50
24
- opacity: 0.5
25
- slides:
26
- - url: /assets/images/pages/roundtrip/icon-fonts-1920x1280-bw.jpg
27
- alt: icon-fonts-1920x1280-bw
28
- ---
29
-
30
- // Page Initializer
31
- // =============================================================================
32
- // Enable the Liquid Preprocessor
33
- :page-liquid:
34
-
35
- // Set (local) page attributes here
36
- // -----------------------------------------------------------------------------
37
- //:my-asciidoc-attribute:
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
52
- // -----------------------------------------------------------------------------
53
-
54
- == Material Design Icons
55
-
56
- _Material Design Icons_ (MDI) is a very helpful design resource for Web Design
57
- that is based on _Google's_ specification of Material Design. *MDI* is a
58
- community-driven project to create an increased icon-set based on the official
59
- Material Design Icon repository provided by _Google_.
60
-
61
- *MDI* is a fast growing collection to allow designers and developers targeting
62
- various platforms to download icons in the format, color and size they needed
63
- for a project. In the current *MDI* version (v5.9.55), 5900+ icons - plus
64
- converted icons from the official icon set created by _Google_ - are available.
65
-
66
- _J1 Template_ supports the full set of *MDI* icons for the Web (Webfont, WOFF).
67
- The icon set is fully integrated and can be used out-of-the-box.
68
-
69
- == HTML Markup
70
-
71
- There is no *official* markup for font icons, but 2 markups are widely used.
72
- Both markups can be used in block elements like the anchor tag `<a>`. That
73
- way, it's on you what to use for font icons.
74
-
75
- [source, html]
76
- ----
77
- <span class="mdi mdi-name" role="img" aria-label="name" ></span> <1>
78
- <i class="mdi mdi-name"></i> <1> <2>
79
- ----
80
- <1> Both forms are consistent with the HTML5 spec
81
- <2> It's short and the `<i>` tag may associated for an **i**con
82
- (semantic meaning)
83
-
84
- NOTE: The `<i>` tag provides more meaning to machines because of the HTML spec,
85
- it provides more meaning to *humans* because the `i` can easily associated with
86
- `icon`. And it's only *one letter* long - that win! And if you make sure to
87
- include equivalent text either inside the `<i>` tag or right next to it
88
- (as Twitter for Bootstrap does), then screen readers understand where to
89
- click to reply, the link is usable if CSS doesn't load, and human readers
90
- with good eyesight and a decent browser see a pretty icon.
91
-
92
- == Asciidoc Markup
93
-
94
- For pages using Asciidoc for the source (default), a easier solution is to
95
- use Markups from Asciidoc.
96
-
97
- [source, html]
98
- ----
99
- pass:[<i class="mdi mdi-<name> mdi-<size> mdi-<modifier>"></i>] <1>
100
- mdi:<name>[<size>, <modifier>] <2>
101
- ----
102
- <1> Markup using a pass block
103
- <2> Markup using the Asciidoc extension (mdi:)
104
-
105
-
106
- == Sizes
107
-
108
- For more eye-minded placement, or to place emphasis on, all icons can be
109
- specified in different sizes by the *optional* parameter `size`.
110
-
111
- NOTE: The size of an icon is typically specified relative to the *base* font
112
- size. Today, the base font size is set to `16px`. That mean for for font
113
- icons, that the *width* of an icon is set to `32px` if a relative size
114
- of `2x` is specified.
115
-
116
- See with the following what sizes are available.
117
-
118
- === Fixed Size
119
-
120
- If needed, the icon size can given in *absolute* sizes from `18px` to `48px`.
121
-
122
- include::{tabledir}/mdi_icons/100_absolute_sizes.asciidoc[]
123
-
124
- === BS Grid Size
125
-
126
- For a better Bootstrap integration, the icon size can be given like the
127
- view-port shortcuts `xs`, `sm`, `md`, `lg` and `xl`.
128
-
129
- include::{tabledir}/mdi_icons/110_bs_grid_sizes.asciidoc[]
130
-
131
- === Relative Size
132
-
133
- All icons can be specifier relativ to the base size of `1em` from `1x` to `10x`.
134
- See the examples with the table below.
135
-
136
- include::{tabledir}/mdi_icons/120_relative_sizes.asciidoc[]
137
-
138
- == Rotate
139
-
140
- To vary icons in their orientation, the icons can be rotated for 7 different
141
- angle. This is quite useful, if an icon has an orientation already but does
142
- *not* fit your need.
143
-
144
- NOTE: Using `flip-*` and `rotate-*` at the *same* time is *not* supported
145
-
146
- include::{tabledir}/mdi_icons/200_rotate.asciidoc[]
147
-
148
- == Flip
149
-
150
- Like `rotate`, an icon can be flipped by horizontal and vertical *axes*. It is
151
- similiar to `rotate` but the *angle* (perspective) remains *unchanged*.
152
-
153
- NOTE: Using `mdi-flip-*` and `mdi-rotate-*` at the same time is *not* supported
154
-
155
- include::{tabledir}/mdi_icons/300_flip.asciidoc[]
156
-
157
- == Spin and Pulsed
158
-
159
- For realy *eye-minded* placements of icons, icons can be animated im terms
160
- of *rotation* and *pulse*. Be careful using animated icons, because this
161
- may cause disturbing effects and can demand unwanted attention.
162
-
163
- include::{tabledir}/mdi_icons/400_spin_pulsed.asciidoc[]
164
-
165
- == Color Palette
166
-
167
- The implementation of _MDI_ font icons support the full color palette of
168
- _Google_'s_ Material design specification.
169
-
170
- === BW Colors
171
-
172
- The default color set used for _MDI_ are *black-and-white* for the flavours
173
- `light` and `dark` of default (dark) if *not* specified.
174
-
175
- include::{tabledir}/mdi_icons/500_bw_color_palette.asciidoc[]
176
-
177
- === BS Colors
178
-
179
- The implementation of _MDI_ font icons support the base color palette of
180
- Bootstrap range from `primary` to `danger`.
181
-
182
- .Bootstrap base color palette
183
- lightbox::base-color-palette[ 300, {lightbox-image-data--base-color-palette} ]
184
-
185
- include::{tabledir}/mdi_icons/510_bs_color_palette.asciidoc[]
186
-
187
- === MD Color Palette
188
-
189
- For _J1 Template_, 17 additional color variations are available comply with
190
- the concepts of _Google Material Design_:
191
-
192
- .Material Design color palette
193
- lightbox::md-color-palette[ 800, {lightbox-image-data--md-color-palette} ]
194
-
195
- ==== Indigo
196
-
197
- The color `Indigo` is used as the `primary` color for J1 Template. You'll find
198
- this color quite often in various `weights` (ranges from `50` to `900`).
199
-
200
- include::{tabledir}/mdi_icons/601_md_color_palette_indigo.asciidoc[]
201
-
202
- ==== Pink
203
-
204
- The color `Pink` is used as the `complementary` color for J1 Template. You'll
205
- find this color to put an emphasis on some elements. All colors comes in ranges
206
- from `50` to `900` but for `Pink` mostly the default `weight` of `500` is used.
207
-
208
- include::{tabledir}/mdi_icons/602_md_color_palette_pink.asciidoc[]
209
-
210
- == Icon Overview
211
-
212
- The Material Design Icon Font support a rich set of 5900+ icons
213
- (version v5.9.55) from a wide varity of topics.
214
-
215
- NOTE: Click on the elements below to copy icon data to clipboard
216
-
217
- ++++
218
- <!-- div class="my-popper">Popper element</div -->
219
- <div id="mdi-icons" class="icons"></div>
220
- ++++
@@ -1,76 +0,0 @@
1
- ---
2
- title: MDI Light Previewer
3
- tagline: search and select mdil icons
4
- date: 2020-11-08 00:00:00 +100
5
- description: >
6
- Previewer for the light Material Design Icons (MDIL) for J1 Template.
7
- Material Design Icons is a growing icon collection allows
8
- designers and developers targeting various platforms to download
9
- icons in the format, color and size they need for any project.
10
-
11
- categories: [ Preview ]
12
- tags: [ MDIL, Icons, Fonts ]
13
-
14
- fam_menu_id: default
15
- scrollbar: false
16
- toc: false
17
-
18
- permalink: /pages/public/previewer/mdil_font/
19
- regenerate: false
20
-
21
- resources: [ clipboard, lightbox, rouge, mdil_previewer ]
22
- resource_options:
23
- - attic:
24
- padding_top: 400
25
- padding_bottom: 50
26
- opacity: 0.5
27
- slides:
28
- - url: /assets/images/pages/roundtrip/icon-fonts-1920x1280-bw.jpg
29
- alt: icon-fonts-1920x1280-bw
30
- ---
31
-
32
- // Page Initializer
33
- // =============================================================================
34
- // Enable the Liquid Preprocessor
35
- :page-liquid:
36
-
37
- // Set (local) page attributes here
38
- // -----------------------------------------------------------------------------
39
- //:my-asciidoc-attribute:
40
-
41
- // Load Liquid procedures
42
- // -----------------------------------------------------------------------------
43
- {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
44
-
45
- // Load page attributes
46
- // -----------------------------------------------------------------------------
47
- {% include {{load_attributes}} scope="global" %}
48
-
49
-
50
- // Page content
51
- // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
52
- // https://github.com/Templarian/MaterialDesignLight
53
-
54
- // Include sub-documents
55
- // -----------------------------------------------------------------------------
56
-
57
- _Material Design Light_ (MDIL) is a helpful design resource for Web Sites that
58
- follow _Google's_ specification of Material Design. *MDIL* is a subset of the
59
- Material Design Icons (MDI) set managed by *Austin Andrews* and contributors.
60
-
61
- The icon set is still work in progress. The team is in the process of building
62
- the icon set into a fully fledged alternative to MDI. Have a look at
63
- https://github.com/Templarian/MaterialDesignLight[MaterialDesignLight, {browser-window--new}]
64
- for latest versions.
65
-
66
- == Icon Overview
67
-
68
- The Material Design Light Icon Font support a growing set of 250+ icons
69
- (v0.2.63) from a wide varity of topics.
70
-
71
- NOTE: Click on the elements below to copy icon data to clipboard.
72
-
73
- ++++
74
- <!-- div class="my-popper">Popper element</div -->
75
- <div id="mdil-icons" class="icons"></div>
76
- ++++
@@ -1,133 +0,0 @@
1
- ---
2
- title: Rouge
3
- tagline: preview rouge themes
4
- date: 2020-11-08 00:00:00 +100
5
- description: >
6
- Previewer page for J1 module Rouge. Rouge is a pure Ruby
7
- syntax highlighter. It can highlight over 100 different
8
- languages fully integrated with J1 Template.
9
-
10
- categories: [ Previewer ]
11
- tags: [ Highlighter, Rouge ]
12
-
13
- scrollbar: false
14
- toc: true
15
-
16
- permalink: /pages/public/previewer/rouge/
17
- regenerate: true
18
-
19
- resources: [ rouge, clipboard ]
20
- resource_options:
21
- - toccer:
22
- collapseDepth: 4
23
- - attic:
24
- padding_top: 400
25
- padding_bottom: 50
26
- opacity: 0.5
27
- slides:
28
- - url: /assets/images/modules/attics/jessica-ruscello-1920x1280.jpg
29
- alt: Photo by Jessica Ruscello Unsplash
30
- # caption:
31
- # text: Photo by Jessica Ruscello on Unsplash
32
- # href: https://unsplash.com/@jasonrosewell
33
- badge:
34
- type: unsplash
35
- author: Jessica Ruscello
36
- href: https://unsplash.com/@jruscello
37
- ---
38
-
39
- // Page Initializer
40
- // =============================================================================
41
- // Enable the Liquid Preprocessor
42
- :page-liquid:
43
-
44
- // Set (local) page attributes here
45
- // -----------------------------------------------------------------------------
46
- // :page--attr: <attr-value>
47
- // :source-highlighter: rouge
48
- // https://dzone.com/articles/awesome-asciidoctor-highlight-lines-in-source-code
49
- //
50
- :rouge-line-class: line
51
- :rouge-line-id: X%i
52
-
53
- // Load Liquid procedures
54
- // -----------------------------------------------------------------------------
55
- {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
56
-
57
- // Load page attributes
58
- // -----------------------------------------------------------------------------
59
- {% include {{load_attributes}} scope="global" %}
60
-
61
-
62
- // Page content
63
- // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
64
-
65
- // Include sub-documents
66
- // -----------------------------------------------------------------------------
67
-
68
- == Theme selector
69
-
70
- For the default theme `Uno` of J1 Template, the following _Rouge_ themes
71
- are used:
72
-
73
- * light: `igorpro`
74
- * dark: `monokai.sublime`
75
-
76
- NOTE: The default themes used for J1 Template can be configured with the
77
- global template config file `~/_data/j1_config.yml`.
78
-
79
- Make a selection of theme below to preview.
80
-
81
- ++++
82
- <div class="btn-group">
83
- <!-- See: https://stackoverflow.com/questions/47242702/force-bootstrap-dropdown-menu-to-always-display-at-the-bottom-and-allow-it-go-of -->
84
- <!-- NOTE: control the behaviour of popper.js for positioning -->
85
- <!-- NOTE: set attribute data-flip="false" to open the SELECT list at the BOTTOM of the BUTTON -->
86
- <button class="btn btn-primary btn-raised btn-flex btn-lg dropdown-toggle" data-flip="false" type="button" data-toggle="dropdown" data-target="#navbarDropdown" aria-haspopup="true" aria-expanded="false">
87
- Select a theme<span class="caret"></span>
88
- </button>
89
- <ul class="dropdown-menu scrollable-menu" role="menu">
90
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('base16')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16</a></li>
91
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('base16.dark')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.dark</a></li>
92
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('base16.light')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.light</a></li>
93
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('base16.monokai')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.monokai</a></li>
94
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('base16.monokai.dark')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.monokai.dark</a></li>
95
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('base16.monokai.light')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.monokai.light</a></li>
96
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('base16.solarized')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.solarized</a></li>
97
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('base16.solarized.dark')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.solarized.dark</a></li>
98
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('base16.solarized.light')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.solarized.light</a></li>
99
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('colorful')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>colorful</a></li>
100
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('github')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>github</a></li>
101
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('gruvbox')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>gruvbox</a></li>
102
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('gruvbox.light')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>gruvbox.light</a></li>
103
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('igorpro')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>igorpro</a></li>
104
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('molokai')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>molokai</a></li>
105
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('monokai')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>monokai</a></li>
106
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('monokai.sublime')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>monokai.sublime</a></li>
107
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('pastie')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>pastie</a></li>
108
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('thankful_eyes')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>thankful_eyes</a></li>
109
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('tulip')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>tulip</a></li>
110
- </ul>
111
- </div>
112
- <div id="selected" class="mt-1 mb-3"></div>
113
- ++++
114
-
115
- === Language examples
116
-
117
- Find below a selected number languages (code blocks) and their highlightning.
118
-
119
- include::{documentdir}/rouge/100_language_examples.asciidoc[]
120
-
121
- == Rouge attributes
122
-
123
- You can further customize the source block output with additional Rouge
124
- attributes.
125
-
126
- include::{tabledir}/rouge/200_rouge_attributes.asciidoc[]
127
-
128
- == Supported languages
129
-
130
- Here the list of the (current of Feb, 2021) supported languages and lexers
131
- (language highlighters).
132
-
133
- include::{tabledir}/rouge/300_supported_languages.asciidoc[]
@@ -1,191 +0,0 @@
1
- ---
2
- title: Emoji Previewer
3
- tagline: search and select twitter emojis
4
- date: 2020-11-08 00:00:00 +100
5
- description: >
6
- Twitter Emoji Icons V1 Previewer.Twitter Emoji is a colored
7
- icon font developed by Twitter. The full icon set is fully
8
- supported by J1 Template.
9
-
10
- categories: [ Previewer ]
11
- tags: [ Emoji, Icons, Fonts, Twitter ]
12
-
13
- scrollbar: false
14
-
15
- permalink: /pages/public/previewer/twitter_emoji/
16
- regenerate: false
17
-
18
- resources: [ twemoji, twemoji_picker, fam ]
19
- resource_options:
20
- - attic:
21
- padding_top: 400
22
- padding_bottom: 50
23
- opacity: 0.5
24
- slides:
25
- - url: /assets/images/pages/roundtrip/emojies-1920x1280-bw.jpg
26
- alt: Photo by Fausto Garcia on Unsplash
27
- badge:
28
- type: unsplash
29
- author: Fausto Garcia
30
- href: https://unsplash.com/@faustogarmen/portfolio
31
- ---
32
-
33
- // Page Initializer
34
- // =============================================================================
35
- // Enable the Liquid Preprocessor
36
- :page-liquid:
37
-
38
- // Set (local) page attributes here
39
- // -----------------------------------------------------------------------------
40
- :jollygoodcode--emoji: https://github.com/jollygoodcode/twemoji
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="local" %}
49
-
50
-
51
- // Page content
52
- // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
53
- == Twitter Emoji's
54
-
55
- J1 Template comes with the Twitter Emoji library (Twemoji) V1 included and
56
- offers more than 800+ icons. A lot of icons - hard to remember all the names,
57
- isn't it?
58
-
59
- To use all the Emoji's with your documents you don't need to remember any name.
60
- Simply pick the icon you want - use the <<Emoji Picker>>.
61
-
62
- To find the icon you need, to fasten your search the Emoji Library is sorted
63
- by five categories:
64
-
65
- * people, classic Emoji's like emoji:smile[] (`smile`) and emoji:laughing[] (`laughing`) or faces like emoji:girl[] (`girl`)
66
- * nature, like emoji:mouse[] (`mouse`), emoji:rose[] (`rose`) or emoji:sunny[] (`sunny`)
67
- * objects, like emoji:bell[] (`bell`), emoji:hammer[] (`hammer`) or emoji:notes[] (`notes`)
68
- * places, like emoji:office[] (`office`), emoji:car[] (`car`) or flags like emoji:de[] (`de`)
69
- * symbols, like emoji:ok[] (`ok`), emoji:clock12[] (`clock12`) or emoji:scorpius[] (`scorpius`)
70
-
71
- === Asciidoc Markup
72
-
73
- Using Twitter Emoji's for your Asciidoc documents is quite simple - use the
74
- `emoji:` inline macro like this:
75
-
76
- [source, adoc, role="noclip"]
77
- ----
78
- Your text emoji:icon_name[] ...
79
- Your text emoji:icon_name[size, modifier] ...
80
- ----
81
-
82
- For all Emoji's (`icon_name`), two parameters *can* be given for the `size` and
83
- a `modifier` to put additional features on the icon. See the following chapters
84
- for all *sizes* and *modifiers* (`rotate`, `spin`, `flip` and `pulsed`)
85
- available.
86
-
87
- If *none* if the additional parameters are specified, the `size` is set to `1x`
88
- and *no* `modifier` is used for an Emoji.
89
-
90
- .Click on `view result` to see the nice turtle ...
91
- ----
92
- You're faster than a emoji:turtle[2x] - for sure emoji:heart[pulsed]!
93
- ----
94
-
95
- [.result]
96
- ====
97
- You're faster than a emoji:turtle[2x] - for sure emoji:heart[pulsed]!
98
- ====
99
-
100
- Writing complex Asciidoc Macros for documents are not fun. For the `emoji:`
101
- inline macro the name of the Emoji is need. Go for the <<Emoji Picker>> and
102
- you're done in seconds.
103
-
104
- === Sizes
105
-
106
- For more eye-minded placement, or to place emphasis on, all Emoji's can be
107
- specified in different sizes by the *optional* parameter `size`. See with the
108
- following what sizes are available.
109
-
110
- ==== BS grid Size
111
-
112
- For a better Bootstrap integration, the icon size can be given like the
113
- view-port shortcuts `xs`, `sm`, `md`, `lg` and `xl`.
114
-
115
- include::{tabledir}/twitter_emoji/100_bs_sizes.asciidoc[]
116
-
117
- ==== Relative Size
118
-
119
- All icons can be specifier relativ to the base size of `1em` from `1x` to `5x`.
120
- See the examples with the table below.
121
-
122
- include::{tabledir}/twitter_emoji/100_relative_sizes.asciidoc[]
123
-
124
-
125
- === Rotate
126
-
127
- To vary Emoji's in their orientation, the icons can be rotated for 7 different
128
- angle. This is quite useful, if an Emoji has an orientation already but does
129
- *not* fit your need.
130
-
131
- NOTE: Using `flip-*` and `rotate-*` at the *same* time is *not* supported
132
-
133
- include::{tabledir}/twitter_emoji/200_rotate.asciidoc[]
134
-
135
- === Flip
136
-
137
- Like `rotate`, an icon can be flipped by horizontal and vertical *axes*. It is
138
- similiar to `rotate` but the *angle* (perspective) remains *unchanged*.
139
-
140
- include::{tabledir}/twitter_emoji/300_flip.asciidoc[]
141
-
142
- === Spin and Pulsed
143
-
144
- For realy *eye-minded* placements of Emoji's, icons can be animated im terms
145
- of *rotation* and *pulse*. Be careful using animated Emoji's, because this
146
- may cause disturbing effects and can demand unwanted attention.
147
-
148
- include::{tabledir}/twitter_emoji/400_spin_pulsed.asciidoc[]
149
-
150
- [NOTE, role="mb-5"]
151
- ====
152
- Animations gets stopped if the mouse (pointer) is moved over an animated
153
- Emoji.
154
- ====
155
-
156
- == Emoji Picker
157
-
158
- The Picker for `Emoji's` is easy to use. Open the *category view* by a click on
159
- the button `Picker` and click on an *emoji* you want to use. Automatically, the
160
- Asciidoc code is copied to the *clipboard*. You can paste the code directly from the
161
- clipboard to the document your're currently work on.
162
-
163
- For your reference, all Emoji's selected are copied into to *text-field* of the
164
- picker (and the Asciidoc code as well emoji:stuck-out-tongue-winking-eye[]).
165
- If gets too much, a click on the `Clear` button cleans up the text-field.
166
-
167
- Simple like that!
168
-
169
- ++++
170
- <div id="picker" class="mt-3 mb-5">
171
- <textarea id="twemoji-picker" class="form-control"></textarea>
172
- </div>
173
- <div class="paragraph mt-5">
174
- <p style="color: transparent;"> dummy-text</p>
175
- </div>
176
- <script>
177
- $('#twemoji-picker').twemojiPicker({
178
- init: '',
179
- language: "{{site.language}}",
180
- size: '3.5rem',
181
- iconSize: '2rem',
182
- height: '100px',
183
- width: '100%',
184
- category: ['smile', 'mouse', 'wrench', 'house', 'large-blue-diamond'],
185
- categorySize: '2.5rem',
186
- pickerPosition: 'bottom',
187
- pickerHeight: '1300px',
188
- pickerWidth: '100%'
189
- });
190
- </script>
191
- ++++