WIP Exorcise legacy css

This commit is contained in:
Björn Fromme
2021-07-29 17:34:17 +02:00
parent 573c240143
commit a66dbaf043
20 changed files with 341 additions and 143 deletions
@@ -6,7 +6,7 @@ page {
}
bodyTagCObject = TEXT
bodyTagCObject.stdWrap.wrap = <body class="|">
bodyTagCObject.stdWrap.noTrimWrap = |<body class="antialiased text-gray-800 font-sans |">|
bodyTagCObject.stdWrap.field = tx_eptheme_bodyclass
bodyTagCObject.stdWrap.override = {$plugin.tx_eptheme.settings.defaultBodyclass}
bodyTagCObject.stdWrap.override.if.isFalse.field = tx_eptheme_bodyclass
@@ -117,6 +117,27 @@ page {
negate = 1
}
}
40 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
40 {
levels = 1
as = topnav
}
50 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
50 {
special = directory
special.value = {$plugin.tx_eptheme.settings.mainNavPid}
levels = 3
titleField = title
as = mainnav
}
60 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
60 {
special = directory
special.value = {$plugin.tx_eptheme.settings.mobileNavPid}
levels = 3
titleField = title
as = mobilenav
}
}
settings < plugin.tx_eptheme.settings
@@ -10,6 +10,8 @@
plugin.tx_eptheme {
settings {
# cat=eptheme/200/10; type=string; label=Theme key
themekey = ep
# cat=eptheme/200/100; type=string; label=Top navigation PID
topNavPid =
# cat=eptheme/200/110; type=string; label=Main navigation PID
@@ -29,6 +29,7 @@
plugin.tx_eptheme {
settings < lib.contentElement.settings
settings {
themekey = {$plugin.tx_eptheme.settings.themekey}
footerNavPid = {$plugin.tx_eptheme.settings.footerNavPid}
mainNavPid = {$plugin.tx_eptheme.settings.mainNavPid}
mobileNavPid = {$plugin.tx_eptheme.settings.mobileNavPid}