diff --git a/public/typo3conf/ext/ep_theme/Configuration/RTE/Default.yaml b/public/typo3conf/ext/ep_theme/Configuration/RTE/Default.yaml index 5c17d12e..0e2433e1 100644 --- a/public/typo3conf/ext/ep_theme/Configuration/RTE/Default.yaml +++ b/public/typo3conf/ext/ep_theme/Configuration/RTE/Default.yaml @@ -10,8 +10,8 @@ editor: - "EXT:ep_theme/Resources/Public/css/rte.css?v=2020.02-01" stylesSet: - - { name: "Button", element: "a", attributes: { 'class': 'button' } } - - { name: "Button (volle Breite)", element: "a", attributes: { 'class': 'button button--full' } } + - { name: "Button", element: "a", attributes: { 'class': 'button bg-button' } } + - { name: "Button (volle Breite)", element: "a", attributes: { 'class': 'button bg-button button--full' } } toolbarGroups: - { name: styles, groups: [ format, styles ] } 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 b8e9ebaa..89939a49 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,12 +2,23 @@ @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 focus:outline-none; + + &--small { + @apply px-2 py-1 md:px-4 text-xs sm:text-sm; + } + + &--full { + @apply block w-full; + } +} + +.bg-button { @apply bg-ep-primary-light text-white; @apply sbw:bg-sbw-secondary; @apply snz:bg-snz-secondary; @apply uch:bg-uch-secondary; @apply ser:bg-ser-secondary; - @apply hover:bg-ep-primary-dark group-hover:bg-ep-primary-dark; + @apply hover:bg-ep-secondary group-hover:bg-ep-secondary; @apply sbw:hover:bg-sbw-primary-dark sbw:group-hover:bg-sbw-primary-dark; @apply snz:hover:bg-snz-primary-dark snz:group-hover:bg-snz-primary-dark; @apply uch:hover:bg-uch-primary-dark uch:group-hover:bg-uch-primary-dark; @@ -19,13 +30,18 @@ @apply sbw:bg-sbw-primary; @apply snz:bg-snz-primary; @apply uch:bg-uch-primary; - @apply ser:bg-ser-primary; + @apply ser:bg-ser-secondary; } &--muted { @apply bg-gray-300 hover:bg-gray-300; } + &--dark { + @apply bg-ep-primary-dark; + @apply ser:bg-ser-primary; + } + &--light { @apply bg-white border-2; @apply font-bold; @@ -45,12 +61,4 @@ @apply ser:bg-white ser:border-ser-secondary ser:text-ser-secondary; } } - - &--small { - @apply px-2 py-1 md:px-4 text-xs sm:text-sm; - } - - &--full { - @apply block w-full; - } } diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/City/Teaser.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/City/Teaser.html index d42b5a3b..80e9aedb 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/City/Teaser.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/City/Teaser.html @@ -41,7 +41,7 @@ {city.teaser -> f:format.crop(maxCharacters: settings.teaserTextMaxChars) -> f:format.html()} diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/ContactForm/Error.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/ContactForm/Error.html index 721ffac6..be31d827 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/ContactForm/Error.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/ContactForm/Error.html @@ -8,7 +8,7 @@
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/ContactForm/Full.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/ContactForm/Full.html
deleted file mode 100644
index c323a4fa..00000000
--- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/ContactForm/Full.html
+++ /dev/null
@@ -1,91 +0,0 @@
-
-
-
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disrupter/Large.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disrupter/Large.html index 550f6848..cfe248c5 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disrupter/Large.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disrupter/Large.html @@ -50,7 +50,7 @@