j1-template 2023.2.2 → 2023.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/assets/data/banner.html +2 -2
  3. data/assets/themes/j1/adapter/js/attic.js +81 -36
  4. data/assets/themes/j1/adapter/js/fab.js +5 -3
  5. data/assets/themes/j1/adapter/js/lightbox.js +5 -3
  6. data/assets/themes/j1/adapter/js/masonry.js +4 -3
  7. data/assets/themes/j1/adapter/js/masterslider.js +1 -1
  8. data/assets/themes/j1/adapter/js/navigator.js +5 -3
  9. data/assets/themes/j1/adapter/js/scroller.js +5 -3
  10. data/assets/themes/j1/adapter/js/slick.js +4 -3
  11. data/assets/themes/j1/adapter/js/toccer.js +3 -1
  12. data/assets/themes/j1/adapter/js/translator.js +5 -3
  13. data/assets/themes/j1/adapter/js/waves.js +5 -3
  14. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +2 -2
  15. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
  16. data/assets/themes/j1/core/css/vendor.css +21 -132
  17. data/assets/themes/j1/core/css/vendor.min.css +1 -1
  18. data/lib/j1/version.rb +1 -1
  19. data/lib/starter_web/README.md +5 -5
  20. data/lib/starter_web/_config.yml +1 -1
  21. data/lib/starter_web/_data/modules/attics.yml +25 -39
  22. data/lib/starter_web/_data/modules/defaults/attics.yml +21 -11
  23. data/lib/starter_web/_data/resources.yml +8 -8
  24. data/lib/starter_web/_data/templates/feed.xml +1 -1
  25. data/lib/starter_web/_plugins/index/lunr.rb +1 -1
  26. data/lib/starter_web/index.html +2 -1
  27. data/lib/starter_web/package.json +1 -1
  28. data/lib/starter_web/pages/public/about/features.adoc +0 -1
  29. data/lib/starter_web/pages/public/about/reporting_issues.adoc +0 -1
  30. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +0 -1
  31. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +0 -1
  32. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +0 -1
  33. data/lib/starter_web/pages/public/features/general.adoc +0 -3
  34. data/lib/starter_web/pages/public/features/template.adoc +0 -3
  35. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_all_books.adoc +4 -1
  36. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_biography.adoc +0 -1
  37. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_fantasy.adoc +0 -1
  38. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_romance.adoc +0 -1
  39. data/lib/starter_web/pages/public/learn/bookshelf/jekyll_collections.adoc +0 -1
  40. data/lib/starter_web/pages/public/learn/roundtrip/asciidoc_extensions.adoc +0 -1
  41. data/lib/starter_web/pages/public/learn/roundtrip/bootstrap_themes.adoc +0 -1
  42. data/lib/starter_web/pages/public/learn/roundtrip/icon_fonts.adoc +0 -1
  43. data/lib/starter_web/pages/public/learn/roundtrip/lunr_search.adoc +0 -1
  44. data/lib/starter_web/pages/public/learn/roundtrip/modal_extentions.adoc +0 -1
  45. data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +6 -8
  46. data/lib/starter_web/pages/public/learn/roundtrip/present_videos.adoc +0 -1
  47. data/lib/starter_web/pages/public/learn/roundtrip/responsive_tables.adoc +0 -1
  48. data/lib/starter_web/pages/public/learn/roundtrip/typography.adoc +0 -1
  49. data/lib/starter_web/pages/public/learn/where_to_go.adoc +0 -1
  50. data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +0 -1
  51. data/lib/starter_web/pages/public/legal/en/200_impress.adoc +0 -1
  52. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +0 -1
  53. data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +0 -1
  54. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +0 -1
  55. data/lib/starter_web/pages/public/plans/plans.adoc +0 -1
  56. data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +0 -1
  57. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  58. data/lib/starter_web/utilsrv/package.json +1 -1
  59. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dcbf50d4b49f1e3b06ad10b84e19252817683798fbb9c0aab00737a339a5e861
4
- data.tar.gz: 64c367576dd758a510de24d94431cd93fa9d59540b8cdecc6e3b67a8b7115b3e
3
+ metadata.gz: b6773ac450953ee75c6f86fab1415d8e13912fcd1189d852a42106e192989c3e
4
+ data.tar.gz: a076cfab70f404ec9f1001841343d5eea7e13e33ef355475267278ee15930060
5
5
  SHA512:
6
- metadata.gz: ddce5f497bc4444e065f71a0ea71f75899149954d951685730d5df6cf3b03b0a08516afe696d93edd68642809b8a09bcccf5f9fa1b71636a6ef6d95994cf4467
7
- data.tar.gz: '08da2f5079b22fab8d1b070d1a91ea53832247c7dc781262bc9f0fb1c0d2f8d25e1ca681c8c619c7f6e7c250706eb77e3ba52e9f0fd7faa3212dbf2b2c1165d0'
6
+ metadata.gz: 764bd237a644f2a4f82255436d0a4d49c07f55ed464c81f1b4ef33fe09314a44456e5467ef259ca16c39451d52f5b3c881ab3d9cf61e5e7568c55d0f6275e2a2
7
+ data.tar.gz: 85b4d6306d927d7a7319fa0183b59529f9f30677d2561fbf37fda6eb1f89a3eadb9a9c1d8d012f3565ddf2393ccd4c7a8ee32024a2f4931ec9158773a7863621
@@ -259,8 +259,8 @@ exclude_from_search: true
259
259
  <img
260
260
  class="sticker-image"
261
261
  src="/assets/images/sticker/600x600/sticker-new-version.png"
262
- alt="Get new version 2023.2.2"
263
- title="Get new version 2023.2.2"
262
+ alt="Get new version 2023.2.4"
263
+ title="Get new version 2023.2.4"
264
264
  style="width: 140px; height: 120px;"
265
265
  >
266
266
  </a>
@@ -147,11 +147,21 @@ j1.adapter.attic = (function (j1, window) {
147
147
  if ( j1.getState() === 'finished' && pageVisible ) {
148
148
  {% if attic_options.enabled %}
149
149
  logger.info('\n' + 'create all attics configured');
150
+
151
+ if (atticOptions.hide_oninit) {
152
+ // hide page while attic is being created
153
+ // jadams, 2023-05-12: Visible page/attic cause high number
154
+ // for cumulative layout shift (CLS)
155
+ //
156
+ logger.debug('\n' + 'hide attics on initia.lization');
157
+ $('#no_flicker').css('display', 'none');
158
+ }
159
+
150
160
  _this.createAllAttics();
151
161
  clearInterval(dependencies_met_page_ready);
152
162
  {% else %}
153
- logger.warn('\n' + 'found module attics disabled');
154
- // add additional top space
163
+ logger.debug('\n' + 'found module attics disabled');
164
+ // add additional top space if attics are disabled
155
165
  $('#content').addClass('mt-5');
156
166
  clearInterval(dependencies_met_page_ready);
157
167
  {% endif %}
@@ -164,36 +174,36 @@ j1.adapter.attic = (function (j1, window) {
164
174
  // -------------------------------------------------------------------------
165
175
  createAllAttics: function () {
166
176
  var frontmatterOptions = _this.frontmatterOptions;
177
+
167
178
  // merge all attic options
168
179
  var atticOptions = $.extend(true, {}, _this.atticOptions, _this.frontmatterOptions);
169
180
 
170
- {% comment %} Load data from header config (yaml data file)
181
+ {% comment %} Load data from attic config (yaml data files)
171
182
  -------------------------------------------------------------------------- {% endcomment %}
172
183
  {% for item in attic_options.attics %}
173
184
  {% if item.attic.enabled %}
174
-
175
185
  {% assign attic_id = item.attic.id %}
176
186
 
177
- {% comment %} Collect CSS image filters
178
- -------------------------------------------------------------------------------- {% endcomment %}
179
- {% if item.attic.filters %}
180
- {% for filter in blog_navigator_options.filters %}
181
- {% capture css_filters %}{{css_filters}} {{filter[0]}}({{filter[1]}}){% endcapture %}
182
- {% endfor %}
183
- {% capture image_filters %}filter:{{css_filters}}{% endcapture %}
184
- {% else %}
185
- {% assign image_filters = '' %}
186
- {% endif %}
187
-
188
- // Create the SPECIFIC header loader FUNCTION of type: {{attic_id}}
187
+ // Create the SPECIFIC header loader FUNCTION for id: {{attic_id}}
189
188
  function {{attic_id}} (atticOptions) {
189
+ var atticOptionsFilters = {};
190
+ var atticItemFilters = {};
191
+ var atticFilters = {};
192
+ var my_attic = $.extend({}, {{item.attic | replace: 'nil', 'null' | replace: '=>', ':' }});
190
193
 
191
194
  logger.info('\n' + 'initialize attic on id: {{attic_id}}');
192
195
 
193
- // convert attic filter settings to object to array to string
194
- atticFilters = $.extend({}, {{item.attic.filters | replace: 'nil', 'null' | replace: '=>', ':' }});
195
- filterArray = [];
196
- $.each(atticFilters, function(idx2,val2) {
196
+ // collect attic filter settings to object to array to string
197
+ //
198
+ {% if item.attic.filters %}
199
+ atticItemFilters = $.extend({}, {{item.attic.filters | replace: 'nil', 'null' | replace: '=>', ':' }});
200
+ {% endif %}
201
+
202
+ atticOptionsFilters = atticOptions.filters;
203
+ atticFilters = $.extend(true, {}, atticOptionsFilters, atticItemFilters);
204
+ filterArray = [];
205
+
206
+ $.each(atticFilters, function(idx2, val2) {
197
207
  var str = idx2 + '(' + val2 + ')';
198
208
  filterArray.push(str);
199
209
  });
@@ -240,7 +250,7 @@ j1.adapter.attic = (function (j1, window) {
240
250
  // Add event for pauseOnHover
241
251
  //
242
252
  if (atticOptions.pauseOnHover) {
243
- $('#attic_home').hover (
253
+ $('#attic_id').hover (
244
254
  function() {
245
255
  $('#{{attic_id}}').backstretch('pause'); },
246
256
  function() {
@@ -354,6 +364,7 @@ j1.adapter.attic = (function (j1, window) {
354
364
  // TODO: Add additional styles to head-title-text|head-tagline-
355
365
  // text (e.g. text-center)
356
366
  // atticOptions.tagline_align
367
+ //
357
368
  textOverlayHTML = ''
358
369
  + '<div id="head-title" class="head-title animate__animated ">'
359
370
  + ' <h2 id="head-title-text" class="notoc text-' + atticOptions.title_align + ' text-emphasis-stronger">' + textOverlayTitle + '</h2>'
@@ -361,24 +372,47 @@ j1.adapter.attic = (function (j1, window) {
361
372
  + '<div id="head-tagline" class="head-tagline animate__animated ">'
362
373
  + ' <h3 id="head-tagline-text" class="notoc text-' + atticOptions.tagline_align + '">' + textOverlayTagline + '</h3>'
363
374
  + '</div>';
364
- $('.textOverlay').html(textOverlayHTML).hide();
365
375
 
366
- $('#head-title').addClass(atticOptions.title_animate);
367
- $('#head-title').addClass(atticOptions.title_animate_delay);
368
- $('#head-title').addClass(atticOptions.title_animate_duration);
369
- $('#head-tagline').addClass(atticOptions.tagline_animate);
370
- $('#head-tagline').addClass(atticOptions.tagline_animate_duration);
376
+ // hide textOverlay while animate classes are being calculated
377
+ //
378
+ $('.textOverlay').html(textOverlayHTML).hide();
379
+
380
+ // collect individual title options
381
+ //
382
+ var title_animate = !!my_attic.title_animate ? my_attic.title_animate : atticOptions.title_animate;
383
+ var title_animate_delay = !!my_attic.title_animate_delay ? my_attic.title_animate_delay : atticOptions.title_animate_delay;
384
+ var title_animate_duration = !!my_attic.title_animate_duration ? my_attic.title_animate_duration : atticOptions.title_animate_duration;
385
+
386
+ $('#head-title').addClass(title_animate);
387
+ $('#head-title').addClass(title_animate_delay);
388
+ $('#head-title').addClass(title_animate_duration);
389
+
390
+ // collect individual tagline options
391
+ //
392
+ var tagline_animate = !!my_attic.tagline_animate ? my_attic.tagline_animate : atticOptions.tagline_animate;
393
+ var tagline_animate_delay = !!my_attic.tagline_animate_delay ? my_attic.tagline_animate_delay : atticOptions.tagline_animate_delay;
394
+ var tagline_animate_duration = !!my_attic.tagline_animate_duration ? my_attic.tagline_animate_duration : atticOptions.tagline_animate_duration;
371
395
 
396
+ $('#head-tagline').addClass(tagline_animate);
397
+ $('#head-tagline').addClass(tagline_animate_delay);
398
+ $('#head-tagline').addClass(tagline_animate_duration);
399
+
400
+ // show configured textOverlay
401
+ //
372
402
  $('.textOverlay').show();
373
403
  $('.textOverlay').css('opacity', '1');
374
404
 
375
- // jadams, 2022-08-19: show a badge only if defined
405
+ // jadams, 2022-08-19: show a badge only if configured
376
406
  //
377
407
  if (typeof instance.images[index].badge != 'undefined') {
378
408
  $('.attic-caption').show();
379
409
  $('.attic-caption').css('opacity', '1');
380
410
  }
381
411
 
412
+ // show page if attic finalized
413
+ //
414
+ $('#no_flicker').css('display', 'block');
415
+
382
416
  // jadams, 2022-08-09:
383
417
  // resize the (background-)image to make sure the 'attic'
384
418
  // container is changed in size (heigth) if title/tagline
@@ -592,20 +626,31 @@ j1.adapter.attic = (function (j1, window) {
592
626
  attic_style += '} </style>';
593
627
  $('head').append(attic_style);
594
628
 
595
- // Initialze header sizes
596
- attic_style = '';
597
- attic_style = '<style> .attic { padding-top: ' +atticOptions.padding_top+ 'px; padding-bottom: ' +atticOptions.padding_bottom+ 'px; margin-bottom: ' +atticOptions.margin_bottom+ 'px; text-shadow: 0 1px 0 rgba(0,0,0,.1); </style>';
629
+ // collect individual (title|tagline) options
630
+ //
631
+ var my_attic = $.extend({}, {{item.attic | replace: 'nil', 'null' | replace: '=>', ':' }});
632
+ var padding_top = !!my_attic.padding_top ? my_attic.padding_top : atticOptions.padding_top;
633
+ var padding_bottom = !!my_attic.padding_bottom ? my_attic.padding_bottom : atticOptions.padding_bottom;
634
+ var margin_bottom = !!my_attic.margin_bottom ? my_attic.margin_bottom : atticOptions.margin_bottom;
635
+
636
+ // frontmatter options takes precedence
637
+ //
638
+ if (typeof frontmatterOptions.padding_top != 'undefined') { padding_top = frontmatterOptions.padding_top; }
639
+ if (typeof frontmatterOptions.padding_bottom != 'undefined') { padding_bottom = frontmatterOptions.padding_bottom; }
640
+ if (typeof frontmatterOptions.margin_bottom != 'undefined') { margin_bottom = frontmatterOptions.margin_bottom; }
598
641
 
642
+ attic_style = '';
643
+ attic_style = '<style> .attic { padding-top: ' +padding_top+ 'px; padding-bottom: ' +padding_bottom+ 'px; margin-bottom: ' +margin_bottom+ 'px; text-shadow: 0 1px 0 rgba(0,0,0,.1); </style>';
599
644
  $('head').append(attic_style);
645
+
600
646
  $('head').append('<style> .attic .head-title h2 { color: ' +atticOptions.title_color+ ';font-size: ' +atticOptions.title_size+ ' !important; text-align: ' +atticOptions.title_align+ ';} </style>');
601
647
  $('head').append('<style> .attic .head-tagline h3 { color: ' +atticOptions.tagline_color+ ';font-size: ' +atticOptions.tagline_size+ ' !important; text-align: ' +atticOptions.tagline_align+ '; } </style>');
602
648
 
603
- // Add opacity to all header images
649
+ // Add opacity to ALL header (backstretch) images
604
650
  // See: https://tympanus.net/codrops/2013/11/07/css-overlay-techniques/
605
- var attic_opacity;
606
-
607
- attic_opacity = '<style> .backstretch-item { opacity: ' +atticOptions.opacity+ '; </style>';
608
- $('head').append(attic_opacity);
651
+ var item_opacity = !!my_attic.opacity ? my_attic.opacity : atticOptions.opacity;
652
+ var backstretch_opacity = '<style> .backstretch-item { opacity: ' +item_opacity+ '; </style>';
653
+ $('head').append(backstretch_opacity);
609
654
 
610
655
  _this.setState('initialized');
611
656
  logger.debug('\n' + 'state: ' + _this.getState());
@@ -185,9 +185,11 @@ j1.adapter.fab = (function (j1, window) {
185
185
  // Initialize FAB button
186
186
  // ---------------------------------------------------------------------
187
187
  var dependencies_met_fab_initialized = setInterval (function () {
188
- var pageState = $('#no_flicker').css("display");
189
- var pageVisible = (pageState == 'block') ? true: false;
190
- if (j1.xhrDOMState['#' + fabOptions.xhr_container_id] == 'success' && j1.getState() == 'finished' && pageVisible) {
188
+ var pageState = $('#no_flicker').css("display");
189
+ var pageVisible = (pageState == 'block') ? true: false;
190
+ var atticFinished = (j1.adapter.attic.getState() == 'finished') ? true: false;
191
+
192
+ if (j1.xhrDOMState['#' + fabOptions.xhr_container_id] == 'success' && j1.getState() == 'finished' && pageVisible && atticFinished ) {
191
193
  _this.setState('loaded');
192
194
  logger.info('\n' + 'set module state to: ' + _this.getState());
193
195
  logger.info('\n' + 'HTML data for FAB: ' + _this.getState());
@@ -132,9 +132,11 @@ j1.adapter.lightbox = (function (j1, window) {
132
132
  lightboxOptions = $.extend(true, {}, lightboxDefaults, lightboxSettings, frontmatterOptions);
133
133
 
134
134
  var dependencies_met_j1_finished = setInterval(function() {
135
- var pageState = $('#no_flicker').css("display");
136
- var pageVisible = (pageState == 'block') ? true: false;
137
- if (j1.getState() == 'finished' && pageVisible) {
135
+ var pageState = $('#no_flicker').css("display");
136
+ var pageVisible = (pageState == 'block') ? true: false;
137
+ var atticFinished = (j1.adapter.attic.getState() == 'finished') ? true: false;
138
+
139
+ if (j1.getState() == 'finished' && pageVisible && atticFinished) {
138
140
 
139
141
  _this.setState('started');
140
142
  logger.debug('\n' + 'state: ' + _this.getState());
@@ -143,10 +143,11 @@ var logText;
143
143
  // initializer
144
144
  // -----------------------------------------------------------------------
145
145
  var dependencies_met_page_ready = setInterval (function (options) {
146
- var pageState = $('#no_flicker').css("display");
147
- var pageVisible = (pageState == 'block') ? true: false;
146
+ var pageState = $('#no_flicker').css("display");
147
+ var pageVisible = (pageState == 'block') ? true: false;
148
+ var atticFinished = (j1.adapter.attic.getState() == 'finished') ? true: false;
148
149
 
149
- if ( j1.getState() === 'finished' && pageVisible ) {
150
+ if ( j1.getState() === 'finished' && pageVisible && atticFinished) {
150
151
 
151
152
  _this.setState('started');
152
153
  logger.debug('\n' + 'state: ' + _this.getState());
@@ -161,7 +161,7 @@ j1.adapter.masterslider = (function (j1, window) {
161
161
  // load the slider manager to DISPLAY instances in page (if visible)
162
162
  var dependencies_met_module_finished = setInterval(function() {
163
163
  var pageState = $('#no_flicker').css("display");
164
- var pageVisible = (pageState == 'block') ? true: false;
164
+ var pageVisible = (pageState == 'block') ? true : false;
165
165
  if (_this.getState() == 'sliders_initialized' && pageVisible ) {
166
166
  // TODO: Check why a timeout is required to load the Slider Manager
167
167
  setTimeout (function() {
@@ -406,10 +406,12 @@ j1.adapter.navigator = (function (j1, window) {
406
406
  // event handler|css styles
407
407
  // -----------------------------------------------------------------
408
408
  var dependencies_met_initialized = setInterval(function() {
409
- var pageState = $('#no_flicker').css("display");
410
- var pageVisible = (pageState == 'block') ? true: false;
409
+ var pageState = $('#no_flicker').css("display");
410
+ var pageVisible = (pageState == 'block') ? true: false;
411
+ var atticFinished = (j1.adapter.attic.getState() == 'finished') ? true: false;
412
+
411
413
  // initialize if page and themer ready
412
- if (j1.getState() === 'finished' && j1.adapter.themer.getState() === 'finished' && pageVisible) {
414
+ if (j1.getState() === 'finished' && j1.adapter.themer.getState() === 'finished' && pageVisible && atticFinished) {
413
415
  _this.setState('processing');
414
416
 
415
417
  // apply module configuration settings
@@ -144,9 +144,11 @@ var lastPageInfo;
144
144
 
145
145
  // initialize scrollers if page is available and visible
146
146
  var dependencies_met_page_ready = setInterval (function (options) {
147
- var pageState = $('#no_flicker').css("display");
148
- var pageVisible = (pageState == 'block') ? true: false;
149
- if ( j1.getState() === 'finished' && pageVisible ) {
147
+ var pageState = $('#no_flicker').css("display");
148
+ var pageVisible = (pageState == 'block') ? true: false;
149
+ var atticFinished = (j1.adapter.attic.getState() == 'finished') ? true: false;
150
+
151
+ if (j1.getState() === 'finished' && pageVisible && atticFinished) {
150
152
  _this.generate_scrollers();
151
153
  _this.setState('finished');
152
154
  logger.debug('\n' + 'state: ' + _this.getState());
@@ -158,10 +158,11 @@ j1.adapter.slick = (function (j1, window) {
158
158
  // initializer
159
159
  // -----------------------------------------------------------------------
160
160
  var dependencies_met_page_ready = setInterval (function (options) {
161
- var pageState = $('#no_flicker').css("display");
162
- var pageVisible = (pageState == 'block') ? true: false;
161
+ var pageState = $('#no_flicker').css("display");
162
+ var pageVisible = (pageState == 'block') ? true: false;
163
+ var atticFinished = (j1.adapter.attic.getState() == 'finished') ? true: false;
163
164
 
164
- if ( j1.getState() === 'finished' && pageVisible ) {
165
+ if (j1.getState() === 'finished' && pageVisible && atticFinished) {
165
166
 
166
167
  {% for carousel in slick_settings.carousels %} {% if carousel.enabled %}
167
168
  logger.info('\n' + 'carousel is being initialized on id: ' + '{{carousel.id}}');
@@ -164,7 +164,9 @@ j1.adapter.toccer = (function () {
164
164
  var dependencies_met_navigator = setInterval(function() {
165
165
  var pageState = $('#no_flicker').css("display");
166
166
  var pageVisible = (pageState == 'block') ? true: false;
167
- if ( j1.getState() == 'finished' && pageVisible ) {
167
+ var atticFinished = (j1.adapter.attic.getState() == 'finished') ? true: false;
168
+
169
+ if (j1.getState() == 'finished' && pageVisible && atticFinished) {
168
170
  _this.initToccerCore(toccerOptions);
169
171
  _this.setState('finished');
170
172
 
@@ -202,9 +202,11 @@ j1.adapter.translator = (function (j1, window) {
202
202
  domainAttribute = '';
203
203
  }
204
204
 
205
- var pageState = $('#no_flicker').css("display");
206
- var pageVisible = (pageState == 'block') ? true: false;
207
- if ( j1.getState() === 'finished' && pageVisible ) {
205
+ var pageState = $('#no_flicker').css("display");
206
+ var pageVisible = (pageState == 'block') ? true: false;
207
+ var atticFinished = (j1.adapter.attic.getState() == 'finished') ? true: false;
208
+
209
+ if (j1.getState() === 'finished' && pageVisible && atticFinished) {
208
210
  _this.setState('started');
209
211
  logger.debug('\n' + 'state: ' + _this.getState());
210
212
  logger.info('\n' + 'module is being initialized');
@@ -145,9 +145,11 @@ var logText;
145
145
  // initializer
146
146
  // -----------------------------------------------------------------------
147
147
  var dependencies_met_page_ready = setInterval (function (options) {
148
- var pageState = $('#no_flicker').css("display");
149
- var pageVisible = (pageState == 'block') ? true: false;
150
- if ( j1.getState() === 'finished' && pageVisible ) {
148
+ var pageState = $('#no_flicker').css("display");
149
+ var pageVisible = (pageState == 'block') ? true : false;
150
+ var atticFinished = (j1.adapter.attic.getState() == 'finished') ? true: false;
151
+
152
+ if (j1.getState() === 'finished' && pageVisible && atticFinished) {
151
153
  themes_allowed = waveOptions.themes.toString();
152
154
  theme_enabled = waveOptions.themes.indexOf(theme) > -1 ? true : false;
153
155
 
@@ -14999,13 +14999,13 @@ table.tableblock > .title {
14999
14999
 
15000
15000
  .attic .head-title h2, .attic .head-title .h2 {
15001
15001
  margin-top: -1.2rem;
15002
- margin-bottom: 0 !important;
15002
+ margin-bottom: 0;
15003
15003
  font-weight: 600;
15004
15004
  line-height: 1.2; }
15005
15005
 
15006
15006
  .attic .head-tagline h3, .attic .head-tagline .h3 {
15007
15007
  margin-top: 0;
15008
- margin-bottom: 0 !important;
15008
+ margin-bottom: 0;
15009
15009
  font-weight: 400;
15010
15010
  line-height: 1; }
15011
15011