j1-template 2021.1.27 → 2021.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (186) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/content_generator_article_navigator.html +1 -1
  3. data/_includes/themes/j1/layouts/content_generator_blog_archive.html +6 -4
  4. data/_includes/themes/j1/layouts/content_generator_news_panel_posts.html +6 -6
  5. data/_includes/themes/j1/layouts/content_generator_post.html +3 -0
  6. data/_includes/themes/j1/modules/navigator/generator.html +1 -1
  7. data/_includes/themes/j1/procedures/posts/collate_timeline.proc +6 -6
  8. data/_includes/themes/j1/procedures/posts/create_series_header.proc +6 -6
  9. data/_layouts/default.html +7 -2
  10. data/assets/data/mdil_icons.json +2417 -0
  11. data/assets/data/panel.html +9 -9
  12. data/assets/themes/j1/adapter/js/j1.js +8 -7
  13. data/assets/themes/j1/adapter/js/j1scroll.js +141 -44
  14. data/assets/themes/j1/adapter/js/navigator.js +11 -4
  15. data/assets/themes/j1/adapter/js/rtable.js +77 -24
  16. data/assets/themes/j1/core/css/icon-fonts/materialdesign-light.css +1222 -0
  17. data/assets/themes/j1/core/css/icon-fonts/materialdesign-light.min.css +1 -0
  18. data/assets/themes/j1/core/css/icon-fonts/materialdesign.css +1 -1
  19. data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.css +58 -109
  20. data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.min.css +1 -1
  21. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +28 -18
  22. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
  23. data/assets/themes/j1/core/css/vendor.css +7 -20
  24. data/assets/themes/j1/core/css/vendor.min.css +1 -1
  25. data/assets/themes/j1/core/fonts/material_design_icons_light/fonts/eot/materialdesignicons-light-webfont.eot +0 -0
  26. data/assets/themes/j1/core/fonts/material_design_icons_light/fonts/materialdesignicons-light-webfont.woff +0 -0
  27. data/assets/themes/j1/core/fonts/material_design_icons_light/fonts/materialdesignicons-light-webfont.woff2 +0 -0
  28. data/assets/themes/j1/core/fonts/material_design_icons_light/fonts/svg/materialdesignicons-light-webfont.svg +801 -0
  29. data/assets/themes/j1/core/fonts/material_design_icons_light/fonts/ttf/materialdesignicons-light-webfont.ttf +0 -0
  30. data/assets/themes/j1/core/js/template.js +4 -4
  31. data/assets/themes/j1/core/js/template.js.map +1 -1
  32. data/assets/themes/j1/core/js/template.min.js +4 -4
  33. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  34. data/assets/themes/j1/modules/carousel/css/theme/uno.css +1 -1
  35. data/assets/themes/j1/modules/carousel/css/theme/uno.min.css +1 -1
  36. data/assets/themes/j1/modules/j1Scroll/css/theme/uno.min.css +1 -1
  37. data/assets/themes/j1/modules/j1Scroll/js/j1scroll.js +263 -252
  38. data/assets/themes/j1/modules/j1Scroll/js/j1scroll.min.js +16 -0
  39. data/assets/themes/j1/modules/justifiedGallery/css/theme/uno.css +1 -1
  40. data/assets/themes/j1/modules/justifiedGallery/css/theme/uno.min.css +1 -1
  41. data/assets/themes/j1/modules/mdiPreviewer/css/previewer.css +1 -1
  42. data/assets/themes/j1/modules/mdiPreviewer/css/previewer.min.css +1 -1
  43. data/assets/themes/j1/modules/mdiPreviewer/js/previewer.js +5 -15
  44. data/assets/themes/j1/modules/mdiPreviewer/js/previewer.min.js +1 -1
  45. data/assets/themes/j1/modules/mdilPreviewer/css/previewer.css +97 -0
  46. data/assets/themes/j1/modules/mdilPreviewer/css/previewer.min.css +15 -0
  47. data/assets/themes/j1/modules/mdilPreviewer/js/previewer.js +125 -0
  48. data/assets/themes/j1/modules/mdilPreviewer/js/previewer.min.js +15 -0
  49. data/assets/themes/j1/modules/rtable/css/theme/uno/rtable.css +3 -3
  50. data/assets/themes/j1/modules/rtable/css/theme/uno/rtable.min.css +2 -174
  51. data/assets/themes/j1/modules/rtable/js/rtable.js +59 -25
  52. data/assets/themes/j1/modules/rtable/js/rtable.min.js +12 -683
  53. data/assets/themes/j1/modules/showOnScroll/js/showOnScroll.js +73 -73
  54. data/assets/themes/j1/modules/showOnScroll/js/showOnScroll.min.js +15 -15
  55. data/lib/j1/commands/generate.rb +5 -8
  56. data/lib/j1/version.rb +1 -1
  57. data/lib/starter_web/Gemfile +1 -1
  58. data/lib/starter_web/_config.yml +15 -51
  59. data/lib/starter_web/_data/blocks/banner.yml +4 -5
  60. data/lib/starter_web/_data/blocks/panel.yml +217 -183
  61. data/lib/starter_web/_data/builder/blog_navigator.yml +1 -0
  62. data/lib/starter_web/_data/layouts/home.yml +20 -16
  63. data/lib/starter_web/_data/modules/defaults/navigator.yml +1 -1
  64. data/lib/starter_web/_data/modules/defaults/rtable.yml +34 -0
  65. data/lib/starter_web/_data/modules/j1scroll.yml +67 -0
  66. data/lib/starter_web/_data/modules/navigator_menu.yml +3 -3
  67. data/lib/starter_web/_data/modules/rtable.yml +34 -0
  68. data/lib/starter_web/_data/resources.yml +41 -44
  69. data/lib/starter_web/_includes/attributes.asciidoc +1 -1
  70. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  71. data/lib/starter_web/assets/images/modules/attics/annie-spratt-1920x1280.jpg +0 -0
  72. data/lib/starter_web/assets/images/modules/attics/antonino-visalli-1920x1280.jpg +0 -0
  73. data/lib/starter_web/assets/images/modules/attics/humble-lamb-1920x1280.jpg +0 -0
  74. data/lib/starter_web/assets/images/modules/attics/library-1920x1280.jpg +0 -0
  75. data/lib/starter_web/assets/images/modules/attics/romain-vignes-1920x1280.jpg +0 -0
  76. data/lib/starter_web/assets/images/modules/attics/sigmund-1920x1280.jpg +0 -0
  77. data/lib/starter_web/assets/images/{pages/videos → modules/attics}/szabo-viktor-1920x1280.jpg +0 -0
  78. data/lib/starter_web/assets/images/pages/asciidoc_skeletons/example-pdf-screenshot.png +0 -0
  79. data/lib/starter_web/collections/posts/public/featured/_posts/{2020-01-01-about-cookies.adoc → 2021-01-01-about-cookies.adoc} +0 -0
  80. data/lib/starter_web/collections/posts/public/featured/_posts/{2021-03-01-site-generators.adoc → 2021-02-01-site-generators.adoc} +0 -0
  81. data/lib/starter_web/collections/posts/public/{wikipedia/_posts/2016-11-20-minneapolis.adoc → series/_posts/2020-01-01-post-wiki-series.adoc} +11 -10
  82. data/lib/starter_web/collections/posts/public/{wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc → series/_posts/2020-01-02-post-wiki-series.adoc} +15 -13
  83. data/lib/starter_web/collections/posts/public/{wikipedia/_posts/2016-11-26-columbia-river.adoc → series/_posts/2020-01-03-post-wiki-series.adoc} +28 -11
  84. data/lib/starter_web/collections/posts/public/{wikipedia → series}/_posts/_includes/attributes.asciidoc +0 -0
  85. data/lib/starter_web/collections/posts/public/{wikipedia → series}/_posts/_includes/documents/readme +0 -0
  86. data/lib/starter_web/collections/posts/public/{wikipedia → series}/_posts/_includes/tables/readme +0 -0
  87. data/lib/starter_web/index.html +2 -2
  88. data/lib/starter_web/package.json +1 -1
  89. data/lib/starter_web/pages/public/asciidoc_skeletons/{book → documentation}/000_intro.adoc +5 -7
  90. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/100_converter.adoc +43 -0
  91. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/200_themes.adoc +61 -0
  92. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/attributes.asciidoc +95 -0
  93. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/000_intro.asciidoc +54 -0
  94. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/000_basic_example.asciidoc +31 -0
  95. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/111_about_the_converter.asciidoc +111 -0
  96. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/112_getting_started.asciidoc +95 -0
  97. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/113_themes.asciidoc +39 -0
  98. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter.asciidoc +8 -0
  99. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/211_language_overview.asciidoc +122 -0
  100. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/212_values.asciidoc +502 -0
  101. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/213_fonts.asciidoc +261 -0
  102. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes.asciidoc +8 -0
  103. data/lib/starter_web/pages/public/asciidoc_skeletons/{book → documentation}/a2p.bat +1 -1
  104. data/lib/starter_web/pages/public/asciidoc_skeletons/{book → documentation}/a2p.sh +2 -2
  105. data/lib/starter_web/pages/public/asciidoc_skeletons/{book/book.a2p → documentation/documentation.a2p} +2 -8
  106. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +86 -0
  107. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/100_chapter.asciidoc +848 -40
  108. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/200_chapter.asciidoc +149 -38
  109. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +2 -7
  110. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +312 -119
  111. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +5 -5
  112. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +5 -5
  113. data/lib/starter_web/pages/public/blog/navigator/archive.html +5 -5
  114. data/lib/starter_web/pages/public/blog/navigator/index.html +3 -2
  115. data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +1 -1
  116. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  117. data/lib/starter_web/utilsrv/package.json +1 -1
  118. metadata +53 -84
  119. data/assets/themes/j1/modules/rtable/js/tablesaw-init.js +0 -18
  120. data/assets/themes/j1/modules/rtable/js/tablesaw.stackonly.js +0 -2371
  121. data/lib/starter_web/_data/modules/defaults/infiniteScroll.yml +0 -73
  122. data/lib/starter_web/_data/modules/infiniteScroll.yml +0 -66
  123. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-test-series.adoc +0 -128
  124. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +0 -131
  125. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +0 -131
  126. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +0 -132
  127. data/lib/starter_web/pages/infinite-scroll-tester-5.adoc +0 -119
  128. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/blindtext.asciidoc +0 -11
  129. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/font_icons.asciidoc +0 -23
  130. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/gallery.asciidoc +0 -5
  131. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/lightbox.asciidoc +0 -7
  132. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/documents/chapter_document.asciidoc +0 -9
  133. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/documents/entry_document.asciidoc +0 -3
  134. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/images/image.asciidoc +0 -6
  135. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_2_column.asciidoc +0 -12
  136. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_2_column_options.asciidoc +0 -30
  137. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_3_column.asciidoc +0 -16
  138. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_4_column.asciidoc +0 -25
  139. data/lib/starter_web/pages/public/asciidoc_skeletons/book/100_chapter.adoc +0 -62
  140. data/lib/starter_web/pages/public/asciidoc_skeletons/book/200_chapter.adoc +0 -64
  141. data/lib/starter_web/pages/public/asciidoc_skeletons/book/900_references.adoc +0 -73
  142. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/attributes.asciidoc +0 -74
  143. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/000_intro.asciidoc +0 -33
  144. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter/100_chapter_document.asciidoc +0 -21
  145. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter/110_chapter_document.asciidoc +0 -36
  146. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter.asciidoc +0 -7
  147. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/200_chapter/200_chapter_document.asciidoc +0 -53
  148. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/200_chapter.asciidoc +0 -5
  149. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/000_intro.asciidoc +0 -23
  150. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/100_chapter_document.asciidoc +0 -33
  151. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/200_chapter_document.asciidoc +0 -26
  152. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/900_sources.asciidoc +0 -81
  153. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references.asciidoc +0 -23
  154. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/tables/110_material_design_icons.asciidoc +0 -102
  155. data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.adoc +0 -136
  156. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/100_chapter.asciidoc +0 -60
  157. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/200_chapter.asciidoc +0 -59
  158. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/tables/110_material_design_icons.asciidoc +0 -102
  159. data/lib/starter_web/pages/public/previewer/_includes/attributes.asciidoc +0 -60
  160. data/lib/starter_web/pages/public/previewer/_includes/documents/licenses/mit.asciidoc +0 -19
  161. data/lib/starter_web/pages/public/previewer/_includes/documents/readme +0 -0
  162. data/lib/starter_web/pages/public/previewer/_includes/documents/rouge/100_language_examples.asciidoc +0 -119
  163. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/100_absolute_sizes.asciidoc +0 -39
  164. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/110_bs_grid_sizes.asciidoc +0 -47
  165. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/120_relative_sizes.asciidoc +0 -47
  166. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/200_rotate.asciidoc +0 -71
  167. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/300_flip.asciidoc +0 -31
  168. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/400_spin_pulsed.asciidoc +0 -39
  169. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/500_bw_color_palette.asciidoc +0 -61
  170. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/510_bs_color_palette.asciidoc +0 -55
  171. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/600_md_color_palette.asciidoc +0 -95
  172. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/601_md_color_palette_indigo.asciidoc +0 -95
  173. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/602_md_color_palette_pink.asciidoc +0 -95
  174. data/lib/starter_web/pages/public/previewer/_includes/tables/rouge/200_rouge_attributes.asciidoc +0 -41
  175. data/lib/starter_web/pages/public/previewer/_includes/tables/rouge/300_supported_languages.asciidoc +0 -857
  176. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/100_bs_sizes.asciidoc +0 -47
  177. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/100_relative_sizes.asciidoc +0 -47
  178. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/200_rotate.asciidoc +0 -71
  179. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/300_flip.asciidoc +0 -30
  180. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/400_spin_pulsed.asciidoc +0 -31
  181. data/lib/starter_web/pages/public/previewer/iframer.adoc +0 -93
  182. data/lib/starter_web/pages/public/previewer/justified_gallery.html +0 -41
  183. data/lib/starter_web/pages/public/previewer/md_color_palette.adoc +0 -574
  184. data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +0 -220
  185. data/lib/starter_web/pages/public/previewer/rouge.adoc +0 -133
  186. data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +0 -191
@@ -14,10 +14,8 @@
14
14
  */
15
15
  ;(function () {
16
16
 
17
- var icons = {};
17
+ var icons = {};
18
18
  var icon_database = '/assets/data/mdi_icons.json';
19
- var language = document.documentElement.lang;
20
- var responseText;
21
19
 
22
20
  function load_data_database() {
23
21
  // Returns the icon database object
@@ -49,14 +47,6 @@
49
47
  // var reference = document.querySelector("#mdi-icon");
50
48
  // var popper = document.querySelector(".my-popper");
51
49
 
52
- if (language == 'en') {
53
- responseText = 'Copied to Clipboard';
54
- } else if (language == 'de') {
55
- responseText = 'Kopiert zur Zwischenablage';
56
- } else {
57
- responseText = 'Copied to Clipboard';
58
- }
59
-
60
50
  var copyFrom = document.createElement('textarea');
61
51
  copyFrom.setAttribute("style", "position:fixed;opacity:0;top:100px;left:100px;");
62
52
  copyFrom.value = text;
@@ -65,7 +55,7 @@
65
55
  document.execCommand('copy');
66
56
  var copied = document.createElement('div');
67
57
  copied.setAttribute('class', 'copied');
68
- copied.appendChild(document.createTextNode(responseText));
58
+ copied.appendChild(document.createTextNode('Copied to Clipboard'));
69
59
  document.body.appendChild(copied);
70
60
 
71
61
  // Popper currently NOT used
@@ -81,8 +71,8 @@
81
71
  document.body.removeChild(copied);
82
72
  }, 1500);
83
73
  };
84
- // Skip info record 0 (j=1)
85
- for (var j = 1; j < icons.length; j++) {
74
+ // Skip info record 0 (j=1) ???
75
+ for (var j=0; j<icons.length; j++) {
86
76
  var div = document.createElement('div'),
87
77
  i = document.createElement('i');
88
78
  div.setAttribute("id", "mdi-icon");
@@ -118,7 +108,7 @@
118
108
  };
119
109
  })(icons[j]);
120
110
 
121
- document.getElementById('icons').appendChild(div);
111
+ document.getElementById('mdi-icons').appendChild(div);
122
112
  }
123
113
  });
124
114
 
@@ -12,4 +12,4 @@
12
12
  # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
13
13
  # -----------------------------------------------------------------------------
14
14
  */
15
- (function(){var a={};var d="/assets/data/mdi_icons.json";var e=document.documentElement.lang;var b;function c(){return $.ajax({url:d,success:function(f){if(typeof f=="string"){a=JSON.parse(f)}if(typeof f=="object"){a=f}}})}$.when(c()).done(function(l){a.push({name:"blank",codepoint:"F068C"});var m=function(o){if(e=="en"){b="Copied to Clipboard"}else{if(e=="de"){b="Kopiert zur Zwischenablage"}else{b="Copied to Clipboard"}}var j=document.createElement("textarea");j.setAttribute("style","position:fixed;opacity:0;top:100px;left:100px;");j.value=o;document.body.appendChild(j);j.select();document.execCommand("copy");var i=document.createElement("div");i.setAttribute("class","copied");i.appendChild(document.createTextNode(b));document.body.appendChild(i);setTimeout(function(){document.body.removeChild(j);document.body.removeChild(i)},1500)};for(var f=1;f<a.length;f++){var n=document.createElement("div"),g=document.createElement("i");n.setAttribute("id","mdi-icon");g.className="mdi mdi-"+a[f].name;n.appendChild(g);var k=document.createElement("code");k.appendChild(document.createTextNode("#"+a[f].codepoint));n.appendChild(k);var h=document.createElement("span");h.appendChild(document.createTextNode(a[f].name));n.appendChild(h);g.onmouseup=(function(i){return function(){m(i.name)}})(a[f]);k.onmouseup=(function(i){return function(){m("#"+i.codepoint)}})(a[f]);h.onmouseup=(function(i){return function(){m("mdi-"+i.name)}})(a[f]);document.getElementById("icons").appendChild(n)}})})();
15
+ (function(){var a={};var c="/assets/data/mdi_icons.json";function b(){return $.ajax({url:c,success:function(d){if(typeof d=="string"){a=JSON.parse(d)}if(typeof d=="object"){a=d}}})}$.when(b()).done(function(h){a.push({name:"blank",codepoint:"F068C"});var k=function(m){var j=document.createElement("textarea");j.setAttribute("style","position:fixed;opacity:0;top:100px;left:100px;");j.value=m;document.body.appendChild(j);j.select();document.execCommand("copy");var i=document.createElement("div");i.setAttribute("class","copied");i.appendChild(document.createTextNode("Copied to Clipboard"));document.body.appendChild(i);setTimeout(function(){document.body.removeChild(j);document.body.removeChild(i)},1500)};for(var d=0;d<a.length;d++){var l=document.createElement("div"),e=document.createElement("i");l.setAttribute("id","mdi-icon");e.className="mdi mdi-"+a[d].name;l.appendChild(e);var g=document.createElement("code");g.appendChild(document.createTextNode("#"+a[d].codepoint));l.appendChild(g);var f=document.createElement("span");f.appendChild(document.createTextNode(a[d].name));l.appendChild(f);e.onmouseup=(function(i){return function(){k(i.name)}})(a[d]);g.onmouseup=(function(i){return function(){k("#"+i.codepoint)}})(a[d]);f.onmouseup=(function(i){return function(){k("mdi-"+i.name)}})(a[d]);document.getElementById("mdi-icons").appendChild(l)}})})();
@@ -0,0 +1,97 @@
1
+ /*
2
+ # -----------------------------------------------------------------------------
3
+ # ~/assets/themes/j1/modules/mdiPreviewer/css/previewer.css
4
+ # Provides styles for the MDI Icon Previewer
5
+ #
6
+ # Product/Info:
7
+ # https://jekyll.one
8
+ #
9
+ # Copyright (C) 2021 Juergen Adams
10
+ #
11
+ # J1 Template is licensed under the MIT License.
12
+ # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
13
+ # -----------------------------------------------------------------------------
14
+ */
15
+
16
+ .icons {
17
+ //display: none;
18
+ //padding: 0 20px 10px 20px;
19
+ -webkit-column-count: 2;
20
+ -moz-column-count: 2;
21
+ column-count: 2;
22
+ -webkit-column-gap: 2rem;
23
+ -moz-column-gap: 2rem;
24
+ column-gap: 2rem;
25
+ }
26
+
27
+ .icons div {
28
+ line-height: 3rem;
29
+ color: rgba(0, 0, 0, 0.6);
30
+ }
31
+
32
+ .icons div span {
33
+ cursor: pointer;
34
+ font-size: 1rem;
35
+ text-overflow: ellipsis;
36
+ display: inline-block;
37
+ max-width: calc(100% - 90px);
38
+ overflow: hidden;
39
+ vertical-align: middle;
40
+ white-space: nowrap;
41
+ margin-left: .5rem;
42
+ }
43
+
44
+ .icons div code:hover,
45
+ .icons div span:hover,
46
+ .icons div i:hover {
47
+ color: rgba(0, 0, 0, 0.5);
48
+ }
49
+
50
+ .icons div code:hover {
51
+ border-color: #2196F3;
52
+ }
53
+
54
+ .icons div code {
55
+ color: #424242;
56
+ background-color: #E0E0E0;
57
+ border: 1px solid #9E9E9E;
58
+ width: 80px;
59
+ margin-left: 2px;
60
+ margin-right: 4px;
61
+ border-radius: 4px;
62
+ display: inline-block;
63
+ vertical-align: middle;
64
+ text-align: center;
65
+ line-height: 24px;
66
+ cursor: pointer;
67
+ }
68
+
69
+ .icons div i {
70
+ display: inline-block;
71
+ width: 32px;
72
+ height: 24px;
73
+ margin-right: .5rem;
74
+ text-align: center;
75
+ vertical-align: middle;
76
+ cursor: pointer;
77
+ line-height: 24px;
78
+ }
79
+
80
+ .icons .mdi:before {
81
+ font-size: 24px;
82
+ }
83
+
84
+ div.copied {
85
+ position: fixed;
86
+ top: 100px;
87
+ left: 50%;
88
+ width: 300px;
89
+ text-align: center;
90
+ color: #FAFAFA;
91
+ background-color: #2196F3;
92
+ border: 1px solid #0D47A1;
93
+ padding: 10px 15px;
94
+ border-radius: 4px;
95
+ margin-left: -100px;
96
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
97
+ }
@@ -0,0 +1,15 @@
1
+ /*
2
+ # -----------------------------------------------------------------------------
3
+ # ~/assets/themes/j1/modules/mdiPreviewer/css/previewer.min.css
4
+ # Provides styles for the MDI Icon Previewer
5
+ #
6
+ # Product/Info:
7
+ # https://jekyll.one
8
+ #
9
+ # Copyright (C) 2021 Juergen Adams
10
+ #
11
+ # J1 Template is licensed under the MIT License.
12
+ # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
13
+ # -----------------------------------------------------------------------------
14
+ */
15
+ .icons{//display:none;//padding:0 20px 10px 20px;-webkit-column-count:2;-moz-column-count:2;column-count:2;-webkit-column-gap:2rem;-moz-column-gap:2rem;column-gap:2rem}.icons div{line-height:3rem;color:rgba(0,0,0,0.6)}.icons div span{cursor:pointer;font-size:1rem;text-overflow:ellipsis;display:inline-block;max-width:calc(100% - 90px);overflow:hidden;vertical-align:middle;white-space:nowrap;margin-left:.5rem}.icons div code:hover,.icons div span:hover,.icons div i:hover{color:rgba(0,0,0,0.5)}.icons div code:hover{border-color:#2196f3}.icons div code{color:#424242;background-color:#e0e0e0;border:1px solid #9e9e9e;width:80px;margin-left:2px;margin-right:4px;border-radius:4px;display:inline-block;vertical-align:middle;text-align:center;line-height:24px;cursor:pointer}.icons div i{display:inline-block;width:32px;height:24px;margin-right:.5rem;text-align:center;vertical-align:middle;cursor:pointer;line-height:24px}.icons .mdi:before{font-size:24px}div.copied{position:fixed;top:100px;left:50%;width:300px;text-align:center;color:#fafafa;background-color:#2196f3;border:1px solid #0d47a1;padding:10px 15px;border-radius:4px;margin-left:-100px;box-shadow:0 0 10px rgba(0,0,0,0.2)}
@@ -0,0 +1,125 @@
1
+ /*
2
+ # -----------------------------------------------------------------------------
3
+ # ~/assets/themes/j1/modules/mdilPreviewer/js/previewer.js
4
+ # Provides JS functions for the MDI Icon Previewer
5
+ #
6
+ # Product/Info:
7
+ # https://jekyll.one
8
+ #
9
+ # Copyright (C) 2021 Juergen Adams
10
+ #
11
+ # J1 Template is licensed under the MIT License.
12
+ # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
13
+ # -----------------------------------------------------------------------------
14
+ */
15
+ ;(function () {
16
+
17
+ var icons = {};
18
+ var icon_database = '/assets/data/mdil_icons.json';
19
+ var language = document.documentElement.lang;
20
+ var responseText;
21
+
22
+ function load_data_database() {
23
+ // Returns the icon database object
24
+ return $.ajax({
25
+ url: icon_database,
26
+ success: function (data) {
27
+ if (typeof data == 'string') {
28
+ icons = JSON.parse(data);
29
+ }
30
+ if (typeof data == 'object') {
31
+ icons = data;
32
+ }
33
+ }
34
+ })
35
+ };
36
+
37
+ $.when(load_data_database()).done(
38
+ function (load_database_response) {
39
+
40
+ icons.push({
41
+ "name": "blank",
42
+ "codepoint": "F68C"
43
+ });
44
+
45
+ var copyText = function (text) {
46
+ // Popper currently NOT used
47
+ // See: https://github.com/popperjs/popper-core/tree/v1.16.1
48
+ //
49
+ // var reference = document.querySelector("#mdi-icon");
50
+ // var popper = document.querySelector(".my-popper");
51
+
52
+ if (language == 'en') {
53
+ responseText = 'Copied to Clipboard';
54
+ } else if (language == 'de') {
55
+ responseText = 'Kopiert zur Zwischenablage';
56
+ } else {
57
+ responseText = 'Copied to Clipboard';
58
+ }
59
+
60
+ var copyFrom = document.createElement('textarea');
61
+ copyFrom.setAttribute("style", "position:fixed;opacity:0;top:100px;left:100px;");
62
+ copyFrom.value = text;
63
+ document.body.appendChild(copyFrom);
64
+ copyFrom.select();
65
+ document.execCommand('copy');
66
+ var copied = document.createElement('div');
67
+ copied.setAttribute('class', 'copied');
68
+ copied.appendChild(document.createTextNode(responseText));
69
+ document.body.appendChild(copied);
70
+
71
+ // Popper currently NOT used
72
+ // See: https://github.com/popperjs/popper-core/tree/v1.16.1
73
+ //
74
+ // var popperInstance = new Popper(reference, popper, {
75
+ // // popper options here
76
+ // placement: 'right'
77
+ // });
78
+
79
+ setTimeout(function () {
80
+ document.body.removeChild(copyFrom);
81
+ document.body.removeChild(copied);
82
+ }, 1500);
83
+ };
84
+ // Skip info record 0 (j=1) ???
85
+ for (var j=0; j<icons.length; j++) {
86
+ var div = document.createElement('div'),
87
+ i = document.createElement('i');
88
+ div.setAttribute("id", "mdi-icon");
89
+
90
+ i.className = 'mdil mdil-2x mdil-' + icons[j].name;
91
+ div.appendChild(i);
92
+ var code = document.createElement('code');
93
+ code.appendChild(document.createTextNode('#' + icons[j].codepoint));
94
+ div.appendChild(code);
95
+ var span = document.createElement('span');
96
+ //span.appendChild(document.createTextNode('mdi-' + icons[j].name));
97
+ span.appendChild(document.createTextNode(icons[j].name));
98
+ div.appendChild(span);
99
+
100
+ // click on font-icon: copy icon name
101
+ i.onmouseup = (function (icon) {
102
+ return function () {
103
+ copyText(icon.name);
104
+ };
105
+ })(icons[j]);
106
+
107
+ // click on icon-value: copy icon value
108
+ code.onmouseup = (function (icon) {
109
+ return function () {
110
+ copyText('#' + icon.codepoint);
111
+ };
112
+ })(icons[j]);
113
+
114
+ // click on icon-name: copy MDI icon name
115
+ span.onmouseup = (function (icon) {
116
+ return function () {
117
+ copyText('mdil-' + icon.name);
118
+ };
119
+ })(icons[j]);
120
+
121
+ document.getElementById('mdil-icons').appendChild(div);
122
+ }
123
+ });
124
+
125
+ })();
@@ -0,0 +1,15 @@
1
+ /*
2
+ # -----------------------------------------------------------------------------
3
+ # ~/assets/themes/j1/modules/mdilPreviewer/js/previewer.min.js
4
+ # Provides JS functions for the MDI Icon Previewer
5
+ #
6
+ # Product/Info:
7
+ # https://jekyll.one
8
+ #
9
+ # Copyright (C) 2021 Juergen Adams
10
+ #
11
+ # J1 Template is licensed under the MIT License.
12
+ # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
13
+ # -----------------------------------------------------------------------------
14
+ */
15
+ (function(){var a={};var d="/assets/data/mdil_icons.json";var e=document.documentElement.lang;var b;function c(){return $.ajax({url:d,success:function(f){if(typeof f=="string"){a=JSON.parse(f)}if(typeof f=="object"){a=f}}})}$.when(c()).done(function(l){a.push({name:"blank",codepoint:"F68C"});var m=function(o){if(e=="en"){b="Copied to Clipboard"}else{if(e=="de"){b="Kopiert zur Zwischenablage"}else{b="Copied to Clipboard"}}var j=document.createElement("textarea");j.setAttribute("style","position:fixed;opacity:0;top:100px;left:100px;");j.value=o;document.body.appendChild(j);j.select();document.execCommand("copy");var i=document.createElement("div");i.setAttribute("class","copied");i.appendChild(document.createTextNode(b));document.body.appendChild(i);setTimeout(function(){document.body.removeChild(j);document.body.removeChild(i)},1500)};for(var f=0;f<a.length;f++){var n=document.createElement("div"),g=document.createElement("i");n.setAttribute("id","mdi-icon");g.className="mdil mdil-2x mdil-"+a[f].name;n.appendChild(g);var k=document.createElement("code");k.appendChild(document.createTextNode("#"+a[f].codepoint));n.appendChild(k);var h=document.createElement("span");h.appendChild(document.createTextNode(a[f].name));n.appendChild(h);g.onmouseup=(function(i){return function(){m(i.name)}})(a[f]);k.onmouseup=(function(i){return function(){m("#"+i.codepoint)}})(a[f]);h.onmouseup=(function(i){return function(){m("mdil-"+i.name)}})(a[f]);document.getElementById("mdil-icons").appendChild(n)}})})();
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  # -----------------------------------------------------------------------------
3
- # ~/assets/themes/j1/modules/mmenu_light/css/theme/uno.js
3
+ # ~/assets/themes/j1/modules/rtable/css/theme/uno/rtable.css
4
4
  # Tablesaw v3.1.2 Theme for J1 Template
5
5
  #
6
6
  # Product/Info:
@@ -157,8 +157,8 @@ $breakpoint-xs: 575px;
157
157
  .tablesaw-stack tbody td,
158
158
  .tablesaw-stack tbody th {
159
159
  display: block;
160
- /* float: left; */
161
- /* clear: left; */
160
+ /* float: left;
161
+ clear: left; */
162
162
  width: 100%;
163
163
  }
164
164
 
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  # -----------------------------------------------------------------------------
3
- # ~/assets/themes/j1/modules/mmenu_light/css/theme/uno.js
3
+ # ~/assets/themes/j1/modules/rtable/css/theme/uno/rtable.min.css
4
4
  # Tablesaw v3.1.2 Theme for J1 Template
5
5
  #
6
6
  # Product/Info:
@@ -16,176 +16,4 @@
16
16
  # See: https://github.com/filamentgroup/tablesaw/blob/master/LICENSE
17
17
  # -----------------------------------------------------------------------------
18
18
  */
19
-
20
- /*
21
- // BS4 media breakpoints
22
- // -----------------------------------------------------------------------------
23
- $breakpoint-xl: 1200px;
24
- $breakpoint-lg: 992px;
25
- $breakpoint-md: 768px;
26
- $breakpoint-sm: 576px;
27
- $breakpoint-xs: 575px;
28
- */
29
-
30
- .tablesaw {
31
- width: 100%;
32
- max-width: 100%;
33
- empty-cells: show;
34
- border-collapse: collapse;
35
- /* border: 0; */
36
- /* padding: 0; */
37
- }
38
-
39
- .tablesaw * {
40
- box-sizing: border-box;
41
- }
42
-
43
- .tablesaw-stack td .tablesaw-cell-label,
44
- .tablesaw-stack th .tablesaw-cell-label {
45
- display: none;
46
- }
47
-
48
- /* Mobile first styles: Begin with the stacked presentation at narrow widths */
49
-
50
- /* Support note IE9+: @media only all */
51
-
52
- /* Media query to show as a standard table at 560px (35em x 16px) or wider */
53
-
54
-
55
- /* All Media screens
56
- -------------------------------------------------------------------------------- */
57
- @media all {
58
- /* Show the table cells as a block level element */
59
-
60
- .tablesaw-stack {
61
- clear: both;
62
- }
63
-
64
- .tablesaw-stack td,
65
- .tablesaw-stack th {
66
- text-align: left;
67
- display: block;
68
- }
69
-
70
- .tablesaw-stack tr {
71
- clear: both;
72
- display: table-row;
73
- }
74
-
75
- /* Make the label elements a percentage width */
76
-
77
- .tablesaw-stack td .tablesaw-cell-label,
78
- .tablesaw-stack th .tablesaw-cell-label {
79
- display: inline-block;
80
- /* padding: 0 .6em 0 0; */
81
- /* width: 30%; */
82
- width: 20%;
83
- }
84
-
85
- /* For grouped headers, have a different style to visually
86
- separate the levels by classing the first label in each
87
- col group
88
- */
89
-
90
- .tablesaw-stack th .tablesaw-cell-label-top,
91
- .tablesaw-stack td .tablesaw-cell-label-top {
92
- display: block;
93
- padding: .4em 0;
94
- margin: .4em 0;
95
- }
96
-
97
- .tablesaw-cell-label {
98
- display: block;
99
- }
100
-
101
- /* Avoid double strokes when stacked */
102
-
103
- .tablesaw-stack tbody th.group {
104
- margin-top: -1px;
105
- }
106
-
107
- /* Avoid double strokes when stacked */
108
-
109
- .tablesaw-stack th.group b.tablesaw-cell-label {
110
- display: none !important;
111
- }
112
- }
113
-
114
- /* Desktop
115
- @media (min-width: 40em) $grid-breakpoint-lg
116
- -------------------------------------------------------------------------------- */
117
- @media screen and (min-width: 992px) {
118
- .tablesaw-stack tr {
119
- display: table-row;
120
- }
121
-
122
- /* Show the table header rows */
123
-
124
- .tablesaw-stack td,
125
- .tablesaw-stack th,
126
- .tablesaw-stack thead td,
127
- .tablesaw-stack thead th {
128
- display: table-cell;
129
- margin: 0;
130
- }
131
-
132
- /* Hide the labels in each cell */
133
-
134
- .tablesaw-stack td .tablesaw-cell-label,
135
- .tablesaw-stack th .tablesaw-cell-label {
136
- display: none !important;
137
- }
138
- }
139
-
140
- /* Mobile
141
- @media (max-width: 39.9375em) {
142
- -------------------------------------------------------------------------------- */
143
- @media screen and (max-width: 992px) {
144
- /* Table rows have a gray bottom stroke by default */
145
-
146
- .tablesaw-stack tbody tr {
147
- display: block;
148
- width: 100%;
149
- /* border-bottom: 1px solid #dfdfdf; */
150
- }
151
-
152
- .tablesaw-stack thead td,
153
- .tablesaw-stack thead th {
154
- display: none;
155
- }
156
-
157
- .tablesaw-stack tbody td,
158
- .tablesaw-stack tbody th {
159
- display: block;
160
- /* float: left; */
161
- /* clear: left; */
162
- width: 100%;
163
- }
164
-
165
- /* jadams, 2020-09-15: */
166
- .tablesaw-cell-label {
167
- vertical-align: top;
168
- font-weight: 700 !important;
169
- }
170
-
171
- /* jadams, 2020-09-65: changed max-width: 67% */
172
- .tablesaw-cell-content {
173
- display: inline-block;
174
- margin-left: .5rem;
175
- max-width: 100%;
176
- min-width: 100%; /* is to calculated for firefox */
177
- }
178
-
179
- .tablesaw-stack .tablesaw-stack-block .tablesaw-cell-label,
180
- .tablesaw-stack .tablesaw-stack-block .tablesaw-cell-content {
181
- display: block;
182
- width: 100%;
183
- max-width: 100%;
184
- padding: 0;
185
- }
186
-
187
- .tablesaw-stack td:empty,
188
- .tablesaw-stack th:empty {
189
- display: none;
190
- }
191
- }
19
+ .tablesaw{width:100%;max-width:100%;empty-cells:show;border-collapse:collapse}.tablesaw *{box-sizing:border-box}.tablesaw-stack td .tablesaw-cell-label,.tablesaw-stack th .tablesaw-cell-label{display:none}@media all{.tablesaw-stack{clear:both}.tablesaw-stack td,.tablesaw-stack th{text-align:left;display:block}.tablesaw-stack tr{clear:both;display:table-row}.tablesaw-stack td .tablesaw-cell-label,.tablesaw-stack th .tablesaw-cell-label{display:inline-block;width:20%}.tablesaw-stack th .tablesaw-cell-label-top,.tablesaw-stack td .tablesaw-cell-label-top{display:block;padding:.4em 0;margin:.4em 0}.tablesaw-cell-label{display:block}.tablesaw-stack tbody th.group{margin-top:-1px}.tablesaw-stack th.group b.tablesaw-cell-label{display:none!important}}@media screen and (min-width:992px){.tablesaw-stack tr{display:table-row}.tablesaw-stack td,.tablesaw-stack th,.tablesaw-stack thead td,.tablesaw-stack thead th{display:table-cell;margin:0}.tablesaw-stack td .tablesaw-cell-label,.tablesaw-stack th .tablesaw-cell-label{display:none!important}}@media screen and (max-width:992px){.tablesaw-stack tbody tr{display:block;width:100%}.tablesaw-stack thead td,.tablesaw-stack thead th{display:none}.tablesaw-stack tbody td,.tablesaw-stack tbody th{display:block;width:100%}.tablesaw-cell-label{vertical-align:top;font-weight:700!important}.tablesaw-cell-content{display:inline-block;margin-left:.5rem;max-width:100%;min-width:100%}.tablesaw-stack .tablesaw-stack-block .tablesaw-cell-label,.tablesaw-stack .tablesaw-stack-block .tablesaw-cell-content{display:block;width:100%;max-width:100%;padding:0}.tablesaw-stack td:empty,.tablesaw-stack th:empty{display:none}}