diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_herounit.scss b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_herounit.scss index a10b83f7..8b2bd2c5 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_herounit.scss +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_herounit.scss @@ -2,33 +2,18 @@ @apply relative w-full max-w-screen-2xl mx-auto overflow-hidden; } +.herounit__badge-wrapper { + @apply absolute top-0 right-0 lg:right-32 w-full px-4 md:w-auto md:px-0 flex flex-row-reverse justify-between md:flex-col md:items-center md:space-y-4; +} + .herounit__badge { - @apply absolute bg-badge-gradient text-white py-8 px-2; + @apply text-white; &--skipass { - top: 0; - right: 16px; - @screen lg { - right: 90px; - } + @apply bg-badge-gradient py-8 px-2; } &--custom { - width: 200px; - height: 200px; - top: 16px; - right: auto; - left: 16px; - - @screen md { - top: 45px; - left: auto; - right: 17%; - } - - @screen lg { - top: 75px; - right: 20%; - } + @apply mt-4 w-40 transform rotate-6; } } diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/HeaderSlider.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/HeaderSlider.html index 4233434a..1a98a0a2 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/HeaderSlider.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/HeaderSlider.html @@ -41,36 +41,40 @@ - - - Ski-Pass - inklusive - - - - - - - - - - + + + + + Ski-Pass + inklusive + + + + + + + + + + {badgeData.title -> f:format.raw()} - + {badgeData.subtitle -> f:format.raw()} - - - - + + + + + +
Ski-Pass
inklusive