diff --git a/gfi-ihk-2024/stories/components/gallery/gallery.js b/gfi-ihk-2024/stories/components/gallery/gallery.js
index 0cadcfd..d80820f 100644
--- a/gfi-ihk-2024/stories/components/gallery/gallery.js
+++ b/gfi-ihk-2024/stories/components/gallery/gallery.js
@@ -69,7 +69,7 @@ class IHKGallery {
initSingleThumb() {
const first = this.items.first().addClass('loading');
const a = $('').attr('data-index', 0).appendTo(first);
- const img = $('
').appendTo(a);
+ const img = $('
').appendTo(a);
if (first.data('copyright')) {
$('' + first.data('copyright') + '').appendTo(a);
$('' + first.data('copyright') + '').appendTo(a);
@@ -205,7 +205,7 @@ class IHKGallery {
}
initPopup() {
- this.popup = $('
').appendTo($('body'));
+ this.popup = $('').appendTo($('header'));
const slides = $('').appendTo(this.popup);
const closer = $('').prependTo(this.popup);
@@ -253,7 +253,7 @@ class IHKGallery {
});
if (this.section.data('render-download')) {
- const download = $('').prependTo(this.popup);
+ const download = $('').prependTo(this.popup);
$(download).attr('href', this.slider.slides.eq(this.slider.currentSlide).find('.image-box').attr('data-download'));
}
diff --git a/gfi-ihk-2024/stories/components/header/header.js b/gfi-ihk-2024/stories/components/header/header.js
index 7aba207..56c56c8 100644
--- a/gfi-ihk-2024/stories/components/header/header.js
+++ b/gfi-ihk-2024/stories/components/header/header.js
@@ -290,7 +290,7 @@ class IHKHeader {
a.text('').append($('
'))
}
}
- if (this.viewType === 'themenseite' && (!parentElement.root || this.skipEmptyMenu)) {
+ if ((this.viewType === 'themenseite' || this.viewType === 'ihk-wahl-startseite') && (!parentElement.root || this.skipEmptyMenu)) {
li.addClass('overview');
li.removeClass('deep');
a.attr('href', itemUrl);
@@ -344,12 +344,14 @@ class IHKHeader {
let hash = window.location.hash;
if (hash) {
let menuId = hash.substring(1);
- let li = ul.find('li[data-id=' + menuId + ']');
- if (li.length > 0) {
- t.toggleNavigation();
- let anchor = li.find('a');
- if (anchor.length > 0) {
- t.openMenuByUrlParam(anchor, t);
+ if (!menuId.startsWith('/')) {
+ let li = ul.find('li[data-id=' + menuId + ']');
+ if (li.length > 0) {
+ t.toggleNavigation();
+ let anchor = li.find('a');
+ if (anchor.length > 0) {
+ t.openMenuByUrlParam(anchor, t);
+ }
}
}
}
diff --git a/gfi-ihk-2024/stories/components/link-collection/link-collection.scss b/gfi-ihk-2024/stories/components/link-collection/link-collection.scss
index db05152..b76f7e6 100644
--- a/gfi-ihk-2024/stories/components/link-collection/link-collection.scss
+++ b/gfi-ihk-2024/stories/components/link-collection/link-collection.scss
@@ -67,3 +67,7 @@ section .link-collection {
margin-top: 0;
}
}
+
+.ll-teaser.query-list-teasers, .ll-teaser-text.query-list-teasers {
+ margin-top: 0;
+}
\ No newline at end of file
diff --git a/gfi-ihk-2024/stories/components/steps/steps.scss b/gfi-ihk-2024/stories/components/steps/steps.scss
index fd21d67..9ab39a9 100644
--- a/gfi-ihk-2024/stories/components/steps/steps.scss
+++ b/gfi-ihk-2024/stories/components/steps/steps.scss
@@ -25,7 +25,7 @@
padding: calc(var(--content-box-padding) * 2) 0;
}
- > h3, > h2 {
+ > h3, > .like-h3, > h2, > .like-h2 {
margin: var(--section-headline-margin) calc(var(--content-box-padding) - 0.05em) 0;
padding-bottom: 20px;
@@ -61,7 +61,7 @@
margin-top: 0;
}
- h4 {
+ h4, .like-h4 {
margin-bottom: 0.6em;
}
}
diff --git a/gfi-ihk-2024/stories/sections/event-teaser-large-slider/eventteaserlargeslider.scss b/gfi-ihk-2024/stories/sections/event-teaser-large-slider/eventteaserlargeslider.scss
index 3a39c4d..45c8f82 100644
--- a/gfi-ihk-2024/stories/sections/event-teaser-large-slider/eventteaserlargeslider.scss
+++ b/gfi-ihk-2024/stories/sections/event-teaser-large-slider/eventteaserlargeslider.scss
@@ -23,7 +23,7 @@
left: 0 !important;
transform: none !important;
}
-}
+ }
&.single-slide {
.controls {
@@ -132,7 +132,7 @@
background-color: transparent;
padding: 0;
cursor: pointer;
-
+
}
.slider-tabs, .tabs {
position: absolute;
@@ -189,7 +189,7 @@
}
}
}
-
+
.prev, .next {
position: absolute;
top: -94px;
@@ -202,7 +202,7 @@
right:auto;
border-radius: 24px;
background: var(--theme-color-primary-dimmed-04);
- --button-hover-shadow-opacity: 0.4;
+ --button-hover-shadow-opacity: 0.4;
--button-hover-shadow-size: 6px ;
@media(max-width: 1470px) {
left:auto;
@@ -216,7 +216,7 @@
top: -80px;
}
@media(max-width: 767px) {
-
+
}
&:before {
@include icon-small-arrow-right-simple;
@@ -241,7 +241,7 @@
opacity: 0.4;
box-shadow: 0 0 0 6px var(--theme-color-primary-dimmed-04);
}
-
+
}
.prev {
diff --git a/gfi-ihk-2024/stories/sections/participation-stage/ParticipationStageComponent.js b/gfi-ihk-2024/stories/sections/participation-stage/ParticipationStageComponent.js
index 1786265..d5dbd73 100644
--- a/gfi-ihk-2024/stories/sections/participation-stage/ParticipationStageComponent.js
+++ b/gfi-ihk-2024/stories/sections/participation-stage/ParticipationStageComponent.js
@@ -85,4 +85,4 @@ export const createParticipationStage = ({
}
return section;
-}
\ No newline at end of file
+}
diff --git a/gfi-ihk-2024/stories/sections/slider/slider.js b/gfi-ihk-2024/stories/sections/slider/slider.js
index 268aad0..caae64a 100644
--- a/gfi-ihk-2024/stories/sections/slider/slider.js
+++ b/gfi-ihk-2024/stories/sections/slider/slider.js
@@ -104,8 +104,8 @@ class IHKSlider {
initUI() {
this.count = $('');
- this.prevButton = $('');
- this.nextButton = $('');
+ this.prevButton = $('');
+ this.nextButton = $('');
const tabsWrapper = $('');
const countWrapper = $('')
.html('/' + this.slides.length + '')
@@ -151,7 +151,6 @@ class IHKSlider {
.appendTo(this.section);
} else {
this.controls = $('')
- .append(tabsWrapper)
.append(countWrapper)
.appendTo(this.section);
}
diff --git a/gfi-ihk-2024/stories/sections/topic-teasers/topic-teasers.scss b/gfi-ihk-2024/stories/sections/topic-teasers/topic-teasers.scss
index d8b9421..ed170ce 100644
--- a/gfi-ihk-2024/stories/sections/topic-teasers/topic-teasers.scss
+++ b/gfi-ihk-2024/stories/sections/topic-teasers/topic-teasers.scss
@@ -3,7 +3,8 @@ section.topics {
padding: var(--section-padding) 0;
margin: var(--section-margin) auto;
- .container > h2 {
+ .container > h2,
+ .container > .like-h2 {
margin-top: var(--section-headline-margin);
}
@@ -61,4 +62,4 @@ section.topics {
flex: 1 1 100%;
}
}
-}
\ No newline at end of file
+}