diff --git a/public/typo3conf/ext/ep_events/Resources/Private/Assets/scss/_iconbar.scss b/public/typo3conf/ext/ep_events/Resources/Private/Assets/scss/_iconbar.scss
index 99ba3656..85c51543 100644
--- a/public/typo3conf/ext/ep_events/Resources/Private/Assets/scss/_iconbar.scss
+++ b/public/typo3conf/ext/ep_events/Resources/Private/Assets/scss/_iconbar.scss
@@ -1,3 +1,6 @@
+.iconbar {
+ @apply hidden lg:block fixed z-100 top-[30vh] right-0 overflow-hidden;
+}
.iconbar {
display: none;
@include mq($from: desktop) {
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/controllers/nav_controller.js b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/controllers/nav_controller.js
new file mode 100644
index 00000000..fc2e5171
--- /dev/null
+++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/controllers/nav_controller.js
@@ -0,0 +1,32 @@
+import { Controller } from '@hotwired/stimulus'
+import { useClickOutside } from 'stimulus-use'
+
+export default class extends Controller {
+
+ static classes = ['hidden']
+ static targets = ['button', 'subnav']
+ static values = { expanded: Boolean }
+
+ connect() {
+ useClickOutside(this)
+ }
+
+ toggle(e) {
+ e.preventDefault()
+ this.expandedValue = !this.expandedValue
+ }
+
+ clickOutside(e) {
+ this.expandedValue = false
+ }
+
+ expandedValueChanged(expanded) {
+ this.buttonTarget.setAttribute('aria-expanded', expanded)
+ this.subnavTarget.setAttribute('aria-hidden', !expanded)
+ if (true === expanded) {
+ this.subnavTarget.classList.remove(...this.hiddenClasses)
+ } else {
+ this.subnavTarget.classList.add(...this.hiddenClasses)
+ }
+ }
+}
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/base/_rte-content.scss b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/base/_rte-content.scss
index 35521ede..d220390b 100644
--- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/base/_rte-content.scss
+++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/base/_rte-content.scss
@@ -32,7 +32,7 @@ a:not(.button):not(.rte-button):not(.rte-button--full) {
a.rte-button {
@apply inline-flex items-center justify-center px-4 py-2 md:px-8;
@apply uppercase leading-none text-center;
- @apply transition-colors outline-none focus:outline-none;
+ @apply transition-colors outline-none;
@apply bg-ep-primary-light text-white;
@apply sbw:bg-sbw-secondary;
@apply snz:bg-snz-secondary;
@@ -45,6 +45,10 @@ a.rte-button {
@apply suz:hover:bg-suz-primary-dark suz:group-hover:bg-suz-primary-dark;
@apply uch:hover:bg-uch-primary-dark uch:group-hover:bg-uch-primary-dark;
@apply ser:hover:bg-ser-primary ser:group-hover:bg-ser-primary;
+ @apply focus:outline focus:outline-2 focus:outline-offset-2;
+ @apply focus:outline-ep-primary-dark sbw:focus:outline-sbw-secondary uch:focus:outline-uch-secondary;
+ @apply suz:focus:outline-suz-secondary ser:focus:outline-ser-secondary snz:focus:outline-snz-secondary;
+
}
a.rte-button--full {
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_buttons.scss b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_buttons.scss
index 6640c231..b64c6aa1 100644
--- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_buttons.scss
+++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_buttons.scss
@@ -2,6 +2,9 @@
@apply inline-flex items-center justify-center space-x-2 px-4 py-2 md:px-8 cursor-pointer;
@apply uppercase leading-none text-center;
@apply transition-colors outline-none;
+ @apply focus:outline focus:outline-2 focus:outline-offset-2;
+ @apply focus:outline-ep-primary-dark sbw:focus:outline-sbw-secondary uch:focus:outline-uch-secondary;
+ @apply suz:focus:outline-suz-secondary ser:focus:outline-ser-secondary snz:focus:outline-snz-secondary;
&--small {
@apply px-2 py-1 md:px-4 text-xs sm:text-sm;
@@ -12,6 +15,28 @@
}
}
+.teaser-button {
+ @apply w-full;
+ @apply bg-ep-primary-dark text-white;
+ @apply sbw:bg-sbw-secondary;
+ @apply snz:bg-snz-secondary;
+ @apply suz:bg-suz-secondary;
+ @apply uch:bg-uch-secondary;
+ @apply ser:bg-ser-secondary;
+ @apply hover:bg-badge-gradient hover:text-white;
+ @apply peer-hover:bg-badge-gradient peer-hover:text-white;
+ @apply sbw:hover:bg-none sbw:hover:bg-sbw-primary-dark;
+ @apply snz:hover:bg-none snz:hover:bg-snz-primary-dark;
+ @apply suz:hover:bg-none suz:hover:bg-suz-primary-dark;
+ @apply uch:hover:bg-none uch:hover:bg-uch-primary-dark;
+ @apply ser:hover:bg-none ser:hover:bg-ser-primary;
+ @apply sbw:peer-hover:bg-none sbw:peer-hover:bg-sbw-primary-dark;
+ @apply snz:peer-hover:bg-none snz:peer-hover:bg-snz-primary-dark;
+ @apply suz:peer-hover:bg-none suz:peer-hover:bg-suz-primary-dark;
+ @apply uch:peer-hover:bg-none uch:peer-hover:bg-uch-primary-dark;
+ @apply ser:peer-hover:bg-none ser:peer-hover:bg-ser-primary;
+}
+
.bg-button {
@apply bg-ep-primary-dark text-white;
@apply sbw:bg-sbw-secondary;
@@ -19,41 +44,27 @@
@apply suz:bg-suz-secondary;
@apply uch:bg-uch-secondary;
@apply ser:bg-ser-secondary;
- @apply hover:bg-ep-secondary;
- @apply hover:text-gray-900;
- @apply sbw:hover:bg-sbw-primary-dark;
- @apply snz:hover:bg-snz-primary-dark;
- @apply suz:hover:bg-suz-primary-dark;
- @apply uch:hover:bg-uch-primary-dark;
- @apply ser:hover:bg-ser-primary;
- @apply peer-hover:bg-ep-secondary;
- @apply peer-hover:text-gray-900;
- @apply sbw:peer-hover:bg-sbw-primary-dark;
- @apply snz:peer-hover:bg-snz-primary-dark;
- @apply suz:peer-hover:bg-suz-primary-dark;
- @apply uch:peer-hover:bg-uch-primary-dark;
- @apply ser:peer-hover:bg-ser-primary;
+ @apply hover:bg-badge-gradient hover:text-white;
+ @apply sbw:hover:bg-none sbw:hover:bg-sbw-primary-dark;
+ @apply snz:hover:bg-none snz:hover:bg-snz-primary-dark;
+ @apply suz:hover:bg-none suz:hover:bg-suz-primary-dark;
+ @apply uch:hover:bg-none uch:hover:bg-uch-primary-dark;
+ @apply ser:hover:bg-none ser:hover:bg-ser-primary;
&--active,
&--secondary {
- @apply bg-ep-secondary text-gray-900;
- @apply sbw:bg-sbw-primary;
- @apply snz:bg-snz-primary;
- @apply suz:bg-suz-primary;
- @apply uch:bg-uch-primary;
- @apply ser:bg-ser-secondary;
- @apply hover:bg-ep-primary-dark hover:text-white;
- @apply sbw:hover:bg-sbw-primary-dark;
- @apply snz:hover:bg-snz-primary-dark;
- @apply suz:hover:bg-suz-primary-dark;
- @apply uch:hover:bg-uch-primary-dark;
- @apply ser:hover:bg-ser-primary;
- @apply peer-hover:bg-ep-primary-dark peer-hover:text-white;
- @apply sbw:peer-hover:bg-sbw-primary-dark;
- @apply snz:peer-hover:bg-snz-primary-dark;
- @apply suz:peer-hover:bg-suz-primary-dark;
- @apply uch:peer-hover:bg-uch-primary-dark;
- @apply ser:peer-hover:bg-ser-primary;
+ @apply bg-badge-gradient text-white;
+ @apply sbw:bg-none sbw:bg-sbw-secondary;
+ @apply snz:bg-none snz:bg-snz-secondary;
+ @apply suz:bg-none suz:bg-suz-secondary;
+ @apply uch:bg-none uch:bg-uch-secondary;
+ @apply ser:bg-none ser:bg-ser-secondary;
+ @apply hover:bg-none hover:bg-ep-pink hover:text-white;
+ @apply sbw:hover:bg-none sbw:hover:bg-sbw-primary-dark;
+ @apply snz:hover:bg-none snz:hover:bg-snz-primary-dark;
+ @apply suz:hover:bg-none suz:hover:bg-suz-primary-dark;
+ @apply uch:hover:bg-none uch:hover:bg-uch-primary-dark;
+ @apply ser:hover:bg-none ser:hover:bg-ser-primary;
}
&--muted {
@@ -78,8 +89,7 @@
&:hover,
&.button--active {
- @apply bg-white;
- @apply border-ep-secondary text-ep-secondary;
+ @apply bg-none bg-ep-pink border-ep-pink;
@apply sbw:bg-white sbw:border-sbw-secondary sbw:text-sbw-secondary;
@apply snz:bg-white snz:border-snz-secondary snz:text-snz-secondary;
@apply suz:bg-white suz:border-suz-secondary suz:text-suz-secondary;
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_contact-bar.scss b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_contact-bar.scss
index 9a24e298..57f9e24a 100644
--- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_contact-bar.scss
+++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_contact-bar.scss
@@ -9,7 +9,7 @@
.contact-bar__item {
@apply flex-1 text-white py-2 bg-ep-primary-dark border-r border-white last:border-0;
- @apply ser:bg-ser-primary sbw:bg-sbw-primary snz:bg-snz-primary suz:bg-suz-primary uch:bg-uch-primary;
+ @apply ser:bg-ser-primary sbw:bg-sbw-secondary snz:bg-snz-primary suz:bg-suz-primary uch:bg-uch-primary;
@screen md {
@apply flex flex-none items-start transition-transform duration-300 ease-in-out p-1 shadow-md focus:text-white border-0;
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_forms.scss b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_forms.scss
index 5dd18e70..793df8c3 100644
--- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_forms.scss
+++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_forms.scss
@@ -1,5 +1,6 @@
.form-field {
- @apply border-zinc-400 focus:border-zinc-800 ring-0 focus:ring-0 mt-1 block w-full;
+ @apply border-zinc-400 focus:border-zinc-800 ring-0 block w-full mt-1;
+ @apply focus:ring-0 focus:outline focus:outline-2 focus:outline-offset-2 focus:outline-zinc-800;
&--has-error {
@apply border-red-500;
@@ -9,6 +10,7 @@
.form-checkbox,
.form-radio {
@apply border-zinc-400 focus:border-zinc-800 ring-0 focus:ring-0 text-ep-secondary sbw:text-sbw-secondary uch:text-uch-secondary h-4 w-4;
+ @apply focus:outline focus:outline-2 focus:outline-offset-2 focus:outline-zinc-800;
&--has-error {
@apply border-red-500;
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Badge.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Badge.html
index 7a8b871b..73bf15e6 100644
--- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Badge.html
+++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Badge.html
@@ -14,11 +14,11 @@