Bug #88269
closed[BE][Usability] Enhance highlighting of active menu module item
100%
Description
In TYPO3 7 the active menu module item was properly highlighted:
Since TYPO3 8 the high contrast between the menu module background and the highlighted active item is lost:
Was this change done intentionally?
Introduced¶
with https://forge.typo3.org/issues/52877 / https://review.typo3.org/c/Packages/TYPO3.CMS/+/47637
@module-menu-link-active-bg: lighten(@module-menu-bg,15%);
https://review.typo3.org/c/Packages/TYPO3.CMS/+/47637/55/Build/Resources/Public/Less/TYPO3/_module_menu.less#b102
.typo3-module-menu-item.active {
.typo3-module-menu-item-link {
color: @module-menu-link-active-color;
background-color: @module-menu-link-active-bg;
}
}
.modulemenu-item.active {
.modulemenu-item-link {
background-color: rgba(0,0,0,0.15);
}
}
Proposed change¶
To reverse it to the old appearance:
https://git.typo3.org/Packages/TYPO3.CMS.git/blob/refs/heads/TYPO3_8-7:/Build/Resources/Public/Sass/scaffold/_modulemenu.scss#l60
https://git.typo3.org/Packages/TYPO3.CMS.git/blob/refs/heads/9.5:/Build/Resources/Public/Sass/scaffold/_modulemenu.scss#l60
Current color code
.modulemenu-item.active {
.modulemenu-item-link {
background-color: rgba(0, 0, 0, 0.15);
}
}
Adjusted color code
.modulemenu-item.active {
.modulemenu-item-link {
background-color: rgba(255, 255, 255, 0.15);
}
}
Files
Updated by Oliver Hader about 5 years ago
- Has duplicate Bug #86957: '.active'-state background of Backend Modules does not stand out clearly from the background added
Updated by Gerrit Code Review about 5 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62116
Updated by Gerrit Code Review about 5 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62118
Updated by Gerrit Code Review about 5 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62119
Updated by Michael Telgkamp about 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 226ac97e54ea51a9dec393713eeb45cbc7a7b842.