Skip to content

Commit f74dba5

Browse files
author
Markus Timtner
committed
updated TYPO3 v13 compatibility
1 parent 7fc78f0 commit f74dba5

File tree

2 files changed

+14
-31
lines changed

2 files changed

+14
-31
lines changed

Resources/Public/Css/MyBeTouchup.css

Lines changed: 12 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
#mtness{}
22

3+
:root {
4+
--typo3-text-color-code: light-dark(var(--token-color-green-60), var(--token-color-green-80));
5+
}
6+
7+
38
/* filereference metadata */
49
.formengine-field-item-description {
510
display: none;
@@ -27,14 +32,15 @@ h2.t3js-subtitle-inlineedit {
2732

2833
.mt-pageheader {
2934
position: relative;
30-
background-color: rgba(255,255,255,0.5);
31-
border-radius: 2px;
35+
/*background-color: light-dark(var(--token-color-green-60), var(--token-color-green-80));*/
36+
border: 1px dotted var(--pagemodule-grid-border-color);
37+
border-radius: var(--pagemodule-grid-border-radius);
38+
padding: var(--pagemodule-grid-spacing);
3239
margin: .5em -1px 2em;
33-
bottom: 1px solid #cdcdcd;
3440
}
3541
.mt-pageheader-content {
3642
position: relative;
37-
padding: .2rem 1rem;
43+
padding: .2rem 0;
3844
display: flex;
3945
flex-flow: column;
4046
gap: .5rem;
@@ -94,9 +100,9 @@ h2.t3js-subtitle-inlineedit {
94100
width: 100%;
95101
margin: 0;
96102
padding: 0;
97-
98103
}
99104
.mt-pageheader .slug pre {
105+
background-color: light-dark(#fff, #000);
100106
color: #737373;
101107
flex-grow: 1;
102108
padding: .1rem .2rem;
@@ -126,9 +132,7 @@ h2.t3js-subtitle-inlineedit {
126132
background-color: rgba(0,0,0,0.75);
127133
}
128134

129-
code {
130-
color: #080;
131-
}
135+
132136

133137

134138

@@ -160,19 +164,6 @@ h1 { margin-bottom: 10px; }
160164

161165
/* misc backend style touchup */
162166

163-
body,
164-
body .module {
165-
background-color: #eee;
166-
}
167-
168-
.typo3-login {
169-
background-color: #666 !important;
170-
}
171-
172-
#typo3-contentContainerWrapper {
173-
background-color: #666 !important;
174-
}
175-
176167
.typo3-topbar-site-name {
177168
font-size: 10px;
178169
}
@@ -272,12 +263,3 @@ div[id*="t3js-form-field-slug"] {
272263
.t3-ctype-identifier[data-ctype="gridelements_pi1"] + .t3-page-ce-body > .t3-page-ce-body-inner {
273264
padding-top: 0;
274265
}
275-
276-
277-
278-
279-
/* hide mask sponsor-card-container */
280-
281-
.sponsor-card-container {
282-
display: none;
283-
}

ext_localconf.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
$versionInformation = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Information\Typo3Version::class);
66
if ($versionInformation->getMajorVersion() > 12) {
77

8+
$GLOBALS['TYPO3_CONF_VARS']['BE']['stylesheets']['mt_backend'] = 'EXT:mt_backend/Resources/Public/Css/MyBeTouchup.css';
9+
810
} else {
911

1012
// Hook into the page module
@@ -13,4 +15,3 @@
1315

1416
}
1517

16-
$GLOBALS['TYPO3_CONF_VARS']['BE']['stylesheets']['mt_backend'] = 'EXT:mt_backend/Resources/Public/Css/MyBeTouchup.css';

0 commit comments

Comments
 (0)