Merge tag '2019.09-06' into develop

2019.09-06
This commit is contained in:
Björn Fromme
2019-09-16 13:08:55 +02:00
13 changed files with 360 additions and 63 deletions
+1 -1
View File
@@ -8,5 +8,5 @@ insert_final_newline = true
indent_size = 4 indent_size = 4
indent_style = space indent_style = space
[*.{css,scss}] [*.{css,scss}]
indent_size = 2 indent_size = 4
indent_style = space indent_style = space
@@ -4,10 +4,10 @@ RTE {
bodytext { bodytext {
types { types {
text { text {
preset = dpn preset = ep-events
} }
textmedia { textmedia {
preset = dpn preset = ep-events
} }
} }
} }
@@ -1,38 +1,39 @@
imports: imports:
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" } - { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" }
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" } - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" }
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" } - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" }
editor: editor:
config: config:
disableNativeSpellChecker: false disableNativeSpellChecker: false
contentsCss: contentsCss:
- "EXT:ep_events/Resources/Public/css/rte.min.css" - "EXT:ep_events/Resources/Public/css/rte.css?v=2019.09-06"
stylesSet: stylesSet:
- { name: "Button", element: "a", attributes: { 'class': 'button' } } - { name: "Icon", element: "a", attributes: { 'class': 'button button--icon' } }
- { name: "Button (volle Breite)", element: "a", attributes: { 'class': 'buttonfull' } } - { name: "Button", element: "a", attributes: { 'class': 'button' } }
- { name: "Farbige Bullets", element: "ul", attributes: { 'class': 'coloured-list' } } - { name: "Button (volle Breite)", element: "a", attributes: { 'class': 'button button--full' } }
- { name: "Fußnote", element: "ul", attributes: { 'class': 'footnote-list' } } - { name: "Farbige Bullets", element: "ul", attributes: { 'class': 'coloured-list' } }
- { name: "Fußnote", element: "ul", attributes: { 'class': 'footnote-list' } }
toolbarGroups: toolbarGroups:
- { name: styles, groups: [ format, styles ] } - { name: styles, groups: [ format, styles ] }
- { name: basicstyles, groups: [ basicstyles ] } - { name: basicstyles, groups: [ basicstyles ] }
- { name: paragraph, groups: [ list] } - { name: paragraph, groups: [ list] }
- "/" - "/"
- { name: links, groups: [ links ] } - { name: links, groups: [ links ] }
- { name: clipboard, groups: [ clipboard, cleanup, undo ] } - { name: clipboard, groups: [ clipboard, cleanup, undo ] }
- { name: editing, groups: [ spellchecker ] } - { name: editing, groups: [ spellchecker ] }
- { name: insert, groups: [ insert ] } - { name: insert, groups: [ insert ] }
- { name: tools, groups: [ table, specialchar ] } - { name: tools, groups: [ table, specialchar ] }
- { name: document, groups: [ mode ] } - { name: document, groups: [ mode ] }
format_tags: "p;h1;h2;h3;h4" format_tags: "p;h1;h2;h3;h4"
removePlugins: removePlugins:
- image - image
removeButtons: removeButtons:
- Anchor - Anchor
- Underline - Underline
- Strike - Strike
@@ -1,9 +0,0 @@
ul.coloured-list {
list-style: circle;
}
ul.footnote-list {
list-style: disc;
}
a.button {
font-weight: 700;
}
@@ -63,4 +63,13 @@
&--full { &--full {
width: 100%; width: 100%;
} }
&--icon {
background-color: $color-brand-primary;
color: white;
@include size(16px);
border-radius: 8px;
line-height: 16px;
font-size: 14px;
}
} }
@@ -15,6 +15,10 @@
width: percentage(3/4); width: percentage(3/4);
padding: 0 16px; padding: 0 16px;
&--clickable {
cursor: pointer;
}
@include mq($until: tablet) { @include mq($until: tablet) {
padding-bottom: 16px; padding-bottom: 16px;
} }
@@ -0,0 +1,293 @@
$output-bourbon-deprecation-warnings: false;
@import "~bourbon/app/assets/stylesheets/bourbon";
@import "mixins";
@import "colors";
@font-face {
font-family: 'Cairo';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('../fonts/cairo-v2-latin-ext_latin-regular.eot'); /* IE9 Compat Modes */
src: local('Cairo'), local('Cairo-Regular'),
url('../fonts/cairo-v2-latin-ext_latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/cairo-v2-latin-ext_latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/cairo-v2-latin-ext_latin-regular.woff') format('woff'), /* Modern Browsers */
url('../fonts/cairo-v2-latin-ext_latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/cairo-v2-latin-ext_latin-regular.svg#Cairo') format('svg'); /* Legacy iOS */
}
@font-face {
font-family: 'Cairo';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('../fonts/cairo-v2-latin-ext_latin-700.eot'); /* IE9 Compat Modes */
src: local('Cairo Bold'), local('Cairo-Bold'),
url('../fonts/cairo-v2-latin-ext_latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/cairo-v2-latin-ext_latin-700.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/cairo-v2-latin-ext_latin-700.woff') format('woff'), /* Modern Browsers */
url('../fonts/cairo-v2-latin-ext_latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/cairo-v2-latin-ext_latin-700.svg#Cairo') format('svg'); /* Legacy iOS */
}
$font-main: 'Cairo', $helvetica;
@font-face {
font-family: 'fontello';
font-display: swap;
src: url('../fonts/fontello.eot?39986861');
src: url('../fonts/fontello.eot?39986861#iefix') format('embedded-opentype'),
url('../fonts/fontello.woff2?39986861') format('woff2'),
url('../fonts/fontello.woff?39986861') format('woff'),
url('../fonts/fontello.ttf?39986861') format('truetype'),
url('../fonts/fontello.svg?39986861#fontello') format('svg');
font-weight: normal;
font-style: normal;
}
[class^="icon-"]:before, [class*=" icon-"]:before {
font-family: "fontello";
font-style: normal;
font-weight: normal;
speak: none;
display: inline-block;
text-decoration: inherit;
width: 1em;
margin-right: .5em;
text-align: center;
font-variant: normal;
text-transform: none;
line-height: 1em;
margin-left: .2em;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-plus:before { content: '\e800'; }
.icon-minus:before { content: '\e801'; }
.icon-ok:before { content: '\e802'; }
.icon-calendar:before { content: '\e803'; }
.icon_mail_circle:before { content: '\e804'; }
.icon_phone_circle:before { content: '\e805'; }
body {
font-family: $font-main;
font-weight: 400;
font-size: 16px;
}
b, strong {
font-weight: 700;
}
a {
color: inherit;
}
ul {
margin: 0 0 16px;
padding-left: 24px;
&.plain-list {
list-style: none;
margin: 0;
padding: 0;
}
&.inline-list {
& > li {
float: left;
}
}
&.footnote-list {
list-style: none;
margin: 0;
padding: 0;
font-size: 14px;
padding-left: 16px;
}
&.coloured-list {
list-style: none;
padding: 0;
line-height: 175%;
li {
position: relative;
padding-left: 16px;
}
li::before {
position: absolute;
top: 0;
left: 0;
content: "\25CF";
font-size: 18px;
@include sectionColoursFromParent();
}
}
}
p {
margin: 0 0 24px;
line-height: 175%;
.lead & {
font-size: 18px;
font-weight: 700;
}
}
hr {
max-width: 25%;
margin: 32px auto 32px 0;
color: $color-ruler;
background-color: $color-ruler;
height: 1px;
border: none;
}
h1,
h2,
h3,
.headline--primary,
.headline--secondary {
margin: 0;
padding: 0;
font-weight: 700;
}
.headline {
@include sectionColoursFromParent();
&--icon {
display: flex;
justify-content: flex-start;
align-items: center;
}
}
.headline--primary,
.headline--secondary {
.content--sub & {
text-align: center;
}
}
h1,
.headline--primary {
font-size: 22px;
line-height: 115%;
text-transform: uppercase;
padding-bottom: 18px;
span {
font-weight: 400;
}
.subline,
.topline {
display: block;
font-size: 16px;
line-height: 120%;
color: $color-brand-primary;
text-transform: none;
@include sectionColoursFromParent();
&--box {
color: white;
}
}
}
h2,
.headline--secondary {
font-size: 16px;
line-height: 120%;
padding-bottom: 16px;
font-weight: 400;
}
h3 {
font-weight: 400;
font-size: 16px;
}
.headline__icon {
display: block;
width: 80px;
height: auto;
padding-right: 16px;
}
.button {
display: inline-block;
font-weight: 700;
text-decoration: none;
&--default {
display: inline-block;
background-color: $color-brand-primary;
color: white;
padding: 4px 16px;
}
&--page-header {
display: block;
min-width: 186px;
background-color: $color-brand-primary;
color: white;
font-size: 18px;
padding: 0 32px 0 24px;
line-height: 80px;
box-shadow: 8px 8px 8px rgba(black, 0.2);
}
&--herounit,
&--configurator {
display: block;
min-width: 220px;
text-align: center;
background-color: $color-brand-primary;
@include sectionBackgroundsFromParent();
color: white;
line-height: 48px;
border: none;
outline: none;
}
&--configurator {
width: 100%;
display: inline-block;
}
&--transparent {
padding: 8px 16px;
text-align: center;
border: 1px solid white;
color: white;
&:hover {
background: white;
color: $color-font-main;
}
}
&--full {
width: 100%;
}
&--icon {
background-color: $color-brand-primary;
color: white;
@include size(16px);
border-radius: 8px;
line-height: 16px;
font-size: 14px;
}
}
@@ -12,13 +12,13 @@
<f:section name="Teasers"> <f:section name="Teasers">
<div class="teasers {ep:sectionCssClass(sectionValue: offer.configuratorType)}"> <div class="teasers {ep:sectionCssClass(sectionValue: offer.configuratorType)}">
<div class="teaser"> <div class="teaser teaser--clickable">
<f:render section="Teaser" arguments="{image: offer.hotel.imageTeaser, title: 'Unterkunft', subtitle: offer.hotel.name, link: '#hotel'}"/> <f:render section="Teaser" arguments="{image: offer.hotel.imageTeaser, title: 'Unterkunft', subtitle: offer.hotel.name, link: '#hotel'}"/>
</div> </div>
<div class="teaser"> <div class="teaser teaser--clickable">
<f:render section="Teaser" arguments="{image: offer.location.imageTeaser, title: 'Destination', subtitle: offer.location.name, link: '#location'}"/> <f:render section="Teaser" arguments="{image: offer.location.imageTeaser, title: 'Destination', subtitle: offer.location.name, link: '#location'}"/>
</div> </div>
<div class="teaser program-slider"> <div class="teaser teaser--clickable program-slider">
<f:for each="{offer.activities}" as="activity"> <f:for each="{offer.activities}" as="activity">
<f:render section="Teaser" arguments="{image: activity.imageTeaser, title: 'Programm', subtitle: activity.name, link: '#activities'}"/> <f:render section="Teaser" arguments="{image: activity.imageTeaser, title: 'Programm', subtitle: activity.name, link: '#activities'}"/>
</f:for> </f:for>
@@ -149,8 +149,7 @@ call_user_func(function() {
] ]
); );
$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['default'] = 'EXT:ep_events/Configuration/RTE/Default.yaml'; $GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['ep-events'] = 'EXT:ep_events/Configuration/RTE/Default.yaml';
$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['dpn'] = 'EXT:ep_events/Configuration/RTE/Default.yaml';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass']['EP.EpEvents'] = $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass']['EP.EpEvents'] =
\EP\EpEvents\Hooks\Tcemain::class; \EP\EpEvents\Hooks\Tcemain::class;
@@ -4,10 +4,10 @@ RTE {
bodytext { bodytext {
types { types {
text { text {
preset = dpn preset = ep-reisen
} }
textmedia { textmedia {
preset = dpn preset = ep-reisen
} }
} }
} }
@@ -1,36 +1,36 @@
imports: imports:
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" } - { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" }
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" } - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" }
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" } - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" }
editor: editor:
config: config:
disableNativeSpellChecker: false disableNativeSpellChecker: false
contentsCss: contentsCss:
- "EXT:ep_theme/Resources/Public/css/rte.css" - "EXT:ep_theme/Resources/Public/css/rte.css?v=2019.09-06"
stylesSet: stylesSet:
- { name: "Button", element: "a", attributes: { 'class': 'button' } } - { name: "Button", element: "a", attributes: { 'class': 'button' } }
- { name: "Button (volle Breite)", element: "a", attributes: { 'class': 'button button--full' } } - { name: "Button (volle Breite)", element: "a", attributes: { 'class': 'button button--full' } }
toolbarGroups: toolbarGroups:
- { name: styles, groups: [ format, styles ] } - { name: styles, groups: [ format, styles ] }
- { name: basicstyles, groups: [ basicstyles ] } - { name: basicstyles, groups: [ basicstyles ] }
- { name: paragraph, groups: [ list] } - { name: paragraph, groups: [ list] }
- "/" - "/"
- { name: links, groups: [ links ] } - { name: links, groups: [ links ] }
- { name: clipboard, groups: [ clipboard, cleanup, undo ] } - { name: clipboard, groups: [ clipboard, cleanup, undo ] }
- { name: editing, groups: [ spellchecker ] } - { name: editing, groups: [ spellchecker ] }
- { name: insert, groups: [ insert ] } - { name: insert, groups: [ insert ] }
- { name: tools, groups: [ table, specialchar ] } - { name: tools, groups: [ table, specialchar ] }
- { name: document, groups: [ mode ] } - { name: document, groups: [ mode ] }
format_tags: "p;h1;h2;h3;h4" format_tags: "p;h1;h2;h3;h4"
removePlugins: removePlugins:
- image - image
removeButtons: removeButtons:
- Anchor - Anchor
- Underline - Underline
- Strike - Strike
@@ -10,7 +10,7 @@ $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/layout/class.tx_cms_layout.php'][
$GLOBALS['TYPO3_CONF_VARS']['FE']['addRootLineFields'] = 'tx_eptheme_slides'; $GLOBALS['TYPO3_CONF_VARS']['FE']['addRootLineFields'] = 'tx_eptheme_slides';
$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['default'] = 'EXT:ep_theme/Configuration/RTE/Default.yaml'; $GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['default'] = 'EXT:ep_theme/Configuration/RTE/Default.yaml';
$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['dpn'] = 'EXT:ep_theme/Configuration/RTE/Default.yaml'; $GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['ep-reisen'] = 'EXT:ep_theme/Configuration/RTE/Default.yaml';
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'EP.EpTheme', 'EP.EpTheme',
+1 -1
View File
@@ -42,7 +42,7 @@ Encore
.setOutputPath('./public/typo3conf/ext/ep_events/Resources/Public/') .setOutputPath('./public/typo3conf/ext/ep_events/Resources/Public/')
.setPublicPath('/typo3conf/ext/ep_events/Resources/Public/') .setPublicPath('/typo3conf/ext/ep_events/Resources/Public/')
.addEntry('main', './public/typo3conf/ext/ep_events/Resources/Private/Assets/js/main.js') .addEntry('main', './public/typo3conf/ext/ep_events/Resources/Private/Assets/js/main.js')
.addStyleEntry('rte', './public/typo3conf/ext/ep_events/Resources/Private/Assets/css/rte.css') .addStyleEntry('rte', './public/typo3conf/ext/ep_events/Resources/Private/Assets/scss/rte.scss')
.enableSassLoader() .enableSassLoader()
.enableVueLoader() .enableVueLoader()
.autoProvidejQuery() .autoProvidejQuery()